*{margin: 0; padding: 0;}

.comments{
    width: 70%;
    margin: 0 auto;
}

.comments_item{
	display: flex;
    flex-direction: row;
    width: 100%;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    border-bottom: 4px dotted #e2e2e2;
    padding-bottom: 10px;
}

.img_com{
	flex-shrink: 0;
	align-self: center;
	margin: 10px;
}

.text_com{
	display: flex;
	flex-direction: column;
	margin: 10px;
}

.head_user_com{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 15px;
	    z-index: 9;
}

.head_user_com a{
    font-size: 25px;
    color: #000000;
    font-weight: 800;
}

.head_user_com a:hover{
    text-decoration: underline;
}
a{list-style: none; outline: none; text-decoration: none;}
li{list-style: none;}

h1{
/*    font-size: 64px;*/
    font-size: 48px;
}

h2{
    font-weight: 600;
    font-size: 36px;
    line-height: 40px;
}

.head-center{
    text-align: center;
    margin: 50px auto;
}

.white-center{
    text-align: center;
    margin: 50px auto;
    color: #fff;
}

h3{
    font-size: 40px;
}

h4{
    font-size: 40px;
}

h5{
    font-size: 32px;
}

h6{
    font-size: 24px;
}

     .fancybox-content{
         background: none !important;
     }
     .fancybox-button svg{
         color: #fff !important;
     }

     .hidden {
  display: none !important;
}

body{
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.03em;
}

@font-face {
font-family: 'Marta Regular';
src: url('font/Marta.eot');
src: url('font/Marta.eot?#iefix') format('embedded-opentype'),
url('font/Marta.woff') format('woff'),
url('font/Marta.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Marta Bold';
src: url('font/Marta-Bold.eot');
src: url('font/Marta-Bold.eot?#iefix') format('embedded-opentype'),
url('font/Marta-Bold.woff') format('woff'),
url('font/Marta-Bold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

#header {
    position: fixed;
    transition: 0.5s;
    width: 100%;
    height: 70px;
    z-index: 9999;
}

.black{
    position: fixed;
    width: 100%;
    height: 70px;
    z-index: 9999;
    background-color: rgb(30, 30, 30);
}


.social{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    margin: 10px 0;
    right: 50px;
    bottom: 50px;
    z-index: 9999;
}

.message{
    position: fixed;
    margin: 10px 0;
    right: 50px;
    bottom: 50px;
}

.msg{
    display: flex;
    width: 43px;
    height: 43px;
    background: url('/assets/img/sprite.svg') no-repeat;
    background-position: -4px -4px;
}

.vk{
    display: flex;
    width: 43px;
    height: 43px;
    background: url('/assets/img/sprite.svg') no-repeat;
    background-position: -126px -4px;
}

.instagram{
    display: flex;
    width: 43px;
    height: 43px;
    background: url('/assets/img/sprite.svg') no-repeat;
    background-position: -65px -4px;
}

.whatsapp{
    display: flex;
    width: 50px;
    height: 50px;
    background: url('/assets/img/whatsapp.svg') no-repeat;
    background-size: contain;
}

/*ПОДСКАЗКИ*/
.hint { position: relative; display: inline-block;}

.hint:before, .hint:after {
			position: absolute;
			opacity: 0;
			z-index: 1000000;
			-webkit-transition: 0.3s ease;
			-moz-transition: 0.3s ease;
  pointer-events: none;
}

		
.hint:hover:before, .hint:hover:after {
	opacity: 1;
}

.hint:before {
	content: '';
	position: absolute;
	background: transparent;
	border: 6px solid transparent;
	position: absolute;
}
		
.hint:after {
    letter-spacing: 1px;
	content: attr(data-hint);
	background: rgba(0, 0, 0, 0.8);
			color: white;
			padding: 8px 10px;
			font-size: 11px;
	white-space: nowrap;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* right */

.hint--right:before {
	left: 100%;
	bottom: 50%;
	margin: 0 0 -4px -8px;
	border-right-color: rgba(0,0,0,0.8);
}
		
.hint--right:after {
	left: 100%;
	bottom: 50%;
	margin: 0 0 -13px 4px;
}

.hint--right:hover:before {
	margin: 0 0 -4px -0;
}

.hint--right:hover:after {
	margin: 0 0 -13px 12px;
}

/* left */

.hint--left:before {
	right: 100%;
	bottom: 50%;
	margin: 0 -8px -4px 0;
	border-left-color: rgba(0,0,0,0.8);
}
		
.hint--left:after {
	right: 100%;
	bottom: 50%;
	margin: 0 4px -13px 0;
}

.hint--left:hover:before {
	margin: 0 0 -4px 0;
}

.hint--left:hover:after {
	margin: 0 12px -13px 0;
}

/*ПОДСКАЗКИ*/
/*MENU Mobile and Tablet*/
.menu{
    margin: none;
    width: none;
}

#menu-checkbox {
    display: none;
}
.main-menu {
    display: none;
    padding: 0;
    margin: 0;
}
.main-menu li {
    font-size: 1em;
    display: block;
}

.menu-margin {
    display: flex;
}

.main-menu a {
    display: block;
    color: #fff;
    padding: .22em 0.7em;
    text-decoration: none;
    background: #212121;
    font-size: 18px;
    text-align: center;
}
.main-menu a:hover {
    text-decoration: underline;
}
.toggle-button {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background-color: #212121;
    color: #fff;
}
.toggle-button:after {
    content: attr(data-open);
    display: flex;
    margin: 7px 23px;
    width: 35px;
    height: 35px;
    background: url(/assets/img/menu.svg) 0px no-repeat;
    background-size: contain;
}

#menu-checkbox:checked + nav[role="navigation"] .main-menu {
    display: block;
/*    margin-top: -49px;*/
}
#menu-checkbox:checked + nav[role="navigation"] .toggle-button:after {
    content: attr(data-close);
    background: url(/assets/img/close.svg) 0px no-repeat;
    background-size: contain;
}

