body,html{
    margin: 0;
     font-family: "Open Sans", sans-serif;
    scroll-behavior: smooth;
    
}
.container{
    margin: 0px 120px;
}
.header{
    background-image: url(img/top-bg.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    
}
.header-line{
    padding-top: 50px;
    display: flex;
    align-items: center;
    
}
.header-logo{
    font-size:40px;
    font-weight: 600;
}
.header-title{
    margin-left: 40px;
}
.header-text{
    color: orange;
    text-decoration: none;
    
    
}
.nav{
    margin-left: 20px;
}
.nav-item{
    color: white;
    text-decoration: none;
    font-size: 14px;
    
    margin-right: 25px;
    
    transition: color 0.4s linear;
}
.nav-item:hover{
    color: red;
}
.num{
    color: white;
    text-decoration: none;
    font-weight: 700;
    
    transition: color 0.4s linear;
}
.num:hover{
    color: red;
}
.phone-text{
    font-size: 14px;
    font-weight: 500;
    color: white;
    position: absolute;
    margin-top: 10px;
}
.phone-holder{
    display: flex;
    align-items: center;
}
.header-down{
    position: relative;
}
.header-title{
    font-family: "Tinos", serif;
    font-size: 50px;
    color: white;
    font-weight: 400;
    
    text-align: center;
    position: absolute;
    left: 0;
    
    margin-top: 222px;
    margin-bottom: 12px;
}
.menu{
    display: none;
}
.header-suptitle{
    font-size: 18px;
    font-family: "Open Sans", sans-serif;
}
.header-suptitle:after{
    position: absolute;
    content: "";
    height: 2px;
    width: 126px;
    background-color: white;
    top: 182px;
    left: 146px;
    
}
.header-suptitle:before{
    position: absolute;
    content: "";
    height: 2px;
    width: 126px;
    background-color: white;
    top: 182px;
    left: 407px;
    
}
.btn{
    font-size: 14px;
    font-weight: 700;
    
     
    font-family: "Open Sans", sans-serif;
    
    margin-top: 20px;
}
.button:hover{
    background-color: #FF7400;
    
}
.button{
    background-color: orange;
    color: white;
    text-decoration: none;
    padding:14px 28px;
    
    transition: color 0.3s linear;
}
.cards-holder{
    display: flex;
    justify-content: center;
}
.card{
    box-shadow: 10px 10px 40px 20px #0000001A;
    width: 349px;
    margin-right: 31px;
    background-color: #fff;
    margin-top: -80px;
    padding: 10px 10px;
}
.card-title{
    display: flex;
    justify-content: center;
    margin-top: 31px;
    padding-top: -80px;
    margin-bottom: 20px;
    
    font-family: "Tinos", serif;
    font-size: 26px;
    font-weight: 400;
}
.card-title span{
    color: #D67E35;
}
.card-desc{
    text-align: center;
    
    font-family: "Tinos", serif;
    font-size: 20px;
    font-weight: 100;
    
    color: #656363;
}
.history-title{
    box-shadow: 10px 10px 40px 20px #0000001A;
    width: 500px;
    background-color: #fff;
    margin-top: 166px;
    padding: 10px 10px;
    margin-left: 40px;
}
.history-desc{
    color:#656363;
    font-size: 16px;
    width: 400;
    text-align: center;
}
.history-number{
    justify-content: center;
    margin-left: 150px;
    margin-top: 40px;
    width: 444px;
    font-weight: 500;
    font-size: 20px;
}
.history-number span{
    color: #D67E35;
    display: block;
    margin-left: 90px;
}
.img-1{
    position: absolute;
    top:1069px;
    left: 1065px;
    z-index: 0;
}
.img-2{
    position: absolute;
    top:1349px;
    left: 1085px;
    z-index: 999;
}.img-3{
    position: absolute;
    top:1113px;
    left: 844px;
}
.map{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.burger{
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    height: 18px;
}

.burger span{
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #FAF6F2;
}

.burger::before, .burger::after{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #FAF6F2;
    transition: all 0.3s ease 0s;
}

.burger::before { top: 0 }

.burger::after { bottom: 0 }


/* Добавляем класс active для анимации иконки бургера */
.burger.active span { transform: scale(0) }

.burger.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}
.open{
    display: flex !important;
}
    
    
    
    


.footer{
    margin-top: 30px;
    background-color: black;
    padding: 20px 0px;
    color: black;
    text-align:center;
    
}
.blocks{
    list-style-type: none;
    
    
}
.blocks-title{
    text-decoration: none;
    color:white;
    line-height: 35px;
    font-size: 130%;
    transition: color 0.4s linear;
}
.blocks-title:hover{
    color: red;
    
}





@media(max-width:2560px) and (min-width:2560px){
    .history-holder{
        display: none;
    }
}

@media (max-width: 1185px) {

    .burger { display: flex }

    .nav{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 50px 40px;
        background-color: black;
        animation: burgerAnimation 0.4s;
    }

    .nav{
        flex-direction: column;
        row-gap: 30px;
    }
    .nav-item{
        font-size: 25px;
    }
}

@keyframes burgerAnimation {
    from {opacity: 0}
    to {opacity: 1}
}
@media(max-width:1440px){
    .header{
        min-height: 700px;
    }
}
@media(max-width:1024px) {
    .history-holder {
          display: none;
         }
         .cards-holder{
            display: grid;
         }
         .card{
            margin-top: 5vh;
         }
         .header-line{
            justify-content: space-between;
         }
    }
    @media(max-width:426px){
        .header{
        min-width: 1200px;
        min-height: 700px;
        }
        .footer{
            min-width: 1200px;
        }
        .main{
            min-width: 1200px;
        }
    }
        @media(max-width:320px){
            .footer{
            min-height: calc(100vh - 20px);
            }
        }
                @media only screen and (min-width: 390px) and (max-width:440px){
                    .header{
                        width: 720px;
                    }
                    .cards-holder{
                        display: block;
                    }
                    .map{
                        width: 720px;
                    }
                    .footer{
                        width: 720px;
                    }
                }