
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Poppins&family=Roboto:wght@900&display=swap');

* {
  margin: 0%;
  padding: 0%;
  outline: none;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-size: 12px;
  width: 100vw;
  height: 100vh;
  font-family: "Poppins";
}
form{
  display: contents;
}

.popup  {
display: none;
position: fixed; 
z-index: 1000;
left: 0;
top: 0;
width: 100%; 
height: 100%; 
overflow: auto; 
background-color: rgba(0, 0, 0, 0.6); 
transition: opacity 0.3s ease;
}
.mail_alrt{
  text-align: center;
  width: 100%;
  color: red;
  font-size: 1em !important;
}

.popup .popup-content {
background-color: #f0f2f5;
margin: 10% auto;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 90%;
max-width: 400px; 
position: relative; 
transition: transform 0.3s ease; 
}

.popup .close {
position: absolute;
top: 10px;
right: 10px;
color: #aaa;
font-size: 24px;
font-weight: bold;
cursor: pointer;
transition: color 0.3s ease;
}

.popup .close:hover {
color: #000;
}

.popup button {
background-color: #235474; 
border: none;
color: #fff;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 0;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.popup p{
padding: 1px 0 ;
cursor: pointer;
font-size: 1.2em;
}
.popup button:hover {
background-color: #357cab; 
transform: scale(1.05); 
}

.popup button:disabled {
background-color: #ccc;
cursor: not-allowed;
}

