* {
  font-family: "Nunito", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f8fcff !important;
  color: #474242;
}

/* cross icon */

.cross {
  display: none;
}

#cross {
  color: #474242 !important;
}

.nav-bg {
  /* background: rgb(238,206,206); */
  /* background: linear-gradient(270deg, rgba(238,206,206,1) 0%, rgba(174,218,246,1) 100%); */
  background-image: linear-gradient(
    to left,
    rgb(229, 241, 255),
    white,
    rgb(242, 228, 255)
  );
}

.sign-up {
  background-color: rgba(255, 42, 67, 0.879);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-up:hover {
  background-color: #ff5757;
}

.sign-up a {
  color: white;
  text-decoration: none;
}

.section {
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* main hero section */
.hero-main {
    position: relative;
    background-image: url(../assets/about-latest.jpg);
    /*min-height: 570px;*/
    min-height:88vh;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

/* navigation bar */
.logo-text {
  width: 200px;
  padding: 1rem;
}

.logo {
  display: none;
  width: 50px;
}

.navul {
  font-weight: 900;
}

.navul li {
  border: 3px solid transparent;
}

.navul li:hover {
  color: #ff5757 !important;
}

.intro {
  position: absolute;
  border-radius: 6px;
  background-color: #f8fcff;
  padding: 1.5rem 2rem;
  width: 700px;
  text-align: center;
  right: 0;
  left: 0;
  bottom: -8%;
  margin: 0 auto;
  line-height: 2;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ----- MODAL ----- */
 .signup-modal {
  margin: auto;
  border: none !important;
  position: relative;
  background-color: white !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-modal {
    width: 80% !important;
    margin: auto;
    border: none !important;
    position: relative;
    background-color: white !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.7rem;
}

.yes {
    background-color: #474242;
    border: none !important;
    color: white;
}

    .yes:hover {
        background-color: #474242;
        border: none !important;
        color: white;
    }


.main-modal {
  width: 70% !important;
}

.signup-modal {
  width: 90% !important;
  /* height: 92vh; */
}

.modal-cross {
  position: absolute;
  top: 10px !important;
  right: 8px;
  font-size: 10px;
}

.modal-logo {
  width: 10%;
  padding-top: 2rem;
}

.modal-heading {
  text-align: center;
  padding: 1rem 0;
  /* color: #474242; */
}

.modal-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.email,
.pass, .email-s, .pass-s {
  /* width: 16rem; */
  padding: 0.4rem 0;
  text-align: left !important;
  display: flex;
  flex-direction: column;
}

.email, .pass {
  width: 16rem;
}

.email input, .email-s input, .pass-s input,
.pass input, .select3 select, .select2 select {
  padding: 6px;
  border: 0.5px solid gray;
  border-radius: 4px;
}

.email-l,
.pass-l {
  /* color: #474242; */
  padding: 0.25rem 0;
  /* font-weight: 500; */
}

.modal-submit {
  width: 16rem;
}

.modal-submit, .modal-submit-s {
  border: none;
  outline: none;
  border-radius: 4px;
  padding: 6px;
  margin: 1rem 0;
  color: white;
  background-color: #3c95d0;
}

.modal-signup {
  font-weight: bold;
}

.forgot {
  font-size: 0.8rem;
  padding: 0.3rem 0;
  text-align: right;
}

.modal-signup,
.forgot {
  text-decoration: none;
  color: #3c95d0;
}

.select-container {
  width: 22rem;
  padding: 0.4rem 0;
  text-align: left;
  display: flex !important;
  justify-content: space-between !important;
}

.email-s, .pass-s, .modal-submit-s {
  width: 22rem;
}

.select3, .select2 {
  display: flex;
  flex-direction: column;
}

.select3 select {
  width: 6rem;
}

.select2 select {
  width: 10rem;
}


/* main heading */
.heading {
  margin: 1rem auto;
  width: 80%;
  padding: 3rem 2rem 1rem 2rem;
  text-align: center;
}

.heading h1 {
  font-size: 2.75rem;
}

    .heading p, .about-text {
        font-size: 1.25rem;
        line-height: 1.75;
        margin-top: 12px;
    }

/* about content */
.about {
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  justify-content:center;
  gap:2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50vw;
  text-align: left;
}

.about img {
  width: 40vw;

  border-radius: 10px;
}

/* footer section */
footer {
  
  background-image: url(../assets/bg-patterns/random-grey-variations.png);
  background-repeat: repeat;
}


.footer-text,
.footer-links p,
.footer-contact {
  font-size: 0.9rem;
}

.footer-links p a {
  text-decoration: none !important;
}

.footer-links p a:hover {
  text-decoration: underline !important;
}

/* =======SMALL LAPTOP LAYOUT======= */
@media screen and (max-width: 1025px) {

    .hero-main {
        position: relative;
        background-image: url(../assets/about-latest.jpg);
        /*min-height: 450px;*/
        min-height:88vh;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }

  .intro {
    width: 600px;
    bottom: -5%;
  }

  .about img {
    width: 45vw;
  }

  .heading p, .about-text {
    font-size: 1.15rem;
  }

  .signup-modal {
    height: 93vh;
  }

}

/* =========TABLET LAYOUT========= */
@media screen and (max-width: 920px) {
    .hero-main {
        position: relative;
        background-image: url(../assets/about-latest.jpg);
        min-height: 490px;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }


  .navul {
    background-color: rgba(248, 252, 255, 0.8);
    border-radius: 4px;
  }

    .intro {
        width: 500px;
        bottom: -5%;
    }

  .sign-up {
    background-color: transparent !important;
  }

  .sign-up:hover {
    background-color: transparent;
  }

  .sign-up a {
    color: rgba(0,0,0, 0.55);
  }

  /* heading */
  .heading {
    margin-top: 1rem;
  }

  .heading h1 {
    font-size: 2.5rem;
  }

  .heading p, .about-text {
    font-size: 1.15rem;
    text-align: center;
  }

  /* about content */
  .about {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .about img {
    width: 60vw;
  }

  .about-text {
    width: 80vw;
  }

}

/* ========= SMALL TABLET LAYOUT ========= */
@media screen and (max-width: 825px) {

    .hero-main {
        position: relative;
        background-image: url(../assets/about-latest.jpg);
        min-height: 490px;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }

  .heading {
    margin-top: 1rem;
  }
}

/* ======== PHONE LAYOUT ========= */
@media screen and (max-width: 426px) {

    .hero-main {
        position: relative;
        background-image: url(../assets/about-latest.jpg);
        min-height: 480px;
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }

  .section {
    padding: 4rem 0;
  }

  .nav-button {
    outline: none !important;
    border: none !important;
    font-size: 18px;
    color: transparent !important;
  }

  .nav-button:focus {
    border: none !important;
    outline: none !important;
  }

  .logo-text {
    display: none;
  }

  .logo {
    display: block;
  }


  /* intro part */
    .intro {
        width: 290px;
        font-size: 16px;
        bottom: -5%;
    }

  .heading {
    margin-top: 1rem;
    padding-top: 3.25rem;
    width: 90%;
  }

  .heading h1 {
    font-size: 1.8rem;
  }

  .heading p, .about-text {
    font-size: 1rem;
  }

  /* --- MODAL --- */
  .main-modal,.signup-modal {
    width: 100% !important;
    padding: 0.2rem;
   }

   .modal-heading {
    padding: 0.5rem 0;
   }

   .modal-logo {
    width: 12%;
   }

   .signup-modal {
    height: 100% !important;
   }

   .select-container {
    width: 16rem;
   }

   .email-l, .pass-l {
    font-size: 14px;
   }

   #gender {
    width: 5rem !important;
   }

   .select3 select {
    width: 4rem;
   }

   .select2 select {
    width: 7.25rem;
   }

   .email-s, .pass-s, .modal-submit-s {
    width: 16rem;
   }

}


.footer-name {
    text-decoration: none;
    color: rgb(148, 146, 146) !important;
}

