@import url("https://fonts.googleapis.com/css2?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");
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}
:root {
    --main-color: rgb(181, 117, 173);
    --ccc-color: #02135496;
    --blue-color: #4226b996;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: black;
}
.logo i {
  margin-left: 5px;
  font-size: larger;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  color: var(--ccc-color);
}

.links i,
.dropdown_menu i {
  color: #3f4c56;
}
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  align-items: center;
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 1;
  /* background-color: rgb(245, 245, 220, 0.5); */
  background-color: rgb(218 217 218 / 50%);
}
/* #3F4C56 color */
.toggle_btn {
  display: none;
}
.navbar .logo-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.logolink a {
  padding-left: 20px;
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
}
.action_btn{
    border: none;
    outline: none;
    background-color: transparent;
}
.action_btn,
.dropdown_menu .droplinks a {
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
}
.logolink a:hover,
.action_btn:hover,
.dropdown_menu .droplinks a:hover {
  border: none;
  border-radius: 5px;
  padding: 10px;
  color: white;
  background-color: var(--ccc-color);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
#active {
  border: none;
  border-radius: 5px;
  padding: 10px;
  color: white;
  background-color: var(--ccc-color);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.navbar .links a {
  padding-left: 10px;
  text-align: right;
}
.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}
/*dropdown_menu */
.dropdown_menu {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 2rem;
  top: 70px;
  width: 300px;
  gap: 10px;
  padding: 20px;
  background-color: rgb(218 217 218);
  border-radius: 10px;
  overflow: hidden;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.dropdown_menu .droplinks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dropdown_menu .dropicon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.dropicon .action_btn {
  width: 100%;
  display: flex;
  justify-content: center;
  border: none;
  background-color: transparent;
}
@media only screen and (max-width: 992px) {
  .toggle_btn {
    display: block;
  }
  .navbar .logolink,
  .navbar .links {
    display: none;
  }
  .dropdown_menu {
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
  }
  .navbar .toggle_btn:hover ~ .dropdown_menu {
    display: flex;
  }
}
@media only screen and (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}
.wrapper {
    margin-top: 20px;
  position: relative;
  width: 400px;
  height: 440px;
  background: rgba(201, 199, 199, 0.5);
  /*border: 2px solid rgba(201, 199, 199, 0.5);*/
  border: none;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 8px rgba(145, 182, 199, 0.459);
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  overflow: hidden;
  transform: scale(0);
  transition: transform 0.5s ease, height 0.2s ease;
  -webkit-transition: transform 0.5s ease, height 0.2s ease;
  -moz-transition: transform 0.5s ease, height 0.2s ease;
  -ms-transition: transform 0.5s ease, height 0.2s ease;
  -o-transition: transform 0.5s ease, height 0.2s ease;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
}
.wrapper.active-popup {
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}
.wrapper.active {
  height: 520px;
}
.wrapper .form-box {
  width: 100%;
  padding: 40px;
}
.wrapper .form-box.login {
  transition: transform 0.18s ease;
  transform: translateX(0);
  -webkit-transition: transform 0.18s ease;
  -moz-transition: transform 0.18s ease;
  -ms-transition: transform 0.18s ease;
  -o-transition: transform 0.18s ease;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}
.wrapper.active .form-box.login {
  transition: none;
  transform: translateX(-400px);
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  -webkit-transform: translateX(-400px);
  -moz-transform: translateX(-400px);
  -ms-transform: translateX(-400px);
  -o-transform: translateX(-400px);
}
.wrapper .form-box.register {
  position: absolute;
  transition: none;
  transform: translateX(400px);
  -webkit-transform: translateX(400px);
  -moz-transform: translateX(400px);
  -ms-transform: translateX(400px);
  -o-transform: translateX(400px);
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}
.wrapper.active .form-box.register {
  transition: transform 0.18s ease;
  transform: translateX(0);
  -webkit-transition: transform 0.18s ease;
  -moz-transition: transform 0.18s ease;
  -ms-transition: transform 0.18s ease;
  -o-transition: transform 0.18s ease;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}
.wrapper .icon-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background-color: #162938;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  border-bottom-left-radius: 20px;
  cursor: pointer;
  z-index: 1;
}
.form-box h2 {
  font-size: 2em;
  color: #162938;
  text-align: center;
}
.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid #162938;
  margin: 30px 0;
}
.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1em;
  color: #162938;
  font-weight: 500;
  pointer-events: none;
  transition: 0.5s;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
}
.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: #162938;
  font-weight: 600;
  padding: 0 35px 0 5px;
}
.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: #162938;
  line-height: 57px;
}
.remember-forgot {
  font-size: 0.9em;
  color: #162938;
  font-weight: 500;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}
.remember-forgot label input {
  accent-color: #162938;
  text-decoration: none;
  margin-right: 3px;
}
.remember-forgot a {
  color: #162938;
  text-decoration: none;
}
.remember-forgot a:hover {
  text-decoration: underline;
}
.btn {
  width: 100%;
  height: 45px;
  background: #162938;
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
  font-weight: 500;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.login-register {
  font-size: 0.9em;
  color: #162938;
  text-align: center;
  font-weight: 500;
  margin: 25px 0 10px;
}
.login-register p a {
  color: #162938;
  text-decoration: none;
  font-weight: 600;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}
.login-register p a:hover {
  text-decoration: underline;
}
