body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	line-height: 1.6;
	background-color: #a7a7a9;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}


/* Header */
.header {
	width: 100%;
	padding-top: 30px;
}



.header_logo {
	text-align: center;
	font-size: 35px;
	font-weight: 800;
}

.nav {
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	margin: 15px;

}

.nav_link {
	display: inline-block;
	vertical-align: top;
	margin: 0 15px;
	position: relative;
	text-decoration: none;
	transition: color 2s linear;
}

.nav_link:after {
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	display: none;
	background-color: linear-gradient(#e66465, #9198e5);
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
}

.nav_link:hover {
	color: rgb(52, 28, 14);;
}

.nav_link:hover:after {
	display: block;
}
/* Header */

/* Intro */
/* h2 {
	text-align: center;
	position: absolute;
	top: 400px;
	left: 0;
	width: 100%;
	color: #fff;
} */

.slide {
	position: relative;
	width: 760px;
	height: 400px;
	background: url("../img/1.jpg") 0 0/100% auto no-repeat;
}

.slides_text {
	position: absolute;
	bottom: 20px;
	left: 20px;
	text-align: center;
	color: #e66465;
	background-color: #777;
	height: 100px;
	opacity: 0.9;
}

/* .slides_text a {
	position: absolute;
	bottom: 20px;
	left: 20px;
} */



#slider { /*положение слайдера*/
	/* position: relative; */
	text-align: center;
	top: 100px;
	margin: 0 auto;
}


#slides article{ /*все изображения справа друг от доруга*/
width: 20%;
float: left;
}

#slides .image{ /*устанавливает общий размер блока с изображениями*/
width: 500%;
line-height: 0;
}

#overflow{ /*сркывает все, что находится за пределами этого блока*/
width: 100%;
overflow: hidden;
}

article img{ /*размер изображений слайдера*/
width: 100%;
}

#desktop:checked ~ #slider{ /*размер всего слайдера*/
max-width: 960px; /*максимальнная длинна*/
}

/*настройка переключения и положения для левой стрелки*/
/*если свич1-5 активны, то идет обращение к лейблу из блока с id контролс*/
#switch1:checked ~ #controls label:nth-child(5), 
#switch2:checked ~ #controls label:nth-child(1),
#switch3:checked ~ #controls label:nth-child(2),
#switch4:checked ~ #controls label:nth-child(3),
#switch5:checked ~ #controls label:nth-child(4){
background: url('../img/prev.png') no-repeat; /*заливка фона картинкой без повторений*/
float: left;
margin: 0 0 0 -84px; /*сдвиг влево*/
display: block;
height: 68px;
width: 68px;
}

/*настройка переключения и положения для правой стрелки*/
#switch1:checked ~ #controls label:nth-child(2), 
#switch2:checked ~ #controls label:nth-child(3),
#switch3:checked ~ #controls label:nth-child(4),
#switch4:checked ~ #controls label:nth-child(5),
#switch5:checked ~ #controls label:nth-child(1){
background: url('../img/next.png') no-repeat; /*заливка фона картинкой без повторений*/
float: right;
margin: 0 -84px 0 0; /*сдвиг вправо*/
display: block;
height: 68px;
width: 68px;
}

label, a{ /*при наведении на стрелки или переключатели - курсор изменится*/
cursor: pointer;
}

.all input{ /*скрывает стандартные инпуты (чекбоксы) на странице*/
display: none;
}

/*позиция изображения при активации переключателя*/
#switch1:checked ~ #slides .image{
margin-left: 0;
}

#switch2:checked ~ #slides .image{
margin-left: -100%;
}

#switch3:checked ~ #slides .image{
margin-left: -200%;
}

#switch4:checked ~ #slides .image{
margin-left: -300%;
}

#switch5:checked ~ #slides .image{
margin-left: -400%;
}

#controls{ /*положение блока всех управляющих элементов*/
margin: -25% 0 0 0;
width: 100%;
height: 50px;
}

#active label{ /*стиль отдельного переключателя*/
border-radius: 10px; /*скругление углов*/
display: inline-block; /*расположение в строку*/
width: 15px;
height: 15px;
background: #bbb;
}

#active{ /*расположение блока с переключателями*/
margin: 23% 0 0;
text-align: center;
}

#active label:hover{ /*поведение чекбокса при наведении*/
background: #76c8ff;
border-color: #777 !important; /*выполнение в любом случае*/
}

/*цвет активного лейбла при активации чекбокса*/
#switch1:checked ~ #active label:nth-child(1),
#switch2:checked ~ #active label:nth-child(2),
#switch3:checked ~ #active label:nth-child(3),
#switch4:checked ~ #active label:nth-child(4),
#switch5:checked ~ #active label:nth-child(5){
background: #18a3dd;
border-color: #18a3dd !important;
}

#slides .image{ /*анимация пролистывания изображений*/
transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#controls label:hover{ /*прозрачность стрелок при наведении*/
opacity: 0.6;
}

#controls label{ /*прозрачность стрелок при отводе курсора*/
transition: opacity 0.2s ease-out;
}
/*  */

/* Up button */
.button-up {
	position: fixed;
	right: 10px;
	bottom: 200px;
	width: 50px;
	height: 50px;
	border-color: transparent;
	border-radius: 50%;
	background-color: aquamarine;
}

