html {
  scroll-behavior: smooth;
}

body {
  font-family: "Ubuntu", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  margin: 0px;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, p {
 margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
  min-height: 100vh;
}

.wrapper {
  display: grid;
  grid-template-rows: 1fr max-content;
}

.container {
  max-width: 1520px;
  width: 100%;
  padding: 0 40px;
  margin: auto;
}

.container-swiper {
  max-width: 1520px;
  width: 100%;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

header {
  background-color: #212121;
}

.header-wrap {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  width: 100%;
  max-width: 1520px;
  padding: 20px 40px;
  margin:auto;
}

.header-wrap-page {
  background-color: #212121;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1520px;
  padding: 20px 40px;
  margin:auto;
}

.nav-menu {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: #F9F9F9;
  max-width: 570px;
  width: 100%;
}

.nav-menu-ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-burger-ul {
  background: #212121;
  list-style: none;
  max-width: 450px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-burger-li {
  border-bottom: 1px solid #3f3f3f;
}

.nav-burger-li:first-child {
  border-bottom: 0;
}

.nav-burger-li:nth-of-type(7) {
  border-bottom: 0;
}

.nav-burger-li-btn {
  padding: 40px 20px 0px;
}

.nav-burger-li-btn-a {
    position: absolute;
    bottom: 24px;
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    padding: 10px 10px;
    width: 100%;
    color: #ffffff;
    background-color: #03cea4;
    border-radius: 4px;
    max-width: 410px;
    width: 100%;
}

.nav-burger-logo {
  margin:0px;
  padding: 40px;
}

.nav-burger-title {
  text-decoration: none;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 160%;
  color: #F9F9F9;
}

.nav-burger-item {
  display: block;
  text-decoration: none;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #F9F9F9;
  padding: 20px 40px;
  width: 100%;
}

.nav-menu-item {
  text-decoration: none;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: #F9F9F9;
}

.header-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

@media screen and (max-width: 728px) {
  .header-wrap {
    padding: 40px;
  }
  .header-contacts {
    display: none;
  }
}

.header-contacts span{
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  align-items: center;
  color: #F4F5F7;
}

.header-contacts a{
  text-decoration: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #F9F9F9;
}

.header-contacts-tel {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.header-contacts-tel-detail {
  display: flex;
  flex-direction: column;
}

.header-contacts-email {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
}

.header-contacts-email-detail {
  display: flex;
  flex-direction: column;
}

.burger-menu {
  display: none;
}

.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.burger-icon.active {
  /* Стили для активного состояния иконки */
}

.burger-open.active {
  /* Стили для активного состояния открытого меню */
}

.burger-open {
  display: none;
  width: 30px;
  height:20px;
}

.burger-icon span {
  background-color: #03cea4;
  height: 3px;
  border-radius: 3px;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger {
  display: none;
}

.nav-burger.active {
  display: block;
}

@media screen and (max-width: 1324px) {
  .burger-menu {
      display: block;
  }
  
  .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #333;
  }
  
  .nav-menu ul {
      flex-direction: column;
      width: 100%;
      margin: 0;
      padding: 0;
  }
  
  .nav-menu ul li {
      margin: 10px 0;
      text-align: center;
  }
  
  .nav-burger.active {
        display: flex;
        justify-content: flex-end;
        background: #1a1a1a3d;
        position: fixed;
        top: 0;
        right: 0;
        /* max-width: 425px; */
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
  }

  .header-wrap.active {
      background-color: #1a1a1a;
      flex-direction: column;
      padding: 0;
  }
  .burger-menu.active {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 10;
  }
  /* Анимация бургер-иконки при открытии меню */
  .burger-icon.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .burger-icon.active span:nth-child(2) {
      opacity: 0;
  }

  .burger-icon.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }
  .burger-open.active {
    display: block;
    width: 30px;
    height:20px;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.main-slider {
  height: 100vh;
  background: #1a1a1a;
}

.main-slide {
  max-width: 1520px;
  width: 100%;
  padding:0px 40px;
  margin:auto;
}

@media screen and (max-width: 1600px) {
  .main-slide {
    padding:0px 80px;
  }
}

@media screen and (max-width: 600px) {
  .main-slide {
    padding: 0px 40px;
  }
}

@media screen and (max-width: 540px) {
  .main-slide {
    padding: 0px 20px;
  }
}

.main-slide-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 72px;
  line-height: 130%;
  color: #FFFFFF;
  margin-bottom: 28px;
}

.main-slide-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #FFFFFF;
  max-width: 630px;
  width: 100%;
  margin-bottom: 50px;
}

.main-slide-btn-wrap {
  display: flex;
  gap:24px;
}

.main-slide-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 52px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  border: 1px solid white;
  border-radius: 4px;
  padding: 0 40px;
  justify-content: center;
}

.main-slide-btn:hover {
  background-color: rgba(255,255,255,0.5);
}

.main-slide-btn:nth-of-type(2) {
  border: 1px solid #03CEA4;
  background-color: #03CEA4;
}

.main-slide-btn:nth-of-type(2):hover {
  border: 1px solid #03CEA4;
  background-color: rgba(3, 206, 164,0.5);
  color: white;
}

@media screen and (max-width: 540px) {
  .main-slide-btn {
    font-size: 14px;
    padding: 0;
  }
}

@media screen and (max-width: 900px) {
  .main-slide {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
  }
  .main-slide-title, .main-slide-text {
    text-align: center;
  }

  .main-slide-btn-wrap {
    justify-content: center;
  }
}

@media screen and (max-width: 800px) {
  .main-slide-title {
    font-size: 48px;
  }
  .main-slide-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 800px) {
  .main-slide-title {
    font-size: 48px;
  }
  .main-slide-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 540px) {
  .main-slide-title {
    font-size: 32px;
  }
  .main-slide-text {
    font-size: 14px;
  }
}

@media screen and (max-width: 716px) {
  .main-slide-btn-wrap {
    flex-direction: column;
  }
}

.background-slide:nth-of-type(1) {
  background: url("../img/jpg/main.jpg");
  background-size: cover;
  background-position: center;
}

.background-slide:nth-of-type(2) {
  background: url("../img/jpg/main2.jpg");
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,0.4)
}

.background-slide:nth-of-type(3) {
  background: url("../img/jpg/main.jpg");
  background-size: cover;
  background-position: center;
}

.background-slide:nth-of-type(4) {
  background: url("../img/jpg/main2.jpg");
  background-size: cover;
  background-position: center;
}

.advantages {
  padding: 80px 0;
  width: 100%;
  margin: auto;
  text-align: center;
  background-color: white;
}

@media screen and (max-width: 768px) {
  .advantages {
    padding: 50px 0;
  }
}

.advantages-title {
  margin-bottom: 24px;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #1E212C;
}

@media screen and (max-width: 768px) {
  .advantages-title {
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 20px;
  }
}

.advantages-text {
  max-width: 880px;
  margin: auto;
  margin-bottom: 60px;
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #787A80;
}

@media screen and (max-width: 768px) {
  .advantages-text {
    margin-bottom: 50px;
  }
}

.advantages-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap:100px;
  padding: 0;
  margin: 0 auto;
}

