@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
* {
    margin: 0;
    box-sizing: border-box; /* Исправляет ошибки с padding и border */
    font-family: 'Montserrat', sans-serif; /* Применяем шрифт Montserrat */
    word-wrap: break-word; /* Переносит длинные слова */
    hyphens: auto; /* Автоматический перенос */
}


header{
    position: fixed;
    width: 100%;
    height: 100px;
    background-color: white;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1000; /* Чтобы хедер был поверх других элементов */
}

header img{
    margin-left: 20%; /* или другие значения */
    padding: 10px; /* Для улучшения расположения */
    margin-top: 10px;
}

/*------------------------------------------------------------------------*/

.first_div{
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vh;
    font-size: 20px;
    color: white;
    padding: 7vh 10vw;
    width: 100%;
    height: auto;
    background: linear-gradient(to right, #9c0e44, #5c0328); /* От светло-серого к темно-серому */
}

.fifth_div_text{
    display: flex;
    flex-direction: column;
    gap: 5vh;
    width: 100% ;
}

.first_div_button{
    text-decoration: none;
    background-color: rgb(240, 40, 123);  
    color: white;  
    border: none;  
    padding: 10px 20px; 
    border-radius: 30px;  
    font-size: 24px;  
    cursor: pointer; 
    margin-top: 40px;
    transition: background-color 0.5s ease, transform 0.5s ease;
}

.first_div_button:hover {
    background-color: #920f4c;  /* Темно-фиолетовый цвет при наведении */
    transform: scale(0.92); /* Уменьшаем размер на 5% */
}

@media (max-width: 768px) {
    .first_div{
        font-size: 16px;
        gap: 30px;
        padding: 5vh 5vw;
    }

}

/*------------------------------------------------------------------------*/

footer{
    font-size: 24px;
    color: white;
    background: linear-gradient(to right, #979797, #575757); /* От светло-серого к темно-серому */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 5vh 10vw;
    gap: 10px;
}

footer h1{
    width: 100%;
}

.contact {
    font-weight: bold;
    display: inline-block;
}

@media (max-width: 768px) {
    footer{
        font-size: 16px;
        gap: 20px;
        padding: 50px 5vw;
    }

    footer h1{
        font-size: 28px;
    }

}

/*------------------------------------------------------------------------*/

.anim{
    opacity: 0; /* Скрыто по умолчанию */
    transform: translateY(100px); /* Сдвинуто вниз */
    transition: opacity 1.5s ease-out, transform 1s ease-out;
}

.anim.show{
    opacity: 1;
    transform: translateY(0);
}

.anim2{
    opacity: 0; /* Скрыто по умолчанию */
    transform: translateY(100px); /* Сдвинуто вниз */
    transition: opacity 1.5s ease-out, transform 1s ease-out;
}

.anim2.show{
    opacity: 1;
    transform: translateY(0);
}