@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  scroll-behavior: smooth;
  width: 100%;
  /*user-select: none; /* Отключает выделение текста в заголовке */
}

#h1-title {
  font-size: 2rem;
}

.top-block {
  background-image: url("../images/3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 90vh;
  position: relative;
  /* Для позиционирования псевдоэлемента */
  display: grid;
  place-items: center;
}

.top-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Черный с прозрачностью 50% */
  z-index: 1; /* Слой затемнения поверх фона */
}

/* Если внутри .our-team есть контент, задайте ему z-index выше */
.top-block > * {
  position: relative;
  z-index: 2;
}

.top-block-content {
  font-size: 1rem;
}

.top-block-content h1 {
  font-size: clamp(2.5rem, 3vw, 3.5vw);
  color:white;

}

.top-block-content p {  
  font-size: clamp(1.7rem, 2vw, 2vw);
  color: white;
}

.box-abouts {
  display: flex;
  gap: 30px;
  flex-direction: row;
}

.item-about {
  flex: 1;
  /* Заставляет все элементы равномерно распределять ширину */
  text-align: center;
  border: 1px solid #ccc;
  background-color: whitesmoke;
  padding: 30px;
  border-radius: 5px;
}

.item-about img {
  width: 100px;
  height: 100px;
}

.item-about p {
  margin-top: 20px;
  font-size: 1.3rem;
}

.div-advantes {
  background-image: url("../images/1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  height: auto;
  min-height: 70vh;
  position: relative;
  /* Для позиционирования псевдоэлемента */
  display: grid;
  place-items: center;
}

.div-advantes-content {
  background-color: rgba(255, 255, 255, 0.7);
  /* Черный с прозрачностью 50% */
  padding: 30px;
  border-radius: 10px;
}

.ul-advantes {
  font-size: 1.5rem;
  list-style: none;
}

.ul-advantes li {
  padding: 10px 0;
}

.ul-advantes li b {
  color: #2e86c1;
}

.div-functions {
  background-image: url("../images/4.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  height: auto;
  min-height: 70vh;
  position: relative;
  /* Для позиционирования псевдоэлемента */
  display: grid;
  place-items: center;
}

.ul-functions {
  font-size: 1.5rem;
  list-style: none;
}

.ul-functions li {
  padding: 5px 0;
}

.div-for {
  background-image: url("../images/2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: auto;
  min-height: 70vh;
  position: relative;
  /* Для позиционирования псевдоэлемента */
  display: grid;
  place-items: center;
}

.div-for-content {
  background-color: rgba(255, 255, 255, 0.7);
  /* Черный с прозрачностью 50% */
  padding: 30px;
  border-radius: 10px;
}

.div-for ul {
  font-size: 1.5rem;
  list-style: none;
}

.div-for ul li {
  padding: 5px 0;
}

.box-price {
  display: flex;
  gap: 30px;
  flex-direction: row;
}

.item-price {
  flex: 1;
  /* Заставляет все элементы равномерно распределять ширину */
  text-align: center;
  border: 1px solid #ccc;
  background-color: #eaf2f8;
  padding: 20px;
  border-radius: 5px;
}

.item-price img {
  width: 100px;
  height: 100px;
}

.item-price p {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: bolder;
}

.div-form {
  background-image: url("../images/top.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom left;
  height: auto;
  min-height: 70vh;
  height: auto;
  position: relative;
  /* Для позиционирования псевдоэлемента */
}

.div-form > * {
  position: relative;
  z-index: 2;
}

.div-form-content {
  background-color: rgba(200, 200, 250, 0.5);
  /* Черный с прозрачностью 50% */
  padding: 30px;
  border-radius: 10px;
}
.div-form-content form {
  min-width: 30vw;
}

label {
  font-size: 1.2rem;
}

.div-footer {
  height: auto;
  background: #212f3d;
  padding: 30px;
}


/* Адаптивные стили для мобильных устройств */
@media (max-width: 961px) {

  .top-block-content h1 {
    font-size: 3.5rem;
  }

  .top-block-content p {
    font-size: 2rem;
  }

  .box-abouts {
    display: block;
    padding: 0;
  }

  .item-about {
    margin-bottom: 20px;
  }

  .box-price {
    display: block;
    padding: 0;
  }

  .item-price {
    margin-bottom: 20px;
  }

  .div-form-content form {
    width: 80vw;
  }

  ul {
    list-style: none;
    padding: 0;
  }
}


@media (max-width: 768px) {

  .top-block-content h1 {
    font-size: 2.3rem;
  }

  .top-block-content p {
    font-size: 1.5rem;
  }
}

/* Адаптивные стили для десктопов */
@media (min-width: 769px) {
}