@media screen and (max-width: 1519px) {
  .advantages-wrap {
    gap:60px;
    max-width: 1200px;
    width: 100%;
  }
}

@media screen and (max-width: 1279px) {
  .advantages-wrap {
    grid-template-columns: 1fr 1fr;
    gap:100px;
    max-width: 670px;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .advantages-wrap {
    grid-template-columns: 1fr;
    gap:60px;
    max-width: 250px;
    width: 100%;
  }
}

.advantages-item {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.advantages-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -50px;
  width: 1px;
  height: 100%;
  background: linear-gradient(0deg, rgba(218, 219, 221, 0) 0%, rgba(218, 219, 221, 0.5) 12.33%, #DADBDD 51.91%, rgba(218, 219, 221, 0.5) 87.85%, rgba(218, 219, 221, 0) 100%);
}

@media screen and (max-width: 1519px) {
  .advantages-item:not(:last-child)::after {
    right: -30px;
  }
}

@media screen and (max-width: 1279px) {
  .advantages-item:nth-of-type(2)::after {
    display: none;
  }

  .advantages-item:not(:last-child)::after {
    right: -50px;
  }

}

@media screen and (max-width: 768px) {
  .advantages-item:nth-of-type(2)::after {
    display: block;
  }

  .advantages-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: auto;
    right: 0px;
    bottom: -30px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(218, 219, 221, 0) 0%, rgba(218, 219, 221, 0.5) 12.33%, #DADBDD 51.91%, rgba(218, 219, 221, 0.5) 87.85%, rgba(218, 219, 221, 0) 100%);
  }
}

.advantages-item-img {
  margin-bottom: 24px;
}

.advantages-item-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  align-items: center;
  text-align: center;
  color: #1E212C;
  margin-bottom: 8px;
}

