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

* {
  margin: 0;
}

body {
	background: #f3f3f6;
	font-family: 'Roboto', sans-serif;
}

.site-header {
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
}

.site-header a {
	text-decoration: none;
}

.site-header img {
	height: auto;
    max-width: 100%;
    margin: 20px 25px 15px 25px
}

main {
	background: #fff;
	max-width: 1440px;
	width: 100%;
	margin: 0 auto;
	padding: 10px;
}

h1 {
	font-size: 2.2rem;
	margin-left: 20px;
	line-height: 1.6;
	color: #302f30;
}

.block-info {
	background: #f3f3f6;
	padding: 25px;
    margin: 15px 100px;
}

.block-info h2 {
	font-size: 1.6em;
	color: #666;
	margin-bottom: 10px;
}

.block-info p {
	color: #666;
	font-size: 1em;
	line-height: 1.4;
}

.row {
	display: flex;
}

.card-item {
	margin: 5px;
    width: 25%;
}

.card-header {
	background: linear-gradient(133deg,#3369e7 50%,#3369e7 50%);
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	display: flex;
	padding: 15px;
}

.num_link {
	float: left;
	padding: 0 5px;
	color: #fff;
	font-weight: 600;
}

.site-block {
	width: 100%;
	text-align: center;
	position: relative;
    right: 10px;
}

.name-site {
	text-decoration: none;
	color: #fff;
	font-weight: 600;
}

.card-block img {
	max-width: 100%;
    height: auto;
    width: auto;
}

.site-info {
	margin: 25px 20px;
}

h3 {
	font-size: 1.6rem;
	color: #302f30;

}

.site-info p {
	line-height: 1.5;
	margin-top: 3px;
	margin-bottom: 10px;
	color: #111;
}

.site-footer {
	background: #2C4971;
	padding: 20px;
}

.site-footer p {
	text-align: center;
	color: #fff;
	font-size: 0.95em;
}	

.site-footer a {
	text-decoration: none;
	color: #fff;
	font-size: 0.95em;
}

@media (max-width: 1070px) { 
	.block-info {
		margin: 15px;
	}
}	

@media (max-width: 768px) { 
	.site-header {
		margin: 0 auto;
    	display: flex;
    	justify-content: center;
	}
	.site-header img {
    	margin: 15px 0;
    	padding: 0 25px;
	}
	.row {
		flex-flow: wrap;
		justify-content: center;
	}
	.card-item {
		margin: 5px;
	    width: 47%;
	}
}

@media (max-width: 425px) { 
	.row {
		flex-flow: wrap;
	}
	.card-item {
		margin: 5px;
	    width: 100%;
	}
}

