* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background-color: black;
  font-family: "Exo", sans-serif;
  color: #d9d9d9;
  font-style: italic;
  overflow-x: hidden;
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

main .sub-box,
main .main-box {
  display: flex;
  font-style: normal;
  font-weight: 700;
  width: 100vw;
}

/* --------------------------------------START-SWIPER----------------------------------------- */

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: white !important;
  opacity: 0.7;
  font-style: normal;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev {
  left: 0;
  font-size: 30px;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: white !important;
}

/* --------------------------------------END-SWIPER------------------------------------------- */

/* BOX PATTERN */

main .box {
  position: relative;
  border-radius: 20px;
  transition: 0.3s;
  transition-delay: 0.1s;
}

main .box .imgBx {
  width: 100%;
}

main .box .imgBx img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0px 10px 6px rgba(0, 0, 0, 0.8);
}

main .box .contentBx {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  background: url(../../IMG/Customers/individual_project/wood_background.jpeg);
  background-repeat: no-repeat;
  border-radius: 20px;
  width: auto;
}

main .box .contentBx .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: "Exo";
  font-style: normal;
  font-weight: 800;
  text-align: center;
  color: #d9d9d9;
}

main .box .contentBx .content p {
  opacity: 1;
  padding: 0;
  color: #d9d9d9;
}

main .box .contentBx .content h2 {
  text-align: center;
  color: #d9d9d9;
}

main .box .contentBx .content a {
  color: #d9d9d9;
  text-decoration: none;
}

.box .contentBx .content a:hover {
  text-decoration: underline;
}

main .main-box .right-box .textBx .steps-list li {
  font-weight: 400;
}

/* STAR */
main .star {
  position: sticky;
  background-color: #c6c6c6;
  transform: translate(50%, -105%);
}

main .star .top-left-corner {
  position: absolute;
  background-color: black;
}

main .star .bottom-left-corner {
  position: absolute;
  background-color: black;
}

main .star .top-right-corner {
  position: absolute;
  background-color: black;
}

main .star .bottom-right-corner {
  position: absolute;
  background-color: black;
}

@media (min-width: 1026px) {
  main .sub-box {
    margin-top: 4.3vw;
    border-bottom: 1px solid #c6c6c6;
  }

  main .left-box {
    width: 20%;
  }

  main .left-box span {
    padding: 2vw;
  }

  main .left-box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25vw;
  }

  main .main-box .left-box {
    top: 4.3vw;
    height: 5vw;
    position: sticky;
  }

  main .right-box {
    width: 80%;
    border-left: 1px solid #c6c6c6;
  }

  main .main-box .right-box h2 {
    font-size: 1.75vw;
  }

  main .sub-box .right-box {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 2vw;
    padding-left: 4vw;
  }

  main .main-box .right-box .textBx {
    padding: 2vw 4vw;
  }

  main .main-box .right-box .textBx h3 {
    font-size: 1.3vw;
    text-align: justify;
    margin-bottom: 2vw;
  }

  main .main-box .right-box .textBx .steps-list li {
    font-size: 1.1vw;
    margin-left: 3vw;
    line-height: 1.5vw;
    margin-top: 0.5vw;
  }

  main .main-box .right-box .textBx .steps-list .contact-with-us {
    font-size: 1.3vw;
    text-decoration: underline;
    cursor: pointer;
    font-style: italic;
  }

  main .main-box .right-box .productBx h2 {
    margin-left: 4vw;
  }

  /* --------------------------------------START-SWIPER----------------------------------------- */
  .swiper {
    width: 90%;
    height: 23vw;
  }

  .swiper-button-prev,
  .swiper-button-next {
    margin-top: -4vw !important;
  }

  /* BOX PATTERN */

  main .swiper .box {
    height: 12vw;
    width: 12vw;
    margin: 3vw 2.1vw 10vw 2.1vw;
  }

  main .swiper .box .contentBx {
    /* here set parameters for all-prodcuts box */
    top: 80%;
    height: 6vw;
  }

  main .swiper .box .contentBx .content h2 {
    margin: 0;
  }

  main .swiper .box .contentBx .content h2 a {
    font-size: 1.25vw;
    line-height: 1.5vw;
  }

  main .swiper .box .contentBx .content p {
    font-size: 0.75vw;
    line-height: 1.5vw;
  }
  /* --------------------------------------END-SWIPER------------------------------------------- */

  /* BOX PATTERN */

  main .box {
    height: 16vw;
    width: 16vw;
    margin: 2vw 3vw 2vw 3vw;
  }

  main .box:hover {
    transform: scale(1.3);
  }

  main .box .contentBx {
    top: 80%;
    height: 7.5vw;
    transform: scaleY(0);
    transform-origin: top;
    visibility: hidden;
  }

  /*  TEXT under
  main .box:hover .contentBx {
    transform: scaleY(1);
    visibility: visible;
  }
  */

  main .box .contentBx .content {
    font-size: 1vw;
    line-height: 1.75vw;
  }

  main .box .contentBx .content p {
    font-size: 1vw;
    line-height: 1.75vw;
  }

  /* STAR */
  main .star {
    left: 17.55vw;
    height: 2.5vw;
    width: 2.5vw;
  }

  main .star .top-left-corner {
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    border-bottom-right-radius: 80%;
  }

  main .star .bottom-left-corner {
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    border-top-right-radius: 80%;
  }

  main .star .top-right-corner {
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-bottom-left-radius: 80%;
  }

  main .star .bottom-right-corner {
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-top-left-radius: 80%;
  }
}