.phone_span{
            color: #F4AB2C;
    font-weight: 600;
    font-size: 1.2em !important;
        align-items: center;
        cursor: pointer;
    }
    
    .sh_nmr{
        font-size: 0.6em;
    }

.phonetele{
    font-size: 20px;
    margin-top: 13px;
    margin-left: 20px;
    color: #FFCE42;
}

.logo {
    width: 180px;
    margin-top: 6px;
}
/*MENU Mobile and Tablet*/

/*MENU desktop*/
@media screen and (min-width: 640px) {
    
.toggle-button {
    display: none;
    }
    .main-menu {
    display: flex;
    align-items: center;
    height: 70px;
    }
    .main-menu li {
    text-align: center;
    display: flex;
    margin: -5px 7px;
    }
    
    .main-menu a {
    display: inline-block;
    font-size: 1.2em;
    text-decoration: none;
    color: #F4AB2C;
    background: none;
    font-weight: 600;
        margin: 0 15px;
    }
    .menu{
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    }
}
/*MENU desktop*/
.smoke ul {
	display: flex;
}
.smoke ul:hover li {
	animation: animate 2s linear forwards;
}

@keyframes animate {
	0% {
		transform: rotate(0deg) translateY(0px);
		opacity 1;
		filter: blur(1px);
	}
	100% {
		transform: rotate(45deg) translateY(-200px);
		opacity: 0;
		filter: blur(20px);
	}
}

