/* --------------------------- */
/*        ОСНОВНЫЕ СТИЛИ       */
/* --------------------------- */

body, html {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #FFD5C2; /* пастельно-коралловый фон */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --------------------------- */
/*            ЛОГО             */
/* --------------------------- */

#logo {
    width: 200px;
    max-width: 70%;
    height: auto;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 30px;
    transition: transform 0.8s ease-in-out;
}

#logo:hover {
    transform: rotate(360deg);
}

/* --------------------------- */
/*         ТЕКСТЫ              */
/* --------------------------- */

h1, h2 {
    color: #2f3645;
    letter-spacing: 3px;
    margin: 20px 0;
}

h1 { font-size: 40px; }
h2 { font-size: 28px; }

/* --------------------------- */
/*        БЛОК КНОПОК          */
/* --------------------------- */

#container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

/* кнопки */
.nav-link {
    background-color: #F8F4E1; /* светлый бежевый */
    font-size: 20px;
    padding: 15px 25px;
    width: 200px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    color: #2f3645;
    text-decoration: none;
}

.nav-link:hover {
    background-color: #EFE8D8;
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.25);
}

/* --------------------------- */
/*        МОБИЛЬНАЯ ВЕРСИЯ     */
/* --------------------------- */

@media (max-width: 600px) {

    h2 {
        font-size: 20px;
    }

    #logo {
        max-width: 60%;
        margin-top: 20px;
    }

    #container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .nav-link {
        width: 70%;
        margin: 0 auto;
        padding: 14px 0;
        font-size: 18px;
    }
}
