@font-face {
  font-family: "Raleway";
  src: url("../font/Raleway-VariableFont_wght.ttf");
}

@font-face {
  font-family: "Raleway-italic";
  src: url("../font/Raleway-Italic-VariableFont_wght.ttf");
}

body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}


header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px;
  gap: 16px;
  opacity: 1;
  box-sizing: border-box;
}

header label img {
  max-width: 100%;
  height: auto;
}

header div {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-right: 30px;
}

header div a img {
  max-width: 48px;
  max-height: 48px;
  height: auto;
}



svg.lable {
  max-width: 1097px;
  max-height: 230px;
  margin: 40px;
}

.top-left {
  max-width: 476.77px;
  max-height: 798.02px;
  position: absolute;
  left: 0;
}

.top-right {
  max-width: 476.77px;
  max-height: 798.02px;
  position: absolute;
  right: 0;
}

.svg-container {
  position: absolute;
  width: 100vw;
}

.svg.bottom-left {
  z-index: -1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30%;
}

.svg.bottom-right {
  z-index: -1;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: auto;
}

footer {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

footer p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
}

footer img {
  height: 40px;
  width: auto;
}


.title {
  width: 100%;
  max-width: 1062px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.title p {
  font-family: Raleway;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: black;
  margin: 20px 50px 0 50px;
  word-wrap: break-word;
}

.pagination-page-btn{
  text-align: center;
  text-decoration: none;
  color: black;
  padding: 2px;
  width: 15px;
    height: 15px;
    background-color: white;
    
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    
}

.pagination-page-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 15px; 
  margin-top: 50px;
}

.pagination-page-btn:hover {
  transform: scale(1.1); 
  background-color:  #D84B4B; 
}

.pagination-page-btn.active {
  border: 1px solid #D84B4B;
  transform: scale(1.1); 
}
@media (max-width: 768px) {
  .title p {
    font-size: 20px;
  }

  header label img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
  }

  header div a img {
    max-width: 28px;
    max-height: 28px;
    height: auto;

  }

  header div {
    margin-right: 10px;
  }

}

@media (max-width: 480px) {
  .title p {
    font-size: 16px;
    line-height: 1.4;
  }

  header label img {
    max-width: 80px;
    max-height: 80px;
    height: auto;
  }

  header div a img {
    max-width: 28px;
    max-height: 28px;
    height: auto;
  }

  header div {
    margin-right: 0;
  }
}
@media (max-width: 320px) {
  footer {
    flex-direction: column-reverse; /* Меняем порядок элементов */
    text-align: center;
    padding: 20px;
    margin-top: 35px
  }

  footer p {
    font-size: 12px;
    margin-top: 10px; /* Добавляем отступ сверху для текста */
  }

  footer img {
    height: 50px;
    margin-bottom: 10px; /* Добавляем отступ снизу для изображения */
  }
}