@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&display=swap');

  /*Обнуление*/ 
  *{ 
    padding: 0; 
    margin: 0; 
    border: 0; 
} 
*,*:before,*:after{ 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
} 
:focus,:active{outline: none;} 
a:focus,a:active{outline: none;} 
nav,footer,header,aside{display: block;} 
html,body{ 
    height: 100%; 
    width: 100%; 
    font-size: 100%; 
    line-height: 1.4; 
    font-size: 16px; 
    -ms-text-size-adjust: 100%; 
    -moz-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%; 
     scroll-behavior: smooth !important; /* Ця властивість дозволяє браузеру виконувати плавний скрол */
    
  
} 
html, body {
  overflow-x: hidden; /* Запобігає горизонтальному скролу */
  overflow-y: auto; /* Дозволяє вертикальний скрол */
}
input,button,textarea{font-family:inherit;} 
input::-ms-clear{display: none;} 
button{cursor: pointer;} 
button::-moz-focus-inner {padding:0;border:0;} 
a, a:visited{text-decoration: none;} 
a:hover{text-decoration: none;} 
ol, ul {    padding: 0 20px;max-width: 700px;line-height: 1.5;}
ul li{list-style: none;} 
li {    padding: 3px 0;}
img{vertical-align: top;} 
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;} 
p {
    line-height: 1.4;
    margin: 0 0 10px 0;
}



.container {
    margin: 0 auto;
    max-width: 700px;
    /* background: #f9f9f9; */
    padding: 0 20px;
}


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
        }

        .navbar {
    padding: 15px 20px;
    width: 100%;
    top: 0;
    z-index: 1000;
    max-width: 700px;
    margin: 0 auto 40px;
    display: block;
    border-bottom: 1px solid #dddddd;
}   

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            color: #000;
            font-size: 24px;
            font-weight: bold;
            text-decoration: none;
        }

        .nav-menu {
            display: flex;
            list-style: none !important;
        }

        .nav-menu li {
            margin-left: 30px;
           
        }

        .nav-menu li::marker {
    content: ''; /* Порожній контент для маркера */
    font-size: 0; /* Або ховаємо розмір */
}

a.nav-logo img {
    max-height: 45px;
    border-radius: 50%;
}

        .nav-menu a {
            color: #000;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: #00aaff;
        }

        .burger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .burger div {
            width: 25px;
            height: 3px;
            background-color: #000;
            margin: 5px 0;
            transition: all 0.3s ease;
        }


header {
   padding: 0;
    text-align: center;
    margin: 0;
}

header img {
    margin: 0 auto;
    display: block;
}

h1 {
    font-size: 1.8em;
    font-weight: 900;
    width: fit-content;
    margin: 0 auto;
}



header h2 {
    font-size: 2.4em;
    font-weight: 700;
    margin: 20px 0;
}

h2 {
    font-size: 1.7em;
    font-weight: 800;
    line-height: 1.2;
    margin: 30px 0 10px;
}

.h2_center {
    text-align: center;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 10px;
}

.post_header {
    font-size: 1.6em;
}

.div_gradient {
    background: #ffffff;
background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgb(129 129 129) 50%, rgba(255, 255, 255, 1) 100%);
    display: block;
    height: 3px;
    margin: 50px 0;
}





.produkt {
    max-width: 500px;
    margin: 30px auto;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 10px;
}


a.img_link_produkt {
    width: auto;
    display: block;
}

.produkt img {
    width: 100%;
}

.zag_produkt {
    font-weight: 600;
    font-size: 1.5em;
}

a.link_produkt {
    background: #008d0b;
    padding: 15px 20px;
    display: block;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: 100%;
    color: #fff;
    border-radius: 8px;
    font-size: 1.7em;
    border: 3px solid #fff;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    margin: 10px 0 0;
}




li {
    list-style: outside !important;
}

.blok_green {
    background: #d3fff0;
    padding: 1px 30px 30px;
    border-radius: 15px;
        margin: 40px 0;
}

.blok_yelow {
    background: #f8ffe5;
    padding: 1px 30px 30px;
    border-radius: 15px;
        margin: 40px 0;
}

.blok_day {
    margin: 30px auto;
    max-width: 500px;
    border-left: 5px solid #6ddfb8;
    padding: 0 0 0 20px;
}

ul.problem_list {
    margin: 0;
    padding: 0;

}

ul.problem_list li {
    list-style: none !important;
    padding: 0 0;
    margin: 0 0 20px 30px;
    display: block;
}


