html, body {
    font-family: 'PT Sans Caption', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-width: 280px;
}

img {
    display: inline-block;
}

a {
    transition: 0.2s ease-out;
}

* {
    box-sizing: border-box;
}


/* ........................................

	GRID

........................................ */
.container {
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.row:after {
    clear: both;
    content: "";
    display: table;
}

.col-4 {
    width: 360px;
    margin-right: 30px;
    float: left;
}

.col-4:last-child {
    margin-right: 0px;
}


/* ........................................

	HEADER

........................................ */

.header {
    background-image: url("../img/bg/bg2.png");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
    height: 100vh;
    min-height: 400px;
    
    color: #FFF;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    position: relative;
    overflow: hidden;
}

.header__title {
    font-size: 96px;
    margin-bottom: 30px;
    /*font-family: 'Merriweather', serif;*/
    font-family: 'Playfair Display', serif;
    margin-top: -50px;
    letter-spacing: .2em;
}

.header__slogan {
    font-size: 36px;
    line-height: 62px;
    margin-bottom: 30px;
}

#ex1 {
    background-color: #779cb5;
    color: #FFFFFF;
    opacity: .8;
}

.modal__title {
    font-size: 36px;
}

.form-group {
    padding-bottom: 30px;
}

.modal__text {
    font-size: 18px;
    margin-top: -30px;
}

.modal__label {
    font-weight: bold;
    font-size: 22px;
}

.form-control {
    padding: 10px;
    min-width: 440px;
}

.header__arrow {
   font-size: 48px;
    width: 60px;
    height: 50px;
    margin-left: -30px;
    position: absolute;
    bottom: 50px;
    left: 50%;
}



/* ........................................

	PORTFOLIO

........................................ */
.portfolio {
    padding-top: 70px;
    padding-bottom: 100px;
}

.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;
}

.portfolio-item__img:hover {
    box-shadow: 0 0 10px #06030b;
}

.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 #FFF;
}

.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;
}


/* ........................................

	PORTFOLIO SINGLE PAGE

........................................ */
.portfolio-sigle-page {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

.portfolio-sigle-page img {
    margin-bottom: 50px;
    max-width: 100%;
    height: auto;
}

.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;
    
    margin-bottom: 13px;
    
    transition: 0.2s ease-out;
       
}


.button-back:hover {
    color: #FFF;
    background-color: #0052C2;
    
}

.comments-wrapper {
    margin-top: 100px;
    /*margin-bottom: 100px;*/
}

/* ........................................

	FOOTER

........................................ */
.footer {
    background-color: #779cb5;
    padding-top: 90px;
    padding-bottom: 90px;
}

.footer p {
    margin-top: 0px;
    margin-bottom: 15px;
}

.footer a {
    color: #FFFFFF;
}

p.footer__name {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: normal;
    /*font-family: 'Merriweather', serif;*/
    font-family: 'Playfair Display', 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;
}


/* CONTACT FORM */

.contact_form {
	max-width: 600px;
	height: auto;
	margin: 50px auto 50px;
}

.contact_form--modal {
	margin: 0 auto 0;
}

.contact_form h2 {
	font-size: 28px;
	margin: 0;
}

.contact_form .subtitle {
	font-size: 18px;
	margin-bottom: 15px;
}

.contact_form label {
	width: 100%;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 18px;
	display: inline-block;
}

.contact_form input[type="text"] {
	width: 100%;
	margin-bottom: 25px;
	padding: 4px;
	font-size: 18px;
}

.contact_form textarea {
	width: 100%;
	height: 120px;
	margin-bottom: 25px;
	padding: 4px;
	font-size: 18px;
}

.contact_form input[type="submit"] {
	width: 100%;
	text-align: center;
	padding: 10px;
	font-size: 18px;
	font-weight: bold;
    background-color: #779cb5;
}

.contact_form input[type="submit"]:hover {
    background-color: #FFFFFF;
}

.button {
    font-weight: 700;
    text-decoration: none;
    color: White;
    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;

}

.modal__button {
    margin-top: 20px;
}


/* THANKYOU PAGE */

.thankyou {
	text-align: center;
	font-size: 18px;
}

.thankyou h1 {
	color: #779cb5;
	font-size: 28px;
}

.thankyou p {
	font-size: 18px;
}




/* ........................................

	MEDIA

........................................ */
/* При ширине экрана в 1160px и менее - будет выполнен медиа запрос */
@media screen and (max-width: 1160px) {
    
    .container {
        width: 100%;
    }
    
    .col-4 {
        width: 100%;   
        margin: 0;
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        
    }
    
    .header {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header__title {
        font-size: 60px;
        line-height: 70px;
        margin-bottom: 18px;
    }
    
    .header__slogan {
        font-size: 28px;
        line-height: 36px;
    }
    
    .portfolio {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .footer {
        padding-top: 70px;
        padding-bottom: 60px;
    }
    
}


/* При ширине экрана в 768px и менее - будет выполнен медиа запрос */
@media screen and (max-width: 768px) {
    .header__title {
        font-size: 46px;
        line-height: 56px;
        margin-bottom: 15px;
    }

    .header__slogan {
        font-size: 22px;
        line-height: 38px;
    }
}