.advantages-item-text {
  font-size: 16px;
  line-height: 160%;
  text-align: center;
  color: #787A80;
}

.callback {
  position: relative;
  z-index: 1;
  background-color: #F4F5F6;
  padding: 0 40px;
}

@media screen and (max-width: 768px) {

  .callback {
    position: relative;
    z-index: 0;
    background-color: #F4F5F6;
    padding: 0px;
  }

}

.callback::after {
  content: "";
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: white;
  z-index: -1;
}

.callback::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/png/bg-image.png);
  z-index: -1;
}

.callback-secondary {
  padding: 80px 0;
}

.callback-wrap {
  padding: 27px 70px 48px;
  margin: auto;
  max-width: 1440px;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0px 80px 80px -20px rgba(154, 156, 165, 0.16), 0px 30px 24px -10px rgba(154, 156, 165, 0.1), 0px 12px 10px -6px rgba(154, 156, 165, 0.08), 0px 4px 4px -4px rgba(30, 33, 44, 0.05);
  border-radius: 4px;
}

@media screen and (max-width: 1280px) {
  .callback-wrap {
    padding: 27px 46px 38px;
  }
}

@media screen and (max-width: 768px) {
  .callback-wrap {
    padding: 27px 16px 38px;
  }
}

.callback-wrap-secondary {
  padding: 48px 40px;
  margin-left: auto;
  max-width: 495px;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0px 80px 80px -20px rgba(154, 156, 165, 0.16), 0px 30px 24px -10px rgba(154, 156, 165, 0.1), 0px 12px 10px -6px rgba(154, 156, 165, 0.08), 0px 4px 4px -4px rgba(30, 33, 44, 0.05);
  border-radius: 4px;
}

@media screen and (max-width: 425px) {
  .callback-wrap-secondary {
    padding: 40px 20px;
  }
}

.callback-title {
  text-align: center;
  margin-bottom: 53px;
}

.callback-form {
  display: grid;
  grid-template-columns: 305px 305px 1fr max-content;
  grid-template-rows: auto;
  gap: 28px;
  align-items: flex-start;
}

.callback-form-secondary {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap:20px;
  max-width: 495px;
  width: 100%;
}

.callback-form-secondary .base-control{
  grid-column: auto;
}

.callback-form-secondary .base-control:nth-of-type(3) {
  grid-column: auto;
}

.callback-form-secondary .base-checkbox{
  display: flex;
  grid-column: auto;
}

.callback-form-secondary .callback-form-btn {
  grid-column: auto;
  margin-top: 10px;
}

.callback-form-secondary .callback-form-politic {
  display: none;
}

@media screen and (max-width: 1280px) {

  .callback-form {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    align-items: flex-start;
  }

}

@media screen and (max-width: 768px) {

  .callback-form {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 28px;
    align-items: flex-start;
  }
  
}

.callback-form .callback-form-secondary {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.callback-form-btn {
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  margin-top: 29px;
  padding: 13px 11px;
  background: #03CEA4;
  border: 0px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #03CEA4;
}

.callback-form-btn:hover {
  border: 1px solid #03CEA4;
  background-color: rgba(3, 206, 164,0.5);
}

.base-checkbox {
  display: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #424551;
  grid-column:span 1;
}

@media screen and (max-width: 768px) {
  .base-checkbox {
    display: flex;
    align-items: flex-start;
  }
}

.custom-checkbox-span {
  padding-left: 4px
}

.custom-checkbox-a {
  text-decoration: underline;
  color: #03CEA4;
}

.callback-form-politic {
  grid-column: 1/4;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #9A9CA5;
}

@media screen and (max-width: 1280px) {
  .callback-form-politic {
    grid-column: 1/13;
  }
}

@media screen and (max-width: 768px) {
  .callback-form-politic {
    display: none;
  }
}

@media screen and (max-width: 768px) {

  .callback-form-btn {
    margin-top: 0px;
  }
  
}

.base-control {
  display: block;
}

@media screen and (max-width: 1280px) {

  .base-control {
    grid-column: span 6;
  }

  .base-control:nth-of-type(3) {
    grid-column: span 9;
  }

  .callback-form-btn {
    grid-column: span 3;
  }

}

@media screen and (max-width: 768px) {

  .base-control {
    grid-column: auto;
  }

  .base-control:nth-of-type(3) {
    grid-column: auto;
  }

  .callback-form-btn {
    grid-column: auto;
  }

}

.base-control-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 150%;
  color: #424551;
}

