body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #242425;
    font-size: 16px;
    line-height: 1.6em;
    color: #ffffff;
}

.no-scroll {
    overflow: hidden;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

.container {
    width: 90%;
    margin: 0 auto;
    height: 100%;
}

section {
    transition: opacity 0.5s ease, background-color 0.5s ease;
}


.lang {
    display: flex;
    align-items: center
}

.lang img {
    height: 10px;
    padding: 0 10px 0 0
}

.button,
button[type="submit"] {
    background: #a238ff;
    border-radius: 25px;
    padding: 15px 70px;
    text-transform: capitalize;
    outline: none;
    border: none;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}


.button::before,
button[type="submit"]::before {
    content: "";
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0) 80%);
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.button:hover,
button[type="submit"]:hover {
    background: #fff;
    /* Изменение фона при наведении */
    color: #000;
    /* Изменение цвета текста при наведении */
    box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
}

.button:hover::before,
button[type="submit"]:hover::before {
    opacity: 0;
    /* Скрытие псевдоэлемента при наведении */
}

.header {
    position: fixed;
    z-index: 3000;
    background: linear-gradient(to right, rgba(35, 35, 35, 0.8) 70%, rgba(32, 33, 77, 0.8) 100%);

    width: 100%;
    padding: 10px 0
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    height: 40px;
    padding: 0 20px
}

.header__nav {
    display: flex;
    align-items: center
}

.header__nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.header__nav li {
    margin-right: 20px;
}



.block__content-presentation {
    min-height: 100vh;
    background: url(../img/backgrounds/main.png) no-repeat;
    background-position: right;
    background-size: cover;
    display: flex;
    align-items: center;
}

.presentation__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
}

.presentation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.presentation-content h1 {

    font-size: 30px;
    line-height: 1;
    margin: 0 0 10px 0;
    /* Отступ снизу */
}

.presentation-content p {
    font-size: 25px;
    margin: 0 0 20px 0;
    /* Отступ снизу */
}

.presentation-img {
    transform: rotate(-10deg);
}

.presentation-img img {
    max-height: 190px
}

.block__content-about {
    background: url(../img/about.jpg) no-repeat;
    background-size: 500px
}

.content-about__wrapper {
    display: flex;
    min-height: 750px;
    justify-content: center
}

.content-about__text,
.content-products__text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-about__content {
    flex: 0 0 100%;
    padding: 10px;
    margin: 300px 0 20px 0
}

.content-about__content p {
    padding: 20px 0 0 0;
    text-align: justify
}

.content-about__p {
    margin: 20px 0;
}

.block__content-products {
    background: url(../img/backgrounds/products.png) no-repeat bottom;
    background-size: contain;

}


.content-products__wrapper {
    display: flex;
    justify-content: center;
    padding: 50px 0 50px 0;
    flex-direction: column;
    align-items: center;

}

.content-products__text {
    padding: 0
}

.content-products__button {
    display: flex;
    align-items: center;
    padding: 0 0 100px 0;
    position: relative;
    z-index: 2000;
    justify-content: center
}

/* carusel */
#carousel {
    touch-action: none;
    display: flex;
    height: 300px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

:root {
    --carousel-radius: 150px;
    --carousel-item-width: 120px;
    --carousel-item-height: 80px;
}

/* Основные стили */
#spin-container {
    width: var(--carousel-item-width);
    height: var(--carousel-item-height);
}

#ground {
    width: calc(var(--carousel-radius) * 3);
    height: calc(var(--carousel-radius) * 3);
}

#drag-container,
#spin-container {
    position: relative;
    display: flex;
    margin: auto;
    transform-style: preserve-3d;
    transform: rotateX(-10deg);
}

#drag-container .carousel-item {
    transform-style: preserve-3d;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #a238ff;
    box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
    cursor: pointer
}


#drag-container img {
    width: 100%;
    height: 100%;
    filter: grayscale(50%) contrast(0.8);
    transition: filter 0.3s;
}

#drag-container .carousel-item:hover img {
    filter: grayscale(0) contrast(1);
}

#drag-container .slider-logo img {
    width: 200px !important
}


#drag-container p {
    line-height: 1;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
    color: #337AB7;
}

#ground {
    width: 900px;
    height: 900px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(90deg);
}

