@font-face{
    font-family: "Austin Cyr Roman";
    src: url(../AustinCyr/AustinCyr-Roman.otf);
}
@font-face{
    font-family: "Austin Cyr Medium";
    src: url(../AustinCyr/AustinCyr-Medium.otf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Austin Cyr Roman";
    color: #294251;
}
a{
    text-decoration: none;
    display: block;
    cursor: pointer;
}
a:hover{
    font-weight: 600;
    text-decoration: none;
}
.wrapper{
    max-width: 1366px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}
section{
    overflow: hidden;
}
.mobile{
    display: none;
}
body{
    position: relative;
}
header{
    padding-top: 45px;
    position: absolute;
    left: 0;
    right: 0;
}
    .logo{
        display: block;
        margin: auto;
    }
article{
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.first-article{
    background-color: #fefaf7;
}   
    .first-article img{
        margin-left: auto;
    }
    .fixed-text{
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 497px;
        height: 100vh;
        text-align: center;
        margin-left: 20vw;
    }
        .fixed-text span{
            width: 438px;
        }
        h1{
            font-family: "Austin Cyr Medium";
            font-size: 52px;
            text-transform: uppercase;
        }
        hr{
            width: 300px;
            height: 1px;
            border: 0px;
            background-color: #e98823;
            margin: 25px 0;
        }
    .first-article span{
        font-size: 18px;
        color: #294251;
    }
/*second article*/
.second-article{
    position: relative;
    padding: 0 100px;
    z-index: 1;
    overflow: initial;
}
    .second-wrapper{
        max-width: 1366px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
        width: 100%;
    }
        .second-article ul{
            padding-left: 70px;
        }
        .second-article .mask{
            position: absolute;
            right: 0;
            top: 0;
            left: 0;
            bottom: 49px;
            width: 100%;    
            background-color: #fefaf7;
            z-index: -1;
        }
/*carousel*/
.carousel{
    box-shadow: 0px 0px 49.8px 10.2px rgba(0, 0, 0, 0.25);
    max-width: 756px;
}
    .carousel img{
        width: 100%;
        height: auto;
    }
.carousel-fade .carousel-item {
 opacity: 0;
 transition-duration: .6s;
 transition-property: opacity;
}

.carousel-fade  .carousel-item.active,
.carousel-fade  .carousel-item-next.carousel-item-left,
.carousel-fade  .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-right {
 opacity: 0;
}

.carousel-fade  .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-prev {
 transform: translateX(0);
 transform: translate3d(0, 0, 0);
}
.fixed{
    position: absolute;
    top: -300px;
    left: 0;
    z-index: 0;
}
    .second-article li{
        padding-bottom: 20px;
        font-size: 18px;
        list-style-type: none;
    }
    .second-article li::before{
        content: "•";
        color: #ea8924;
        margin-right: 10px;
    }
.third-article{
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    padding-bottom: 70px;
    padding: 0 5%;
    margin: auto;
    padding-top: 90px;
    padding-bottom: 120px;
}
.third-article span.mask{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;    
    margin-top: 50px;
    background-color: #fefaf7;
}
    .third-article img{
        position: absolute;
        left: 0;
        width: 50%;
        margin-top: 50px;
        bottom: 0;
        z-index: 2
    }
    .third-article h1{
        text-transform: initial;    
        padding-bottom: 30px;
    }
    .third-article span{
        width: 100%;
        font-size: 18px;
        padding: 30px 0;
        display: block;
        line-height: 24px;
    }
    .contacts{
        padding-top: 50px;
        display: flex;
    }
        .contacts span{
            display: block;
            padding: 30px 0 10px;
        }
    .contacts div:first-of-type{
        margin-right: 30px;
    }
        .contacts p{
            color: #e77b0c;
            font-size: 18px;
        }
        .container{
            position: relative;
            width: 28%;
            z-index: 2;

        }
    /*map*/
    .map.container{
        box-shadow: 0px 0px 49.8px 10.2px rgba(0, 0, 0, 0.25);
        z-index: 3;
        padding: 0;
    }
    .map.container iframe{
        width: 100%;
        height: 630px;
    }
    /*contacts*/
    .form{
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin-top: 60px;
        background-color: transparent;
    }
        .form input, .form textarea{
            padding: 15px;
            margin-bottom: 10px;
            border: 1px solid #e77b0c;
            font-size: 18px;
        }
        /*.form div{
            padding-top: 60px;
        }*/
            .form div input{
                width: 100%;
            }
            textarea{
                resize: none;
                height: 100px;
                width: 100%;
            }
            .send-btn{
                background-color: #e77b0c;
                color: #fff;
                text-transform: uppercase;
                text-align: center;
                padding: 10px 15px;
                margin-top: 20px;
                cursor: pointer;
            }
    /*footer*/
    .footer{
        position: absolute;
        bottom: 0;
        z-index: 1;
        right: 0;
        left: 0;
        padding: 15px 9vw 40px 0;
        font-size: 10px;
        text-align: right;
        background-color: #fff;
    }
        .footer a{
            text-decoration: none;
            color: #294251;
            font-size: 14px;
        }

@media screen and (max-width: 1280px){
    h1{
        font-size: 40px;
    }
    .container{
        width: 31%;
    }
}
@media screen and (max-width: 1000px) {
    .dekstop{
        display: none;
    }
    .mobile{
        display: inline-block;
    }
    /*first article*/
    .first-article{
        flex-direction: column;
    }
        .fixed-text{
           position: absolute;
            height: 100vh;
            width: 100vw;
            margin-left: 0;
            left: 0;
            right: 0;
            padding: 0 23vw;
        }
            .fixed-text span{
                width: auto;
            }
            .first-article img{
                width: auto;
                height: 100vh;
                margin-left: auto;
            }
    /*second article*/
    .second-article{
        position: relative;
        flex-direction: column;
    }
        .carousel{
            width: 90vw;
            height: initial;
            margin-bottom: 40px;
        }
        .top-img{
            width: 100%;
        }
        .second-article .mask{
            bottom: 10px;
        }
        .second-article ul{
            padding-left: 0;
        }
    /*third article*/
    .third-article, .second-wrapper{
        flex-direction: column;
    }
        .container{
            width: 100%;
            text-align: center;
            padding-bottom: 30px;
        }
            .third-article span{
                padding: 0;
            }
            .wrapper{
                flex-direction: column;
            }
    /*contacts*/
    .contacts{
        align-items: center;
        justify-content: center;
    }
        .map.container{
            width: 100%;
            padding-bottom: 0;
        }
        /*form*/
        .form.container{
            width: 100%;
            z-index: 2;
            max-width: 500px;
        }
            .third-article h1{
                text-align: center;
            }
    
}

@media screen and (max-width: 600px) {
    /*top section*/
    .first-article img.mobile{
        margin: auto;
        display: block;
        margin-left: -40vw;
    }
    .second-article{
        padding: 0 20px;
    }   
    .fixed-text {
        width: 96vw;
        padding: 0 7vw;
    }
    .fixed-text div{
        width: 90vw;
    }
    h1{
        font-size: 25px;
    }
    .third-article img{
        width: 100%;
    }
    .footer{
        text-align: center;
        padding: 15px 20px 40px;
        font-size: 13px;
    }
}