html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  background: black;
  color: white;
  cursor: url('../assets/images/icons/dot.png'), auto;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a {
  text-decoration: inherit;
  color: inherit;
  cursor: url('../assets/images/icons/dot-action.png'), pointer;
}

body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: 'Open Sans', helvetica-light, Arial, sans-serif;
  user-select: none;
  opacity: 0;
  animation: slow-whow 0.5s forwards;
}

.header {
  transition: 0.7s;
  z-index: 100;
}

.header_sticky {
  position: sticky;
  top: 0;
}

.header_scroll {
  background: rgba(0, 0, 0, 0.2);
}

.header_active {
  background: rgba(0, 0, 0, 0.6);
}

.header__container {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 10px;
}

.header_absolute {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
}

.logo-box {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.logo {
  width: 60px;
  border-radius: 100%;
  transition: 1s;
}

@media (hover: hover) {
  .logo-box:hover .logo {
    transform: rotate(360deg);
  }
}

.chat-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.chat {
  width: 20px;
}

.navigation {
  transition: 0.7s;
}

.menu {
  display: flex;
  gap: 10px;
  list-style-type: none;
  font-size: 20px;
  padding: 0;
}

.menu__item {
  border-radius: 2px;
  transition: 0.7s;
}

.menu__item a {
  padding: 10px;
  transition: 0.7s;
}

.menu__item_active a {
  background: white;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
  color: black;
}

@media (hover: hover) {
  .menu__item a:hover {
    background: white;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
    color: black;
  }
}

.preview-box {
  line-height: 0;
  overflow: hidden;
}

.preview-box__image {
  width: 100%;
  height: 100dvh;
  object-fit: cover;
  animation: scale-image infinite 20s;
}

.preview-text-box {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*-------------------------------------burger---------------------------------------*/

.burger {
  position: relative;
  width: 40px;
  height: 30px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  cursor: pointer;
  display: none;
  transition: 0.7s;
}

.burger__line {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: white;
  transition: 0.7s;
}

.burger_close .burger__line:nth-of-type(1) {
  position: absolute;
  rotate: 40deg;
}

.burger_close .burger__line:nth-of-type(3) {
  position: absolute;
  rotate: -40deg;
}

.burger_close .burger__line:nth-of-type(2) {
  opacity: 0;
}

/*------------------------------------------main------------------------------------*/

.main {
  min-height: calc(100vh - 60px - 213px);
}

.section {
  padding: 10px;
}

.section__title span {
  font-weight: 12px;
  background: rgb(255, 255, 255);
  color: black;
  padding: 5px;
}

.text-bold {
  font-weight: 700;
}

.about-logo {
  display: block;
  margin: auto;
  max-width: 400px;
  width: 100%;
}

/*------------------------------------not-found-------------------------------------*/

.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*------------------------------------contacts-page---------------------------------*/

.social-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  justify-content: center;
}

.social-list li img {
  width: 80px;
}

.map-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

/*---------------------------------advantages---------------------------------------*/

.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.advantages-wrapper {
  width: 100%;
  display: flex;
  gap: 10px;
}

.advantages__text {
  display: flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  margin: 0;
  height: 100%;
  transition: 0.7s;
  width: 100%;
}

.card__side__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  position: relative;
  width: 100%;
  height: fit-content;
  height: 400px;
  perspective: 1000px;
}

.card__side {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.card__side_front {
  transform: rotateY(0deg);
}

.card__side_back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
}

@media (hover: hover) {
  .advantages__text:hover {
    background: rgba(255, 255, 255, 0.9);
    color: black;
  }

  .card:hover .card__side_front {
    transform: rotateY(-180deg);
  }

  .card:hover .card__side_back {
    transform: rotateY(0deg);
  }
}

/*--------------------------------------"services-list------------------------------*/

.services-list {
  font-weight: 700;
}

.services-list,
.services-list__sublist {
  list-style-type: none;
}

.services-list__sublist {
  font-weight: 400;
  color: rgb(181, 181, 181);
}

/*-------------------------------------main-swiper----------------------------------*/

.swiper-button-prev::after,
.swiper-button-next::after {
  color: white;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: white;
}

.swiper-slide {
  overflow: hidden;
}

.swiper-slide__image {
  transform: scale(1.05);
  width: 100%;
  object-fit: cover;
  transition: 0.7s;
}

.swiper-slide__zoom,
.gallery__link__zoom {
  position: absolute;
  z-index: 10;
  padding: 5px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0.4);
  right: 2px;
  top: 2px;
  width: 30px;
  transition: 0.7s;
  opacity: 0;
}

