* {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
/* ======================================================================== */
.container {
  width: 100%;
  /* height: 100vh; */
  font-family: sans-serif;
  background: linear-gradient(to top left, #000000, #55efc4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  margin-top: 7rem;
  margin-bottom: 4rem;
  width: 350px;
  height: 500px;
  box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.3);
  perspective: 1000px;
}
.inner-box {
  position: relative;
  width: 100%;
  height: 100%;
  /* transform: rotateY(-180deg); */
  transform-style: preserve-3d;
  transition: transform 1s;
}
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  /* 0, 100, 13, 0.11 49, 148, 3, 0.8 */
  /* ()0,0,100,0.8 */
  background-image: linear-gradient(
      rgba(0, 100, 13, 0.11),
      rgba(49, 148, 3, 0.8)
    ),
    url("girl1.jpg");
  /* background-image: url(logo.png); */
  padding: 55px;
  box-sizing: border-box;
  backface-visibility: hidden;
}
.card-back {
  transform: rotateY(180deg);
}
.card h2 {
  font-weight: normal;
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.input-box {
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  margin: 6px 0;
  height: 32px;
  border-radius: 20px;
  padding: 0 10px;
  box-sizing: border-box;
  outline: none;
  text-align: center;
  color: #fff;
}
::placeholder {
  color: #fff;
  font-size: 12px;
}
button {
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  margin: 35px 0 10px;
  height: 32px;
  font-size: 12px;
  border-radius: 20px;
  padding: 0 10px;
  box-sizing: border-box;
  outline: none;
  color: #fff;
  cursor: pointer;
}
.submit-btn {
  position: relative;
}
.submit-btn::after {
  content: "\27a4";
  color: #333;
  line-height: 32px;
  font-size: 17px;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  right: -1px;
  top: -1px;
}
span {
  font-size: 15px;
  margin-left: 10px;
}
.card .btn {
  margin-top: 70px;
}
.card a {
  color: #fff;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 13px;
}
/* =======================rotating===================================================== */
/* ==========================go and see .inner-box===================================== */
/* ===============again opposite rotating .we have to remove transform rotate factor and add persepective in.card */
/* ========go html and in inner-box div add id============ */
/* ======onclick="openRegister() before forget password in fornt card & onclick="openLogin()" same in backcard */
/* =============inner java script============= */
/* ==============in css .inner-box add transition :transform 1s */
/* ==================================================== */
img {
  width: 100%;
  /* display: block; */
  object-fit: cover;
}
/* =============nav bar ====================== */
.container1 {
  width: 80%;
  margin: auto;
}
nav {
  background: transparent;
  width: 100vw;
  height: 5rem;
  /* 5rem=80px */
  position: fixed;
  top: 0;
  z-index: 11;
}

.nav__container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  margin: 0 auto 0;
}
nav button {
  display: none;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4rem;
  /* 464px=4rem*/
}
.nav__menu a {
  font-size: 0.9rem;
  /* 0.9 rem=14.4px */
  color: #000000;
  transition: all 400ms ease;
}
.nav__menu a:hover {
  color: white;
}
/* here im changing value..... */
.logo-title {
  margin-right: 15rem;
  font-size: 1rem;
}
/* =============change navbar style on scroll===================== */
.window_scroll {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  background-color: #f6fba2;
  background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);
}
footer {
  background: #88bd8c;
  padding-top: 5rem;
  font-size: 0.9rem;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
}
.footer__container > div h4 {
  margin-bottom: 1.2rem;
}
.footer__1 p {
  margin: 0 0 2rem;
}
/* 😓-==================doubt========NOT WORKING🙄============💡*/
.footer,
a {
  color: #000000;
}
.footer,
a:hover {
  color: #000000;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;
  margin-top: 2rem;
}
.social-icon {
  color: black;
}
.footer__copyright {
  text-align: center;
  margin-top: 4rem;
  padding: 1.2rem 0;
  /* border-top: 1px solid var(--color-bg2); */
  border-top: 1px solid black;
}

/* ====================media query section 😅💡=================================== */

@media screen and (max-width: 1024px) {
  .container {
    width: 90%;
  }
  .image1 {
    width: 300px;
    height: min-content;
    margin: auto;
    /* align-self: center; */
  }
  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .logo {
    width: 4.5rem;
    height: 4.5rem;
    /* border-radius: 50%; */
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 20rem;
    font-size: 1rem;
  }
  .nav__menu {
    position: fixed;
    top: 5rem;
    right: 5%;
    height: fit-content;
    width: 18rem;
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav__menu li {
    width: 100%;
    height: 5.8rem;
    animation: animatenavitems 400ms linear forwards;
    transform-origin: top right;
    opacity: 0;
  }
  .nav__menu li a {
    background-color: #f6fba2;
    background-image: linear-gradient(315deg, #f6fba2 0%, #20ded3 74%);

    box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .nav__menu li a:hover {
    background: linear-gradient(to top left, #000000, #55efc4);

    color: white;
  }
  /* ====================nth child chnages================== */
  .nav__menu li:nth-child(2) {
    animation-delay: 200ms;
  }
  .nav__menu li:nth-child(3) {
    animation-delay: 400ms;
  }
  .nav__menu li:nth-child(4) {
    animation-delay: 600ms;
  }
  .nav__menu li:nth-child(5) {
    animation-delay: 800ms;
  }
  /* ====================animation================================== */
  @keyframes animatenavitems {
    0% {
      transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }
    100% {
      transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;
    }
  }

  /* ====================footer============================ */
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================== */
/* =======================media queries for phones 📱========= */

@media screen and (max-width: 600px) {
  .container {
    width: 94%;
  }
  h4 {
    font-size: 1rem;
  }
  /* ====================navbar=======================}==== */
  .nav__menu {
    right: 3%;
  }
  .logo {
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    margin: auto;
  }
  .logo-title {
    margin-right: 3rem;
  }
  /* ====================footer=====================}==== */

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer__1 p {
    margin: 1rem auto;
  }
  .footer__socials {
    justify-content: center;
  }
}
