@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

#orientation-lock {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 2em;
  text-align: center;
  z-index: 1000;
  display: none;
}

@media screen and (orientation: portrait) {
  body {
    background-color: #f0f0f0;
  }
}

nav .logo {
  border-radius: 5px;
  width: auto;
  height: 60px;
  margin-left: 10px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #1e1e1e;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  user-select: none;
  z-index: 10;
}

.links-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.5em;
}

.account-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 2.5em;
}

.account-links .prof {
  padding: 0px 20px;
  width: fit-content;
  font-size: 1.5em;
  border-radius: 10px;
}

.account-links .prof .proff {
  padding: 5px 30px;
  border: none;
  margin-right: 15px;
  border-radius: 10px;
  background-color: #6ea4f5;
  cursor: pointer;
  font-size: large;
}

.account-links .prof .proff:hover {
  background-color: royalblue;
}

.links-container a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.account-links a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.links-container a:hover {
  color: royalblue;
}

.account-links a:hover {
  color: royalblue;
}

nav .home-link {
  margin-right: auto;
}

nav svg {
  fill: white;
}

#sidebar-active {
  display: none;
}

.open-sidebar-button,
.close-sidebar-button {
  padding: 0 20px;
  display: none;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: rgb(36, 36, 36);
  z-index: 5;
}

.login-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 440px;
  height: 480px;
  padding: 30px;
}

.input-box .input-field {
  width: 100%;
  height: 60px;
  font-size: 17px;
  padding: 0 25px;
  margin-bottom: 15px;
  border-radius: 30px;
  border: none;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.5);
  outline: none;
  transition: 0.3s;
}

::placeholder {
  font-weight: 500;
  color: #222;
}

.input-field:focus {
  width: 103%;
  margin-left: -1.5%;
  margin-right: -1.5%;
}

.forgot {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

section {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
}

#check {
  margin-right: 10px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section a {
  color: #555;
}

.input-submit {
  position: relative;
  z-index: 5;
}

.submit-button {
  width: 100%;
  height: 60px;
  background: #6ea4f5;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 5;
}

.input-submit label {
  position: absolute;
  top: 45%;
  left: 50%;
  color: #000;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 5;
  user-select: none;
}

.submit-button:hover {
  background: #4169e1;
  transform: scale(1.05s, 1);
  z-index: 5;
}

.sign-up-link {
  color: #fff;
  text-align: center;
  font-size: 15px;
  margin-top: 20px;
}

.sign-up-link a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .links-container {
    position: fixed;
    width: 250px;
    background-color: #1e1e1e;
    top: 0;
    right: -100%;
    z-index: 20;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    border-radius: 20px;
    transition: 0.75s ease-out;
  }

  .account-links .prof .proff {
    padding: 20px 15px;
    z-index: 20;
  }

  .account-links .proff {
    position: fixed;
    z-index: 20;
    box-sizing: border-box;
    height: auto;
    top: 60%;
    right: -100%;
    transition: 0.75s ease-out;
  }

  .links-container a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }

  .open-sidebar-button,
  .close-sidebar-button {
    padding: 20px;
    display: block;
  }

  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }

  #sidebar-active:checked ~ .links-container {
    right: 0;
  }

  #sidebar-active:checked ~ .account-links .proff {
    right: 0.1%;
  }

  nav .logo {
    padding-right: 135px;
    width: auto;
    height: 60px;
  }

  nav {
    user-select: none;
  }

  #orientation-lock {
    user-select: none;
  }
  .input-submit .sign {
    user-select: none;
  }
}