.smoke ul li:nth-child(1) {
	animation-delay: 0s;
}
.smoke ul li:nth-child(2) {
	animation-delay: .2s;
}
.smoke ul li:nth-child(3) {
	animation-delay: .4s;
}
.smoke ul li:nth-child(4) {
	animation-delay: .6s;
}
.smoke ul li:nth-child(5) {
	animation-delay: .8s;
}
.smoke ul li:nth-child(6) {
	animation-delay: .10s;
}
.smoke ul li:nth-child(7) {
	animation-delay: .12s;
}
.smoke ul li:nth-child(8) {
	animation-delay: .14s;
}
/*СЛАЙДЕР*/
.slider {
  height: 100vh;
  width: 100%;
  position: relative;
/*  padding-top: 20px;*/
}
.slider-content {
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.slide {
  height: 100%;
  width: 100%;
  display:table;
}


.slide > div {
     display: flex;
    flex-direction: column;
    /* width: 50%; */
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 100vh;
    /* margin-left: 10%; */
}

.pl-logo{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.pl{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.slide > div h6 {
    font-family: 'Marta Regular';
    font-size: 7em;
    color: #fff;
    font-weight: 800;
    letter-spacing: 6px;
    color: #F4C82C;
}

.slide > div p {
	font-size: 35px;
    color: #fff;
/*    text-transform: uppercase;*/
    padding: 20px 0 60px 0;
    font-weight: 500;
    text-align: center;
}

.sl1 {
	background: url(/assets/img/head_slide1.jpg) no-repeat;
	background-size: cover;
}

.sl2 {
	background: url(/assets/img/head_slide2.jpg) 80% no-repeat;
	background-size: cover;
}

.sl3 {
	background: url(/assets/img/head_slide3.jpg) 90% no-repeat;
	background-size: cover;
}

.sl4 {
	background: url(/assets/img/head_slide4.jpg) no-repeat;
	background-size: cover;
}

.more {
    display: flex;
    font-family: 'Marta Regular';
	color: #000;
	text-decoration: none;
    font-weight: 600;
    border-radius: 100px;
    padding: 15px 25px;
	text-shadow:none;
	font-size: 21px;
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: 0px 8px 19px rgba(244, 171, 44, 0.3);
    border-radius: 10px;
        letter-spacing: 0.7px;
}

.more:hover{
    background: linear-gradient(291.84deg, #FFDE68 18.3%, #F9CC59 55.83%);
    box-shadow: 0px 9px 22px rgba(255, 234, 125, 0.43);
}

.more:active{
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: inset 0px 5px 8px rgba(204, 160, 6, 0.63);
}

.slider-controls {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    width: 100%;
}
.slider-controls .control-slide {
	margin:3px;
	display:inline-block;
	width:10px;
	height:10px;
	overflow:hidden;
	text-indent:-9999px;
	background: #000;
    color: #000;
    border: 2px solid #F4AB2C;
	border-radius: 50%;
	-webkit-border-radius:50%;
}
.slider-controls .control-slide:hover {
	cursor: pointer;
}
.slider-controls .control-slide.active {
    width:14px;
	height:14px;
	background: #000;
    color: #000;
    border: 2px solid #F4AB2C;
    margin: 1px;
}
/*СЛАЙДЕР*/


/*ОТЗЫВЫ НОВЫЕ*/
.reviews-title {
            width: 100%;
            max-width: 1280px;
            margin-bottom: 40px;
            font-size: 2.2rem;
            font-weight: 400;
            border-bottom: 2px solid #ddd;
            padding-bottom: 15px;
        }

        .reviews-title span {
            font-weight: 700;
        }

        .carousel-container {
            width: 100%;
            max-width: 1280px;
            overflow: hidden;
            padding: 20px 0;
        }

        .carousel-track {
            display: flex;
            gap: 30px;
            width: fit-content;
            /* ФИКС: конкретные значения вместо calc() */
            animation: scrollBackAndForth 30s ease-in-out infinite alternate;
        }

        /* Остановка при наведении */
        .carousel-container:hover .carousel-track {
            animation-play-state: paused;
        }

        .review-card {
            flex: 0 0 320px;
            background: white;
            padding: 30px 25px;
            border: 1px solid #eaeaea;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
            display: flex;
            flex-direction: column;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .reviewer-name {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .review-date {
            font-size: 0.8rem;
            color: #999;
        }

        .review-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .review-rating {
            display: flex;
            gap: 5px;
            font-size: 1.1rem;
        }

        .review-rating .filled {
            color: #111;
        }

        /* ФИКС: анимация с конкретными значениями */
        @keyframes scrollBackAndForth {
            0% {
                transform: translateX(0);
            }
            100% {
                /* Сдвигаем ровно на 3 карточки (для 8 карточек это нормально) */
                transform: translateX(-1050px);
                /* 3 карточки * (320px + 30px gap) = 1050px */
            }
        }

        /* Адаптация */
        @media (max-width: 768px) {


            .review-card {
                flex: 0 0 280px;
            }

            .carousel-hint{
                text-align: center;
            }
            
            .carousel-track {
                gap: 20px;
                animation-duration: 25s;
            }
            
            @keyframes scrollBackAndForth {
                0% { transform: translateX(0); }
                100% { transform: translateX(-900px); } /* 3 * (280 + 20) */
            }
        }

        @media (max-width: 480px) {
            .review-card {
                flex: 0 0 260px;
            }
            
            .carousel-track {
                animation-duration: 20s;
            }
            
            @keyframes scrollBackAndForth {
                0% { transform: translateX(0); }
                100% { transform: translateX(-840px); } /* 3 * (260 + 20) */
            }
            
            .review-text {
                -webkit-line-clamp: 3;
            }
        }

        .accent-note {
            width: 100%;
            max-width: 1280px;
            margin-top: 50px;
            text-align: center;
            color: #aaa;
            border-top: 1px solid #e0e0e0;
            padding-top: 30px;
        }

        .debug-info {
            width: 100%;
            max-width: 1280px;
            margin-top: 20px;
            padding: 15px;
            background: #e8f5e9;
            border: 1px solid #c8e6c9;
            color: #2e7d32;
            border-radius: 4px;
            text-align: center;
        }

        .carousel-hint{
            width: 100%;
            max-width: 1280px;
            text-align: right;
            font-size: 0.8rem;
            color: #999;
            margin-top: 10px;
        }

        .carousel-hint a{
            color: #939393;
font-weight: 500;
text-transform: uppercase;
font-size: 10px;
}
        }
/*ОТЗЫВЫ НОВЫЕ*/
        /* === Карточка новости === */
        .news-card {
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05), 0 5px 12px -4px rgba(0, 0, 0, 0.02);
            overflow: hidden;
            transition: box-shadow 0.2s ease;
        }

        .news-card:hover {
            box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.1);
        }

        /* === СЛАЙДЕР (только CSS) === */
        .slider {
            width: 100%;
            background-color: #f1f5f9; /* фон на время загрузки */
        }

        .slider__viewport {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9; /* классическое соотношение для фото */
            overflow: hidden;
        }

        .slider__container {
            display: flex;
            width: 100%;
            height: 100%;
            scroll-snap-type: x mandatory;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;      /* для firefox — тонкий скролл */
            scrollbar-color: #cbd5e1 #e9eef3;
        }

        /* Стилизация скролла для webkit (chrome, safari) — минималистичная */
        .slider__container::-webkit-scrollbar {
            height: 6px;
        }

        .slider__container::-webkit-scrollbar-track {
            background: #e9eef3;
            border-radius: 20px;
        }

        .slider__container::-webkit-scrollbar-thumb {
            background: #94a3b8;
            border-radius: 20px;
            transition: background 0.2s;
        }

        .slider__container::-webkit-scrollbar-thumb:hover {
            background: #64748b;
        }

        .slider__slide {
            flex: 0 0 100%;
            scroll-snap-align: start;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f1f5f9; /* светлый фон, если картинка не загрузится */
        }

        .slider__slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;       /* аккуратное заполнение, без искажений */
            display: block;
            user-select: none;
            pointer-events: none;    /* чтобы случайно не перетащить */
        }

        /* пагинация (точки) — минимализм */
        .slider__pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem 0.5rem 0.8rem;
            background: #ffffff;
        }

        .slider__dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 20px;
            background: #cbd5e1;
            transition: background 0.2s, width 0.2s;
            /* ссылки на якоря для навигации */
            text-decoration: none;
            cursor: pointer;
        }

        /* интерактив через якоря (слайдер без js, но с прокруткой к id) */
        .slider__dot:hover {
            background: #64748b;
        }

        /* визуально показываем активную точку через хитрость: 
           привяжем к id секций, но лучше просто оставить навигацию по клику,
           а активную точку выделим если есть :target, но для демонстрации 
           просто сделаем статичный набор — для красоты.
           Но можно и не подсвечивать — минимализм допускает.
           Добавим небольшой "акцент" на первой точке для референса. 
           Однако мы сделаем навигацию рабочей: точки — это якорные ссылки.
        */
        .slider__dot[href="#slide1"]:active ~ .slider__container,
        .slider__dot:focus {
            outline: none;
        }

        /* добавим псевдо-активность через фокус на точке (не идеально, но для демо достаточно) */
        .slider__dot:active {
            background: #334155;
            transform: scale(1.1);
        }

        /* Дополнительно можно оставить стандартный скролл, точки просто для навигации. 
           Убираем лишнее оформление ссылок */
        a.slider__dot {
            -webkit-tap-highlight-color: transparent;
        }

        /* стрелки навигации (опционально, очень тонкие) — только для десктопа */
        .slider__nav {
            display: flex;
            justify-content: flex-end;
            gap: 0.75rem;
            padding: 0.5rem 1rem 0.8rem;
            background: #ffffff;
        }

        .slider__arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f1f5f9;
            color: #475569;
            text-decoration: none;
            font-size: 1.2rem;
            transition: background 0.2s, color 0.2s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }

        .slider__arrow:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        /* адаптив: на маленьких экранах стрелки можно скрыть, оставив только точки */
        @media (max-width: 600px) {
            .slider__nav {
                display: none;
            }
        }

        /* === КОНТЕНТ НОВОСТИ === */
        .news-content {
            padding: 2rem 2rem 2.2rem;
        }

        .news-title {
            font-size: 2.4rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-bottom: 1.2rem;
            color: #0b1e33;
            border-left: 5px solid #a5b4cb;
            padding-left: 1.3rem;
        }

        .news-description {
            font-size: 1.1rem;
            color: #334155;
            margin-bottom: 2.4rem;
            max-width: 720px;
            font-weight: 350;
        }

        /* === КНОПКИ === */
        .button-group {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 2rem;
            border-radius: 40px;            /* мягкие капсулы */
            font-size: 1rem;
            font-weight: 480;
            text-decoration: none;
            transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
            border: 1px solid transparent;
            cursor: pointer;
            background: #ffffff;
            color: #1e293b;
            border-color: #dde3e9;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
        }

        .btn:hover {
            background: #f3f6f9;
            border-color: #b9c7d8;
            box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.08);
            transform: translateY(-1px);
        }

        .btn:active {
            background: #e6edf5;
            transform: translateY(0);
            box-shadow: none;
        }

        /* акцент для основных кнопок (ссылки на презентацию и видео) */
        .btn-primary {
            background: #1e293b;
            color: #ffffff;
            border-color: #1e293b;
        }

        .btn-primary:hover {
            background: #0f172a;
            border-color: #0f172a;
        }

        .btn-outline {
            background: transparent;
            border-color: #cbd5e1;
        }

        /* добавим небольшие иконки эмодзи (текстовые) для минимализма */
        .btn-icon {
            margin-right: 8px;
            font-size: 1.2em;
        }

        /* разделитель */
        .meta-note {
            margin-top: 1.8rem;
            font-size: 0.85rem;
            color: #7e8a9b;
            border-top: 1px solid #ecf1f6;
            padding-top: 1.2rem;
        }

        /* адаптив для заголовка и отступов */
        @media (max-width: 500px) {
            .news-title {
                font-size: 1.8rem;
                padding-left: 1rem;
            }
            .news-content {
                padding: 1.5rem 1.2rem;
            }
            .news-description {
                font-size: 1rem;
            }
            .btn {
                padding: 0.6rem 1.4rem;
                font-size: 0.95rem;
            }
        }
