@import url('fonts.css');
* { 
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Gagalin', sans-serif;
    font-size: 24px;
    font-style: normal;
    background-color: #fff; 
    color: #8E0726; 
    margin: 0;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #fff;
}

img {
    max-width: 100%;
}

.wrapper {
    width: 100%;
    background-color: #E01C3F;
    color: #fff;
}

.container {
    width: 75vw;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 0vw;
    height: 3.9vw;
}

.header_logo {
    display: flex;
    justify-content: space-between;
    font-size: 3vw;
    color: #66091A;
    align-items: center;
}

.header_logo p {
    padding-left: 1vw;
}

.header_logo img {
    height: 5vw;
    width: auto;
}

.header_soc {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 9vw;

}

.header_soc img {
    height: 3.5vw;
    width: auto;
    width: 300px;
    transition: transform 0.3s ease;
}

.header_soc img:hover {
    
    transform: scale(1.1); /* Увеличение картинки */
}

/*приветствие */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    width: 80vw;
}

h1 {
    font-size: 5vw;
    color: #66091A;
    margin-bottom: 0.5vw;
}


.hero--info p {
    font-size: 2vw;
    color: #A3132C;
    margin-bottom: 1vw;
}

.hero img {
    height: auto;
    width: 100%;
    width: 42vw;
    max-width: 100%;
    float: right;
    margin-right: -2vw;
}

button {
    background: #A3132C;
    font-family: 'Gagalin', sans-serif;
    color: #fff;
    font-size: 2.3vw;
    border-radius: 5vw;
    padding: 1vw 3vw;
    border: 0;
    transition: background-color 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease, color 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease, box-shadow 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease, opacity 500ms ease, box-shadow 0.3s ease, background-color 0.3s ease;
    transform-origin: left center; /* Фиксируем левую часть */
}

button:hover {
    transform: scale(1.1); /* Увеличение картинки */
    box-shadow: 0 0.1vw 0.4vw rgba(0, 0, 0, 0.4); /* Тень повторяет форму */
    background-color: #E01C3F; /* Новый цвет при наведении */
}


/*описание */

h3  {
    font-size: 5vw;
    text-align: center;
    padding: 1.5vw 0;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    width: 80vw;
}

.text {
    padding: 0vw 3vw 0vw 0vw
}

.text p {
    font-size: 1.5vw;
    max-width: 42vw;
    text-align: justify;

}

.info img {
    height: auto;
    width: 100%;
    max-width: 25vw;
    float: right;
}




/* как работает */

.logic {
    align-items: center;
    padding: auto;
    margin: 1vw 0 5vw 0;
}

.logic img {
    width: 100%;
}



/* Партнеры лого */


.logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 2vw;
}

.logo img {
    height: 3.6vw;
    width: auto;
    padding: 1vw;
    margin-top: 2vw;
}


/* выпадающий список вопросов */

details {
    font-size: 1.3vw;
    margin: 0 8vw 0 8vw;
    background: #A3132C;
    color: #fff;
    padding: 1vw 2vw 0vw 2vw;
    border-radius: 1.5vw;
}

summary {
    list-style: none;
    cursor: pointer; /* Указывает, что элемент можно нажать */
    color: #F5B3BF;
    font-size: 2vw;
    padding-bottom: 1vw;
    padding-left: 0.4vw;
}

summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: '';
    display: inline-block;
    background: url('../img/arrow.svg') no-repeat center center;
    background-size: contain;
    height: 1em;
    width: 1em;
    margin-right: 0.5em;
}

details[open] summary::before {
    transform: rotate(180deg); /* Поворот стрелки на 180 градусов */
}

details p {
    padding-left: 4vw;
    padding-bottom: 1.3vw;
    width: 64vw;
    
    text-align: justify;
}

.qve {
    margin: 1vw;
}


.pad {
    padding-bottom: 3vw;
}






details {
    overflow: hidden; /* Скрываем лишний контент */
}

details p {
    max-height: 1000px;
    opacity: 0;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
}

details[open] p {
    max-height: 1000px; /* Устанавливаем ограниченную максимальную высоту */
    opacity: 1; /* Делаем текст видимым */
    padding: 0 0 1.5vw 4vw; /* Восстанавливаем отступы */
}



