
/* Intro styles start */

.intro{
    min-height: 100vh;
    background: url(../img/intro-bg.png) no-repeat center;
    background-size: cover;
    padding-top: 300px;
    margin-bottom: 100px;
}

.intro__title{
    color: #FFF;
    text-align: center;
    font-family: 'Cera Pro';
    font-weight: bold;
    font-size: 64px;
}

.intro__subtitle{
    color: #FFF;
    text-align: center;
    font-family: 'Cera Pro';
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 260px;
}

.button{
    margin: 0 auto;
    display: block;
    padding: 16px 36px;
    text-transform: uppercase;
    text-align: center;
    border: 0;
}

.button:hover, .button:focus, .button:active{
    opacity: .75;
}

/* Intro styles end */

/* Info styles start */

.info{
    margin-bottom: 100px;
}
.info__info{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 10%;
    align-items: center;
}

.info__pic {
    position: relative;
    overflow:hidden;
    width:auto;
    max-height:550px;
 }
 
 .info__thumb {
    top:50%;
    left:50%;
    transform:translate(-30%, 0%);
    width:auto;
    height:100%;
    object-fit:cover;
 }


.info__title{
    font-family: 'Cera Pro';
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 40px;
}
.info__desc{
    margin-bottom: 40px;
}
.info__more{
    color: #1E0B05;
}
.info__more:hover, .info__more:focus, .info__more:active{
    opacity: .75;
}
/* Info styles end */

/* Contact styles start */

.contact{
    background: url(../img/bg.png) no-repeat center;
    background-size: cover;
    padding-top: 100px;
}
.contact__info{
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0 10%;
    align-items: center;
}
.contact__item{
    margin-bottom: 40px;
}
.contact__item:last-child{
    margin-bottom: 0;
}
.contact__link1{
    background: transparent url(../img/svg/map.svg) no-repeat left 6px;
    background-size: 20px;
    border: 0;
    padding-left: 30px;
    padding-top: 10px;
    color: #1E0B05;
    text-decoration: none;
}
.contact__link2{
    background: transparent url(../img/svg/call.svg) no-repeat left 6px;
    background-size: 20px;
    border: 0;
    padding-left: 30px;
    padding-top: 10px;
    color: #1E0B05;
    text-decoration: none;
}
.contact__link3{
    background: transparent url(../img/svg/vk.svg) no-repeat left 6px;
    background-size: 20px;
    border: 0;
    padding-left: 30px;
    padding-top: 10px;
    color: #1E0B05;
    text-decoration: none;
}
.map{
    height: 547px;
}
.map iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
/* Contact styles end */

/*Media start*/

@media screen and (max-height: 900px){
    .intro__subtitle{
        margin-bottom: 130px;
    }
    .intro{
        margin-bottom: 70px;
    }
    .info{
        margin-bottom: 70px;
    }
    .contact{
        padding-top: 70px;
    }
    .contact__info{
        margin-bottom: 70px;
    }
}

@media screen and (max-height: 750px){
    .intro{
        padding-top: 200px;
        margin-bottom: 50px;
    }
    .info{
        margin-bottom: 50px;
    }
    .contact{
        padding-top: 50px;
    }
    .contact__info{
        margin-bottom: 50px;
    }
}

@media screen and (max-height: 600px){
    .intro{
        padding-top: 170px;
        margin-bottom: 30px;
    }
    .info{
        margin-bottom: 30px;
    }
    .info__pic{
        height: 450px;
    }
    .info__title{
        margin-bottom: 15px;
    }
    .info__desc{
        margin-bottom: 15px;
    }
    .contact{
        padding-top: 30px;
    }
    .contact__info{
        margin-bottom: 30px;
    }
    .contact__item{
        margin-bottom: 15px;
    }
    .contact__item:last-child{
        margin-bottom: 0;
    }
    .map{
        height: 450px;
    }
}

@media screen and (max-width: 1024px) {
    .intro{
        margin-bottom: 50px;
    }
    .intro__title{
        font-size: 62px;
    }
    .intro__subtitle{
        font-size: 30px;
    }
    .info{
        margin-bottom: 50px;
    }
    .info__pic{
        height: 500px;
    }
    .info__title{
        font-size: 26px;
    }
    .contact{
        padding-top: 50px;
    }
    .map{
        height: 500px;
    }
    .contact__info{
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 800px) {
    .intro__title{
        font-size: 60px;
    }
    .intro__subtitle{
        font-size: 28px;
    }
    .info__pic{
        height: 400px;
    }
    .info__title{
        font-size: 24px;
        margin-bottom: 25px;
    }
    .info__desc{
        margin-bottom: 25px;
    }
    .contact__text{
        margin-bottom: 25px;
    }
    .contact__item{
        margin-bottom: 25px;
    }
    .contact__item:last-child{
        margin-bottom: 0;
    }
    .map{
        height: 400px;
    }
}

@media screen and (max-width: 650px) {
    .intro{
        margin-bottom: 25px;
    }
    .info{
        margin-bottom: 25px;
    }
    .info__info{
        display: block;
    }
    .info__pic{
        margin-bottom: 25px;
    }
    .info__thumb{
        width: 100%;
        transform:translate(0%, 0%);
    }
    .contact{
        padding-top: 25px;
    }
    .contact__info{
        margin-bottom: 25px;
    }
    .map, .contact__text{
        grid-column: span 2;
        margin-left: auto;
        margin-right: auto;
    }
    .map{
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .intro__title{
        font-size: 58px;
    }
    .intro__subtitle{
        font-size: 26px;
    }
    .info__title{
        font-size: 22px;
    }
}

@media screen and (max-width: 400px) {
    .intro__title{
        font-size: 56px;
    }
    .intro__subtitle{
        font-size: 24px;
    }
    .info__title{
        font-size: 20px;
    }
    .contact__link1,  .contact__link2,  .contact__link3{
        padding-top: 13px;
    }
}

@media screen and (max-width: 300px) {
    .intro__title{
        font-size: 52px;
    }
    .intro__subtitle{
        font-size: 20px;
    }
    .info__title{
        font-size: 16px;
    }
    .info__pic{
        height: 250px;
    }
    .map{
        height: 250px;
    }
}
/*Media end*/
