body {
    font-family: "Poppins", "Rubik", sans-serif;
}

@font-face {
    font-family: "Rubik Cyrillic";
    src: local("Rubik"), url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;800&display=swap&subset=cyrillic");
    unicode-range: U+0400-04FF; /* Диапазон символов для кириллицы */
}
nav { position: fixed; top: 0; width: 100%; background: #FFA07A; padding: 10px; text-align: center; }
nav a { color: black; margin: 0 15px; text-decoration: none; font-size: 18px; font-weight: 600; }
section { height: auto;  padding: 50px; text-align: center;}
#home {background-image: url('homer.png'); /* Путь к вашему изображению */
background-size: cover; /* Растягивает изображение, чтобы оно покрывало весь контейнер */
background-position: center; /* Центрирует изображение */
background-repeat: no-repeat; /* Не повторяет изображение */
min-height: 400px; /* или нужное тебе значение */text-align: left;
color: black;}
#references { background: #F4F1EC; color: black; } /* FFE0B2 бежевый, светло-бежево-желтый FBE8A6, сиреневый D1C4E9*/
#port { background: #F4F1EC; color: black; }
#faq-section { background: #F4F1EC; color: white; } /* 9B6A6C темный баклажан, F4976C оранжевый, темно-фиолетовый 673AB7, бежевый EFE2BA*/
#faq { background: #F4F1EC; color: black; }
.faq-section { margin-top: 20px; }
.faq-question { cursor: pointer; font-weight: bold; margin: 10px 0; }
.faq-answer { display: none; margin-left: 20px; }
#contact { background: #F4F1EC; color: black;}

.container {
    border-bottom: 1px solid #ccc; /* Серый разделитель */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

hr {
    border: none;
    border-top: 1px solid grey;
    margin: 0;
}

#footer {
background-color: #679267; /*#673AB7 фиолетовый*/
color: black;
padding: 20px;
text-align: center;
}

.home-text {
    width: 60%;
}

.image-grid {
    display: box;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 20px;
    justify-items: center;
}
.image-grid img {
    width: 100px;
    height: auto;
    justify-items: center;
    margin-top: 15px;  /* Отступ сверху */
    margin-bottom: 15px; /* Отступ снизу */
    margin-left: 20px; /* Отступ слева */
    margin-right: 20px; /* Отступ справа */
}
.text-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

.ref-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto; /* centers the block itself */
    text-align: center; /* centers text inside */
    gap: 10px;
    padding: 20px;
}

.ref-grid img {
    max-width: 80px; /* Или другой размер */
    height: auto;
    border-radius: 100px;
}

/*.carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
}
.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carousel-item img {
    width: 100px;
    height: auto;
}
.carousel-item.active {
    opacity: 1;
} */

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    animation: carousel-scroll 35s infinite;
}

.carousel-item {
    min-width: 100px;
    margin: 0 20px;
    text-align: center;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    color: #222222;
    background: #FFA07A  ;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}
.button:hover {
    background: #679267    ;
}
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: #679267; 
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
nav a { color: #222222; margin: 0 15px; text-decoration: none; font-size: 18px; }

.lang-container {
    position: absolute;
top: 10;
right: 30px;
    display: inline-block;
}

.lang-button {
    background: #679267;
    color: #111111;
    border: none;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.lang-dropdown {
    display: none;
    position: absolute;
    background: #222222;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 5px;
    overflow: hidden;
}

.lang-dropdown button {
    background: white;
    border: none;
    padding: 8px 12px;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.lang-dropdown button:hover {
    background: #f0f0f0;
}

.form-container {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 500px;
margin: auto;
text-align: left;
}
input, textarea {
padding: 10px;
border: 1px solid #757575;
border-radius: 4px;
font-size: 16px;
}
.file-upload-label {
margin-bottom: 5px;
font-weight: bold;
}
.drag-drop-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border: 2px dashed #757575;
border-radius: 4px;
text-align: center;
}
.drag-drop {
display: none;
}
.drag-drop-container span {
font-size: 14px;
color: #757575;
}

.footer-content {
margin-bottom: 10px;
}

.impressum-link {
color: #222222;
text-decoration: none;
font-weight: bold;
}

.impressum-link:hover {
text-decoration: underline;
}

#impressum {
display: none;  /* Скрываем Impressum по умолчанию */
background-color: #679267;
color: #222222;
padding: 20px;
margin-top: 20px;
border-radius: 5px;
}

#impressum h2 {
font-size: 1.5em;
margin-bottom: 15px;
}

#impressum p {
font-size: 1em;
margin: 5px 0;
}