/* footer */

footer {
    display: flex;
    justify-content: space-around;
    padding-top: 2vw;
}

.brand {
    display: flex;
    width: 20vw;
}

.brand img {
    height: 7vw;
    width: auto;
}

.links {
    display: flex;
    width: 50vw;
}

.brand {
    display: flex;
    justify-content: space-between;
    font-size: 1.8vw;
    align-items: center;
    margin-bottom: 2vw;

}

.brand p {
    padding-left: 1vw;
}

.colomn {
    display: flex;
    flex-direction: column;
    width: 15vw;
    margin: 0 1vw 0 1vw;
}

.colomn p {
    color: #F5B3BF;
    font-size: 1.2vw;
}

.colomn a {
    font-size: 1.2vw;
}

.colomn a {
    display: inline-block; /* Для применения transform */
    text-decoration: none; /* Убираем подчеркивание */
    transition: transform 0.3s ease, color 0.3s ease;
    transform-origin: left center; /* Фиксируем левую часть */

}

.colomn a:hover {
    transform: scale(1.1); /* Увеличение */
    color: #66091A; /* Новый цвет при наведении */
}



























/* моб версия */
@media (max-width: 768px) {
    body {
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        padding: 0 auto;
    }

    
    .container {
        align-items: center;
        align-content: center;
        width: 80%;
    }

    img {
        width: 100%;
    }
    
    /*хедер */
    header {
        height: 16vw;
    }

    .header_logo img {
        height: 12vw;
    }

    .header_logo p {
        font-size: 7vw;
        padding-top: 1vw;
        margin-left: 1vw;
    }

    .header_soc {
        display: flex;
        justify-content: space-between;
        width: 20vw;
        padding-top: 2vw;
    }
    .header_soc img {
        height: 8vw;
        width: auto;
    }

    /*приветствие */

    .hero {
        flex-direction: column-reverse;
        max-width: 100vw;
    }

    .hero--info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero--info p {
        font-size: 3.5vw;
        padding: 1vw 3vw 4vw 3vw;
    }

    .hero img {
        width: 100vw;
        height: auto;
        margin-bottom: 1vw;
    }

    h1 {
        font-size: 10vw;
    }
    
    button {
        background: #A3132C;
        font-family: 'Gagalin', sans-serif;
        color: #fff;
        font-size: 7vw;
        border-radius: 8vw;
        padding: 1.5vw 6vw;
        border: 0;
        transition: background-color 500ms ease, color 500ms ease, border-color 500ms ease, box-shadow 500ms ease, transform 500ms ease, opacity 500ms ease;
        margin-top: 2vw;
        margin-bottom: 10vw;
        padding-top: 1vw;
    }

    /*описание */

    .info {
        flex-direction: column;
        justify-content: center;
        width: 80vw;

    }


    h3  {
        font-size: 8vw;
        text-align: center;
        padding: 2vw 4vw 2vw 4vw;
    }
    
    
    .text {
        padding: 0vw 3vw 0vw 0vw
    }
    
    .text p {
        font-size: 2.8vw;
        max-width: 80vw;
        text-align: justify;
        margin-bottom: 5vw;
    }
    
    .info img {
        height: auto;
        width: 100%;
        max-width: 60vw;
        
    }

    .pup h3 {
        width: 50vw;
        margin: 2vw 10vw 2vw 10vw;
    }

    /*Как работает*/
    .responsive-image {
        content: url('../img/mini-logic.webp'); /* Меняем изображение для ширины экрана меньше 768px */
      }
    
    
    

    /*Партнеры лого */


    .logo {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        padding-bottom: 3vw;
    }
    
    .logo img {
        height: 6vw;
        width: auto;
        padding: 2vw;
    }
        

    
    /*вопросы*/


        
    details {
        padding: 1vw 0.5vw 1vw 0.5vw;
    }

    summary {
        font-size: 3.5vw;
        text-align: left;
        padding: 1vw 0 1vw 4vw;
    }


    details p {
        font-size: 2.8vw;
    }


    .pad {
        align-items: center;
    }

    /* footer */

    footer {
        display: flex;
        justify-content: space-around;
        padding-top: 2vw;
        padding-bottom: 2vw;
    }

    .brand {
        display: flex;
        width: 20vw;
    }

    .brand img {
        height: 7vw;
        width: auto;
    }

    .links {
        display: flex;
        width: 60vw;
    }

    .brand {
        display: flex;
        justify-content: space-between;
        font-size: 2.2vw;
        margin-bottom: 2vw;
        
    }

    .brand p {
        padding-left: 1vw;
    }

    .colomn {
        display: flex;
        flex-direction: column;
        width: 15vw;
        margin: 0 1vw 0 1vw;
        text-align: left;
    }

    .colomn p {
        color: #F5B3BF;
        font-size: 2vw;
    }

    .colomn a {
        font-size: 1.5vw;
    }

}




