@font-face{
	font-family:CeraRegular;
	src:url(/fonts/Cera-Regular-Desktop.otf) format("truetype");
	font-weight:400
}


/* @font-face{
	font-family:GpbNormal;
	src:url(/fonts/Gazprombank_Sans_Normal.ttf) format("truetype");
	font-weight:450
} */
	
	
/* @font-face{
	font-family:GpbDemiBold;
	src:url(/fonts/Cera-Bold-Desktop.otf) format("truetype");
	font-weight:600
} */
	
/* @font-face{
	font-family:GpbBold;
	src:url(/fonts/Gazprombank_Sans_Bold.ttf) format("truetype");
	font-weight:700
}
	 */
	
	
@font-face{
	font-family:CeraBold;
	src:url(/fonts/Cera-Bold-Desktop.otf) format("truetype");
	font-weight:600
}
		
	
body{
	font-family:"CeraRegular", serif;	
}


h1, h2, h3, h4, h5{
	font-family:"CeraBold", serif;		
}


h2{
	font-weight: 600;
	font-size: 2em;
}



#header{
	background-color: #000;
	color: #fff;
	position: relative;

}


.btn{
	display: inline-block;
	background-color: #0246FF;
	text-decoration: none;
	padding: 15px;
	border-radius: 8px;		
	color: #fff;
}


.btn:hover{
	background-color: #0026DF;
}


#header-inner{
	margin: 0 auto;
	background-color: #000;
	position: relative;
}


#logo{
	width: 200px;
}



#kv-img{
	position: absolute;
	right: 0;	
}


#logo2{
	position: absolute;
	right: 0;
	top: 50px;
	width: 180px;	
}


h1.title{
	line-height: 1.3em;
}


p.description{
	font-family: "CeraRegular", serif;
	font-size: 1.4em;
}





#main{
	max-width: 1280px;
	margin: 0 auto;
}



.section{
	margin: 50px 16px;
}

.sectionWithBackground{
	padding: 50px;	

}


#sectionAboutEvent{
	color: #000;
	background-color: #e4e6eA;
	border-radius: 16px
	
}



#sectionSpeakers{
	text-align: center;
}


.gallery-container {
  display: flex;           /* Применяем Flexbox */
  justify-content: center; /* Центрируем горизонтально */
  align-items: stretch;    /* Растягиваем вертикально */
  gap: 1rem;               /* Интервал между изображениями */

  margin: 2rem auto;       /* Отступы и центрирование */
  flex-wrap: wrap;          /* Перенос элементов на новую строку */
}


.gallery-container .speaker{
   flex-basis: calc(33.33% - 1rem); /* Ширина каждой картинки примерно треть ширины */	
}

.gallery-container .speaker-plen{
   flex-basis: calc(25% - 1rem); /* Ширина каждой картинки примерно треть ширины */	
}

.speaker, .speaker-plen{
	background-color: #e4e6eA;
	border-radius: 16px;
	padding: 24px;
}

.speaker img{
	width: 90%;
}


.scale-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.scale-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}



#footer{
	background-color: #010012;
	text-align: center;
	color: white;
	padding: 50px 10px;
}





/* Large desktops and laptops */
@media screen and  (min-width: 1200px) {
	#header-inner{
		max-width: 1280px;
		height: 768px;
		padding: 50px;

	}

	#logo{
		width: 320px;
	}



	#kv-img{

		top: 100px;
	}
	
	h1.title{
		padding-top: 80px;
	}
	
	p.description{
		padding-top: 40px;		
	}
	
	
	#btnReg{
		margin-top: 40px;
	}

}



/* Portrait tablets and medium desktops */
@media screen and  (min-width: 992px) and (max-width: 1199px) {
	#header-inner{
		max-width: 992px;
		height: 595px;
		padding: 20px;

	}

	#logo{
		width: 200px;
	}



	#kv-img{
		right: 0;
		top: 110px;
		width: 40%;
	}
	
	#logo2{
		position: absolute;
		right: 0;
		top: 20px;
		width: 130px;	
	}	

	h1.title{
		padding-top: 80px;
	}	
	
	p.description{
		padding-top: 30px;		
	}	
	
	#btnReg{
		margin-top: 30px;
	}	
	
}



/* Portrait tablets and small desktops */
@media screen and  (min-width: 768px) and (max-width: 991px) {
	#header-inner{
		max-width: 768px;
		height: 460px;
		padding: 20px 0;

	}

	#logo{
		width: 200px;
	}



	#kv-img{
		right: 0;
		top: 100px;
		width: 40%;
	}
	
	#logo2{
		position: absolute;
		right: 0;
		top: 20px;
		width: 120px;	
	}	

	
	h1.title{
		padding-top: 26px;
		line-height: 1.2em;
		max-width: 485px;
	}	
	
	p.description{
		padding-top: 15px;	
	}	
	
	#btnReg{
		margin-top: 15px;
	}		

  
}




/* Landscape phones and portrait tablets */
@media screen and  (max-width: 767px) {
	#header-inner{
		max-width: 768px;
		height: 460px;
		padding: 20px;

	}

	#logo{
		width: 200px;
	}



	#kv-img{
		right: 0;
		top: 100px;
		width: 40%;
	}
	
	
	#logo2{
		position: absolute;
		right: 20px;
		top: 23px;
		width: 115px;	
	}		
		
	
	h1.title{
		padding-top: 20px;
		line-height: 1.1em;
		max-width: 485px;		
	}	
	
	
	p.description{
		padding-top: 10px;		
	}	
	
	#btnReg{
		margin-top: 10px;
	}		
	
	


  .gallery-container .speaker {
	flex-basis: calc(50% - 1rem);   /* Две картинки в ряд */
  }	
  
   .gallery-container .speaker-plen {
	flex-basis: calc(50% - 1rem);   /* Две картинки в ряд */
  }
  
  
	#liveStream{
		margin-left: 0;
		margin-right: 0;
		padding: 0;

	}
	
	#liveStream iframe{
		border-radius: 0;
	}  
  
}




/* Landscape phones and smaller */
@media screen and  (max-width: 480px) {
	
	
	#header-inner{
		width: 100%;
		height: 600px;
		padding: 20px;

	}

	#logo{
		width: 200px;
	}



	#kv-img{
		left: 50px;
		top: 100px;
		width: 300px;
	}
	
	#logo2{
		position: absolute;
		right: 20px;
		top: 23px;
		width: 115px;	
	}		
	
	
	h1.title{
		padding-top: 300px;
		line-height: 1.2em;
		font-size: 28px;
	}	
		
	p.description{
		display: none;
	}
		
	#btnReg{
		margin-top: 20px;
	}		
	
			
		
	.section{
		padding: 20px;
		margin: 24px 16px;
	}
	
	
	#liveStream{
		margin-left: 0;
		margin-right: 0;
		padding: 0;

	}
	
	#liveStream iframe{
		border-radius: 0;
	}
	
	.scale-video {
	  padding-top: 800px;
	}	
	
	.gallery-container .speaker {
		flex-basis: 100%;              /* Одна картинка в ряд */
	}
	
	.gallery-container .speaker-plen {
		flex-basis: 100%;              /* Одна картинка в ряд */
	}
}