.base-control-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: #F4F5F7;
  border: 1px solid #D7DADD;
  border-radius: 4px;
  font-size: 14px;
}

/* Скрываем оригинальный input */
.base-control-input-file {
  display: none;
}

/* Стили для кастомного label */
.file-input-label {
  display: inline-block;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* Стили при наведении */
.base-control-upload:hover {
  border: 1px solid #03CEA4;
  background-color: rgba(3, 206, 164,0.5);
}

/* Стили для текста */

.base-control-upload {
  cursor: pointer;
  padding: 12px 20px;
  background: #F4F5F7;
  border: 1px solid #D7DADD;
  border-radius: 4px;
}

.file-input-text {
  display: inline-block;
  margin-left: 10px; /* Отступ от иконки (если добавите) */
}

.base-control-input::placeholder {
  color: #9A9CA5;
}

.services {
  position: relative;
  z-index: 0;
  padding: 80px 0 80px;
  background-color: #F4F5F6;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/png/bg-image.png);
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .services {
    padding: 45px 0;
    background-color: #F4F5F6;
  }
}

.services-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  align-items: center;
  text-align: center;
  color: #1E212C;
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {

  .services-title {
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 20px;
  }

}

.services-text {
  line-height: 150%;
  text-align: center;
  color: #787A80;
  margin-bottom: 60px;
}

@media screen and (max-width: 1369px) {

  .services-text {
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 768px) {
  .services-text {
    margin-bottom: 35px;
  }
}

.text-span {
  color: #03CEA4;
}

.services-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:60px;
  list-style-type: none;
  margin: 0px;
  margin-bottom: 50px;
  padding: 0;
}

@media screen and (max-width: 1519px) {

  .services-wrap {
    gap:10px;
  }

}

@media screen and (max-width: 1369px) {

  .services-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap:60px;
    max-width: 690px;
    width: 100%;
    margin: auto;
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 768px) {

  .services-wrap {
    grid-template-columns: 1fr;
    gap:20px;
    max-width: 315px;
    width: 100%;
    margin-bottom: 40px;
  }

}

.services-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1E212C;
  fill: #03CEA4;
  background-color: white;
  border: 1px solid #E5E8ED;
  box-shadow: 0px 80px 80px -20px rgba(154, 156, 165, 0.08), 0px 30px 24px -10px rgba(154, 156, 165, 0.05), 0px 12px 10px -6px rgba(154, 156, 165, 0.04), 0px 4px 4px -4px rgba(30, 33, 44, 0.03);
  border-radius: 4px;
  padding: 106px 0;
  max-width: 315px;
  width: 100%;
  transition: 0.5s;
}

.services-item:hover {
  color: white;
  fill: white;
}

.item-install:hover {
  background: url(../img/webp/supervision.webp), rgba(0,0,0,1);
  background-size: cover;
}

.item-design:hover {
  background: url(../img/webp/design.webp), rgba(0,0,0,1);
  background-size: cover;
}

.item-supervision:hover {
  background: url(../img/webp/calc.jpg), rgba(0,0,0,1);
  background-size: cover;
}

.item-service:hover {
  background: url(../img/webp/service.webp), rgba(0,0,0,1);
  background-size: cover;
}

.services-item-svg {
  margin-bottom: 24px;
}

.services-item-title {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 125%;
}

.price {
  padding: 80px 0 30px;
}

@media screen and (max-width: 768px) {
  .price {
    padding: 45px 0;
  }
}

.price-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  align-items: center;
  text-align: center;
  color: #1E212C;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {

  .price-title {
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 20px;
  }

}

@media screen and (max-width: 425px) {

  .price-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
  }

}

.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

@media screen and (max-width: 1024px) {
  .price-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .price-wrap {
    grid-template-columns: 1fr;
  }
}

.price-item {
  padding: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  border-radius: 16px;
  background-color: white;
  width: 100%;
}

@media screen and (max-width:768px) {
  .price-item {
    padding: 20px;
  }
}

.price-item-img {
  height: 100%;
  max-height: 80px;
}

.price-item-text {
  font-size: 18px;
  line-height: 160%;
  color: #787A80;
}

.calculator {
  padding-bottom: 80px;
}

.calculator-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  border-radius: 16px;
  background-color: white;
}

