/* Общие стили */
body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#parallax-container {
    position: relative;
    width: 110vw;
    height: 105vh;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

#background {
    position: absolute;
    top: -5%; /* Смещаем фон вверх */
    left: -5%; /* Смещаем фон влево */
    width: 110%; /* Увеличиваем размер */
    height: 110%; /* Увеличиваем размер */
    background: url('../images/background.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

#main-title {
    font-size: 4em;
    color: black;
    font-weight: bold;
    position: absolute;
    transform: translateZ(0);
    text-align: center;
}

#logo-container {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 500px;
}

#main-logo {
    width: 100%;
    transition: transform 0.3s ease;
}

#logo-hover-text {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    background: white;
    border: 3px solid black;
    padding: 10px;
    z-index: 10;
}

#social-links {
    position: absolute;
    bottom: 5%;
    display: flex;
    gap: 15px;
}

#social-links img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#social-links img:hover {
    transform: scale(1.2);
}

/* Адаптивные стили */
@media (max-width: 1024px) { /* Для планшетов */
    #main-title {
        font-size: 2.5em;
    }

    #logo-container {
        width: 400px;
    }

    #social-links img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) { /* Для мобильных телефонов */
    #logo-container {
        display: none; /* Убираем логотип */
    }

    #main-title {
        font-size: 2em;
    }

    #social-links {
        bottom: 10%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    #social-links img {
        width: 60px;
        height: 60px;
    }

    #social-links a:nth-child(3n+1) {
        margin-right: 0;
    }

    #social-links img:last-child {
        grid-column: span 2;
        justify-self: center;
    }
}
