body{
	background:#eee url('../im/pattern.jpg');
	font-family: 'Roboto', sans-serif;
	padding-bottom:20px
}
hr{
	background: 0;
	border:1px solid #ddd;
	border-bottom: 0;
}
a{
	color:rgb(27,20,100);
}
a:hover{
	text-decoration: none
}

footer{
	text-align: center;
	margin-top:10px;
	color:#666;
	font-size:14px
}

.header{
	background: #fff;
	padding:5px 0;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
}
.header__in{
	width:1040px;
	margin:0 auto 0 auto;
}
.header__lang{
	list-style: none;
	float: right;
	margin-right: 10px;
	margin-top:-5px
}
.header__lang__item{
	float:left;
	margin-left:20px;
	padding-top:10px
}
.header__lang__item:hover{
	background: url('/im/lang/arrow-hover.png') no-repeat;
}
.header__lang__item--selected,.header__lang__item--selected:hover{
	background: url('/im/lang/arrow.png') no-repeat;
}
.header__lang__item img{
	width:30px;
	box-shadow: 1px 2px 4px 0px rgba(0,0,0,0.6)


}
.header__logo{
	width:100%;
	max-width: 409px;
}

.socials{
	padding:25px 0 0 0;
	max-width:1040px;
	margin:0 auto 0 auto;
	text-align: center;
}
.socials__button{
	text-decoration:none;
	border:0;
	box-sizing: border-box;
	width:51px;
	height:51px;
	padding:2px;
	margin:5px;
	color:#ffffff;
	border-radius:5px;
	background-color:#1b1464;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 8px;
}
.socials__button:hover{
	background-color:rgb(07,00,80);
}
.socials__button--coffee{
	background-color: #FF792C;
	padding:10px;
	width:auto;
	display: flex;
  justify-content: center;
  align-items: center;
}
.socials__button--coffee:hover{
	background-color: #ec6c21;
}
.socials__button__text{
	margin-left:10px;
	font-size:20px
}
.socials__button .logo-coffee {
    fill: #ffffff;
}

.socials__button--coffee svg{
	height:32px
}
.list,.screen_alert{
	width:1040px;
	margin:0 auto 0 auto;
	box-sizing: border-box;
}

.screen_alert{
	padding:0 5px;
	width:100%;
	
}
.screen_alert p{
	margin-top:20px;
	background:rgb(255, 219, 15);
	padding:10px;
	border-radius: 5px;
	font-size:20px;
	width:100%;
	box-sizing: border-box;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 8px;
}


.list__category,.info__heading{
	clear:both;
	padding:20px 5px 10px 5px;
	margin:20px 0 0 0;
	font-family: 'Roboto Slab', serif;
	color:rgb(27,20,100);
	font-size:2rem;
	text-align: center;
	text-shadow: 0 0 10px #FFF;
}

.itemscontainer{
	display: flex;
	flex-wrap: wrap;
}
.item{
	margin:5px;
	min-width:250px;
	background:#fff;
	border:1px solid #ddd;
	padding:10px 20px 10px 20px;
	border-radius: 5px;
	box-sizing: border-box;
	transition: all 0.3s ease;
	flex: 1;
	text-align: center;
	border:1px solid #ccc;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
}
.item:hover{
	border:1px solid #aaa;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 9px;
}
.item__title{
	font-family: 'Roboto Slab', serif;
	margin:0;
	min-height:2.8rem;
	line-height: 2.8rem;
	font-size: 1.3rem;
	margin-bottom: 13px;
	text-align: center;
}
.item__title span{
	line-height: 1.2;
	display: inline-block;
	vertical-align: middle;
}
.item__video{
	width:100%;
	max-width:208px;
	border-radius:5px;
	margin-bottom:10px;
	border:1px solid #777
}
.item__info{
	color:#666;
	line-height: 1.5
}
.item__button{
	display:block;
	max-width: 300px;
	padding:10px 5px;
	border-radius: 5px;
	text-align: center;
	text-decoration: none;
	margin:0 auto;
}
.item__button--start{
	background-color:rgb(27,20,100);
	color:#fff;
}
.item__button--start:hover{
	background-color: rgb(07,00,80)
}
.item__button--tasks{
	background-color:#fff;

	color:rgb(57,50,130);
	border: 1px solid #aaa;
	padding:5px 5px;
	margin-top:10px;
	font-size:14px
}
.item__button--tasks:hover{
	background:#efefef
}
.item__button:active{
	top:1px
}

.info__text{
	margin:5px;;
	background:#fff;
	
	border:1px solid #ccc;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
	padding:5px 20px;
	border-radius: 5px;
	box-sizing: border-box;
	line-height: 1.5
}



@media screen and (max-width: 1040px) {
	.header__in, .list{
		width:100%;
	}	
}
@media screen and (max-width: 500px) {
	.list{
		padding:0 5px
	}
	.list__category,.info__heading{
		padding-left:0;
		padding-right:0;
	}
	.item,.info__text{
		width:100%;
		height:auto;
		margin:5px 0;
	}	
}


.quiz{
	box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
	background:#fff;
	border-radius:5px;
	padding:20px;
	margin-top:20px;
	text-align: center;;
}
.quiz__im{
	width:100%;
	max-width:300px
}
.quiz__btn{
	font-size:30px;max-width:100%;display:inline-block;padding:20px;
	margin-top:10px;
}
@media screen and (min-width: 700px) {
	.quiz{
		box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
		background:#fff;
		border-radius:5px;
		padding:20px;
		margin-top:20px;
		position: relative;
	}
	.quiz::after{
		content:' ';
		clear:both;
		display:block;
	}
	.quiz__im{
		float:left;
		margin:0 30px 0 0;
	}
	.quiz__btn{
		margin-top:0;
	}

	.quiz__center{
		display: flex;
		flex-direction: column;
		justify-content: center;
		resize: vertical;
		height:280px;
	}
}
@media screen and (min-width: 800px) {
	.quiz__im{
		max-width:400px
	}
}