/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,  dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;                               /* обнуляем отступы и убираем бордюры */
	vertical-align: baseline;          /* приводим все к одной базовой линии */
	background: transparent;      /* чтобы не проскакивали левые фоны, установленные по умолчанию */
	font-size: 100%;                     /* размер шрифта всем одинаковый */
}
a {                                      	     /* ссылка не в общем списке чтобы не сбрасывать outline по умолчанию */
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	outline:none;
}
table {						/* устраняем отступы между ячейками таблицы */
	border-collapse: collapse; 
	border-spacing: 0;
}
td, td img {
	vertical-align: top;			/* возвращаем привычное вертикальное выравнивание */
} 
input, select, button, textarea {
	margin: 0; 				/* убираем отступы по умолчанию для элементов форм (в частности для checkbox и radio) */
	font-size: 100%; 			/* делаем размер шрифтов везде одинаковым */
	outline: none;
}
input[type="text"], input[type="password"], textarea {
	padding: 0; 				/* убираем внутренние отступы для текстовых полей */
}
input[type="checkbox"] { 		/* вертикальное выравнивание чекбоксов и радиобатонов относительно меток */
	vertical-align: bottom;
}
input[type="radio"] {
	vertical-align: text-bottom;
}
sub {
	vertical-align: sub;
	font-size: smaller;
}
sup {
	vertical-align: super;
	font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
nav ul {
	 list-style:none;
}
/* --------------- /reset.css --------------- */

/* --------------- базовые настройки ---------*/
html {
	min-height:100%; /* всегда показываем вертикальную полосу прокрутки  */
}
body {
	background-image: url(../img/fontest1.jpg);
	background-position: left bottom;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: Arial, sans-serif; 
	color: #000;
	text-align: left;
	font-size: 1em; /* используем безопасные шрифтовые CSS стеки */
	min-height:100%;
}
a, a:visited { /* порядок правил для ссылок имеет значение */
	color: #e6618c;
	text-decoration: underline;
}
a:hover {
	color: #fdf208;
	text-decoration:none;
}
a:focus, a:active {
	color: #c83867;
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}
img{

	max-width:100%;
}
.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}
/* --------------- /базовые настройки ---------*/
.block-news-add, .block-news-add-youtube{
	flex-direction: column;
	overflow: auto;
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
	height: 400px;
	background: linear-gradient(90deg, rgb(0, 255, 0), 
	rgba(0, 255, 0, 0.1), rgb(255, 255, 255), 
	rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1),
	rgb(255, 255, 255), rgba(255, 255, 255, 0.1),
	rgb(0, 255, 0)); /*#93ff93, #fff, #93ff93, #00ff00)*/
  	border: 2px solid #0f0;
  	border-radius: 25px;
  	margin: 140px 0 0 0;
	text-align: center;
}
.block-news-add h2, .block-news-add-youtube h2{
	color: #fff;
	-webkit-text-stroke: 1px #000;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
    top: 10%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}
.block-news-add img, .block-news-add-youtube img{
	height: 280px;
	border: 1px solid #f00;
}
.block-news-add-youtube img{
	margin-top: 75px; 
}
.list-img{
	margin: 75px 0 35px 0; 
}
.rating-img{
	position: absolute;
}
.block-news-add-youtube{
	overflow: hidden;
	margin: 50px 0 0 0;
}
.block-news{
	overflow: hidden;
	-webkit-backdrop-filter: blur(5px);
  	backdrop-filter: blur(5px);
	height: 400px;
	background: linear-gradient(90deg, rgb(0, 255, 0), 
	rgba(0, 255, 0, 0.1), rgb(255, 255, 255), 
	rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1),
	rgb(255, 255, 255), rgba(255, 255, 255, 0.1),
	rgb(0, 255, 0)); /*#93ff93, #fff, #93ff93, #00ff00)*/
  	border: 2px solid #0f0;
  	border-radius: 25px;
  	margin: 50px 0 0 0;
	text-align: center;
}
.block-news h2{
	color: #fff;
	-webkit-text-stroke: 1px #000;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
    top: 45%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}
.date{
	height: 40px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), 
	rgb(255, 255, 255),
	rgba(255, 255, 255, 0.1), 
	rgba(0, 255, 0), 
	rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.1),
	rgba(0, 255, 0.1), rgba(255, 255, 255, 0.1), 
	rgb(255, 255, 255),
	rgba(255, 255, 255, 0.1));/*(90deg, #fff, #93ff93, #00ff00, #93ff93, #fff);*/
	border-top: 2px solid #0f0;
	border-radius: 0 0 25px 25px;
	margin: -42px 0 0 0;
}
.date p{
	margin-top: 8px;
	border: 1px solid #fff;
	border-radius: 0 0 10px 10px;
	background: rgba(255, 255, 255, 0.5); 
	-webkit-filter: blur(0);
	text-align: center; 
}
#upbutton{
    background-image: url(../img/up.png);
    background-repeat: no-repeat;
    height: 37px;
    width: 63px;
    bottom: 55px;
    right: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
}
.block-footer{
	position: relative !important; 
	margin-top: 50px !important;
}
.footer{
	/*position: fixed !important;*/
	width: 100% !important;
	bottom: 0 !important; 
}
@media screen and (max-width: 950px){
	#upbutton{
		background-image: url(/img/up2.png);
    	height: 25px;
    	width: 43px;
    	right: 10px;
    	bottom: 10px;
	}
	#upbutton:hover{
		background-color: rgba(0, 0, 0, 0.5);
	}
}
@media screen and (max-width: 745px){
	.block-news{
		margin: 25px 25px 0 0;
	}
	.block-news-add, .block-news-add-youtube,
	.block-news, .date{
		margin-left: 25px;
		margin-right: 25px;
	}
	.block-news-add-youtube img{
		max-width: 100%;
        height: auto;
	}
	.block-news-add-youtube h2{
		font-size: 20px;
	}
	.footer{
		margin-top: -25px !important;
	}
}