body {
    margin: 0;
    
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6c7279;
    -webkit-font-smoothing:
    antialiased; 
    
    background-color: #fff;
}


*,
*:before,
*:after {
    box-sizing: border-box;
    
}

h1, h2, h3, h4, h5, h6{
    margin: 0;
}

p {
    margin: 0 0 10px 0;
}


/*Container
====================*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}




/*header
====================*/
.header {
    width: 100%;
    height: 100px;
    
    
   position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
   /*padding: 35px 0;*/
    
    border-bottom: 1px solid #515369;
}



/*Nav
====================*/


.nav {
    display: flex;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.header_logo {
     text-transform: uppercase;
     font-size: 17px;
     color: aliceblue;
}



.nav__link {
    margin-left: 50px;
    color: #fff;
    text-decoration: none;
    opacity: .75;
    
    transition: opacity .1s linear;
    
}

.nav__link:first-child {
    margin-left: 0;
}

.nav__link:hover {
     opacity: 1;

}





/*intro
====================*/
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 650px;
    padding-top: 100px;

    background: url("img/intro.jpg") center no-repeat;
}


.intro__inner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    
    text-align: center;
}




.intro__title {
    margin: 0 0 15px;
    
    font-size: 35px;
    line-height: 1.1;
    color: #8B0000;
    font-weight: 700;
    text-transform: uppercase;
    
}


.intro__subtitle {
    margin-bottom: 45px;
    font-size: 22px;
    color: #fff;
    line-height: 24px;
    font-weight: 400;
}




/*Button    
====================*/

.btn {
    display: inline-block;
    vertical-align: top;
    padding: 14px 40px;
    
    border-radius: 3px;
    border: 0;
    cursor: pointer;

    font-family: inherit;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    
    
    transition: background .1s
    linear;
    
}

 
.btn--red {
    background-color: #FF0000; 
}

.btn--red:hover {
    background-color: #FA8072;
    
}
     

/*Works */
.works {
    display: flex;
    flex-wrap: wrap;
}

.works__item {
    width: 25%;
    height: 350px;
    
    border-bottom: 1px solid #fff; 
    border-right: 1px solid #fff; 
    
    position: relative;
    overflow: hidden;
}

.works__item:hover .works__content {
    opacity: 1;
}




.works__photo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    
   transform: translate3d(-50%, -50%, 0);
}


.works__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    width: 100%;
    height: 100%;
    
    background-color: rgba(232, 69, 69, .9);
    opacity: 0;
    
    text-align: center;
    
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    
    transform: opacity .2s linear;
}



.works__title {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}


.works__text {
font-size: 14px;
color: #fff;

}






/*Team */
.team {
    margin: 100px 0 70px;
    
}

.team__inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.team__item {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
}


.team__photo {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


.team__name {
    margin-bottom: 8px;
    
    font-size: 22px;
    color: #2d3033;
}

.team__prof {
    margin-bottom: 15px;
    
    font-size: 13px;
    color: #e84545;
    text-transform: uppercase;
}


.team__text {
    font-size: 14px;
    line-height: 1.5;
    color: #6c7279;
}



/*footer
====================*/
.footer {
padding: 70px;
    background-color: #3a3e64;
}


.footer__inner {
    display: flex;
    flex-wrap: wrap;
}


.footer__block {
    width: 33.3333%;
    
    text-align: center;
    
}

.footer__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}


.footer__address {
    font-size: 14px;
    line-height: 1.5;
    font-style: normal;
    color: rgba(255, 255, 255, .5);
}

.footer__text {
     font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .5);
}






/*social
====================*/
.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 4px;
    
    background-color: #fff;
    border: 1px solid #e8ecee;
    
    transform: background .1s 
    linear;
}

.social_item:hover {
    background-color: #e8ecee;
}

.social__item:hover .social__icon {
    fill: #000;
}

.social--footer .social_item {
    background-color: transparent;
    border-width: 2px;
    border-color: #fff;
    border-radius: 2px;
}



.social--footer .social_item:hover {
    background-color: #000;
}



.social__icon {
    display: block;
    height: 18px; 
    
    fill: #c6cacc;
    
    transition: fill .1s linear;
}


.social--footer .social__icon {
    fill: #fff;
}









