@CHARSET "ISO-8859-1";
/* Reset CSS
 * --------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
a{
	text-decoration:none;
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
	font-weight: bold;
}
ol,ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#444;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}


/* Custom CSS
 * --------------------------------------- */
body{
	font-family: arial,helvetica;
	color: #333;
	color: rgba(0,0,0,0.5);
}
.wrap{
	margin-left: auto;
	margin-right: auto;
	width: 960px;
	position: relative;
}
h1{
	font-size: 4em;
}
p{
	font-size: 2em;
}
.intro p{
	width: 50%;
	margin: 0 auto;
	font-size: 1.5em;
}
.section{
	text-align:center;
}

.navbar-brand {
	padding: 9px 18px;
	display:block;
	color: #000;
	background:#fff;
	background: rgba(255,255,255, 0.5);
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#menu li {
	display:inline-block;
	margin: 10px;
	color: #000;
	background:#fff;
	background: rgba(255,255,255, 0.5);
	-webkit-border-radius: 10px;
            border-radius: 10px;
}
#menu li.active{
	background:#666;
	background: rgba(0,0,0, 0.5);
	color: #fff;
}
#menu li a{
	text-decoration:none;
	color: #000;
}
#menu li.active a:hover{
	color: #000;
}
#menu li:hover{
	background: rgba(255,255,255, 0.8);
}
#menu li a,
#menu li.active a{
	padding: 9px 18px;
	display:block;
}
#menu li.active a{
	color: #fff;
}
#menu{
	position:fixed;
	top:0;
	left:0;
	height: 40px;
	z-index: 70;
	width: 100%;
	padding: 0;
	margin:0;
}
.twitter-share-button{
	position: fixed !important;
	z-index: 99;
	right: 149px;
	top: 9px;
}
#infoMenu{
	height: 20px;
	color: #f2f2f2;
	position:fixed;
	z-index:70;
	bottom:0;
	width:100%;
	text-align:right;
	font-size:0.9em;
	padding:8px 0 8px 0;
}
#infoMenu ul{
	padding: 0 40px;
}
#infoMenu li a{
	display: block;
	margin: 0 22px 0 0;
	color: #333;
}
#infoMenu li a:hover{
	text-decoration:underline;
}
#infoMenu li{
	display:inline-block;
	position:relative;
}
#examplesList{
	display:none;
	background: #282828;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding: 20px;
	float: left;
	position: absolute;
	bottom: 29px;
	right: 0;
	width:822px;
	text-align:left;
}
#examplesList ul{
	padding:0;
}
#examplesList ul li{
	display:block;
	margin: 5px 0;
}
#examplesList ul li a{
	color: #BDBDBD;
	margin:0;
}
#examplesList ul li a:hover{
	color: #f2f2f2;
}
#examplesList .column{
	float: left;
	margin: 0 20px 0 0;
}
#examplesList h3{
	color: #f2f2f2;
	font-size: 1.2em;
	margin: 0 0 15px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
	padding: 0 0 5px 0;
}



/* Demos Menu
 * --------------------------------------- */
 #demosMenu{
	position:fixed;
	top: 20px;
	right:20px;
	z-index: 999;
	padding: 5px 10px;
 }

/* Buttons
 * --------------------------------------- */
#download a{
    text-decoration: none
}
#download,
#download:hover {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25)
}
.button {
    margin: 20px 0 0 0;
    vertical-align: middle;
    display: inline-block
}

.button a {
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
}

.button a:hover {
    color: #316f68;
    background-color: #fff
}


/* Extensions preview menu
 * --------------------------------------- */
.preview-extensions-menu{
	position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    border-top: 0;
    box-shadow: 1px 0px 3px rgba(0,0,0,0.8);
}
.preview-extensions-menu li{
	display: inline-block;
	margin: 0;
}
.preview-extensions-menu li a{
	padding: 15px 25px;
	display: block;
}
.preview-buy-extension{
    background: #3cc63c;
}
.preview-more-extensions{
	background: #fff;
}
.preview-buy-extension a{
	color: #fff;
}
.preview-buy-extension:hover{
	background-color: #1a961a;
}
.preview-more-extensions a{
	color: #333;
}

.code{
	background: rgba(255,255,255,0.7);
	padding: 0px 5px;
	line-height: 25px;
}


/* Style for our header texts
* --------------------------------------- */
h1{
	font-size: 5em;
	font-family: arial,helvetica;
	color: #000e11;
	margin:0;
}
.section p,
.intro p{
	color: #000e11;
}

/* Centered texts in each section
* --------------------------------------- */
.section{
	text-align:center;
}


/* Bottom menu
* --------------------------------------- */
#infoMenu li a {
	color: #000e11;
}