@media (hover: hover) {
  .swiper-slide:hover .swiper-slide__zoom {
    opacity: 1;
  }

  .swiper-slide:hover .swiper-slide__image {
    transform: scale(1.15);
  }
}

section {
  max-width: 1440px;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

/*----------------------------------------multiple-swiper---------------------------*/

.swiper-container {
  max-width: 1440px;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

/*--------------------------------------gallery-------------------------------------*/

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery__link {
  position: relative;
  overflow: hidden;
}

.gallery__link:nth-of-type(1),
.gallery__link:nth-of-type(8) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__link__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.7s;
}

@media (hover: hover) {
  .gallery__link:hover .gallery__link__zoom {
    opacity: 1;
  }

  .gallery__link:hover .gallery__link__image {
    transform: scale(1.1);
  }
}

/*---------------------------------------promo--------------------------------------*/

.promo {
  position: relative;
  color: black;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  height: 600px;
  background: linear-gradient(
    90deg,
    rgba(255, 221, 2, 0.7) 0%,
    rgba(232, 197, 23, 0.7) 50%,
    rgba(255, 245, 136, 0.7) 100%
  );
}

.promo h2,
.promo p {
  width: 100%;
  text-align: center;
}

.procent-box {
  position: absolute;
  border-radius: 100%;
  left: 0;
  top: 0;
  animation: procent-move 20s infinite linear;
}

.procent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  font-size: 90px;
  font-weight: 700;
  border-radius: 100%;
  color: black;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  animation: procent-rotate 2s infinite linear;
}

@keyframes procent-rotate {
  0% {
    transform: rotateZ(0);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes procent-move {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(calc(100vw - 100px), 500px);
  }
  50% {
    transform: translate(0, 500px);
  }
  75% {
    transform: translate(calc(100vw - 100px), 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

/*------------------------------------------footer----------------------------------*/
.footer {
  position: relative;
  overflow-x: hidden;
  min-height: 273px;
}

.footer-animation {
  position: absolute;
  z-index: -1;
  width: 200%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(121, 121, 121, 0.2) 50%),
    rgba(0, 0, 0, 0) 100%;
  background: radial-gradient(circle, rgba(121, 121, 121, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
  animation: gradient-animation 15s infinite;
}

.footer__conatiner {
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 10px;
}

.footer-main {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 12px;
}

.footer-section ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  padding: 0 0 5px 0;
}

.social-links a {
  display: flex;
  gap: 5px;
  align-items: center;
}
.social-links a img {
  height: 30px;
  overflow: hidden;
  border-radius: 5px;
}

.contacts-box {
  display: flex;
  gap: 5px;
}

.contacts-box img {
  height: 30px;
}

/*---------------------------------------btn-to-top-----------------------------*/

.btn-top {
  position: fixed;
  z-index: -1;
  line-height: 0;
  right: 20px;
  bottom: 20px;
  width: 30px;
  opacity: 0.5;
  background: white;
  border-radius: 100%;
  display: none;
  cursor: pointer;
  transition: 0.5s;
}

.btn-top_show {
  z-index: 100;
  display: block;
}

@media (hover: hover) {
  .btn-top_show:hover {
    cursor: pointer;
    opacity: 1;
    transform: scale(1.1);
  }
}

.btn-top_show:active {
  transition: 0.2;
  transform: scale(0.8);
}

/*----------------------------------------cursor------------------------------------*/

.cursor {
  position: fixed;
  z-index: 100000;
  width: 33px;
  height: 33px;
  box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 0.2s ease;
  pointer-events: none;
}

body .fancybox-can-zoomIn .fancybox-content,
body .fancybox-can-pan .fancybox-content,
.fancybox-can-swipe .fancybox-content,
body .fancybox-button {
  cursor: url('../assets/images/icons/dot-action.png'), pointer;
}

.unvisible {
  display: none;
}

/*----------------------------------------------------------------------------------*/

.scroll-off {
  overflow: hidden;
}

/*-------------------------------------scrollbar--------------------------------*/

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

*::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0);
}
*::-webkit-scrollbar-track:hover {
  background-color: rgba(255, 255, 255, 0);
}
*::-webkit-scrollbar-track:active {
  background-color: rgba(255, 255, 255, 0);
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.6);
}
*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
*::-webkit-scrollbar-thumb:active {
  background-color: rgba(255, 255, 255, 1);
}

.scroll-off {
  overflow-y: hidden;
}

@keyframes scale-image {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes gradient-animation {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slow-whow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}