:root {
    --color-back: #222;
    --color-back2: #333;
    --color-text: #fff;
    --color-main: #D265D7;
    --color-1: #B556D0;
    --color-2: #FF89EB;
    --padding: 20px;
    --font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-back);
    text-align: center;
}

.parallax {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('/background/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный черный для затемнения */
    z-index: -1; /* Псевдо-элемент будет под содержимым */
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 5%;
    height: 5%;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

/* Внутренняя стрелочка */
.scroll-down::after {
    content: "";
    width: 24px;
    height: 24px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-top: 5px;
}

.logo {
    max-width: auto;
    height: 20vh;
    margin-bottom: var(--padding);
}

.info {
    font-size: var(--font-size);
}

.container {
    width: var(--content-width);
    margin: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}
.container#about {
    padding-top: 22px;
    padding-bottom: 22px;
    background-color: var(--color-back2);
}
.container#object {
    margin: auto;
    background-color: var(--color-back2);
}
a{
    color: var(--color-1);
}

a:hover{
    color: var(--color-2);
}

/* Основной стиль таблицы */
.table {
    width: 70%;
    border-radius: 8px;
    border-collapse: collapse;
    overflow: hidden;
    align-items: center;
}

.table th, .table td {
    padding: 8px 10px; /* Уменьшены отступы */
    text-align: center;
    font-size: 14px; /* Уменьшен размер шрифта */
    color: var(--color-text);
}

.table th {
    font-weight: bold;
}

.table td {
    border-bottom: 1px solid #eee;
}

/* Добавление эффекта при наведении */
.table tbody tr:hover {
    background-color: #333333;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    /* Преобразуем таблицу в карточки */
    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 12px;
    }

    .table th {
        display: none;
    }

    .table td {
        position: relative;
        text-align: center;
    }

    .table td::before {
        /* Добавляем псевдо-элемент для отображения названия столбца */
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 8px;
        font-weight: bold;
        color: #007bff;
    }
    .button {
    width: 80%;
}



.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: var(--color-1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    width: 30%;
}

.button:hover {
    background-color: var(--color-2);
    color: var(--text-color);
}

/* Основные стили футера */
footer {
    background: var(--color-background0); /* Тёмный фон */
    color: white;
    padding: 30px 20px;
    text-align: justify;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}
/* Оформление колонок футера */
.footer-left, .footer-center, .footer-right {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    padding: 10px;
}
.footer-left {
text-align: left;
}
.footer-center {
text-align: center;
align-content: center;
}
.footer-right {
text-align: right;
}
.footer-logo {
    max-width: 5vh;
    margin-left: auto;
    margin-right: auto;
}
.footer-logo2 {
    max-width: 30vh;
}
/* Ссылки */
.footer-center a, .footer-right a {
    display: block;
    color: var(--color-primary3);
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.3s ease;
}
.footer-center a:hover, .footer-right a:hover {
    color: var(--color-primary1);
}
/* Копирайт */
.copyright {
    margin-top: 10px;
    opacity: 0.7;
}



@media (max-width: 1080px) {
    .logo {
        max-width: 90%;
        height: auto;
    }
    .blocks {
        max-width: 95%;
        grid-template-columns: repeat(2, 2fr);
    }
    .footer-blocks {
        grid-template-columns: repeat(1, 1fr);
    }
    .parallax {
        height: 100vh;
    }
    #contactForm {
        max-width: 90%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-center, .footer-right, .footer-left {
        padding: 15px 0;
    }

    .footer-left {
        text-align: center;
        order: 3; /* Лого и копирайт уходят вниз */
    }

    .footer-center {
        text-align: center;
        order: 1; /* Юридическая информация наверху */
    }

    .footer-right {
        text-align: center;
        order: 2; /* Контакты идут вторыми */
    }
}