* {
  box-sizing: border-box;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  /* width: 100%; */
  height: 100%;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.8) !important;
  background-size: cover;
}
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}
@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.background-img {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-blend-mode: multiply;
}
.background-img::before {
  content: "";
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  background-blend-mode: multiply;
}
.imgbg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 15s ease-in-out infinite;
}
.background-img:hover .imgbg {
  transform: scale(1.2);
}
.content {
  width: 100%;
  height: auto;
  position: absolute;
  height: 100%;
  /* background-color: linear-gradient(34, 139, 34, 0.5) rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay; */
  background-image: linear-gradient(
    rgba(2, 85, 57, 0.781),
    rgba(0, 0, 0, 0.76)
  );
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  place-content: center;
  place-items: center;
}
.left {
  width: 30%;
  height: 70%;
  display: flex;
  padding: 1rem;
  border-radius: 20px 0px 0px 20px;
  color: orange;
  flex-wrap: wrap;
  text-align: center;
  place-items: center;
  place-content: center;
  align-items: center;
  align-content: center;
}
#welcome-text {
  font-size: 0.3em;
  color: white;
  place-content: center;
}
.left h1 {
  height: fit-content;
  place-content: center;
  font-size: 4em;
}
.right {
  width: 30%;
  height: auto;
  margin-left: 1rem;
  /* display: flex; */
  border-radius: 0px 20px 20px 0px;
  box-shadow: 0px 0px 10px 0px orange;
  padding: 1rem;
}
#formh1 {
  display: none;
  height: fit-content;
  place-content: center;
  font-size: 3em;
  text-align: center;
  color: orange;
}
#formp {
  font-size: 0.2em;
  color: white;
  place-content: center;
}
.nav {
  height: fit-content;
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px solid white;
}
.nav-item {
  width: 50%;
  text-align: center;
  padding: 0.5rem;
}
#auth {
  border: 1px solid white;
  border-bottom: none;
  border-radius: 10px 10px 0px 0px;
}
#stu {
  border: 1px solid white;
  border-bottom: none;
  border-radius: 10px 10px 0px 0px;
}
.student-active {
  border: 1px solid white;
  border-bottom: none;
  border-radius: 10px 10px 0px 0px;
}
.author-active {
  border: 1px solid white;
  border-bottom: none;
  border-radius: 10px 10px 0px 0px;
}
.nav-item a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.nav:hover {
  border-bottom: 1px solid white;
}
.nav-item:hover {
  border: 1px solid white;
  border-bottom: none;
  border-radius: 10px 10px 0px 0px;
}
.nav-item a:hover {
  color: orange;
}
.input-box {
  width: 90%;
  height: fit-content;
  margin: 1rem;
  border-bottom: 2px solid orange;
}
.input-box input:focus::placeholder,
.input-box input:valid::placeholder {
  top: 0;
  transform: translateY(-10px);
  transition: 80ms ease-in-out;
  color: rgba(255, 166, 0, 0.7);
}
input {
  width: 100%;
  height: 10%;
  padding: 0.5rem;
  background-color: transparent;
  border: none !important;
  outline: none !important;
  color: white;
}
input::placeholder {
  border: none;
}
.account {
  width: 80%;
  padding: 0.5rem;
  border-radius: 20px;
  font-size: 0.8em;
  text-align: center;
  height: fit-content;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 1rem;
  place-self: center;
}
.formbtn {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: center;
}
.btn {
  width: fit-content;
  height: fit-content;
  padding: 1rem;
  border-radius: 20px;
  background-color: orange;
  color: forestgreen;
  font-weight: bold;
  border: none;
  box-shadow: 0px 0px 10px 0px black;
  cursor: pointer;
}
@media (max-width: 768px) {
  .left {
    display: none;
  }
  .right {
    width: 80%;
    border-radius: 20px;
  }
}

.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

.toggle-password:hover {
  color: #333;
}