.popup {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background: #000 url(../img/backgrounds/katalog.png) no-repeat;
    background-size: cover;
    margin: 30% auto;
    padding: 20px;
    border: 1px solid #a238ff;
    box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
    width: 90%;
    min-height: 60vh
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-content__katalog {
    display: flex;
    flex-direction: column;
    margin: 5%;
    align-items: center;
    justify-content: space-evenly
}

.popup-content img {
    display: block;
    max-width: 330px;
    height: auto;
    margin-bottom: 10px;
    cursor: pointer
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes spinRevert {
    from {
        transform: rotateY(360deg);
    }

    to {
        transform: rotateY(0deg);
    }
}

/* end carusel */










.katalog-content__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.block__katalog-wrapper {
    position: absolute;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}



.block__content-katalog {
    min-height: 620px;
    position: relative;
    display: flex;
}

.katalog-img {
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease;
}

.katalog-img.show {
    opacity: 1;
    transform: translateX(0);
}


.katalog-img img {
    height: 200px
}

.katalog-text {
    padding: 0
}

.katalog-text h2 {
    line-height: 1.4em;
}

.katalog-text p {
    line-height: 1.6em;
    padding: 30px 0
}


.content-katalog__background {
    background: url(../img/backgrounds/katalog.png) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 25%;
    margin: 0 25px 0 0;
}

.content-katalog__background-2 {
    background: url(../img/backgrounds/katalog-2.png);
    width: 73%;
}

.form-container {
    background-color: #fff;

    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto
}

#contactForm {
    display: flex;
    flex-direction: column;
    padding: 5px 20px
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 10px;
    border: none;
    box-sizing: border-box;
    outline: none;
}




.form-container button {
    width: 100%;
    padding: 10px;
    margin: 0;
    background: #a238ff;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.form-container button:hover {
    background: #fff;
    /* Изменение фона при наведении */
    color: #000;
    /* Изменение цвета текста при наведении */
    box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
}


.content-why__title {
    background: url(../img/why.jpg) no-repeat right;
    background-size: contain;
    margin: 20px 0 0 0
}

.content-why__title h2 {
    line-height: 1.6em;
    padding: 100px 10px;
    margin: 0;
    max-width: 500px
}

.content-why__blocks-list {
    background: url(../img/backgrounds/c837.png) no-repeat;
    background-position: center bottom;
    background-attachment: fixed;
    padding: 0 0 80px 0
}

.blocks-list__items {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    justify-content: space-between;
    align-items: center
}

.column-block-item {
    display: flex;
    flex-direction: column;


}

.block-item {
    background: #222323;
    max-width: 400px;
    margin: 10px;
    padding: 10px;
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
    -moz-box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.8);
    box-shadow: 0px 0px 43px 12px rgba(162, 56, 255, 0.2);
}

/* тест анимации */
/* Добавим начальные стили для анимации */
.block-item {
    opacity: 0;
    transform: translateY(10px);
    /* По умолчанию - выезд справа */
    transition: all 2s ease;
}

/* Для анимации с разных сторон */
.block-item.from-left {
    transform: translateY(10px);
}

.block-item.from-right {
    transform: translateY(10px);
}

.block-item.from-top {
    transform: translateY(10px);
}

.block-item.from-bottom {
    transform: translateY(10px);
}

/* Показ блока при добавлении класса show */
.block-item.show {
    opacity: 1;
    transform: translateX(0);
    /* Центрируем блок */
}

/*конец теста анимации */

.block-item img {
    width: 70px
}


.block-item p {
    padding: 20px 0;
    line-height: 1.6em
}

.blocks-list__button {
    display: flex;
    justify-content: center
}

.footer {
    background: url(../img/backgrounds/footer.png) no-repeat bottom;
    background-size: cover;
    padding: 20px 0;
}

.footer__wrapper {
    border-bottom: 2px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 0;
    margin: 0 0 15px 0
}

.footer__wrapper-left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__left-block h3 {
    padding: 0 0 20px 0;
    text-align: center;
}

.footer__icon-flags {
    display: flex;
    padding: 0 0 10px 0
}

.footer__icon-flags img {
    width: 50px;
    margin: 0 10px
}

.contakt-item {
    display: flex;
    padding: 15px 0;
    align-items: center
}

.contakt-item img {
    height: 30px;
    padding: 0 15px 0 0
}

.contakt-item__phone {
    display: flex;
    flex-direction: column
}

.footer__left-block-adress {
    padding: 0 50px
}


.footer__center-block {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer__center-block a {
    padding: 20px 0;
    font-size: 22px
}

.footer__right-block {
    display: none;
}


/* Стили для уникального попапа */
.unique-popup {
    display: none;
    /* Скрываем попап по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный черный фон */
    justify-content: center;
    align-items: center;
}

#partnerForm {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 200px
}

.unique-popup-content {
    background: #000 url(../img/backgrounds/katalog.png) no-repeat;
    background-size: cover;
    margin: 5% 20px;
    padding: 20px 5px;
    border-radius: 10px;
    border: 1px solid #a238ff;
    box-shadow: 0 0 15px rgba(162, 56, 255, 0.8), 0 0 30px rgba(162, 56, 255, 0.6), 0 0 45px rgba(162, 56, 255, 0.4);
    width: 80%;
    display: flex;
    /* max-width: 500px; */
    position: relative;
    align-items: center;
    justify-content: center;
}

.uniquePopup__img {
    display: none
}

.unique-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.unique-close-button:hover {
    color: #000;
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin: 10px 8%;
    flex: 0 0 80%
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    outline: none;

    box-sizing: border-box;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {

    outline: none;

}


.thankyou-div {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
    background-size: cover
}

.thankyou-div h1 {
    font-size: 36px;
    text-align: center;
    line-height: 1.2
}

.thankyou-div p {
    padding: 20px 0;
    font-size: 20px;
    text-align: center;
    line-height: 1.5
}

.thankyou-div img {
    width: 100px
}
