﻿/*Данный css файл содержит стиль главной страницы*/
@font-face { /*Тут подключаем шритфы для данного сайта*/
    font-family: Regular; 
    src: url(txt.ttf); 
}

*{/*Для html страницы обнуляем все отступы и вунетрении отступы */
	margin: 0px;
	padding: 0px;
}

body{/*Для html подключаем фон в виде картинки*/
	background:url(../img/fon5.png) center no-repeat;/*Выравниваем картинку по центру, а так же ее не повторяем*/
	background-size: cover;/*Масштабирует изображение с сохранением пропорций так, чтобы его ширина или высота равнялась ширине или высоте блока*/
	background-attachment: fixed;/*задаем свойство фоновое изображение неподвижным*/
}

.container {
	min-height: 100%;
	position: relative;
 }

#Organization{
	box-shadow: 0px 2px rgba(0,0,0,0.6);
	background: #663366;
	text-align: center;
	width: 100%;
	padding: 0px;
}

	.Org1{
		margin: 0;
		font-family: Regular, fantasy;
		position: relative;
		color:rgb(255, 255, 255);
		font-size: 60px;
		padding: 20px 0px 0px 0px;
		text-transform: uppercase;
		
	}
#Title{
	box-shadow: 0px 5px rgba(0,0,0,0.6);
	background: #663366;
	width: 100%;
	margin: 0 auto;
	margin-top: 15px;
	text-align: center;
}

	.Tit{
		font-family: Regular, fantasy;
		color:rgb(255, 255, 255);
		font-size: 60px; 
		padding: 0px;
		margin: 0 auto;
		text-decoration: none;
	}
	.Tit1{
		font-family: Regular, fantasy;
		color:rgb(255, 255, 255);
		font-size: 60px; 
		padding: 0px;
		margin: 0 auto;
		text-decoration: none;
	}

	.Tit1:hover{
		text-decoration: none;
		color:#819fd4;
	}

#Menu{
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: 1s;
	padding: 10px 0px 10px 0px;
	margin-top: 0;
}
	#Submenu{
		justify-content: center;
		margin: 0 auto;
		margin-top: 15px;
		box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.8); 
		text-decoration: none;
		font-family: Regular, fantasy;
		text-align: center;
		color:rgb(255, 255, 255);
		font-size: 30px;
		/*border: 3px inset #f6df46;*/
		padding: 10px 20px 10px 20px;
		border-radius: 10px;
		background: #663366;
		width: 20%;
	}
	
	#Submenu:hover{
		transition-duration: .5s;
		-webkit-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.8);
		-moz-box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.8);
		color:#2c2525;
		box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.8);
		background: #e8e9ee;
	}
	
#img1{
	width: 220px;
	height: 220px;
	margin-bottom: 5px
}

#Videos{
	margin: 0 auto;
	text-align: center;
	/*width: 90%;*/
	font-family: Regular, fantasy;
}

	#Vid{
		margin: 0 auto;
		height: auto;
	}
	video{
		height: 30%;
		width: 30%;	
		border-radius: 5px;
	}

	.text_slots{
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
	}

	.text_slots a{
		color: #838bd3;
		padding: 0px 5px 0px 5px;
	}

	.footer {
		font-family: Regular, fantasy;
		left: 0; 
		bottom: 0;
		margin-top: 20px;
		background-color: #663366;
		color: rgb(255, 255, 255); 
		width: 100%;
		padding: 10px 0px 10px 0px;
		text-align: center;
	}

	.text_rep{
		font-family: Regular, fantasy;
		color: rgb(255, 255, 255);
		font-size: 25px;
		border-top: 2px solid rgba(255, 255, 255, 0.082); 
		font-size: 30px; 
		border-bottom: 2px solid rgba(255, 255, 255, 0.082); 
		background-color: rgb(51, 51, 51);
		text-align: center;
		width: 100%;
	}

	.text_rep_video{
		font-family: Regular, fantasy;
		color: rgb(255, 255, 255);
		font-size: 25px;
		border-top: 2px solid rgba(255, 255, 255, 0.082); 
		font-size: 30px; 
		border-bottom: 2px solid rgba(255, 255, 255, 0.082); 
		background-color: rgb(51, 51, 51);
		text-align: center;
		width: 30%; 
		margin: 0 auto; 
		margin-top: 10px; 
		border-radius: 5px;
	}
	
	
@media (max-width: 600px) {
	.Tit{font-size: 25px;}
	.Tit1{font-size: 20px;}
	.Org1{font-size: 25px;}
	#img1{width: 80px; height: 80px;}
	#Submenu{font-size: 25px; width: 80%;}
	#Title{width: 100%;}
	video {height: 90%; width: 90%;}
	.footer{width: 100%;}
	.text_rep{width: 100%; background: #333333;}
	.text_rep_video{width: 90%; font-size: 25px;}
}

