* {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
label,
li,
button,
small {
  color: #EEE;
}

body {
  background-image: url('/static/images/background.png');
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
}

main {
  max-width: 1024px;
  margin: auto;
  padding: 1rem;
  margin-top: 5rem;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: inherit;
  width: 100%;
  padding-bottom: 0.5rem;
}

aside {
  position: fixed;
  left: 0;
  min-width: 100px;
  width: 20%;
  background: #000000e3;
  max-width: 220px;
  padding: 1rem;
  padding-top: 3rem;
  bottom: 0;
  top: 0;
}

aside a {
  text-decoration: none;
}

nav ul li {
  display: block;
}

form {
  box-shadow: none;
  border: none;
}

form>button {
  width: 100%;
}

form h1,
.gallery h1 {
  font-size: 2rem;
}

form header {
  padding: 0;
  margin: 0;
}

form header>p,
h1 {
  text-align: left;
}

input {
  display: block;
}

input[type="email"] {
  width: calc(100% - 1.6rem);
}

h1 {
  font-size: 3rem;
}

.container {
  background-color: #000000e5;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 600px;
}

button {
  background-color: #158cad;
  border: 2px solid #158cad;
  padding: 0.5rem 1rem;
}

button.secondary {
  background: #0000;
}

ul {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

ul>li,
ol>li {
  padding: 0 0 0.1rem 0rem;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  max-height: 40rem;
  overflow-y: auto;
}

.gallery-item {
  cursor: pointer;
  width: 285px;
  height: 250px;
  background: #a4a4a4;
  border: 1px solid #000;
  flex-grow: 0;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
}

.gallery-item.selected {
  border: 2px solid #158cad;
  position: fixed;
  width: 1024px;
  height: 768px;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.gallery-item figcaption {
  color: black;
  font-size: 0.8rem;
  margin-left: 4px;
}

.gallery-item.selected figcaption {
  background: white;
  margin-top: -4px;
  margin-left: 0;
  padding: 2px;
}
