body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}
@font-face {
    font-family: 'Alumni Sans';
    src: url('fonts/AlumniSans-Regular.ttf') format('truetype'),
         url('fonts/AlumniSans-Bold.ttf') format('truetype'); /* Подключите остальные файлы шрифтов по необходимости */
    font-weight: normal; /* Укажите нормальный вес шрифта */
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype'),
         url('fonts/Montserrat-Bold.ttf') format('truetype'); /* Подключите остальные файлы шрифтов по необходимости */
    font-weight: normal; /* Укажите нормальный вес шрифта */
    font-style: normal;
}


.hero-section {
    position: relative;
    overflow: hidden;
    color: #000;
    height: 818px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    /* Уберите background-image и background-attachment отсюда */
    background: none;
}

.hero-section::before {
    content: "";
    position: fixed; /* фиксируем фон относительно окна */
    top: 0;
    left: 0;
    width: 100vw;
    height: 818px; /* высота секции */
    background-image: url('1234.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1; /* чтобы фон был позади контента */
}

.hero-content {
    max-width: 900px;
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin: 0 0 10px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 10px; /* Измените это значение на меньшее, например, 10px */
    font-family: 'Montserrat', sans-serif;
}

.help-section {
    max-width: 900px;       
    margin: 20px auto;      /* Измените значение отступа сверху на меньшее, например, 20px */
    padding: 0 20px;        
    text-align: center;     
    color: #000;            
}

.help-text {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin-bottom: 300px;
    background-color: #F7F3E7;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
}

.container {
    margin: 0 auto;
    text-align: center;
    background-color: #F7F3E7;
    border-radius: 6px;
    height: 200px;
}



.main-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.bottom-section {
    color: #161616;
    padding: 30px 15px 40px;
    border-radius: 20px 20px 0 0;
    margin-top: 0px;
    margin-bottom:0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}


.envelope-text {
    font-size: 36px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.start-button {
    background-color: #3b3b3b;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 18px 40px;
    font-size: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.start-button:hover {
    background-color: #4a4a4a;
}

.low-section {
    color: #161616;
    padding: 30px 20px;
    margin-top: 0px;
    border-radius: 10px;
    text-align: center;
}

.feedback-block{
    background-color: #F7F3E7;
    border-radius: 6px;
    height: 150px;
    }

.feedback-block h3 {
    margin: 0 0 15px 0;
    font-size: 28px;
    margin-top: 100px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    
}

.feedback-block p {
    margin: 15px 0;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
}
.feedback-text{
    font-size: 3px;
    font-family: 'Montserrat', sans-serif;
}

.footer-copyright {
    left: 10px;
    bottom: 10px;
    font-size: 14px;
    color: #161616;
    padding: 5px 10px;
    border-radius: 5px;
    user-select: none;
    z-index: 1000;
    text-align: left;
    background-color: #F7F3E7;
    height: 40px;
}


@media (max-width: 460px) {
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .main-text {
        font-size: 18px;
        padding: 0 16px;
        line-height: 1.5;
    }

    .envelope-text {
        font-size: 20px;
        padding: 0 16px;
    }

    .start-button {
        font-size: 20px;
        padding: 14px 28px;
        border-radius: 16px;
    }
    
    .feedback-block p {
        font-size: 13px;
    }

    .feedback-block h3 {
        font-size: 16px;
    }
    .hero-section {
        height: 430px;
        padding: 0 10px;
    }
     .hero-content {
        margin-bottom: 50px;
    }

    .help-text {
        margin-bottom: 400px;
        margin-top: 100px;
        font-size: 14px;
    }

    .hero-section::before {
        height: 770px;
        background-image: url('567.png');
    }

    .hero-title {
        font-size: 36px; /* Уменьшаем размер заголовка */
        margin-top: 580px;
    }

    .hero-subtitle {
        font-size: 16px; /* Уменьшаем размер подзаголовка */
    }

    .hero-tagline {
        font-size: 18px; /* Уменьшаем размер слогана */
    }
}