@media screen and (max-width: 768px) {
  .calculator-wrap {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .calculator-items {
    flex-direction: column;
  }
}

.calculator-plan-img {
  width: 100%;
}

.calculator-title {
  font-size: 27px;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .calculator-title {
    font-size: 24px;
  }
}

.calculator-progresbar-procent {
  padding-bottom: 10px;
}

.calculator-progresbar-bar {
  width: 100%;
  height: 10px;
  background-color: #00b993;
  border-radius: 5px;
}

.calculator-items {
  padding-top: 20px;
  display: flex;
  gap:20px;
}

.calculator-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 16px;
  background: white;
  box-shadow: 0px 30px 30px -20px rgba(154, 156, 165, 0.3);
  border-radius: 4px;
  max-width: 280px;
}

.calculator-item-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px 4px 0 0;
}

.calculator-item-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #424551;
  padding: 0 16px;
  margin-bottom: 16px;
}

.projects {
  display:none;
  padding: 80px 0;
}

@media screen and (max-width: 768px) {
  .projects {
    padding: 45px 0;
  }
}

.container-projects {
  position: relative;
  max-width: 1520px;
  width: 100%;
  padding: 0 40px;
  margin: auto;
  margin-bottom: 40px;
}

@media screen and (max-width: 1519px) {
  .container-projects {
    padding: 0 0 0 40px;
  }
}

@media screen and (max-width: 768px) {
  .container-projects {
    padding: 0 0 0 20px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 540px) {
  .container-projects {
    padding: 0 20px;
  }
}

.projects-wrap {
  display: flex;
  justify-content: space-between;
  padding-bottom: 45px;
}

@media screen and (max-width: 540px) {
  .projects-wrap {
    justify-content: space-around;
  }
}

.projects-swiper-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 116px;
  width: 100%;
}

.projects-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
}

@media screen and (max-width: 768px) {
  .projects-title {
    text-align: center;
    font-size: 28px;
    line-height: 150%;
  }
}

.projects-card {
  background: #FFFFFF;
  box-shadow: 0px 30px 30px -20px rgba(154, 156, 165, 0.3);
  border-radius: 4px;
}

.projects-button-next, .reviews-button-next, .main-button-next{
  border-radius: 24px;
  background-color: #03CEA4;
  padding: 12px;
  width: 48px;
  height: 48px;
}

.projects-button-next svg {
  fill:white;
}

.projects-button-next:hover, .reviews-button-next:hover, .main-button-next:hover {
  background-color: #00b993;
}

.projects-button-prev, .reviews-button-prev, .main-button-prev {
  border-radius: 24px;
  background-color: #03CEA4;
  padding: 12px;
  max-width: 48px;
  width: 100%;
  max-height: 48px;
  height: 100%;
}

.projects-button-prev svg {
  fill:white;
}

.projects-button-prev:hover, .reviews-button-prev:hover, .main-button-prev:hover{
  background-color: #00b993;
}

@media screen and (max-width: 540px) {

  .projects-swiper-control{
    display: none;
  }

}

.container-projects .projects-button-next {
  display: none;
}

.container-projects .projects-button-prev {
  display: none;
}

@media screen and (max-width: 540px) {

  .container-projects .projects-button-next {
    display: block;
    position: absolute;
    z-index: 10;
    top: 40%;
    right: 0;
  }

  .container-projects .projects-button-next:active {
    background-color: #00b993;
  }

  .container-projects .projects-button-prev {
    display: block;
    position: absolute;
    z-index: 10;
    top: 40%;
    left: 0;
  }

  .container-projects .projects-button-prev:active {
    background-color: #efefef;
  }

}

.main-button-next {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 45%);
  right: var(--swiper-navigation-sides-offset, 10px);
  left: auto;
  z-index: 10;
}

.main-button-prev {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 45%);
  left: var(--swiper-navigation-sides-offset, 10px);
  right: auto;
  z-index: 10;
}

.main-button-next svg {
  fill: white;
}

.main-button-prev svg {
  fill: white;
}

@media screen and (max-width: 600px) {
  .main-button-next, .main-button-prev {
    display: none;
  }
}

.projects-slide  {
  max-width: 450px;
  padding-bottom: 40px;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0;
}

.projects-card-img-wrap {
  display: flex;
  height: 345px;
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.projects-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projects-card-detail {
  padding: 16px 0;
}

.projects-card-detail-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: #1E212C;
  margin-bottom: 4px;
}

.projects-card-detail-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: #787A80;
}

