@font-face {
	font-family: 'Calibri'; 
	src: url(Calibri.woff); 
}
html {
  scroll-behavior: smooth; /* плавная прокрутка */
}
.orange{
	color: orange !important;
}
.feedback-form * input{color: black;}
.icon img{
	color: white;
	width: 20px!important;
}
#feedbackButton{
	border-radius: 10px;
	background: #00A0E3!important;
}
.feedback-form {
    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;

}
.feedback-form *{
	    color: white;
		p:last-child{
			font-size: 0.7rem;
		}
}
.feedbackLoad{
	display: none;
	position: fixed;
    width: 100vw;
    height: 100vh;
    align-content: center;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    background: #0005;
}
        /* Контейнер с текстом и точками */
        .overlay-content {
            background: rgba(20, 30, 45, 0.85);
            backdrop-filter: blur(12px);
            border-radius: 64px;
            padding: 28px 48px;
            text-align: center;
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: gentlePulse 1.8s infinite ease;
        }

        .overlay-content .main-text {
            font-size: 1.9rem;
            font-weight: 600;
            color: white;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            display: inline-block;
        }
.animated-dots {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-left: 8px;
        }

        .animated-dots .dot {
            width: 12px;
            height: 12px;
            background-color: white;
            border-radius: 50%;
            display: inline-block;
            opacity: 0.3;
            transform: scale(0.8);
            animation: dotPulse 1.4s infinite ease-in-out;
            box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
        }

        /* Индивидуальная задержка для эффекта перелива точек */
        .animated-dots .dot:nth-child(1) { animation-delay: 0s; }
        .animated-dots .dot:nth-child(2) { animation-delay: 0.2s; }
        .animated-dots .dot:nth-child(3) { animation-delay: 0.4s; }

        @keyframes dotPulse {
            0%, 60%, 100% {
                opacity: 0.3;
                transform: scale(0.8);
            }
            30% {
                opacity: 1;
                transform: scale(1.2);
            }
        }

        @keyframes gentlePulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.01); }
            100% { transform: scale(1); }
        }
.feedback-content {
	background: #041830;
	border: 1px solid white;
    padding: 20px;
    border-radius: 8px;
    width: clamp(280px,30vw, 900px);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    justify-content: center;
    align-items: center;
    h3{
    	font-size: 1.5rem;
    }
}
select{
	color: black!important;
	width: 100%;
	option{
		color: black!important;
	}
}

.feedback-content>input,.feedback-content>button{
	width: 80%;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.close-button:hover {
    color: #f00;
}

form {
    display: flex;
    flex-direction: column;
	gap:5px;
}

label {
    margin-bottom: 5px;
}

input, select {
	backdrop-filter: blur(5px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
	align-self: center;
	width: clamp(220px,60%,60%);
    padding: 10px;
    background-color: #00A0E3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #005B81;
}
#feedbackButton{
	padding: 10px;
    background-color: #2845a7;
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    width: 95%;
}
a{
	text-decoration: none;
}
/* Стилизация для вебкит-браузеров (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px; /* Ширина скроллбара */
}

::-webkit-scrollbar-track {
    background: #1a1a2e; /* Тёмно-синий фон трека */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #16213e; /* Тёмно-синий цвет ползунка */
    border-radius: 10px;
    border: 3px solid #1a1a2e; /* Граница ползунка */
}

::-webkit-scrollbar-thumb:hover {
    background: #0f3460; /* Цвет ползунка при наведении */
}

/* Стилизация для Firefox */
* {
    scrollbar-width: thin; /* Тонкий скроллбар */
    scrollbar-color: #16213e #1a1a2e; /* Цвет ползунка и трека */
}
*{
	font-family: Calibri; 
	font-size: clamp(6px, 3vmin, 21px);
	color: white;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body{
	height: 100dvh;
	width: 100%;
	background: url('img/image1.webp');
	background-size: 150%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: fixed;
	left: 0;
	top: 0;
	gap: clamp(0px, 5vh, 10px);
}

#btn2{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
}
#btn1{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
}
#btn2,#btn1{
	a{
		width:80%;
	}
}
main{
	width: 100%;
	flex-grow: 2;
}
main content{
	width: 100%;
	height: 100%;
}
header{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	line-height: 1.5;
	margin-bottom: 15px;
}
content{
	display: flex;
	section{
		margin: 0  0 0 15px;
		div{
			padding-right: 15px;
		}
	}
}

header h1{
	color: #bbb;
	flex-basis: 100%;
	flex-grow: 20;
	text-align: center;

}
header h1 a{
	font-size:clamp(30px, 5.3vmin, 62px);
}
header a{
	color: #fff;
	font-size:clamp(6px, 5vmin, 24px);
	text-decoration: none;
}

