/* --- Google Font --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Verdana, Geneva, Tahoma, sans-serif;
}

/* --- Parent Div --- */
.main {
  position: relative;
  background: linear-gradient(
    120deg,
    #fff,
    #fff 60%,
    #3b5998 60%,
    #3b5998 100%
  );
  min-height: 100vh;
  padding: 0 100px;
  display: flex;
  align-items: center;
}

/* --- Header --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
header .logo img {
  max-width: 50px;
  margin-right: 20px;
}
header ul {
  display: flex;
}
header ul li {
  list-style: none;
  margin: 0 10px;
}
header ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
header ul li a:hover,
header .active {
  color: #2d88ff;
}

/* -- Download Button CTA -- */
.app {
  position: absolute;
  right: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #3b5998;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.app:hover {
  background: #2d88ff;
  color: #fff;
}
.app ion-icon {
  margin-right: 10px;
  font-size: 1.4em;
}

/* --- Content Box --- */
.contentBox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contentBox .text {
  max-width: 800px;
}
.contentBox .text h2 {
  font-size: 6em;
  color: #3b5998;
}
.contentBox .text p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.8em;
}
.contentBox .text h4 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #333;
}

/* --- CTA Button --- */
.btn {
  background-color: #3b5998;
  color: #fff;
  display: inline-flex;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.1em;
  margin: 5px 20px 5px 0;
  border-radius: 5px;
}
.btn:hover {
  background: #2d88ff;
}
.btn ion-icon {
  margin-right: 10px;
  font-size: 1.4em;
}

/* -- imgBox -- */
.imgBox img {
  margin-left: 50px;
  margin-right: 100px;
  max-width: 250px;
  display: none;
}
.imgBox img.active {
  display: block;
}

/* --- Dots navigation for images --- */
.dots {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 80px;
  display: flex;
  flex-direction: column;
}
.dots .dot {
  position: relative;
  width: 10px;
  height: 30px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  margin: 5px;
  cursor: pointer;
}
.dots .active {
  background: #fff;
}

/* --- Social Icons --- */
.social {
  position: absolute;
  bottom: 30px;
  display: flex;
}
.social li {
  list-style: none;
  margin-right: 20px;
}
.social li a {
  font-size: 1.8em;
  color: #3b5998;
}
.social li a:hover {
  color: #2d88ff;
}

/* --- Break Points --- */
@media (max-width: 991px) {
  /* - Parent Div - */
  .main {
    padding: 30px;
    background: #fff;
  }

  /* - header - */
  header {
    padding: 30px;
    justify-content: space-between;
  }

  /* - app CTA - */
  .app {
    display: none;
  }

  /* - Content Box - */
  .contentBox {
    flex-direction: column-reverse;
    margin: 100px 0;
  }
  .contentBox .text {
    text-align: center;
  }
  .contentBox .text h2 {
    font-size: 3em;
  }

  /* - Image Box - */
  .imgBox img {
    margin: 0;
  }

  /* - Dots : Indicator - */
  .dots {
    position: relative;
    top: initial;
    transform: none;
    right: initial;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
  }
  .dots .dot {
    width: 25px;
    height: 10px;
    background: #3b5998;
    opacity: 0.2;
  }
  .dots .active {
    background: #3b5998;
    opacity: 1;
  }

  /* - Social Icons - */
  .social {
    position: absolute;
    bottom: 30px;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
  }
}