.projects-card-detail-btn {
  display: none;
  justify-content: space-around;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
  color: #03CEA4;
  border: 1px solid #03CEA4;
  border-radius: 4px;
  background: white;
  max-width: 208px;
  padding: 0px 32px;
  margin: 13px auto 8px;
}

.projects-card-detail-btn:hover {
  color: white;
  border: 1px solid white;
  background: #03CEA4;
}

.projects-card:hover .projects-card-detail-btn {
  display: flex;
}

.projects-card:hover .projects-card-img-wrap {
  height: 277px;
}

.projects-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:40px;
  margin: auto;
}

@media screen and (max-width: 1369px) {
  .projects-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:20px;
    margin: auto;
  }
}

.projects-footer-text {
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  text-align: center;
}

@media screen and (max-width: 768px) {

  .projects-footer-text {
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    text-align: center;
    width: 100%;
  }
  
}

.projects-footer-btn {
  background: #03CEA4;
  border-radius: 4px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  padding: 17px 40px;
  border: 1px solid #03cea4;
}

.projects-footer-btn:hover {
  border: 1px solid #03cea4;
  background-color: rgba(3, 206, 164,0.5)
}

@media screen and (max-width: 768px) {

  .projects-footer-btn {
    max-width: 315px;
    width: 100%;
  }
  
}

.reviews {
  background-color: #F4F5F6;
  padding: 80px 0 40px;
}

@media screen and (max-width: 768px) {
  .reviews {
    padding: 45px 0 5px;
  }
}

.container-reviews {
  position: relative;
  max-width: 1520px;
  width: 100%;
  padding: 0 40px;
  margin: auto;
  margin-bottom: 40px;
}

@media screen and (max-width: 1519px) {
  .container-reviews {
    padding: 0 0 0 40px;
  }
}

@media screen and (max-width: 768px) {
  .container-reviews {
    padding: 0 0 0 20px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 740px) {
  .container-reviews {
    padding: 0 0 0 20px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 540px) {
  .container-reviews {
    padding: 0 20px;
  }
}

.reviews-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
}

.reviews-wrap {
  max-width: 450px;
  width: 100%;
  padding-bottom: 40px
}

.reviews-slide  {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap:24px;
  background:white;
  box-shadow: 0px 30px 30px -20px rgba(154, 156, 165, 0.3);
  border-radius: 4px;
  max-width: 450px;
}

.reviews-slide-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px 4px 0 0;
}

@media screen and (max-width: 540px) {
  .reviews-slide-img {
    height: 100%;
    width: 100%;
  }
}

.reviews-slide-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap:18px;
  padding: 0 24px;
}

.reviews-slide-detail-avatar {
  border-radius: 36px;
}

.reviews-slide-detail-client {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviews-slide-detail-client-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: #1E212C;
  margin-bottom: 4px;
}

.reviews-slide-detail-client-text {
  font-size: 14px;
  line-height: 150%;
  color: #787A80;
}

.reviews-slide-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #424551;
  padding: 0 24px;
  margin-bottom: 50px;
}

.reviews-slide-img {
  width: 100%;
}

.container-reviews .reviews-button-next {
  display: none;
}

.container-reviews .reviews-button-prev {
  display: none;
}

@media screen and (max-width: 540px) {

  .container-reviews .reviews-button-next {
    display: block;
    position: absolute;
    z-index: 10;
    top: 40%;
    right: 0;
  }

  .reviews-projects .reviews-button-next:active {
    background-color: #00b993;
  }

  .container-reviews .reviews-button-prev {
    display: block;
    position: absolute;
    z-index: 10;
    top: 40%;
    left: 0;
  }

  .container-reviews .reviews-button-prev:active {
    background-color: #efefef;
  }

}

.reviews-button-next svg {
  fill:white;
}

.reviews-button-prev svg {
  fill:white;
}

.swiper-button-next svg {
  fill:white;
}

.swiper-button-prev svg {
  fill:white;
}

.facts {
  position: relative;
  padding: 80px 0;
  z-index: 0
}

.facts::after {
  content: '';
  position: absolute;
  top:0;
  left: 0;
  max-width: 765px;
  width: 100%;
  max-width: 520px;
  height: 100%;
  z-index: 1;
  background: url(../img/png/facts.png);
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .facts {
    padding: 45px 0;
  }
}

.facts-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .facts-title {
    font-size: 28px;
    line-height: 150%;
  }
}

.facts-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .facts-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 336px;
    gap: 40px;
  }
}