/* Sections backgrounds
* --------------------------------------- */
[id^="section"] {
	background-image: linear-gradient(128deg, #fff4ea, #fff4ea);
}

.custom-hr {
	width: 40%;
	max-width: 500px;             /* ограничение на больших экранах */
	height: 4px;                  /* толщина */
	background-color: rgba(0, 0, 0, 0.8);  /* цвет с прозрачностью */
	border: none;                 /* убираем стандартную линию */
	margin: 20px auto;            /* по центру с отступами */
	border-radius: 3px;           /* скругление углов */
	transition: all 0.3s ease;    /* плавность */
}

/* Адаптация под очень маленькие экраны */
@media (max-width: 480px) {
	.custom-hr {
		width: 60%;
		height: 3px;
		background-color: rgba(0, 0, 0, 0.8);
	}
}

.main-logo {
	width: 480px;
	max-width: 25vw;
	filter: drop-shadow(0 0 4px rgba(0,0,0,0.2)); /* лёгкая тень */
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.main-logo:hover {
	transform: scale(1.05); /* лёгкий масштаб при наведении */
}

/* Мобильная адаптация */
@media (max-width: 600px) {
	.main-logo {
		width: 80px;
	}
}

.corner-logo {
	position: fixed;
	bottom: 30px;     /* немного выше нижней грани */
	right: 30px;      /* немного левее правой грани */
	width: 60px;
	max-width: 12vw;
	z-index: 1000;
	transition: opacity 0.3s ease;
}

.corner-logo:hover {
	opacity: 1;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
	.corner-logo {
		width: 40px;
		bottom: 20px;
		right: 20px;
	}
}

.global-corner-logo {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	opacity: 0.8;
	z-index: 9999;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
	height: 100%;
	padding: 60px 10vw 40px;
	align-items: start;
}

.card-box {
	background-color: #ffffffdd;
	border: 2px solid #c9b291;
	border-radius: 20px;
	padding: 30px 25px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease;
}

.card-box:hover {
	transform: translateY(-5px);
}

.card-title {
	background-color: #c9b291;
	color: white;
	font-weight: bold;
	font-size: 1.2em;
	padding: 10px 15px;
	margin: -40px -25px 20px;
	border-radius: 20px 20px 0 0;
	text-align: center;
}

.image-center-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 40px;
	box-sizing: border-box;
}

.image-center-wrapper img {
	max-width: 90%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.research-container {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	padding: 0 8%;
	flex-wrap: wrap;
}

.research-text {
	flex: 1 1 55%;
}

.research-heading {
	font-size: 2.5em;
	font-weight: bold;
	text-align: left;
	margin-bottom: 20px;
	color: #2a2a2a;
}

.research-list {
	list-style-type: disc;
	padding-left: 1.5em;
	font-size: 1.4em;
	line-height: 1.8;
	text-align: left;
	color: #333;
}

.research-image {
	flex: 1 1 35%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.research-image img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* === Скрытие на мобильных устройствах === */
@media screen and (max-width: 1024px) {
	.mobile-hide {
		display: none !important;
	}
}

.didactic-container {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 60px 80px;
	gap: 40px;
}

.didactic-box {
	background-color: rgba(255, 255, 255, 0.85);
	padding: 30px 25px;
	border-radius: 16px;
	width: 28%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.3s;
}

.didactic-box:hover {
	transform: translateY(-4px);
}

.number-circle {
	position: absolute;
	top: -20px;
	left: -20px;
	background-color: #ffb185;
	color: white;
	font-weight: bold;
	font-size: 20px;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.didactic-box p {
	margin-top: 30px;
	font-size: 1.4em;
	line-height: 1.5;
	text-align: left;
}

@media (max-width: 992px) {
	.didactic-box {
		width: 100%;
	}

	.didactic-container {
		padding: 30px 20px;
	}
}

.experiment-container {
	padding: 50px 5vw;
	text-align: center;
}

.experiment-title {
	font-size: 2.5rem;
	margin-bottom: 40px;
	font-weight: bold;
}

.experiment-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px;
}

.experiment-card {
	background: #fdf7f1;
	border: 2px solid #0000001a;
	padding: 20px;
	border-radius: 12px;
	text-align: left;
	box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.experiment-card-header {
	background-color: #c9b291;
	color: white;
	font-weight: bold;
	border-radius: 10px 10px 0 0;
	padding: 10px 15px;
	font-size: 1.1rem;
	margin-bottom: 15px;
	text-align: center;
}

.experiment-card ul {
	list-style-type: disc;
	padding-left: 20px;
	margin: 0;
}

.experiment-card li {
	margin-bottom: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.examples-container {
	padding: 60px 5vw;
	text-align: center;
}

.examples-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 40px;
}

.examples-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
}

.example-image img {
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	height: auto;
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}

.example-image {
	flex: 1 1 400px;
	max-width: 45%;
}

.video-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.video-wrapper video {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Адаптив */
@media screen and (max-width: 768px) {
	.example-image {
		max-width: 90%;
	}
}

.video-wrapper {
	position: relative;
	padding-bottom: 30%; /* 16:9 */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
