* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.first .mobile {
  display: none;
  justify-content: space-around;
}
.first .mobile i {
  font-size: 20px;
  color: #fff;
}
.first .mobile img {
  width: 79px;
  height: 20px;
}
.first .desktop {
  position: fixed;
  height: 70px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  justify-items: center;
  z-index: 99999;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.206);
}

.first nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.first nav ul li a {
  transition: all 0.5s ease;
}
.first nav ul li a:hover {
  color: #fc6060;
}

.navbar-links,
.pages {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none;
}

#home {
  border-bottom: #fc6060 3px solid;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none;
  transition: all 0.5s ease;
}
#home:hover {
  color: #fc6060;
}
.fa-magnifying-glass {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.first {
  height: 150vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("./images/bg/1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.welcome-text {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-left: 50px;
}
.welcome-text :nth-child(2) {
  color: #ffff;
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 400;
  width: 40%;
}
.welcome-text h1 {
  color: #ffe89e;
  font-weight: 700;
  font-size: 82px;
}
.welcome-text h1 span {
  color: #ff9696;
}

.welcome-text .button :nth-child(1) {
  font-size: 16px;
  line-height: 46px;
  text-transform: capitalize;
  text-align: center;
  padding: 10px 30px;
  border: #fc6060 2px solid;
  text-decoration: none;
  color: #ffff;
  border-radius: 60px;
}
.welcome-text .button :nth-child(2) {
  color: #fff;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
}
.section-2 ul {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}
.section-2 ul li {
  list-style-type: none;
}
.section-2 ul li a {
  text-decoration: none;
  color: #212529;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin: 0 25px;
}
.section-2 ul li a:hover {
  border-bottom: 4px solid #fc6060;
}

.image {
  display: grid;
  grid-template-columns: repeat(4, 16.66%);
  grid-template-rows: repeat(5, auto);
  gap: 20px;
  place-content: center;
}
.single-gallery {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  &:hover {
    cursor: pointer;
    .overlay {
      display: flex;
    }
    img {
      transform: scale(1.2);
    }
  }
}
.single-gallery img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  z-index: -1;
}

.overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  width: 100%;
  .icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fc6060;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    .fa-plus {
      font-size: 20px;
      color: #fff;
    }
  }
}

.single-gallery-1:hover .image {
  opacity: 0.3;
}

.image :nth-child(2) {
  grid-row: 1/3;
  grid-column: 2/3;
}
.image :nth-child(2) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(2):hover {
  cursor: pointer;
}
.image :nth-child(3) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(3):hover {
  cursor: pointer;
}
.image :nth-child(4) {
  grid-row: 1/3;
  grid-column: 4/5;
}
.image :nth-child(4) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(4):hover {
  cursor: pointer;
}
.image :nth-child(5) {
  grid-row: 2/4;
  grid-column: 1/2;
}
.image :nth-child(5) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(5):hover {
  cursor: pointer;
}
.image :nth-child(6) {
  grid-row: 3/5;
  grid-column: 2/3;
}
.image :nth-child(6) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(6):hover {
  background-size: 110%;
  cursor: pointer;
}
.image :nth-child(7) {
  grid-row: 2/4;
  grid-column: 3/4;
}
.image :nth-child(7) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(7):hover {
  cursor: pointer;
}
.image :nth-child(8) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(8):hover {
  cursor: pointer;
}
.image :nth-child(9) {
  grid-row: 4/6;
  grid-column: 1/2;
}
.image :nth-child(9) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(9):hover {
  cursor: pointer;
}
.image :nth-child(10) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(10) {
  grid-area: 5/-4/6/-3;
}
.image :nth-child(10):hover {
  cursor: pointer;
}
.image :nth-child(11) img {
  height: 100%;
  width: 100%;
}
.image :nth-child(11) {
  grid-area: 4/-3/6/-1;
  overflow: hidden;
  transition: all 0.3s ease-in;
}
.image :nth-child(11):hover {
}
.image :nth-child(11) img:hover {
}

.third-page {
  margin-top: 50px;
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    .view-more {
      text-align: center;
      padding-top: 8px;
      width: 150px;
      height: 40px;
      border: 2px solid #fc6060;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      color: #000;
      border-radius: 60px;
      transition: 500ms all ease;
      &:hover {
        background-color: #fc6060;
        color: #fff;
      }
    }
    div {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 40px;
      h2 {
        text-transform: capitalize;
        font-size: 36px;
        margin-bottom: 5px;
        color: #252525;
        font-weight: 600;
      }
      p {
        font-size: 16px;
        color: #636363;
        font-weight: 400;
      }
    }
  }
}
.single-instagram-item {
  margin-top: 50px;
  display: grid;
  transition: all 0.3s ease-in-out;
  grid-template-columns: repeat(6, 16.6%);
  grid-template-rows: 200px;
}