ul.problem_list li:before {
    
    content: ''; /* Пустий вміст */
    display: inline-block;
    width: 24px; /* Задайте потрібну ширину */
    height: 24px; /* Задайте потрібну висоту */
    background-image: url('img/problem.png');
    background-size: contain; /* Масштабує зображення, щоб воно повністю помістилось */
    background-repeat: no-repeat;
        margin: -3px 0 0 -30px;
    padding: 0 30px 0 0;
    vertical-align: middle;
}



.blok_day h3:before {
    content: ''; /* Пустий вміст */
    display: inline-block;
    width: 24px; /* Задайте потрібну ширину */
    height: 24px; /* Задайте потрібну висоту */
    background-image: url('/Імпульс/img/check-mark.png');
    background-size: contain; /* Масштабує зображення, щоб воно повністю помістилось */
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
}


.scrin_all_kurs img {
    width: 100%;
    border: 1px solid #c2c2c2;
    border-radius: 8px;
    margin: 0 0 10px;
}


.scrin_all_kurs h3 {
    margin: 30px 0 10px 0;
}


.garantia img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}


.putanna_vidpovivdi {
    background: #ececec91;
    padding: 1px 20px 20px;
    margin: 50px 0 0 0;
    display: block;
    border-radius: 8px;
}

.putanna_vidpovivdi h3 {
    margin: 20px 0 0 0;
}

.autor_text img {
    max-width: 200px;
    margin: 30px auto;
    display: block;
    border-radius: 500px;
}

.vartist_blok_text {
    border: 4px dotted #4CAF50;
    padding: 0 30px 10px;
    background: #eeffef;
    margin: 60px 0;
}
span.vartist_none {
    color: #a30000;
    text-decoration: line-through;
    font-size: 0.8em;
}
span.vartist_yes {
    color: green;
    font-size: 1.3em;
}

a.but_uchast {
    background: #008d0b;
    padding: 30px 50px;
    display: block;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
        max-width: 100%;
    color: #fff;
    border-radius: 8px;
    font-size: 1.7em;
    border: 3px solid #fff;
    font-weight: 700;
    text-align: center;
    line-height: normal;
}


a.na_vidguki {
    background: #2196F3;
    padding: 13px 30px;
    display: block;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: 250px;
    color: #fff;
    border-radius: 8px;
    font-size: 1.1em;
    border: 3px solid #fff;
    font-weight: 500;
    text-align: center;
    line-height: normal;
    margin: 10px auto;
}

/* Стилі для контейнера відео */
        .video-container {
            max-width: 400px;
            width: 100%;
            height: 700px; /* Фіксована висота для 9:16 */
            margin: 20px auto; /* Центруємо на сторінці */
            position: relative;
            overflow: hidden; /* Запобігаємо зміщенню */
            aspect-ratio: 9 / 16; /* Гарантуємо пропорції */
        }

        .video-poster {
            width: 100%;
            height: 100%;
            background-image: url('https://img.youtube.com/vi/6P1qfcuH-0I/maxresdefault.jpg'); /* Постер з YouTube */
            background-size: cover;
            background-position: center;
            cursor: pointer;
            border-radius: 8px; /* Округлі кути */
            transition: opacity 0.3s ease;
            position: absolute;
            top: 0;
            left: 0;
        }

        .video-poster:hover {
            opacity: 0.8;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: #ff0000; /* Червоний колір YouTube */
        }

        .play-button::after {
            content: '▶'; /* Символ play */
        }

        /* Стилі для iframe */
        .video-iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 8px;
            display: none; /* Спочатку прихований */
            position: absolute;
            top: 0;
            left: 0;
        }

        /* Показуємо iframe і ховаємо постер після кліку */
        .video-loaded .video-iframe {
            display: block;
        }

        .video-loaded .video-poster {
            display: none;
        }











@media screen and (max-width: 768px) {
            .burger {
                display: flex;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 60px;
                left: 0;
                background-color: #fff;
                padding: 20px 0;
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu li {
                margin: 10px 0;
                text-align: center;
                font-weight: 600;
            }

            .nav-menu a {
                font-size: 18px;
            }
           .video-container {
                max-width: 100%;
                height: 80vh; /* 80% висоти екрану для мобільних */
            }
        }


@media screen and (min-width: 375px) and (max-width: 667px){
    /* Стилі для альбомної орієнтації */

    header h2 {
    font-size: 1.7em;
    font-weight: 700;
    margin: 20px 0;
}

span.vartist_yes {
    color: green;
    font-size: 0.9em;
}

span.vartist_none {
    font-size: 0.6em;
}

a.but_uchast {
    padding: 20px 20px; }

}



@media screen and (max-width: 360px) {
    /* Спеціальні стилі для дуже малих екранів */
}