html, body {
	font-family: 'PT Sans Caption', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	min-width: 280px;
	margin: 0;
	padding: 0;
}
.img {
    display: inline-block;
}
a {
	transition: 0.2s ease-out;
}
*{
	box-sizing: border-box;
}
/* ..............................
GRID
................................ */
.container {
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
section.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
section.row:after {
    clear: both;
}
.col-4 {
    max-width: 360px;
    display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}
.col-1 {
    max-width: 100%;
    display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}
.col-2 {
	max-width: 360px;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
}
/*..............................
HEADER
................................*/
.header {
	background-color: #000000;
	background-image: url("../img/bg/tri.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	height: 100vh;
	min-height: 400px;
	color: #FFF;
	text-align: center; 
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
.header:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.3);
	z-index: 1;
}
.header__title {
	font-size: 56px;
	line-height: 62px;
	margin-bottom: 30px;
	font-family: 'Merriweather', serif;
	position: relative;
  	z-index: 2;
}
.header__slogan {
	font-size: 28px;
	line-height: 30px;
	margin-bottom: 20px;
	z-index: 2;	
}
.header__arrow {
	font-size: 88px;
	width: 60px;
	height: 58px;
	margin-left: -30px;
	position: absolute;
	bottom: 50px;
	left: 50%;
	color: #fff;
	z-index: 2;
}
.header__arrow:hover {
	color: #0052C2;
}
.nav {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
	justify-content: center;
	z-index: 3;

}
#main-menu a {
    list-style-type: none;
    margin: 0;
	padding: 5px 10px;
	color: #fff;
    text-decoration: none;
    font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
#main-menu li { 
	display: inline; 
}
#main-menu a:hover {
	border-radius: 20px 5px;
	background-color: #0066FF;
	color: #fff;
}
/* ..............................
PORTFOLIO
................................ */
.portfolio {
    padding-top: 30px;
    padding-bottom: 30px;
}
.portfolio-item {
    margin-bottom: 20px;
}
.title {
    font-size: 46px;
    margin-bottom: 60px;
    font-family: 'Merriweather', serif;
    text-align: center;
}
.portfolio-item__img {
    margin-bottom: 17px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}
.portfolio-item__img img {
	max-width: 100%;
	height: auto;
}
.portfolio-item__title {
    font-size: 24px;
    line-height: normal;
    margin-bottom: 5px;
}
.portfolio-item__title a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #000;
}
.portfolio-item__title a:hover {
    color: #0052C2;
    border-color: rgba(0,82,194, 0.3)
}
.portfolio-item__text p {
    margin-top: 0px;
    margin-bottom: 15px;
}
/* ..............................
PAY
................................ */
.pay-title {
    font-size: 36px;
    font-family: 'Merriweather', serif;
	text-align: center;
	position: relative;
}
.pay__text {
	font-size: 20px;
    margin-top: 0px;
    margin-bottom: 15px;
	text-align: center;
	color: #868686;
}
.button-row {
	width: 300px;
	background-image: url("../img/bg/visa.png");
	background-repeat: no-repeat;
	height: 120px;
	display: flex;
	padding-top: 80px;
	padding-left: 60px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}
.button-row1 {
	width: 300px;
	background-image: url("../img/bg/kosh.png");
	background-repeat: no-repeat;
	height: 120px;
	display: flex;
	padding-top: 80px;
	padding-left: 60px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}
.header-pay {
	background: #423405;
	background-image: url("../img/bg/two.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	height: 100vh;
	min-height: 400px;
	color: #FFFAFA;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}
/* ..............................
PORTFOLIO SINGLE PAGE
................................ */
.portfolio-single-page {
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
}
.portfolio-single-page-text {
	text-align: left;
	padding-bottom: 10px;
}
.portfolio-single-page img {
	margin-bottom: 50px;
	max-width: 100%;
	height: auto;
	box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Параметры тени */
}
.column {
	-webkit-columns: 200px 3;
	-moz-columns: 200px 3;
	columns: 200px 3;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	column-gap: 30px;
	-webkit-column-rule: 1px solid #ccc;
	-moz-column-rule: 1px solid #ccc;
	column-rule: 1px solid #ccc;
	text-align: left;
	padding-bottom: 30px;
}
.column a{
	text-decoration: none;
}
.column a:hover{
	text-decoration: underline;
}
.button-back {
	font-weight: 700;
	text-decoration: none;
	color: #0052C2;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	display: inline-block;
	border-width: 2px;
	border-color: #0052C2;
	border-style: solid;
	border-radius: 50px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 23px;
	padding-right: 23px;
	background-color: #fff;
	margin-bottom: 13px;
	transition: 0.2s ease-out;
}
.button-back:hover {
	color: #fff;
	background-color: #0052C2;
}
/*..............................
FOOTER
................................*/
.footer{
	background-color: #061634;
	color: #6479a2;
	padding-top: 90px;
	padding-bottom: 90px;
	text-align: center;
}
.footer p {
	margin-top: 0px;
	margin-bottom: 15px;
}
p.footer__name {
	font-size: 24px;
	margin-bottom: 10px;
	line-height: normal;
	font-family: 'Merriweather', serif;
}
p.footer__social {
	color: #FFF;
}
p.footer__social-icons {
	color: #FFF;
	font-size: 32px;
}
p.footer__social-icons a {
	color: #FFF;
	text-decoration: none;
	margin-right: 30px;
}
p.footer__social-icons a:last-child {
	margin-right: 0px;
}
p.footer__social-icons a:hover {
	color: #FFE400;
}
.button {
	font-weight: 700;
	text-decoration: none;
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	display: inline-block;
	border-width: 2px;
	border-color: #FFF;
	border-style: solid;
	border-radius: 50px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 23px;
	padding-right: 23px;
	margin-bottom: 13px;
	transition: 0.2s ease-out;
}
.button:hover {
	color: #061634;
	background-color: #FFF;
}

/*..............................
MEDIA
................................*/
/* При ширине экрана 1160px и менее будет выполнен медиа запрос */
@media (max-width: 1160px) {
	.container {
		width: 100%;
	}
	.col-4 {
		width: 100%; 
		margin: 0;
		margin-bottom: 30px;
		padding-left: 15px;
		padding-right: 15px;
		text-align: center;
	}
	.col-1 {
		width: 100%; 
		margin: 0;
		margin-bottom: 30px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.header {
		padding-left: 15px;
		padding-right: 15px;
	}
	.header__title {
		font-size: 38px;
		line-height: 48px;
		margin-bottom: 15px;
	}
	.header__slogan {
		font-size: 22px;
		line-height: 38px;
	}
	.portfolio {
		padding-top: 48px;
		padding-bottom: 50px;
	}
	.title {
		font-size: 36px;
	}
	.footer {
		padding-top: 70px;
		padding-bottom: 60px;
	}
	.pay-title {
    font-size: 26px;
	}
	.pay__text {
	font-size: 18px;
	}
	.portfolio-single-page-text {
		padding-left: 15px;
		padding-right: 15px;
	}
	.portfolio-single-page {
		padding-top: 15px;
		padding-bottom: 15px;
	}
}
