@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Lobster&family=Platypi:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Comfortaa", sans-serif;
}

body {
  background-color: antiquewhite;
  background: linear-gradient(to bottom, #323232 0%, #3f3f3f 40%, #1c1c1c 150%),
    linear-gradient(
      to top,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(0, 0, 0, 0.25) 200%
    );
  background-blend-mode: multiply;
}

nav {
  background-color: #000;
  height: 64px;
  color: white;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
}

nav ul li {
  padding-left: 10px;
  cursor: pointer;
  font-weight: bolder;
}

nav ul img {
  height: 40px;
  margin: 10px 24px;
}

/* Information */
.container {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

#Information {
  border-radius: 12px;
  width: 450px;
  height: 400px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  background-color: #000;
  color: aliceblue;
}

#Information h1 {
  text-align: center;
  padding-top: 20px;
  font-size: 1.7rem;
  font-weight: bolder;
}

.InfoBox {
  width: 100%;
  margin: 5px 10px;
  height: 70px;
  padding: 5px 20px;
}

.UsernameInfo .PasswordInfo {
  border: 2px solid yellow;
  height: 140px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.UsernameInfo label,
.PasswordInfo label {
  padding: 0 7px;
}
.name-error {
  padding: 0px 1px;
  color: red;
}
.UsernameInfo input,
.PasswordInfo input {
  width: 100%;
  height: 34px;
  outline: none;
  font-size: 1rem;
  padding-left: 10px;
  margin-top: 2px;
  border-radius: 8px;
  border: none;
}

#submitBtn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: not-allowed;
  font-size: 16px;
  height: 40px;
  width: 390px;
  margin: 10px;
  margin-left: 5px;
}

#submitBtn:enabled {
  cursor: pointer;
  background-color: #218838;
}

/* media query */

@media screen and (min-width: 375px) and (max-width: 425px) {
  body {
    overflow: hidden !important;
    background-color: antiquewhite;
    background: linear-gradient(
        to bottom,
        #323232 0%,
        #3f3f3f 40%,
        #1c1c1c 150%
      ),
      linear-gradient(
        to top,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(0, 0, 0, 0.25) 200%
      );
    background-blend-mode: multiply;
  }

  nav {
    background-color: #000;
    height: 60px;
    color: white;
  }

  nav ul {
    display: flex;
    align-items: center;
    list-style: none;
  }

  nav ul li {
    padding-left: 10px;
    cursor: pointer;
    font-weight: bolder;
  }

  nav ul img {
    height: 40px;
    margin: 10px 24px;
  }

  .container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }

  #Information {
    border-radius: 12px;
    /* margin: auto; */
    display: flex;
    width: 325px;
    height: 290px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8px;
    background-color: #000;
    color: aliceblue;
  }

  #Information h1 {
    text-align: center;
    padding-top: 10px;
    font-size: 1.4rem;
    font-weight: bolder;
    position: relative;
    top: -15px;
  }

  .InfoBox {
    width: 100%;
    margin: 5px 1px;
    height: 70px;
    padding: 5px 0px;
  }

  .UsernameInfo .PasswordInfo {
    /* border: 2px solid yellow; */
    height: 140px;
    border: 2px solid red;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .UsernameInfo label,
  .PasswordInfo label {
    padding: 0px 7px;
  }
  .name-error {
    position: relative;
    top: 0px;
    left: 5px;
    padding: 0px 1px;
    color: red;
    font-size: 10px;
  }
  .UsernameInfo input,
  .PasswordInfo input {
    width: 97%;
    height: 34px;
    outline: none;
    font-size: 1rem;
    padding-left: 10px;
    margin-top: 2px;
    border-radius: 8px;
    border: none;
  }

  #submitBtn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: not-allowed;
    font-size: 16px;
    height: 40px;
    width: 300px;
    margin-top: 10px;
    margin-left: 10px;
  }

  #submitBtn:enabled {
    cursor: pointer;
    background-color: #218838;
  }
}