.single-photos {
  position: relative;
  overflow: hidden;
  transition: all 500ms ease;
  &:hover {
    cursor: pointer;
    .overlay-2 {
      display: flex;
    }
    img {
      transform: scale(1.1);
    }
  }
}
.single-photos img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  z-index: -1;
}

.overlay-2 {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background-color: rgba(252, 96, 96, 0.9);
  overflow: hidden;
  width: 100%;
  .icon-box-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .fa-instagram {
      font-size: 32px;
      color: #fff;
    }
    p {
      color: #fff;
      font-size: 14px;
    }
  }
}
footer {
  .sub-footer {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    .mobile-copyright {
      display: none;
    }
    .copyright {
      font-size: 16px;
      font-weight: 400;
      margin: 0;
      a {
        color: #fc6060;
        text-decoration: none;
        font-size: 16px;
      }
    }
    img {
      width: 80px;
      height: 20px;
    }
    .apps-box {
      display: flex;
      align-items: center;
      gap: 20px;
      i {
        text-decoration: none;
        color: #000;
        font-size: 20px;
      }
    }
  }
}
@media (max-width: 900px) {
  .first .mobile {
    display: flex;
    justify-content: space-between;
    padding: 50px;
  }
  .first .desktop {
    display: none;
  }
  footer {
    .sub-footer {
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .copyright {
        font-size: 12px;

        a {
          font-size: 12px;
        }
      }
      img {
        display: none;
      }
      .apps-box {
        i {
          font-size: 12px;
        }
      }
    }
  }
  .welcome-text {
    :nth-child(2) {
      font-size: 14px;
    }
    h1 {
      font-size: 65px;
    }
    .button :nth-child(1) {
      font-size: 12px;

      padding: 10px 20px;
    }
    .button :nth-child(2) {
      font-size: 12px;
    }
  }
}
@media (max-width: 700px) {
  .welcome-text {
    :nth-child(2) {
      font-size: 8px;
    }
    h1 {
      font-size: 50px;
    }
    .button :nth-child(1) {
      font-size: 8px;

      padding: 10px 20px;
    }
    .button :nth-child(2) {
      font-size: 8px;
    }
  }
  .third-page {
    section {
      .view-more {
        width: 130px;
        height: 35px;

        font-size: 12px;
      }
      div {
        h2 {
          font-size: 27px;
        }
        p {
          font-size: 12px;
        }
      }
    }
  }
  .section-2 ul {
    li {
      a {
        font-size: 14px;

        margin: 0 15px;
      }
    }
  }
  footer {
    .sub-footer {
      display: flex;
      flex-direction: column-reverse;
      justify-content: center;
      margin: 0 auto;
      .copyright {
        font-size: 8px;

        a {
          font-size: 8px;
        }
      }
      img {
        display: none;
      }
      .apps-box {
        gap: 10px;
        i {
          font-size: 8px;
        }
      }
    }
  }
}
@media (max-width: 500px) {
  .welcome-text {
    :nth-child(2) {
      font-size: 9px;
      width: 200px;
    }
    h1 {
      font-size: 40px;
    }
    .button :nth-child(1) {
      font-size: 9px;

      padding: 5px 10px;
    }
    .button :nth-child(2) {
      font-size: 9px;
    }
  }
  .third-page {
    section {
      .view-more {
        width: 130px;
        height: 35px;

        font-size: 12px;
      }
      div {
        h2 {
          font-size: 27px;
        }
        p {
          font-size: 12px;
        }
      }
    }
  }
  .section-2 ul {
    li {
      a {
        font-size: 12px;

        margin: 0 15px;
      }
    }
  }
  footer {
    .sub-footer {
      display: flex;
      flex-direction: column-reverse;
      margin: 0 auto;
      .mobile-copyright {
        display: inline;
        font-size: 8px;
        font-weight: 400;
        margin: 0;
        a {
          color: #fc6060;
          text-decoration: none;
          font-size: 8px;
        }
      }
      .copyright {
        display: none;
      }
      img {
        display: none;
      }
      .apps-box {
        gap: 10px;
        i {
          font-size: 8px;
        }
      }
    }
  }
}
