/* *{} универсальный селектор для всех тегов*/
*{
    box-sizing: border-box;
}

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;
}
/* Grid (сетка)*/
.container{
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/*.row{ }*/

.row:after{
    clear: both;
    content: "";
    display: table;
}

.col-4{
    width: 360px;
    margin-right: 30px;
    float: left;
}

.col-4:last-child{
    /*Последний дочерний элемент в родительском блоке*/
    margin-right: 0px; 
}

.col-4:hover{ background-color: #f7f7f7;}
/* //Grid (сетка)*/


.col-4-footer{
    width: 360px;
    margin-right: 30px;
    float: left;
}

.col-4-footer:last-child{
    /*Последний дочерний элемент в родительском блоке*/
    margin-right: 0px; 
}


/* Секция Шапка сайта . . . . . . . . . . . .  */

.header{
    background: #343c4e; /*фон, если картинка не загрузится*/
    background-image: url("../img/bg/bg3.jpg"); /*rfhnbyrf*/
    background-repeat: no-repeat; /*чтобы картинка не повторялась*/
    background-position: center; /*положение картинки - центр*/
    background-size: cover; /*пропорционально растягивать и заполнять блок*/
    height: 100vh; /*vh = удиница высоты окна браузера*/
    min-height: 400px;
    
    color: #fff;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header_title{
    font-size: 56px;
    line-height: 62px; /**/
    margin-bottom: 30px;
    font-family: 'Merriweather', serif;
    margin-top: -50px;
    
    position: relative;
}

.header_tagline{
    font-size: 25px;
    line-height: 42px;
}

.header_arrow{
    font-size: 48px;
    width: 60px;
    height: 50px;
    margin-left: -30px;
    
    position: absolute;
    bottom: 50px;
    left: 50%;
}


.header_arrow a{
    color: #fff;
    text-decoration: none;
    transition: 0.2s ease-out;
}

.header_arrow a:hover{
    color: #343c4e;
}

.header_arrow a i:hover{
    border-radius: 50%;
    border-style: solid;
    border-color: #fff;
    border-width: 2px;
    background: #fff;
}


/* //Секция Шапка сайта . . . . . . . . . . . .  */

/* Секция Портфолио . . . . . . . . . . . . . . . . . . */

/*.portfolio{  } */

.portfolio{
    padding-top: 70px;
    padding-bottom: 100px;
}

.portfolio-item{
    margin-bottom: 20px;
}

.portfolio-item a{
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #fff; 
}
.portfolio-item a:hover{
    color: #0052c2;
    border-color: rgba(0,82,194,0.3);
}

.title{
    font-size: 46px;
    margin-bottom: 60px;
    font-family: 'Merriweather', serif;
    text-align: center;
}

.portfolio-item_img{
    margin-bottom: 17px;
    /* NEW 
    position: relative;*/
}


/* селектор для выбора всех изображений в контейнера */
.portfolio-item_img img{
    max-width: 100%;
    height: auto;
    
}

.portfolio-item_title{
    font-size: 24px;
    line-height: normal;
    margin-bottom: 5px;
}

.portfolio-item_text{
    font-size: 16px;
    line-height: 1.5;
}

.portfolio-item_text p{
    margin-top: 0px;
    margin-bottom: 15px;
}
/* //Секция Портфолио . . . . . . . . . . . . . . . . . . */


/*  Single Page -- Одиночная Страница  ************************************ */
.portfolio-single-page{
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

.portfolio-single-page img{
    margin-bottom: 50px;
    max-width: 100%;
    height: auto;
   /* display: block; */
}

.button-back{
    font-weight: 700;
    text-decoration: none;
    color: #0052c2;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 23px;
    padding-right: 23px;
  
    
    display: inline-block;
    border-width: 2px;
    border-color: #0052c2;
    border-style: solid;
    border-radius: 50px;
    
    margin-bottom: 13px;
    
    transition: 0.2s ease-out;
}

.button-back:hover{
    color: #fff;
    border-color: #0052c2;
    background-color: #0052c2;
}
/* //Single Page -- Одиночная Страница ************************************ */

/* Секция Подвал Footer . . . . . . . . . . . . . . . . . . */
.footer{
    background-color: #061634;
    color: #6479a2;
    padding-top: 90px;
    padding-bottom: 190px;
}

.footer p{
    margin-top: 0px;
    margin-bottom: 15px;
}

p.footer_name{
    font-size: 28px;
    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;
    transition: 0.2s ease-out;
    
}

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;
    
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 23px;
    padding-right: 23px;
  
    
    display: inline-block;
    border-width: 2px;
    border-color: #fff;
    border-style: solid;
    border-radius: 50px;
    
    margin-bottom: 13px;
    
    transition: 0.2s ease-out;
}

.button:hover{
    color: #061634;
    border-color: #fff;
    background-color: #fff;
}




.btnTurbo{
    padding: 0.5em 1.5em; /* Поля по вертикали и горизонтали */
    background-color: transparent; /* Прозрачный цвет фона */
    font-size: 0.9em; /* Размер текста */
    text-transform: uppercase; /* Все буквы заглавные */
    color: #616161; /* Серый цвет текста */
    border: 2px solid #616161; /* Параметры рамки */
    margin-bottom: 1rem; /* Отступ снизу */
    border-radius: 5em; /* Чтобы кнотка была закруглённой */

}

.btnTurbo.Red{
    border-color: #f44236; 
    color: #f44236;
}

.btnTurbo.Blue{
    border-color: #3f51b5; 
    color: #3f51b5;
}
.btnTurbo.Green{
    border-color: #4cb050; 
    color: #4cb050;
}

.btnTurbo:hover{
    border-color: #ffe400;
    color:#f7f7f7;
}

.JustHostPIX{
    width: 160px; 
    height: auto; 
    padding: 10px;
}

/* //Секция Подвал Footer . . . . . . . . . . . . . . . . . . */






/* MEDIA ... . . . . . . . . . . . . . . . . . . . . . . . . . */
/* медия запросы - специальное условие, которое понимает браузер.
Если это условие выполняется, тогда будут дабавлены новые правила
CSS стилей. Например, если размер экрана меньше задуманного, тогда
будут подключены дополнительные стили и/или переопределены имеющиеся.
Бедет перев1рстана страница.
*/

/*При ширине экрана в 1160px и менее - будет выполнен мелия запрос*/
@media (max-width: 1160px){
    .container{
        width: 100%;
    }
    .col-4{
        width: 100%;
        /* реальная ширина = width: 100% + border = 0 + padding 15+15*/

        box-sizing: border-box;
        
        margin:  0px;
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    .header{
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header_title{
        font-size: 38px;
        line-height: 48px;
        margin-bottom: 15px;
    }
    
    .header_tagline{
        font-size: 22px;
        line-height: 38px;
    }
    
    .portfolio{
        padding-top: 40px;
        padding-bottom: 50px;
    }
    
    .title{
        font-size: 36px;
    }
    
    .footer{
        padding-top: 70px;
        padding-bottom: 60px;
    }
    
    .header_arrow{
        bottom: 15px;
    }
}

/* //MEDIA.. . . . . . . . . . . . . . . . . . . . . . . . . . */


/*

    font-family: 'Merriweather', serif;

    font-family: 'PT Sans Caption', sans-serif;

*/