@media screen and (max-width: 375px) {
  .facts-wrap {
    grid-template-columns: 1fr;
    max-width: 148px;
  }
}

.facts-item {
  max-width: 148px;
  width: 100%;
  font-weight: 700;
  font-size: 32px;
  line-height: 150%;
  color: #1E212C;
}

.facts-item-img {
  margin-bottom: 20px;
}

.happy {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/svg/facts/cricle1.svg);
  max-width: 148px;
  width: 100%;
  max-height: 148px;
  height: 148px;
}

.age {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/svg/facts/cricle2.svg);
  max-width: 148px;
  width: 100%;
  max-height: 148px;
  height: 148px;
}

.clients {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/svg/facts/cricle3.svg);
  max-width: 148px;
  width: 100%;
  max-height: 148px;
  height: 148px;
}

.our-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/svg/facts/cricle4.svg);
  max-width: 148px;
  width: 100%;
  max-height: 148px;
  height: 148px;
}

.facts-item-text {
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
}

.news {
  display:none;
  padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .news {
    padding-bottom: 45px;
  }
}

.news-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  align-items: center;
  text-align: center;
  color: #1E212C;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {

  .news-title {
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 20px;
  }

}

@media screen and (max-width: 425px) {

  .news-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
  }

}

.news-wrap {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: 1fr 1fr;
  gap:40px;
  margin-bottom: 80px;
}

@media screen and (max-width: 1024px) {
  .news-wrap {
    gap:20px;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 540px) {
  .news-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-bottom: 20px;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0px 80px 80px -20px rgba(154, 156, 165, 0.08), 0px 30px 24px -10px rgba(154, 156, 165, 0.05), 0px 12px 10px -6px rgba(154, 156, 165, 0.04), 0px 4px 4px -4px rgba(30, 33, 44, 0.03);
  border-radius: 4px;
  overflow: hidden;
  width:100%;
}

.news-card:hover .news-card-title {
  color: #03CEA4;
}

.news-card-big {
  grid-row: 1/3;
}

@media screen and (max-width: 540px) {
  .news-card-big {
    grid-row: auto;
  }
}

.news-card-img-wrap {
  display: flex;
  height: 156px;
  overflow: hidden;
}

.news-card-big .news-card-img-wrap {
  height: 360px;
}

@media screen and (max-width: 540px) {
  .news-card-big .news-card-img-wrap {
    height: 156px;
  }
}

.news-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card-detail {
  padding: 24px;
}

@media screen and (max-width: 1024px) {
  .news-card-detail {
    padding: 16px;
  }
}

.news-card-title {
  color: #1E212C;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  margin-bottom: 12px;
}

@media screen and (max-width: 1024px) {
  .news-card-title {
    margin-bottom: 8px;
    font-size: 16px;
  }
}

.news-card-date {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #787A80;
}

@media screen and (max-width: 1024px) {
  .news-card-date {
    font-size: 12px;
  }
}

.news-card-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 52px;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #424551;
  margin-top: 16px;
}

@media screen and (max-width: 1024px) {
  .news-card-text {
    margin-top: 8px;
    font-size: 14px;
  }
}

@media screen and (max-width: 540px) {
  .news-card-big .news-card-text {
    display: none;
  }
}
.news-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:40px;
  margin: auto;
}

@media screen and (max-width: 1369px) {
  .news-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:20px;
    margin: auto;
  }
}

.news-footer-text {
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  text-align: center;
}

@media screen and (max-width: 768px) {

  .news-footer-text {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
  }

}

@media screen and (max-width: 425px) {

  .news-footer-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    text-align: center;
    max-width: 315px;
    width: 100%;
  }
  
}

.news-footer-btn {
  background: #03CEA4;
  border-radius: 4px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  padding: 17px 40px;
  border: 1px solid #03cea4;
}

.news-footer-btn:hover {
  border: 1px solid #03cea4;
  background-color: rgba(3, 206, 164,0.5)
}

@media screen and (max-width: 425px) {

  .news-footer-btn {
    max-width: 315px;
    width: 100%;
  }
  
}

.faq {
  padding: 80px 0;
  background-color: #F4F5F6;
}

@media screen and (max-width: 768px) {
  .faq {
      padding: 45px 0;
  }
}

.faq-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  align-items: center;
  text-align: center;
  color: #1E212C;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {

  .faq-title {
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 20px;
  }

}

@media screen and (max-width: 425px) {

  .faq-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
  }

}

