* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, sans-serif;
    color: #cbcbcb;
    background-color: #101010;
    display: flex;
    flex-direction: column;
    height: 100vh;
    line-height: 1.75;
}

h1 {
    text-align: center;
}

a {
    color: #cbcbcb;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

input[type=text] {
    line-height: 1.75;
}

button {
    line-height: 1.75;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: #2e2e2e;
    background-color: #d8d8d8;
}

button:hover {
    background-color: #fff;
}

.container {
    padding: 2rem 5%;
}

header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}
header .logo img {
    width: 200px;
    border-radius: 300px;
}

.albumSelection {
    display: flex;
    justify-content: center;
    display: none;
}

.albumSelection form {
    padding: 2rem;
    background-color: #17181a;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.albumSelection form p {
    /* line-height: 2rem; */
}

.gallery {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem;
}

.gallery > div span.imgContainer {
    /* flex-basis: 350px; */
    display: block;
    height: 18rem;
    position: relative;
    cursor: pointer;
    /* flex: 1 1 auto; */
}

.gallery div span img {
    object-fit: cover;
    width: auto;
    height: 100%;
    /* max-width: 100%;
    height: auto; */
    vertical-align: middle;
    border-radius: .3rem;
}

.gallery::after {
    /* content: "";
    flex-grow: 999; */
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    /* transform: scale(1); */
    /* transition: all 0.2s 0.1s ease-in-out; */
    color: #fff;
    border-radius: .3rem;
    /* center overlay text */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: .5rem;
  }

  .gallery div:hover .overlay {
    /* transform: scale(0); */
  }

  .select .green {
    color: green;
  }

.select span {
    margin: 1rem auto;
    background-color: #E5E7EB;
    border: 0 solid #3DD1E7;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.select span:focus {
    outline: 0;
}
  
.select span:after {
content: '';
position: absolute;
border: 1px solid #000000;
bottom: 4px;
left: 4px;
width: calc(100% - 1px);
height: calc(100% - 1px);
}

.select span:hover:after {
bottom: 2px;
left: 2px;
}

  .button {
    margin: 0 auto;
    margin-bottom: 4rem;
    background-color: #3DD1E7;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    font-family: ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none #000000 solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button:focus {
    outline: 0;
  }
  
  .button:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
  }
  
  .button:hover:after {
    bottom: 2px;
    left: 2px;
  }
  
  @media (min-width: 768px) {
    .button {
      padding: .75rem 3rem;
      font-size: 1.25rem;
    }
  }

  footer {
    background-color: #0b0b0b;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
  }