@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,600;0,700;1,400&family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
  font-family: 'Poppins', sans-serif;
}

body {
  background: url("../img/bg.png") center bottom no-repeat;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: #F9D49B;
  margin: 0px;
}

.content {
  background-color: wheat;
  width: 100%;
  padding: 30px 100px;
  border-radius: 30px;
  font-size: 20px;
}

.btn {
  /* font-size: 18px; */
  /* color: black; */
  font-weight: bold;
}

.siswa {
  color: black;
  border: black;
  background-color: #FF9900;
}

.siswa:hover {
  color: black;
  background-color: white;
  border: 2px solid black;
}

.guru:hover {
  color: black;
  background-color: white;
  border: 1px solid black;
}

.inputContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#inputField {
  border: 2px solid white;
  background-color: transparent;
  border-radius: 10px;
  padding: 12px 15px;
  color: black;
  font-weight: 500;
  outline: none;
  caret-color: rgb(155, 78, 255);
  transition-duration: 0.3s;
  font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.userIcon {
  position: absolute;
  fill: rgb(155, 78, 255);
  width: 12px;
  top: -23px;
  left: -15px;
  opacity: 0;
  transition: 0.2s linear;
}

.usernameLabel {
  position: absolute;
  top: -25px;
  left: 5px;
  color: black;
  font-size: 14px;
  font-weight: 400;
  font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  transition: 0.2s linear;
  opacity: 0;
}

#inputField:focus ~ .usernameLabel,
#inputField:valid ~ .usernameLabel {
  transform: translateX(20px);
  opacity: 1;
}

#inputField:focus ~ .userIcon,
#inputField:valid ~ .userIcon {
  transform: translateX(20px);
  opacity: 1;
}

#inputField:focus,
#inputField:valid {
  background-color: #ddd;
  transition-duration: 0.3s;
}

@media (max-width: 1000px) {
  .content {
    margin-top: 15px;
    width: 100%;
    padding: 10px 20px;
  }

  .gambar {
    width: 350px;
  }
}