/* Контейнер для текста и кнопки */
.hero--info {
    opacity: 0; /* Изначально скрыто */
    transform: translateY(20px); /* Сдвиг текста вниз */
    animation: fadeInUp 1s ease-out forwards; /* Плавное появление */
    animation-delay: 0.5s; /* Задержка анимации */
  }

  .hero--info p {
    opacity: 0; /* Изначально скрыто */
    transform: translateY(20px); /* Сдвиг текста вниз */
    animation: fadeInUp 1s ease-out forwards; /* Плавное появление */
    animation-delay: 0.75s; /* Задержка анимации */
  }
  
  /* Анимация появления текста */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Стили для кнопки */
  .button {
    opacity: 0;
    transform: translateY(20px); /* Сдвиг кнопки вниз */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s; /* Задержка для кнопки */
  }
  
  /* Стили для изображения, плавное появление справа */
  .hero img {
    opacity: 0;
    transform: translateX(20px); /* Сдвиг изображения вправо */
    animation: fadeInRight 1s ease-out forwards;
    animation-delay: 0.5s; /* Задержка для изображения */
  }
  
  /* Анимация для картинки */
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

















.about {
font-family: "Inter", serif;
font-optical-sizing: auto;
font-weight: weight;
font-style: normal;
color: #290007;
text-align: center;
padding: 0vw 10vw 0vw 10vw 
}

.about h1 {
font-size: 48px;
font-weight: 800;
margin-top: 100px;
}

.about h2 {
font-size: 36px;
font-weight: 600;
margin-bottom: 40px;
}

.about .block {
text-align: justify;
}

.block {
    text-align: left;
    margin: 50px;
}

.block h3 {
font-size: 28px;
}

.block p {
    list-style: none;
    font-size: 16px;
    padding: 5px;

}

.block2 {
    padding: 0px 0px 0px 30px;

}


@media (max-width: 768px) {
.about {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    color: #290007;
    text-align: center;
    padding: 0vw 3vw 0vw 3vw 
    }
    
.about h1 {
font-size: 36px;
font-weight: 800;
margin-top: 100px;
}

.about h2 {
font-size: 30px;
font-weight: 600;
margin-bottom: 40px;
}

.about .block {
text-align: justify;
}

.block {
    text-align: left;
    margin: 50px;
}

.block h3 {
font-size: 24px;
}

.block p {
    list-style: none;
    font-size: 14px;
    padding: 5px;

}

.block2 {
    padding: 0px 0px 0px 20px;

}


}

.pdf-container iframe,
.pdf-container embed {
    width: 100%;
    height: 600px;
    border: none; /* Убирает рамку вокруг PDF */
    padding-bottom: 50px;
}


.hello {
    margin-top: -50px;
}

.red-link {
    color: #fb96ae;
    text-decoration: underline;

}


  .pdf-container a{
    color: #ffffff; 
    background-color: #66091A;   
    padding: 1vw 8vw;
    border-radius: 50px;
    font-size: 36px;
  }

.pdf-container {
    margin-bottom: 50px;
}


@media (max-width: 768px) {
    .pdf-container a{
        color: #ffffff; 
        background-color: #66091A;   
        padding: 3vw 16vw;
        border-radius: 50px;
        font-size: 24px;
    }   
}
