@font-face{
	font-family: "Gilroy";
	src: url("fonts/Gilroy-ExtraBold.eot") format("eot"),
	url("fonts/Gilroy-ExtraBold.woff") format("woff"),
	url("fonts/Gilroy-ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-style: normal;
}

@font-face{
	font-family: "Gilroy";
	src: url("fonts/Gilroy-Bold.eot") format("eot"),
	url("fonts/Gilroy-Bold.woff") format("woff"),
	url("fonts/Gilroy-Bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    margin: 0 auto;
    width: 1280px;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #616161;
    background-color: #dedcdc;
}

a {
	text-decoration: none
}

p {
	margin: 0;
}

h4 {
	margin: 0;
	font-size: 22px;
	color: #212121;
}

hr {
	border: none;
    color: #9e9e9e;
    background-color: #9e9e9e;
	height: 1px;
}

.hidden {
	position: absolute;
	clip: rect(0 0 0 0);
	width: 1px;
	height: 1px;
	margin: -1px;
}
/*Меню - хедер*/
header {
    height: 100px;
    width: 1280px;
    background-color: rgba(33, 33, 33, 0.5);
    color: #ffffff;
    text-align: center;
    position: fixed;
	z-index: 10;
}

header:hover {
    background-color: rgba(33, 33, 33, 0.8);
}
.navhead {
	width: 1121px;
	height: 100px;
	margin: 0 auto;
}

.menu {
    margin: 0 auto;
    padding: 0;
    padding-top: 35px;
	float: right;
}

.navhead li {
	display: inline;
	vertical-align: middle;
    padding-right: 30px;
}

.navhead li:last-child {
    padding-right: 0px;
}

.navhead a {
    color: #ffffff;
}

.logo {
    margin: 0px;
    padding: 0px;
    float: left;
    padding-top: 20px;
}

/*Обложка*/
.cover {
	width: 1280px;
	height: 400px;
	background-image: url(../img/article_facade_cover.png);
	position: relative;
}

.cover h2 {
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	color: #ffffff;
	font-family: "Gilroy", sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

/*Хлебные крошки*/

.breadcrumb {
	margin-top: 30px;
	margin-bottom: 30px;
	padding-left: 138px;
}

.breadcrumb li {
	display: inline;
	margin-right: 10px;
}

.breadcrumb a {
    color: #9E9E9E;
    font-size: 14px;
    font-weight: 300;
}

/*Заголовок*/

h2 {
	font-size: 30px;
	text-align: center;
	margin: 0;
	margin-bottom: 75px;
}

/*Содержание*/
main {
	background-color: #f5f5f5;
}

/*Статьи*/

.articles {
	width: 1004px;
	margin: 0 auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding-bottom: 75px;
}

.article_card {
	width: 494px;
	margin-right: 16px;
	margin-bottom: 30px;
}

.article_card:hover {
	transform: scale(1.01);
	transition: 0.3s;
}

.article_card:nth-child(odd) {
	margin-right: 0;
}

.article_img {
	margin: 0 55px;
	width: 384px;
	height: 190px;
	position: absolute;
	box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.16);
}

.white-card {
	background-color: #ffffff;
	margin-top: 95px;
	padding: 115px 55px 28px;
	box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.16);
}

.white-card p {
	font-size: 16px;
	margin-bottom: 35px;
}

.white-card p:last-of-type {
	margin-bottom: 0px;
}

.white-card h4 {
	margin-bottom: 23px;
}

.white-card a {
	font-size: 16px;
	color: #616161;
	font-weight: bold;
}

.white-card a:hover {
	color: #212121;
}

.arrow {
	margin-left: 10px;
	position: relative;
	top: 2px;
}

hr {
	border: none;
    color: #9e9e9e;
    background-color: #9e9e9e;
	height: 1px;
	width: 384px
}

/*Подвал - футер*/
footer {
	width: 1280px;
	grid-column: 1/-1;
	grid-row: 10/11;
	background-color: #212121;
	padding: 75px 0 20px;
}

.footer_content {
	max-width: 1280px;
	display: grid;
	grid-template-columns: repeat(16, 80px);
	grid-template-rows: max-content;
	color: #ffffff;
	padding-bottom: 40px;
}

.footer_content ul {
	margin: 0;
	padding: 0;
}

.footer_content li {
	list-style-type: none;
	margin-bottom: 16px;
}

.footer_column3 li:last-child {
	margin-bottom: 0;
}

.footer_content a {
	color: #ffffff;
}

.footer_content .logo {
	grid-column: 2/6;
	text-align: left;
	padding: 0;
}

.footer_column1 {
	grid-column: 7/8;
}

.footer_column2 {
	grid-column: 9/10;
}

.footer_column3 {
	grid-column: 11/15;
}

.social_icon {
	grid-column: 15/16;
	text-align: center;
}

.social_icon a:first-child {
	margin-right: 16px;	
}

footer p {
	text-align: center;
	color: #ffffff;
	font-size: 14px;
}