.button-up:hover,
.button_up:focus {
	filter: brightness(1,5);
	outline: none;
}

.button-up::before,
.button-up::after{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.button-up::before {
	width: 5px;
	height: 20px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	background-color: #fff;
}

.button-up::after {
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%) rotate(45deg);
	border-top: 5px solid #fff;
	border-left: 5px solid #fff;
}
/* Up button */

/* History */
.section {
	height: 100%;
	background-color: #fff;
	padding: 80px 0;
}

.section_header {
	width: 100%;
	max-width: 950px;
	margin: 0 auto 40px;
	text-align: center;
}

.section_title {
	font-family: 'Raleway', sans-serif;
	font-size: 30px;
	font-weight: 800;
	color: black;
	text-transform: uppercase;
}

.section_text {
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: black;
	text-transform: uppercase;
}

.about {
	margin-top: 30px;
	display: flex;
	justify-content: space-around;
}

.about_item {
	width: 565px;
	background: linear-gradient(to bottom, #00E1FD, #FC007A);
	position: relative;
}

.about_img {
	background: linear-gradient(to bottom, #00FF5B, #0014FF);
	transition: transform .3s linear;
}

.about_item:hover .about_img {
	transform: translate3d(10px, 20px, 0);
}

.about_item:hover .about_img img {
	opacity: .2;
}

.about_item:hover .about_text {
	opacity: 1;
}

.about_img img {
	display: block;
	transition: opacity .1s linear;
}

.about_text {
	width: 100%;
	font-size: 18px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
	position: absolute;
	opacity: 0;
	top: 50%;
	left: 0;
	z-index: 2;
	transform: translate3d(0, -50%, 0);
	transition: opacity .2s linear;
}
/* History */

/* News */
/* .section_news {
	position: relative;
	display: flex;
	justify-content: center;
} */

.section_news_text{
	text-align: center;
	font-size: 30px;
	font-weight: 700;
}

.article_short {
	margin-top: 30px;
	margin-left: 425px;
	width: 45%;
	background-color: #d6ed93;
	position: relative;
	padding: 45px;
	padding-top: 15px;
	border: 2px solid red;
	border-radius: 15px;
}

.article_text {
	color: #777;
	font-weight: 700;
	font-size: 22px;
	margin-bottom: 20px;
}

.article_texttitle {
	color: black;
	font-weight: 500;
	font-size: 16px;
	margin-bottom: 20px;
}

.article_short a {
	text-decoration: none;
	color: #FC007A;
	font-size: 16px;
}

.article_short a:hover {
	cursor: pointer;
	color: rgb(23, 25, 25);
	text-decoration: none;
}

.article_short img {
	height: 250px;
	width: 330px;
	margin-left: calc(50% - 165px);
}
/* News */


/* Footer */
.footer {
	margin: 50px 0 0 0;
	padding: 100px 65px 0 ;
	background-color: #f8f8f8;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	padding-bottom: 65px;
}

.footer__col--first {
	width: 40%;
}


.footer__col--second {
	width: 29%;
}

.footer__col--third {
	width: 22%;
}

.footer__logo {
	margin-bottom: 30px;

	font-size: 46px;
	font-weight: 700;
	color: #ccc;
}


.footer__social {
	margin-bottom: 25px;
}

.footer__social-header {
	padding-bottom: 15px;

	font-size: 14px;
	color: #333;

	border-bottom: 1px solid #e5e5e5;
}

.footer__social-header b {
	font-size: 18px;
}

.footer__social-content {
	padding-top: 15px;

	font-size: 15px;
	color: #f38181;
	font-style: italic;
	font-weight: 300;
}

.footer__social-content a {
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;

	font-size: 18px;
	color: #248f7d;
}

/* Subscribe */
.subscribe {
	width: 100%;
	max-width: 380px;
	display: flex;
}

.subscribe__input {
	width: 60%;
	height: 40px;
	padding: 12px;

	background: #fff;
	border: 1px solid #e7e7e7;
	border-right: 0;

	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	line-height: 1.1;
	color: #333;
	font-style: italic;
	font-weight: 300;
}

.subscribe__input::placeholder {
	color: #ccc;
}

.subscribe__input:focus {
	outline: 0;
	border-color: #95e1d3;
}


.subscribe__btn {
	width: 40%;
	height: 40px;
	padding: 12px 30px;

	background-color: #95e1d3;
	border: 0;
	cursor: pointer;

	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;

	transition: background .2s linear;
}

.subscribe__btn:hover {
	background-color: #74c7b8;
}

.subscribe__btn:focus {
	outline: 0;
}



/* Blogs */
.blogs__item {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.blogs__img {
	width: 120px;
	height: 80px;
}

.blogs__content {
	padding-left: 20px;
}

.blogs__title {
	display: block;
	margin-bottom: 5px;

	color: #333;
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
}

.blogs__title:hover {
	text-decoration: underline;
}

.blogs__date {
	font-size: 13px;
	color: #999;
	font-style: italic;
	font-weight: 300;
}


/* Copyright */
.copyright {
	padding: 20px 0;

	border-top: 1px solid #e5e5e5;

	font-size: 14px;
	color: #333;
	text-align: center;
}

.copyright span {
	color: #f38181;
}