.popup input[type="email"],
.popup input[type="text"],
.popup input[type="password"] {
width: 100%; 
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

.popup input[type="email"]:focus,
.popup input[type="text"]:focus,
.popup input[type="password"]:focus {
border-color: #007bff;
outline: none;
box-shadow: 0 0 3px rgba(0, 123, 255, 0.5); 
}

.popup button {
display: block;
width: 100%;
}

@media (max-width: 600px) {
.popup  .popup-content {
    width: 95%;
    margin: 20% auto;
}
}



main {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content:center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  /* padding: 1em; */
  background-color: whitesmoke;
}

.bg-img {
position: absolute;
right: 17%;
top: 10%;
width: auto;
height: 60%;
background-repeat: no-repeat;
background-size: cover;
}
.logo-img {
  position: absolute;
  top: 1em;
  left: 1em;
  height: 7vh;
  width: auto;
  z-index: 10;
}

.form-div {
position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
  width: 35%;
  height: 100%;
  z-index: 9;
  background-color: rgba(255, 255, 255, 0.1);
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 0 3%;
}

.form-div>img {
position: absolute;
top: 0;
left: 0;
  width: 20%;
  height: auto;
  z-index: 8;
}
.form-div > h3{
  text-align: center;
  font-size: 1.2em;
  font-weight: 400;
}
.form-div > h3 > span{
  font-size: 1.8em;
  color: #235474;
}
.input-div {
  display: flex;
  flex-direction: row;
  gap: 1em;
  align-items: center;
  justify-content: center;
  border: 2px solid #235474;
  background: transparent;
  border-radius: 50px;
  padding: 1em;
  width: 60%;
}

.input-div>input {
  width: 90%;
  background-color: transparent;
}

.input-div:active {
  box-shadow: 2px 2px 15px #50b7fc inset;
}

.form-div>button {
  background-color: #235474;
  width: 60%;
  padding: 0.5em 1em;
  border-radius: 50px;
  font-size: 1.5em;
  color: white;
  transition: all .2s;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.form-div > button:hover{
  cursor: pointer;
  background-color: #357cab;
  transform: scale(1.1);
}
.other-details{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 60%;
}
.other-details > h3{
  display: flex;
  flex-direction: row;
  gap: 0.3em;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 0.9em;
  font-weight: 400;
}
.other-details > h3 > label:hover , .other-details > h3 > input:hover{
  color: rgb(87, 86, 86);
  cursor: pointer;
}
.other-details > a{
  left: 295px;
  position: absolute;
  text-decoration:underline;
  color: #235474;
}
.other-details > a:hover{
  color: black;
}


.detail-welcome {
position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 70%;
  height: 70%;
  padding:0 10em;
  box-shadow: -139px 0px 50px -114px rgba(0,0,0,0.1);
  border-left: 1px solid whitesmoke;
}

.detail-welcome > h1{
  font-size: 8em;
  z-index: 99;
}
.detail-welcome > h3{
  font-size: 1em;
  width: 41%;
  font-weight: 300;
  margin-left: 1em;
  margin-bottom: 5em;
  z-index: 99;
  text-align: right;
}
/* From Uiverse.io by satyamchaudharydev */ 
.detail-welcome button {
padding: 0;
margin: 0;
border: none;
background: none;
cursor: pointer;
}

.detail-welcome button {
--primary-color: #111;
--hovered-color: #0063b2;
position: relative;
display: flex;
font-weight: 600;
font-size: 20px;
gap: 0.5rem;
margin: 0 0 0 200px;
align-items: center;
}


.detail-welcome  button a {
margin: 0;
position: relative;
font-size: 20px;
color: var(--primary-color);
text-decoration: none;
}


.detail-welcome button::after {
position: absolute;
content: "";
width: 0;
left: 0;
bottom: -7px;
background: var(--hovered-color);
height: 2px;
transition: 0.3s ease-out;
}

.detail-welcome button a::before {
position: absolute;
content: "";
width: 0%;
inset: 0;
color: var(--hovered-color);
overflow: hidden;
transition: 0.3s ease-out;
}


.detail-welcome button:hover::after {
width: 100%;
}
.detail-welcome button:hover a{
color: #0063b2;
}
.detail-welcome button:hover a::before {
width: 100%;
}


.detail-welcome  button:hover svg {
transform: translateX(4px);
color: var(--hovered-color);
}


.detail-welcome  button svg {
color: var(--primary-color);
transition: 0.2s;
position: relative;
width: 15px;
transition-delay: 0.2s;
}

.slideshow-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
  height: 40vh;
  z-index: 99;

}
.mySlides{
  border: 1px solid rgb(218, 216, 216);
  /* padding: 1em; */
  border-radius: 10px;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.mySlides > img{
  width: 100%;
  height: auto;
}
.dot-cont{
width: 100%;
text-align: center;
}
.dot {
  height: 10px;
  width: 10px;
  margin: 1em 2px 0;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.faq-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  /* background-color: #0063B3; */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgb(0, 99, 178);
  position: absolute;
      bottom: 30px;
      left: 55px;
      font-size: 1.5em;
      color: #fff;
      z-index: 100;
  }
  .faq-button img{
    width: 100%;
    height: 100%;
  }
  .tooltip_for_help {
    background-color: #235474;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3em 0.4em;
    width: 10em;
    font-size: 0.7em;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-radius: 50px;
  }
  .tooltip_for_help::before {
    background-color: #235474;
    position: absolute;
    content: "";
    height: 0.6em;
    width: 0.6em;
    bottom: -0.2em;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
  }
  .faq-button:hover .tooltip_for_help {
    top: -60%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

.macbook {
  width: 150px;
  height: 96px;
  /* margin: -85px 0 0 -78px; */
  perspective: 500px;
}

.shadow {
  position: absolute;
  width: 60px;
  height: 0px;
  left: 40px;
  top: 160px;
  transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
  box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  animation: shadow infinite 7s ease;
}

.inner {
  z-index: 20;
  position: absolute;
  width: 150px;
  height: 96px;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  animation: rotate infinite 7s ease;
}

.screen {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #ddd;
  transform-style: preserve-3d;
  transform-origin: 50% 93px;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  animation: lid-screen infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.34) 0%,rgba(0,0,0,0) 100%);
  background-position: left bottom;
  background-size: 300px 300px;
  box-shadow: inset 0 3px 7px rgba(255,255,255,0.5);
}

.screen .logo {
  position: absolute;
  width: 20px;
  height: 24px;
  left: 50%;
  top: 50%;
  margin: -12px 0 0 -10px;
  transform: rotateY(180deg) translateZ(0.1px);
}

.screen .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #d3d3d3;
  transform: translateZ(2px);
  background-image: linear-gradient(45deg,rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.screen .face-one .camera {
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: #000;
  position: absolute;
  left: 50%;
  top: 4px;
  margin-left: -1.5px;
}

.screen .face-one .display {
  width: 130px;
  height: 74px;
  margin: 10px;
  background-color: #000;
  background-size: 100% 100%;
  border-radius: 1px;
  position: relative;
  box-shadow: inset 0 0 2px rgba(0,0,0,1);
}

.screen .face-one .display .shade {
  position: absolute;
  left: 0;
  top: 0;
  width: 130px;
  height: 74px;
  background-image: url(../static/images/bg-img.png);
  background-repeat: no-repeat;
  background-size: cover;
  animation: screen-shade infinite 7s ease;
  background-size: 300px 200px;
  background-position: 0px 0px;
}

.screen .face-one span {
  position: absolute;
  top: 85px;
  left: 57px;
  font-size: 6px;
  color: #666
}

.macbody {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  background: #cbcbcb;
  transform-style: preserve-3d;
  transform-origin: 50% bottom;
  transform: rotateX(-90deg);
  animation: lid-macbody infinite 7s ease;
  background-image: linear-gradient(45deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.macbody .face-one {
  width: 150px;
  height: 96px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 7px;
  transform-style: preserve-3d;
  background: #dfdfdf;
  animation: lid-keyboard-area infinite 7s ease;
  transform: translateZ(-2px);
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
}

.macbody .touchpad {
  width: 40px;
  height: 31px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 4px;
  margin: -44px 0 0 -18px;
  background: #cdcdcd;
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  box-shadow: inset 0 0 3px #888;
}

.macbody .keyboard {
  width: 130px;
  height: 45px;
  position: absolute;
  left: 7px;
  top: 41px;
  border-radius: 4px;
  transform-style: preserve-3d;
  background: #cdcdcd;
  background-image: linear-gradient(30deg, rgba(0,0,0,0.24) 0%,rgba(0,0,0,0) 100%);
  box-shadow: inset 0 0 3px #777;
  padding: 0 0 0 2px;
}

.keyboard .key {
  width: 6px;
  height: 6px;
  background: #444;
  float: left;
  margin: 1px;
  transform: translateZ(-2px);
  border-radius: 2px;
  box-shadow: 0 -2px 0 #222;
  animation: keys infinite 7s ease;
}

.key.space {
  width: 45px;
}

.key.f {
  height: 3px;
}

.macbody .pad {
  width: 5px;
  height: 5px;
  background: #333;
  border-radius: 100%;
  position: absolute;
}

.pad.one {
  left: 20px;
  top: 20px;
}

.pad.two {
  right: 20px;
  top: 20px;
}

.pad.three {
  right: 20px;
  bottom: 20px;
}

.pad.four {
  left: 20px;
  bottom: 20px;
}
.forgot_p{
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: center;
  font-size: 1.2em;
  cursor: pointer;
  text-decoration: underline;
}


.incorrect {
  margin: 0% auto 0;
  text-align: center;
  font-size: 1em;
  color: red;
}


@keyframes rotate {
  0% {
    transform: rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
  }

  5% {
    transform: rotateX(-20deg) rotateY(-20deg) rotateZ(0deg);
  }

  20% {
    transform: rotateX(30deg) rotateY(200deg) rotateZ(0deg);
  }

  25% {
    transform: rotateX(-60deg) rotateY(150deg) rotateZ(0deg);
  }

  60% {
    transform: rotateX(-20deg) rotateY(130deg) rotateZ(0deg);
  }

  65% {
    transform: rotateX(-20deg) rotateY(120deg) rotateZ(0deg);
  }

  80% {
    transform: rotateX(-20deg) rotateY(375deg) rotateZ(0deg);
  }

  85% {
    transform: rotateX(-20deg) rotateY(357deg) rotateZ(0deg);
  }

  87% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(-20deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes lid-screen {
  0% {
    transform: rotateX(0deg);
    background-position: left bottom;
  }

  5% {
    transform: rotateX(50deg);
    background-position: left bottom;
  }

  20% {
    transform: rotateX(-90deg);
    background-position: -150px top;
  }

  25% {
    transform: rotateX(15deg);
    background-position: left bottom;
  }

  30% {
    transform: rotateX(-5deg);
    background-position: right top;
  }

  38% {
    transform: rotateX(5deg);
    background-position: right top;
  }

  48% {
    transform: rotateX(0deg);
    background-position: right top;
  }

  90% {
    transform: rotateX(0deg);
    background-position: right top;
  }

  100% {
    transform: rotateX(0deg);
    background-position: right center;
  }
}

@keyframes lid-macbody {
  0% {
    transform: rotateX(-90deg);
  }

  50% {
    transform: rotateX(-90deg);
  }

  100% {
    transform: rotateX(-90deg);
  }
}

@keyframes lid-keyboard-area {
  0% {
    background-color: #dfdfdf;
  }

  50% {
    background-color: #bbb;
  }

  100% {
    background-color: #dfdfdf;
  }
}

@keyframes screen-shade {
  0% {
    background-position: -20px 0px;
  }

  5% {
    background-position: -40px 0px;
  }

  20% {
    background-position: 200px 0;
  }

  50% {
    background-position: -200px 0;
  }

  80% {
    background-position: 0px 0px;
  }

  85% {
    background-position: -30px 0;
  }

  90% {
    background-position: -20px 0;
  }

  100% {
    background-position: -20px 0px;
  }
}

@keyframes keys {
  0% {
    box-shadow: 0 -2px 0 #222;
  }

  5% {
    box-shadow: 1 -1px 0 #222;
  }

  20% {
    box-shadow: -1px 1px 0 #222;
  }

  25% {
    box-shadow: -1px 1px 0 #222;
  }

  60% {
    box-shadow: -1px 1px 0 #222;
  }

  80% {
    box-shadow: 0 -2px 0 #222;
  }

  85% {
    box-shadow: 0 -2px 0 #222;
  }

  87% {
    box-shadow: 0 -2px 0 #222;
  }

  100% {
    box-shadow: 0 -2px 0 #222;
  }
}

@keyframes shadow {
  0% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  5% {
    transform: rotateX(80deg) rotateY(10deg) rotateZ(0deg);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  20% {
    transform: rotateX(30deg) rotateY(-20deg) rotateZ(-20deg);
    box-shadow: 0 0 50px 30px rgba(0,0,0,0.3);
  }

  25% {
    transform: rotateX(80deg) rotateY(-20deg) rotateZ(50deg);
    box-shadow: 0 0 35px 15px rgba(0,0,0,0.1);
  }

  60% {
    transform: rotateX(80deg) rotateY(0deg) rotateZ(-50deg) translateX(30px);
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }

  100% {
    box-shadow: 0 0 60px 40px rgba(0,0,0,0.3);
  }
}