@media (max-width: 1025px) {
  main {
    width: 100vw;
  }

  main .sub-box {
    margin-top: 60px;
  }

  main .left-box {
    display: none;
    visibility: hidden;
    position: absolute;
  }

  main .right-box {
    width: 100vw;
  }

  main .sub-box .right-box {
    padding: calc(15px + 1.5vw);
    font-size: calc(9px + 2vw);
    line-height: calc(16px + 2vw);
  }

  main .main-box .right-box .textBx {
    padding: 0 4vw;
  }

  main .main-box .right-box h2 {
    font-size: calc(13px + 2vw);
  }

  main .main-box .right-box .textBx h3 {
    font-size: calc(11px + 2vw);
    margin: calc(10px + 1vw);
    margin-top: 10px;
    text-align: justify;
  }

  main .main-box .right-box .textBx .steps-list {
    margin-top: calc(20px + 1.5vw);
    margin-bottom: calc(25px + 1.5vw);
  }

  main .main-box .right-box .textBx .steps-list li {
    font-size: calc(9px + 2vw);
    line-height: calc(14px + 2vw);
    margin-left: calc(25px + 0.5vw);
    margin-right: calc(20px + 0.5vw);
    margin-top: calc(4px + 1vw);
  }

  main .main-box .right-box .textBx .steps-list .contact-with-us {
    font-size: calc(9px + 2vw);
    line-height: calc(14px + 2vw);
    text-decoration: underline;
    cursor: pointer;
    font-style: italic;
  }

  main .swiper .box .contentBx .content h2 {
    margin: 0;
  }

  main .main-box .right-box .productBx h2 {
    margin-top: calc(25px + 1.5vw);
    margin-bottom: calc(10px + 1.5vw);
  }

  /* --------------------------------------START-SWIPER----------------------------------------- */
  .swiper-slide {
    display: flex !important;
    justify-content: center !important;
  }

  .swiper {
    width: 100%;
    height: 270px;

    /*Without under text*/
    height: 210px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    visibility: hidden !important;
  }

  /* BOX PATTERN */

  .swiper .box {
    margin: 10px 10px 10px 10px;
  }

  /* BOX PATTERN */

  main .box {
    margin: 10px 2vw 90px 2vw;
    height: 158px;
    width: 158px;
    z-index: 1;
  }

  main .box .contentBx {
    position: absolute;
    top: 60%;
    height: 120px;
    visibility: visible;
    transform: scaleY(1);

    /*Without under text*/
    display: none;
  }

  main .box .contentBx .content h2 {
    font-size: 20px;
  }

  main .box .contentBx .content p {
    font-size: 13px;
    line-height: 15px;
    padding-top: 2px;
    padding-bottom: 6px;
  }
}