.faq-wrap {
  display: flex;
  justify-content: space-between;
}

.faq-column {
  width: 49%;
}

@media screen and (max-width: 768px) {
  .faq-wrap {
    flex-direction: column;
  }
  .faq-column {
    width: 100%;
  }
}

.faq-item {
  margin-bottom: 10px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  border-radius: 16px;
  padding: 17px 16px 16px 24px;
  z-index: 1;
}

.faq-question {
  display: flex;
  cursor: pointer;
}

.faq-question-number {
  display: flex;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background-color: #03CEA4;
  border: 1px solid #03cea4;
  color: white;
  transition: background-color 0.3s ease;
  max-height: 40px;
}

.faq-question-number.active {
  background-color: white; /* Белый фон для активного номера вопроса */
  color: #03cea4;
}

.faq-question-title {
  font-size: 20px;
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.faq-answer {
  padding: 0 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.swiper-button-disabled {
  background-color: #efefef;
  pointer-events: none;
  opacity: 0.5;
}

.swiper-button-disabled svg {
  fill:#424551;
}

.map {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Стили для контейнера внутри карты */
.map .container {
  position: relative;
  z-index: 2; /* Позволяет разместить контент поверх карты */
}

/* Стили для текста */
.text {
  color: white;
  font-size: 24px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

/* Стили для карты */
#yandexMap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1; /* Карта позади контента */
}

footer {
  background: #212121;
  color: white;
  padding: 70px 0 50px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 500px 2fr 1fr 1fr;
  gap:100px;
  list-style-type: none;
}

@media screen and (max-width: 1324px) {
  .footer-wrap {
    grid-template-columns: 3fr 2fr 1fr 1fr;
  }
}

@media screen and (max-width: 1160px) {
  .footer-wrap {
    gap:50px;
  }
}

@media screen and (max-width: 1010px) {
  .footer-wrap {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media screen and (max-width: 590px) {
  .footer-wrap {
    grid-template-columns: 2fr 1fr;
  }
}

@media screen and (max-width: 425px) {
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: center;
  gap:25px;
}

@media screen and (max-width: 1010px) {
  .footer-info {
    grid-column: 1/4;
  }
}

@media screen and (max-width: 590px) {
  .footer-info {
    grid-column: 1/3;
  }
}

.footer-info-logo {

}

.footer-info-social {
  display: flex;
  justify-content: right;
  list-style-type: none;
  padding:0;
  margin:0;
  gap:16px;
}

.footer-info-text {
  grid-column: 1/3;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #D9D9D9;
}

.footer-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 425px) {
  .footer-list-contacts {
    grid-column: 1/3;
  }
}

.footer-list-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 14px;
}

.footer-list-li a {
  font-weight: 400;
  font-size: 16px;
  color: #D9D9D9;
  text-decoration: none;
}

.footer-list-li:not(:last-child) {
  margin-bottom: 16px;
}
.footer {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  color: #c0c0c0;
  font-size: 14px;
}

.footer-dev-link {
  color: white;
  text-decoration-style: unset;
}

.page {
  background: #212121;
}

.page-wrapper {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}
.page-title {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-size: 72px;
  line-height: 130%;
  letter-spacing: 1px;
  color: #fff;
}

.page-text {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #fff;
}

.breadcrumbs {
  background-color: #212121;
}

.breadcrumbs-list {
    align-items: center;
    color: #fff;
    column-gap: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-weight: 300;
    list-style: none;
    margin: 0;
    padding: 24px 0;
    row-gap: 10px;
}

.breadcrumbs-item {

}

.breadcrumbs-link {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 150%;
color: #9A9CA5;
}

.breadcrumbs-link:not(:last-child) {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #424551;
}

.breadcrumbs-item:not(:last-child)::after {
  color: #424551;
  content: "/";
  cursor: default;
  margin-left: 12px;
}

/* Стили для попапа */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh; /* Ограничиваем высоту попапа */
  overflow-y: hidden; /* Отключаем скролл для всего контейнера */
  position: relative;
  animation: fadeIn 0.3s ease;
}

.popup-request-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.popup-title {
  padding-bottom: 20px;
}

.popup-text {
  max-height: 50vh; /* Ограничиваем высоту текстового блока */
  overflow-y: auto; /* Включаем скролл для текста */
  padding-right: 10px; /* Отступ для полосы прокрутки */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 34px;
  cursor: pointer;
  z-index: 10;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.popup.closing {
  animation: fadeOut 0.3s ease;
}