@import url("https://fonts.googleapis.com/css2?family=IM+Fell+Great+Primer+SC&family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

.up {
  background-color: #6b85c6;
  padding: 1rem 1.4rem;
  position: fixed;
  font-size: 20px;
  bottom: 10px;
  right: 10px;
  color: white;
  border-radius: 16px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

/* mobile nav */
.mobile-nav-container {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -1rem;
}

.box-icon {
  background-color: #6b85c6;
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.box-icon i {
  font-size: 2rem;
  cursor: pointer;
}

/* desktop nav */
.desktop-nav-container {
  max-width: 1440px;
  margin: 2rem auto;
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: -1rem;
}

.logo {
  margin-top: 30px;
}

.nav ul {
  display: flex;
}

.nav ul li {
  list-style: none;
  margin: 0 1rem;
  margin-top: 30px;
}

a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

/* hero section */
.hero-container {
  max-width: 90%;
  margin: 2rem auto 5rem auto;
  padding: 1rem;
}

/* box start */
.box-start {
  width: 75%;
  height: 5.5rem;
  background-color: #ffe9ec;
  /* opacity: 0.19; */
  margin-top: 1rem;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-left: 10px;
  gap: 10px;
}

.box-start i {
  color: #ff4d4d;
}

.start {
  font-size: 23px;
  color: #ff4d4d;
}

.alert {
  background-color: white;
  font-size: 13px;
  padding: 7px 20px;
  color: red;
}

.hero {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
  width: 1400px;
}

.hero-img {
  display: none;
  inset: 0;
}

.hero-img img {
  border-radius: 30px;
  /* display: none; */
}

.hero-txt h1 {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.05;
  /* width: 60%; */
  margin-top: 1.5rem;
}

.hero-txt p {
  width: 65%;
  font-size: 1.2rem;
  margin-top: -3.5rem;
  color: #121212;
}

/* company logos */
.logo-container {
  max-width: 1440px;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.trusted {
  margin-left: 1.4rem;
  font-size: 1.2rem;
  margin-top: 2rem;
  color: #121212;
}

.company-logos {
  margin: 0 1.4rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  overflow: hidden;
}

.company-logos div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cgv {
  margin-top: -1rem;
}

/* about section */
.about-container {
  max-width: 90%;
  margin: 6rem auto;
  padding: 1rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-container .how-container,
h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-top: 1rem;
}

.about-container p {
  color: #121212;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.5;
  margin-top: -2rem;
  width: 100%;
}

.about-img img {
  width: 100%;
  height: 430px;
  border-radius: 26px;
  object-fit: cover;
}

/* how */
.how-container {
  max-width: 1440px;
  margin: 5rem auto;
  margin-top: 2rem;
  text-align: center;
}

.how-box {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.how-container .line-1 {
  background-color: #ecf2ff;
  overflow: hidden;
  align-self: end;
  width: 50%;
  height: 170px;
  border-radius: 15px 0 0 15px;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 50px 40px;
}

.step {
  /* border: solid 1px red; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #6b85c6;
  line-height: 2.3rem;
}

.pack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pack span {
  color: #121212;
  font-size: 22px;
}

.how-container .line-2 {
  background-color: #ecf2ff;
  overflow: hidden;
  align-self: start;
  width: 50%;
  height: 170px;
  border-radius: 0 15px 15px 0;
  display: flex;
  justify-content: center;
  padding: 50px 40px;
}

.how-box-desktop {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  color: #121212;
}

.me {
  position: relative;
  margin: 5rem auto;
}

.myself > img {
  margin: 20px 20px;
  width: 150px;
  height: 150px;
  border-radius: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.myself-desktop {
  display: none;
}

/* footer section */
footer {
  background-color: #ecf2ff;
}

.footer-container {
  max-width: 1440px;
  margin: 5rem auto 0;
  display: flex;
  flex-direction: column;
  font-size: 1.3rem;
  background-color: #ecf2ff;
  padding: 3rem;
}

footer p {
  /* font-size: 1.1rem; */
  color: #121212;
  margin-top: 1rem;
  width: 60%;
}

.rights {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

footer ul li {
  list-style: none;
}

footer .sections {
  margin-left: -36px;
}

/* dropdown */

.dropdown {
  float: right;
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ecf2ff;
  min-width: 160px;
  overflow: auto;
  right: 0;
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #6b85c6;
  color: #fff;
}

.active {
  display: block;
}

@media only screen and (min-width: 1080px) {
  /* hiding movile nav when the screen size is more than 1080px*/
  .mobile-nav-container {
    display: none;
  }
  /* displaying desktop nav when the screen size is more than 1080px  */
  .desktop-nav-container {
    display: flex;
  }

  .hero {
    flex-direction: row;
  }

  .hero-img {
    display: flex;
  }

  .hero-txt {
    font-size: 10rem;
    order: 1;
  }

  .hero-txt h1 {
    width: 80%;
  }

  .hero-txt p {
    width: 420px;
    font-size: 1.2rem;
    color: #121212;
  }

  .company-logos img {
    /* width: 280px; */
  }

  .company-logos {
    gap: 3rem;
    margin-top: -30px;
  }

  .xxi {
    width: 280px;
  }

  .cgv {
    width: 280px;
  }

  .cinemax {
    width: 220px;
  }

  .cinepolis {
    margin-top: 1.5rem;
    width: 220px;
  }

  .trusted {
    font-size: 1.6rem;
    margin-left: 3.8rem;
  }

  .about-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 1400px;
    gap: 2rem;
  }

  .about-container > p {
    width: 90%;
    font-size: 25px;
    margin-top: -1rem;
  }

  .about-img img {
    width: 700px;
    height: 380px;
  }

  .how-box {
    display: none;
  }

  .myself {
    display: none;
  }

  .me {
    display: flex;
    flex-direction: row;
  }

  .myself-desktop {
    display: flex;
  }

  .myself-desktop > img {
    margin: 20px 20px;
    width: 500px;
    /* height: 100%; */
    border-radius: 37px;
  }

  .how-box-desktop {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    background-color: #ecf2ff;
    padding: 50px 130px;
    border-radius: 26px;
  }

  .footer-container {
    flex-direction: column;
    justify-content: space-between;
  }

  .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .sections {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
}
