/*
 * Created by Lucy Gao, 2024
 *
 * This stylesheet is used by login.html.
 */

body {
  background-image: url("images/login.png");
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  font-style: normal;
  color: #FFFFFF;
  font-family: 'Kodchasan', sans-serif;
}

html {
  height: 100%;
}

main {
  text-align: center;
}

h1 {
  font-size: 140px;
  font-weight: 500;
  letter-spacing: 30px;
  margin: 0px;
  transform: translate(0px, -80px);
  padding: 15px;
  background: radial-gradient(ellipse, #0069d5 23%, transparent 75%);
}

#intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#success-msg {
  font-weight: 200;
  letter-spacing: 3px;
  font-size: 25px;
}

#avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-height: 80vh;
}

#avatars img {
  max-width: 25vw;
  height: fit-content;
}

#avatars img:hover {
  cursor: pointer;
  background: radial-gradient(ellipse, #d2e8ff 30%, transparent 70%);
}

#avatar-creation {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0px 30px;
}

#avatar-creation h3 {
  margin-top: 50px;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 3px;
}

.scrollable-x {
  overflow-x: auto;
  padding: 0px;
}

img {
  height: 50vh;
  background: radial-gradient(ellipse, #dddddd8c 23%, transparent 70%);
}

#frame {
  width: 80vw;
  height: 80vh;
  border: none;
}

#start {
  font-weight: 300;
  font-style: italic;
  letter-spacing: 10px;
  width: fit-content;
  align-self: center;
  border-top: 2px solid #89B0CF;
  border-bottom: 2px solid #89B0CF;
  border-radius: 20px;
  padding: 15px 35px;
  margin: 0px;
  transform: translate(0px, -30px);
}

.hidden {
  display: none !important;
}

#start:hover, #submit:hover {
  font-weight: bold;
  cursor: pointer;
  background-color: #2491ff3b;
}

#submit {
  font-family: 'Kodchasan', sans-serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 10px;
  width: fit-content;
  align-self: center;
  border-top: 2px solid #89B0CF;
  border-bottom: 2px solid #89B0CF;
  border-radius: 25px;
  padding: 15px 20px;
  margin-top: 50px;
}

p {
  margin-top: 0px;
}

body, html {
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  margin-bottom: 25px;
  padding: 10px;
  background-color: transparent;
  border-color: transparent;
  border-top: 2px solid #89B0CF;
  border-bottom: 2px solid #89B0CF;
  border-radius: 20px;
  color: #dff0ff;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 3px;
  font-size: 18px;
  text-align: center;
}

.radio {
  font-family: 'Nunito', sans-serif;
  letter-spacing: 2px;
  font-size: 18px;
  text-align: center;
}

input[type=radio] {
  margin: 0px;
  margin-right: 15px;
}

input:focus {
  outline: none;
  background-color: #2491ff3b;
}

label, p {
  letter-spacing: 3px;
  font-size: 20px;
}


/* scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #2A4587;
}

::-webkit-scrollbar-thumb {
  background: #88AFCE;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {
  border-radius: 10px;
}


@media (max-width: 1300px) {
  img {
    max-width: 80vw;
    height: fit-content;
  }

  h1 {
    font-size: 100px;
  }
}

@media (max-width: 900px) {
  #avatars img {
    max-width: 35vw;
  }

  h1 {
    font-size: 80px;
  }
}

@media (max-width: 750px) {
  #avatars img {
    max-width: 40vw;
  }

  h1 {
    font-size: 60px;
    transform: translate(0px, -65px);
    letter-spacing: 15px;
  }
}

@media (max-width: 650px) {
  h1 {
    font-size: 40px;
    transform: translate(0px, -50px);
  }
}

@media (max-width: 550px) {
  #avatars img {
    max-width: 80vw;
  }

  h1 {
    font-size: 30px;
    transform: translate(0px, -45px);
  }

  #start {
    font-size: 15px;
    letter-spacing: 5px;
  }
}

@media (max-width: 450px) {
  label {
    font-size: 18px;
  }

  #submit {
    font-size: 16px;
  }

  h1 {
    font-size: 20px;
    transform: translate(0px, -40px);
  }
}