/*Полная новость популярных программ*/
.popular_more_info{
    display: flex;
    flex-direction: row;
    align-content: start;
    align-items: start;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 20px;
}

.popular_more_info-img{
    width: 50%;
}

.popular_more_info-img img{
    width: 511px;
    height: 440px;
    object-fit: contain;
}

.popular_more_info-text{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: auto;
    justify-content: space-evenly;
    margin-top: 60px;
}

.popular_more_info-text p{
    font-size: 15px;
    padding:5px 0 10px;
}

.popular_more_info a{
    cursor: pointer;
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

 .popular_more_icon-popup{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1136px;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    padding-bottom: 20px;
    }

    .popular_more_icon-popup ul{
    display: flex;
    flex-direction: row;
    }

    .popular_more_icon-popup li{
    display: flex;
    margin-right: 20px;
    }

    .popular_more_icon-popup img{
    width: 30px;
    height: 30px;
    margin-right: 20px;
    }

    .popular_more_icon-popup a{
    border: 2px solid #F4C82C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    color: #000;
    color: #fff;
    }

    .popular_more_btn{
        display: flex;
        flex-direction: column;
    }

    .popular_more_btn a{
        margin-bottom: 10px;
        width: 50%;
        text-transform: uppercase
    }

    .gallery_popular{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .gallery_popular a{
        width: 33.3333%;
        justify-content: space-between;
        padding: 10px;
    }

    .gallery_popular img{
        width: 100%;
        object-fit: cover;
    }

    .gallery_video_header_popular{
        width: 530px;
        margin: 66px 0px 0px 11px;
        border-radius: 10px;
        outline: none;
        box-shadow: 0px 6px 7px rgba(0, 0, 0, 0.41);
    }
/*Полная новость популярных программ*/

/*Популярные программы*/
 /* Базовые сбросы и шрифты (минимализм) */
        * {
            box-sizing: border-box;
        }

        .popular_program{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0px 20px 60px 20px;
        }

        /* Контейнер для карточек — Flexbox */
        .cards-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            max-width: 1280px;
            width: 100%;
            justify-content: center;
        }

        /* Стили одной карточки */
        .card {
            flex: 1 1 300px;
            min-width: 260px;
            max-width: 400px;
            height: 450px;

            /* Фон теперь задается через инлайн-стили в HTML, но нам нужны общие правила */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;

            border-radius: 0;
            position: relative;
            color: #fff;
            box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.3);
        }

        /* ПЛЁНКА поверх картинки */
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.45);
            z-index: 1;
            transition: background-color 0.3s ease;
        }

        .card:hover::before {
            background-color: rgba(0, 0, 0, 0.35);
        }

        /* Контент внутри карточки */
        .card-content {
            position: relative;
            z-index: 2;
            height: 100%;
            width: 100%;
            padding: 30px 25px;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
        }

        /* Заголовок */
        .card-title {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: -0.02em;
            max-width: 90%;
        }

        /* Описание */
        .card-description {
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 25px;
            opacity: 0.9;
            font-weight: 400;
            max-width: 95%;
        }

        /* Кнопка */
        .card-button {
            display: inline-block;
            background-color: transparent;
            color: #fff;
            border: 2px solid #fff;
            padding: 12px 28px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.2s ease-in;
            cursor: pointer;
            border-radius: 0;
            margin-top: auto;
        }

        .card-button:hover {
            background-color: #fff;
            color: #000;
            border-color: #fff;
        }

        /* Адаптация для маленьких экранов */
        @media (max-width: 600px) {
            .cards-grid {
                gap: 16px;
            }
            .card {
                height: 400px;
                flex: 1 1 100%;
                max-width: 100%;
            }
            .card-title {
                font-size: 1.8rem;
            }
            .card-content {
                padding: 20px;
            }
            .card-button {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }

        /* Десктопы: 3 в ряд */
        @media (min-width: 1024px) {
            .card {
                flex: 1 1 calc(33.333% - 24px);
                max-width: calc(33.333% - 24px);
            }
        }

        /* Декоративная надпись */
        .accent-note {
            width: 100%;
            text-align: center;
            margin-bottom: 30px;
            font-size: 0.9rem;
            color: #555;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

/*Популярные программы*/

.startchange{
/*    display: flex;*/
    flex-direction: column;
    align-items: center;
    width: 100%;
/*    max-width: 960px;*/
    max-width: 1136px;
    height: auto; 
    font-size: 28px;
    margin: 0 auto;
    z-index: 999;
}

.circle{
    display: flex;
    align-items: center;
    width: 100%;
    height: 486px;
    margin-top: 50px;
    z-index: -999;
}

.circle2{
    display: flex;
    width: 100%;
    height: auto;
    z-index: -999;
    margin-bottom: 60px;
}

.circle3{
    display: flex;
    width: 100%;
    height: auto;
    z-index: -999;
}

.circle4{
    display: flex;
    width: 100%;
    height: auto;
    z-index: -999;
    margin-bottom: 50px;
}

.circle-left-1{
    background: url(/assets/img/circle-left-1.png) no-repeat;
    width: 100%;
    height: 300px;
    position: absolute;
    background-size: contain;
}

.line-center{
    background: url(/assets/img/line-center.png) no-repeat;
    width: 100%;
    height: 100vw;
    position: absolute;
}

.circle-left-3{
/*    background: url(/assets/img/circle-left-3.png) no-repeat;*/
    width: 140px;
/*    height: 300px;*/
    position: absolute;
    background-size: contain;
}

.circle-right-2{
/*    background: url(/assets/img/circle-right-2.png) no-repeat;*/
    width: 180px;
/*    height: 300px;*/
    position: absolute;
    background-size: contain;
    right: 0;
}

/*Описание*/
.about{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 486px;
}

.about p{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.03em;
    margin-top: 10px;
}
.about-left{
    display: flex;
    flex-direction: column;
    width: 500px;
}

.about-left h1{
    font-size: 25px;
    font-weight: 800;
}
.about-right{
    background: url(/assets/img/about.png) no-repeat;
    width: 616px;
    height: 486px;
    background-size: contain;
}


 .dbout_company_block{
    width: 90%;
    background: #fff;
    margin: 0 auto;
    padding: 20px 30px 40px 30px;
}

.dbout_company_block h3{
    font-size: 26px;
}

.dbout_company_block p{
    margin: 10px 0;
    font-size: 14px;
}

.dbout_company_block ul > li{
    margin-left: 30px;
    margin-bottom: 10px;
    font-size: 14px;
}

.dbout_company_block ul > p{
    font-weight: 700
}

.video1{
    width: 530px;
    border-radius: 10px;
    outline: none;
    box-shadow: 0px 6px 7px rgba(0, 0, 0, 0.41);
    }

.video2{
    width: 530px;
    margin: 91px 0px 0px 11px;
    border-radius: 10px;
    outline: none;
    box-shadow: 0px 6px 7px rgba(0, 0, 0, 0.41);
    }

.play{
    display: flex;
    align-items: center;
    color: #000;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
}

.play-img{
    width: 95px;
    height: 95px;
    background: url(/assets/img/sprite.svg) no-repeat;
    background-position: -203px -5px;
}

.play-img:hover{
    background: url(/assets/img/sprite.svg) no-repeat;
    background-position: -203px -95px;
}

.play-img:active{
    background: url(/assets/img/sprite.svg) no-repeat;
    background-position: -203px -185px;
}
/*Описание*/
/*Квесты и тимбилдинги*/
.quest{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.category{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    width: 500px;
    height: 276px;
    box-sizing: border-box;
    justify-content: center;
    padding-left: 30px;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.category:hover{
    -webkit-transform: translateY(-10px);
-moz-transform: translateY(-10px);
-o-transform: translateY(-10px);
}

.category h3{
    color: #fff;
}

.category-btn{
    display: flex;
    font-weight: 400;
    font-size: 15px;
    color: #F4AB2C;
    position: absolute;
    margin-top: 190px;
        align-items: center;
}

.category-btn img{
    width: 27px;
    margin-left: 5px;
}

.category-1{ background: url(/assets/img/category1.png) no-repeat; background-size: contain; }
.category-2{ background: url(/assets/img/category2.png) no-repeat; background-size: contain; }
.category-3{ background: url(/assets/img/category3.png) no-repeat; background-size: contain; }
.category-4{ background: url(/assets/img/category4.png) no-repeat; background-size: contain; }
.category-5{ background: url(/assets/img/category5.png) no-repeat; background-size: contain; }
.category-6{ background: url(/assets/img/category6.png) no-repeat; background-size: contain; }
.category-7{ background: url(/assets/img/category7.png) no-repeat; background-size: contain; }
.category-8{ background: url(/assets/img/category8.png) no-repeat; background-size: contain; }
/*Квесты и тимбилдинги*/
/*Мы вам понравимся*/
.my{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.my-right{
    width: 50%;
}

.my-right p{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
}

.my-left img{
    width: 517px;
    height: 272px;
     -moz-transition: all 0.5s ease-out;
 -o-transition: all 0.5s ease-out;
 -webkit-transition: all 0.5s ease-out;
}

.my-left img:hover{
 -webkit-transform: scale(1.1);
 -moz-transform: scale(1.1);
 -o-transform: scale(1.1);
}

.my-btn{
    border: 1px solid #F4C82C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    color: #000;
}

.my-btn:hover{
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: 0px 6px 8px rgba(244, 171, 44, 0.6);
}

.arrow{
    width: 10px;
    margin-left: 10px
}
/*Мы вам понравимся*/
/*Слайдер логотипов*/
#flexiselDemo3 {display:none;}
.nbs-flexisel-container {position:relative;max-width:100%;}
.nbs-flexisel-ul {position:relative;width:99999px;margin:0px;padding:0px;list-style-type:none;   text-align:center;  overflow: hidden;}
.nbs-flexisel-inner {position: relative;overflow: hidden;float:left;width:100%;}
.nbs-flexisel-item {float:left;margin:0px;padding:0px;cursor:pointer;position:relative;line-height:0px;}
.nbs-flexisel-item img {max-width: 100%;cursor: pointer;position: relative;margin-top: 10px;margin-bottom: 10px;}
.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right {
    padding:0px 20px;
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;      
    position: absolute;
    cursor: pointer;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);   
    color: #fff;    
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
}
.nbs-flexisel-nav-left {left: 10px;}
.nbs-flexisel-nav-left:before {content: url(/assets/img/l.svg);
    display: flex;
    width: 20px;
    justify-content: center;
    height: 37px;}
.nbs-flexisel-nav-left.disabled {opacity: 0.4;}
.nbs-flexisel-nav-right {right: 5px;    }
.nbs-flexisel-nav-right:before {content: url(/assets/img/r.svg);
    display: flex;
    width: 20px;
    justify-content: center;
    height: 37px;}
.nbs-flexisel-nav-right.disabled {opacity: 0.4;}
/*Слайдер логотипов*/
.logo-carousel{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logo-carousel li{
    margin-bottom: 20px;
}
/*КОНТАКТЫ*/
.contact{
    height: auto;
    width: 100%;
    position: relative;
    background: url('img/contact.jpg') no-repeat;
    background-size: cover;
    padding: 50px 0;
}

.number{
    display: flex;
    flex-direction: row;
    color: #fff;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.one{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.one p{
    font-size: 18px;
}

.one span{
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #F4C82C;
    font-size: 4em;
    margin-right: 10px;
}


.form2{
    display: flex;
    flex-direction: column;
    border: 2px solid #F4AB2C;
    border-radius: 10px;
    padding: 40px 0px;
    width: 320px;
    background: #fff;
}

.form2 h4{
    margin-bottom: 21px;
    font-size: 26px;
    text-align: center;
    color: #000;
}

.form2 p{
    color: #2B2B2B;
    font-size: 17px;
    text-align: center;
    font-weight: 600;
}

.form{
    display: flex;
    flex-direction: column;
    border: 2px solid #F4AB2C;
    border-radius: 10px;
    padding: 40px 0px;
    width: 320px;
}

.form h4{
    margin-bottom: 21px;
    font-size: 26px;
    text-align: center;
    color: #fff;
}

.form p{
/*    color: #2B2B2B;*/
    color: #acacac;
    font-size: 17px;
    text-align: center;
    font-weight: 600;
}

.footer-input{
    color: #acacac;
}

 input{
    font-size: 19px;
    width: 80%;
    height: 30px;
    outline: none;
    padding: 22px 2%;
    box-sizing: border-box;
    border: none;
    text-align: center;
    margin: 11px auto;
    background: transparent;
    color: #282828;
    border-bottom: 1px solid #F4AB2C;
}

::-webkit-input-placeholder {color:#fff; opacity:1;}/* webkit */
::-moz-placeholder          {color:#fff; opacity:1;}/* Firefox 19+ */
:-moz-placeholder           {color:#fff; opacity:1;}/* Firefox 18- */
:-ms-input-placeholder      {color:#fff; opacity:1;}/* IE */

input::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.5s ease;}
input::-moz-placeholder                {opacity: 1; transition: opacity 0.5s ease;}
input:-moz-placeholder                 {opacity: 1; transition: opacity 0.5s ease;}
input:-ms-input-placeholder            {opacity: 1; transition: opacity 0.5s ease;}
input:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.5s ease;}
input:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.5s ease;}
input:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.5s ease;}
input:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.5s ease;}

    .form2_popup::-webkit-input-placeholder {color:#000; opacity:1;}/* webkit */
.form2_popup::-moz-placeholder          {color:#000; opacity:1;}/* Firefox 19+ */
.form2_popup:-moz-placeholder           {color:#000; opacity:1;}/* Firefox 18- */
.form2_popup:-ms-input-placeholder      {color:#000; opacity:1;}/* IE */

.fancybox-close-small{
    color: #000 !important;
}

.fancybox-button:hover{
    color: #000 !important;
}
.btn-bottom{
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    margin-top: 30px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    width: 260px;
    height: 39px;
    line-height: 35px;
    font-size: 17px;
    border: none;
    margin: 25px auto 0;
    outline: none;
}

.btn-bottom:hover{
    background: linear-gradient(0deg, #F4C82C 0%, #FFB12B 100%);
}

.feedback{
    display: flex;
    flex-direction: row;
}

.welcom{
    display: flex;
    flex-direction: column;
    margin-left: 80px;
}

.welcom p{
    color: #F4AB2C;
    margin-bottom: 40px;
    font-weight: 600;
}

.welcom a{
    display: flex;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #F4AB2C;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 17px;
    padding: 15px 20px;
}

.welcom a img{
    padding-right: 5px;
}
/*КОНТАКТЫ*/
/*Страница с квестами*/


.circle5{
    background: url(/assets/img/circle.png) no-repeat;
    width: 410px;
    height: 410px;
    position: absolute;
    background-size: contain;
    margin-top: 113px;
    margin-left: -56px;
    z-index: -9;
}

.info{
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 20px;
}

.info-img{
    width: 50%;
}

.info-img img{
    width: 511px;
    height: 440px;
    object-fit: contain;
}

.info-text{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 300px;
    justify-content: space-evenly;
}

.info-text p{
    font-size: 15px;
    padding:20px 0 10px;
}

.info a{
    cursor: pointer;
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.first_block {
  display: inline-block;
  width: 300px;
  height: 200px;
  border: 1px red solid;
  padding: 10px;
}

.second_block {
  display: none;
}

.first_block:hover .second_block {
  display: block;
}

/*NEW*/

.startchange-new{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 1136px;
    height: auto; 
    font-size: 28px;
    margin: 0 auto;
    justify-content: space-between;
    z-index: 999;
}

.container-new {
  position: relative;
  width: 100%;
    max-width: 350px;
/*    height: 200px;*/
    margin-bottom: 50px;
}

.middle-new{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 9;
    position: absolute;
    width: 100%;
    max-width: 350px;
    height: 200px;
    color: #fff;
    box-sizing: border-box;
    padding: 40px 40px 20px 40px;
    color: #fff;
}

.image-new img{
    display: block;
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.3);
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
    -webkit-transition-duration: 0.5s; 
    -moz-transition-duration: 0.5s; 
    -o-transition-duration: 0.5s;
}

.image-new img:hover{
    -webkit-transform:scale(1.1); 
-moz-transform:scale(1.1);
-o-transform:scale(1.1);
    -webkit-transition-duration: 0.5s; 
-moz-transition-duration: 0.5s; 
-o-transition-duration: 0.5s; 
opacity: 1;
    z-index: 999;
}

.head-title-new h2{
    font-size: 16px;
    padding-top: 15px;
    }

.btn-container-new {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1136px;
    justify-content: space-between;
    font-weight: 900;
    align-items: end;
    font-size: 20px;
}

.btn-container-new a{
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    color: #000;
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
}

.btn-container-new  a:hover{

}

.white{
    background: #fff !important;
    border: 0.7875px solid #F0F0F0;
    color: #000 !important;
    box-shadow: 0px 3px 7px rgba(54, 54, 54, 0.31);
}
/*NEW*/


.middle{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 9;
    position: absolute;
    width: 100%;
    max-width: 1136px;
    height: 282px;
    color: #fff;
    box-sizing: border-box;
    padding: 40px 40px 20px 40px;
    color: #fff;
}

    .head-title{
        display: flex;
        flex-direction: row;
    }
    
    .hitka{
    position: absolute;
    float: right;
    right: 40px;
    top: 0px;
    width: 80px;
    }

.middle h2{
    font-size: 32px;
    font-weight: 900;
}

/*POPUP*/
    .image-popup img{
        display: flex;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .icon-popup{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1136px;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    padding-bottom: 20px;
    }

    .icon-popup ul{
    display: flex;
    flex-direction: row;
    }

    .icon-popup li{
    display: flex;
    margin-right: 20px;
    }

    .icon-popup img{
    width: 30px;
    height: 30px;
    margin-right: 20px;
    }

    .icon-popup a{
    border: 2px solid #F4C82C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    color: #000;
    color: #fff;
    }

    .more-popup {
    display: flex;
    font-family: 'Marta Regular';
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 50px;
    align-self: center;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    border-radius: 10px;
    letter-spacing: 0.7px;
    }

    .more-popup:hover{
    background: linear-gradient(291.84deg, #FFDE68 18.3%, #F9CC59 55.83%);
    box-shadow: 0px 9px 22px rgba(255, 234, 125, 0.43);
    }

    .more-popup:active{
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: inset 0px 5px 8px rgba(204, 160, 6, 0.63);
    }

    .video-popup{
    width: 100%;
    margin: 0;
    outline: none;
    margin-bottom: 40px;
    }
    

/*POPUP*/

.icon{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1136px;
    justify-content: space-between;
    font-weight: 900;
    align-items: end;
    font-size: 20px;
}

.icon ul{
    display: flex;
    flex-direction: row;
}

.icon li{
    display: flex;
    margin-right: 20px;
}

.icon img{
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.icon a{
    border: 2px solid #F4C82C;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    color: #000;
    color: #fff;
}

.btn-container a{
    margin: 0 10px;
}

.btn-container a:hover{
transition: .7s ease;
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: 0px 8px 19px rgba(244, 171, 44, 0.3);
    color: #000;
}

.container {
  position: relative;
  width: 100%;
    max-width: 1136px;
    height: auto;
    margin-bottom: 50px;
}

.image img{
  display: block;
  width: 100%;
  height: auto;
    border-radius: 10px;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.3);
    -webkit-filter: brightness(40%);
    filter: brightness(40%);
}

/*
.overlay {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    border-radius: 10px;
    transition: .7s ease;
    background-color: black;
    align-self: center;
    align-items: center;
    padding: 10px 40px 0 40px;
    box-sizing: border-box;
}

.container:hover .overlay {
  opacity: 1;
}


.container:hover .icon a{
    transition: .7s ease;
    background: linear-gradient(180deg, #F4C82C 0%, #FFB12B 100%);
    box-shadow: 0px 8px 19px rgba(244, 171, 44, 0.3);
    color: #000;
}
*/

.text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
    font-size: 16px;
    word-break:break-all;
    background: #fff;
    background-size: cover;
    width: 100%;
    height: auto;
/*    padding: 40px;*/
}

.text h2{
    font-weight: 900;
    font-size: 32px;
    padding: 20px;
    text-align: center;
}

.text p{
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.03em;
    word-break: break-all;
    padding: 0 40px 40px 40px;
    word-spacing: 4px;
    word-break: normal;
    hyphens: none;
    text-align: justify;
}

.description{
    width: 70%;
}

/*Страница с квестами*/
/*ПОРТФОЛИО*/
.portfolio{
    display: flex;
    flex-direction: column;
}

.portfolio-head{
    text-align: center;
    margin: 125px auto 75px;
}

.portfolio-head{
    
}

.sun{
   display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.sun-text{
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.sun-text p{
    display: flex;
    font-weight: 600;
    font-size: 23px;
    text-align: center;
    padding: 10px;
    width: 504px;
    height: 60px;
    justify-content: center;
    align-items: center;
}

.sun-video{
    width: 504px;
    height: 283px;
        -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.sun-video:hover{
        -webkit-transform: translateY(-10px);
-moz-transform: translateY(-10px);
-o-transform: translateY(-10px);
}

.gallery-block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    width: 310px;
}

.gallery img{
    width: 310px;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
}

.gallery p{
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0 0 0;
    text-align: center;
}
.imglist a{display: none;}
.imglist a:first-child {display: block;
}

/*ПОРТФОЛИО*/
@media screen and (max-width: 640px){

.gallery_video_header_popular{
    width: 90%;
    margin: 0 0 40px 0;
}
.popular_more_info{
                flex-direction: column;
                align-items: center;
            }

            .popular_more_info-img{
                width: 100%;
                display: flex;
                justify-content: center;
            }

            .popular_more_info-img img{
                width: 100%;
                height: 100%;
            }

            .popular_more_info-text{
                height: auto;
                width: 90%;
                margin-top: 0px;
            }

            .popular_more_btn a {
                width: 60%;
                font-size: 16px;
                }
}
@media screen and (max-width: 640px){
    .phone_span{
        display: none !important;
    }
#menu-checkbox:checked + nav[role="navigation"] .main-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    }
    .main-menu a{
    font-size: 30px;
    text-align: center;
    font-weight: 200;
    }
    
    .black{
        height: 0;
    }
    
    .container{
        padding-top: 49px;
        margin-bottom: 0;
    }
    
    #header{
        height: 49px;
    }
    
    h3{
        font-size: 30px;
    }
    
    .circle, .circle2{
        height: auto;
    }
    
    .circle2{
        margin-bottom: 0;
    }
    
    .circle-left-1{
        display: none;
    }
    
    .slide > div h6 {
        font-size: 15vw;
    }
    
    .slide > div p {
        font-size: 1.5em;
    }
    
    .about{
        height: auto;
        flex-direction: column;
    }
    
    .about-left{
        width: 90%;
        order: 2;
    }
    
    .about-right{
        width: 90%;
        height: auto;
        order: 1;
        background: transparent;
        padding-bottom: 10%;
    }
    
    .my-left{
        width: 90%;
        margin: 0 auto 30px;
    }
    
    .video2, .video1{
        width: 100%;
        margin: 0;
    }
    
    
    .my-right {
    width: 90%;
    margin: auto;
    }
    
    .play{
        justify-content: start;
        padding: 20px 0;
    }

    .dbout_company_block{
        width: 80%
    }
    
    .quest a{
        /* padding: 50px 0;
        justify-content: center;
        text-align: center;
        align-items: center; */
        
        padding: 50px 0 50px 30px;
        justify-content: center;
    }
    
    .quest a h3{
        font-size: 7vw;
    position: relative;
    }
    
    .category-1,.category-2,.category-3,.category-4,.category-5,.category-6,.category-7,.category-8{background-size: cover; }
    
    .category{
        width: 95%;
        height: auto;
    }
    
    .my{
        flex-direction: column;
    }
    
    .my-left img{
        width: 100%;
        height: auto;
    }
    
    .number{
        flex-direction: column;
    }
    
    .feedback{
        flex-direction: column;
        align-items: center;
    }
    
    .welcom{
        margin-left: 0;
        align-self: center;
    }
    
    .welcom p{
        margin-top: 50px;
    }
    
    /*КВЕСТЫ*/
    .info{
        display: none;
    }
    .middle{
        padding: 0;
        height: 276px;
        justify-content: space-evenly;
    }
    
    
    .middle h2{
        font-size: 1em;
        text-align: center;
        width: 100%;
    }
    
    .circle-right-2, .circle-left-3{
        display: none;
    }
    
    .circle5{
        display: none;
    }
    .icon li{
        align-items: center;
        font-size: 10px;
        margin-right: 0;
    }
    
    .image img{
        height: 276px;
        object-fit: cover;
        border-radius: 0;
    }
    
    .icon{
        flex-direction: column;
        align-items: center;
    }
    
    .icon ul{
        order: 2;
        width: 100%;
        justify-content: space-evenly;
    }
    
    .icon a{
        display: flex;
        order: 1;
        margin: 20px 0;
    }
    
    .btn-container{
        display: flex;
        order: 2;
            width: 100%;
    justify-content: space-evenly;
    }
    
    .description{
    width: 100%;
    }
    
    .sun-video{
        width: 95%;
        height: auto;
        margin: 0 auto;
    }
    .sun-text p{
        width: 95%;
    }

    .container-new{
        width: 90%;
        max-width: 100%;
        text-align: center;
        margin: 20px auto;
    }

    .image-new img{
        max-width: 100%;
    }

    .startchange-new{
        padding-top: 50px;
    }

    .btn-container-new a{
        margin: 0 auto;
    }

    .fancybox-content{
        padding: 0px !important;
    }

    .icon-popup ul{
        flex-direction: column;
    }

    .icon-popup li{
        padding-bottom: 15px;
    }

    .category-btn{
        position: relative;
        margin: 10px 0 0 0;
    }
    
    /*Блок коментарии*/
    .comments{
        width: 90%;
    }
    
    .comments_item{
        flex-direction: column;
    }
    
    .head_user_com{
        flex-direction: column;
        margin: 0 auto 15px;
        align-items: center;
    }
    
    .head_user_com a{
        margin-bottom: 5px;
        text-align: center;
    }
    
    .social{
        bottom: 10px;
        right: 10px;
    }
    
    .logo-carousel{
        width: 90%;
        justify-content: center;
        margin: 0 auto;
    }
    
    .logo-carousel li{
        width: 40%;
        margin: 0 auto;
    }
    
    .logo-carousel li img{
        width: 100%;
    }
    
    .form{
        width: 90%;
    }
    
    .footer-input{
        background: #000;
    }
    
    .one span{
        width: 50%;
    }
    
    .one p{
        width: 100%;
    }

    .text p{
        font-size: 18px;
        line-height: 25px;
        text-align: left;
        padding: 0 10px 40px 10px;
    }

}