header span{
	color:#00A0E3;
	font-size:clamp(6px, 5vmin, 24px);
}
h2{
	display: flex;
	justify-content: center;
	width: 90%;
	background:#00A0E3;

	border-radius:0 10px 10px 0;
	text-align: center;
}
h2:has(*){
		padding: 1dvh;
}
content nav{
	margin-top: 10px;
	display: flex;
	flex-direction: column-reverse;
	justify-content: space-between;
	width: 50vw;
}
pre{
	white-space: pre-wrap;
}
content nav li{
	background: #00A0E3;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 20px;
	border-radius: 0 10px 10px 0;
	height: clamp(18px,8vh,35px);

}
li>strong>div{
	font-size: clamp(6px, 2.1vmin, 21px);
}
section{
	width: 50vw;
	display: flex;
	flex-direction: column;
	justify-content:space-evenly;
	gap: 0 1vw;
	align-content: space-between;
	margin-top: 10px;
	padding-right: 0.5vw;
	position: relative;
}
section>div{
	overflow-y: auto;
}

.video {
    z-index: 999999999999;
    display: flex;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    transform: translateX(-100vw);
    transition: transform 1s;
    background: #0006;
}
section>*{
	padding: 0 0 5vh 0;
}
main{
	overflow: hidden;
}
main img{
/*	width: clamp(270px/2,27vmin,270px);*/
	height: clamp(450px/2,45vmin,450px);
	max-width: 520px;
	object-fit:cover;
}
.whiteBox{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 3vmin;
	padding: 5vh 0;
	position: relative;
}

.boxCol{
	width: 45%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.textSubBoxCol{
	text-align: center;
}
section>div{
	font-size: 1rem;
}
section a{
	font-size: 0.9rem;
}
content * iframe{
	width: 50vw;
}
section strong{
	color: #fff;
	font-weight: 500;
}
footer{
	display: flex;
	flex-direction: column;
	gap: 1vh;
}
footer>div{
	display: flex;
	width: 50%;
	justify-content: center;
	margin: 0 auto;
}
footer nav{
	margin-top: 0;
	display: flex;
	justify-content: center;
	gap: 2dvh;
	flex-direction: row;
}
footer li{
	list-style-type: none;
}
footer li a{
	font-size: clamp(6px, 4.6vmin, 24px);
} 
footer>div:last-child>a{
	color: #00A0E3;
	display: block;
	text-align: center;
	font-size: 1.3rem;
}
footer div:first-child{
	display: flex;
	justify-content: space-between;
}
footer div:first-child a{
	display: block;
	background: #00A0E3;
	padding: 10px;
	border-radius: 10px;
	text-decoration: none;
}

.online{
	background:#666 ;
}
content * iframe{
	width: 66%;
	aspect-ratio: 66 / 30;
	align-self: center;
}
content li br{display:  none;}
content nav{
	padding-bottom: 25px;
}
	header{
		align-items: center;
		a{
			order:0;
		}
		h1{
			order:1;
			flex-basis: auto;
			flex-grow:0;
		}
		span{
			order:2;
		}
	}
	content nav li{
		padding: 3px 3px !important;
	}
@media(max-width:1680px){
	footer{
		padding-top: 0px;;
	}

		h2{
		margin-bottom: 15px;
	}
		main content{
		height: 100%;
	}
	footer>div:last-child>a{
		font-size: 1rem;
	}
	footer li a{
		font-size: clamp(6px, 4.6vmin, 20px);
	}
	#feedbackButton,footer div:first-child a{
		padding: 5px;
		font-size: clamp(6px, 4.6vmin, 20px);
	}
}

@media(max-device-width:1024px){
	footer>div{
		width: 100%;
	}
	main content{
		height: 100%;
	}
	h2{
		margin-bottom: 15px;
	}
	*{
		font-size: clamp(6px, 3.5vmin, 24px);
	}
	content li br{display:  none;}
	main img{
		max-width: clamp(170px, 90%, 600px);
	}
	content * iframe{
		width: 95%!important;
	}
	#btn2,#btn1{
		a{
			width:80%;
		}
	}
	header{
		align-items: center;
		a{
			order:0;
		}
		h1{
			order:0;
			flex-basis: 100%;
			flex-grow:12;
		}
		span{
			order:0;
		}
	}
}
@media(max-device-width:920px){
	content li br{display:  block;}
}
@media(max-device-width:720px){
	.course-description{
		order:-1;
	}
	.course-details-container{
		display: flex;
		flex-direction: column;
	}
	.course-header{
		order:-2;
	}
	h2 span{
		font-size: 1.25rem;
	}
	content nav li{
		padding: 3px 3px !important;
	}
}