
@font-face {
    font-family: verit;
    src: url('./fonts/Verdana-Italic.ttf') format("truetype");
}
@font-face {
    font-family: elo;
    src: url('./fonts/ofont.ru_Elowen.ttf') format("truetype");
}


body, html {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 1657px;
    overflow: auto;
    position: relative;
    margin: 0;
    padding: 0 !important;
    box-sizing: content-box;
    font-family: verit;
    font-size: 16px;
    background-color: #ebd6c6;
    color: white;
}
.relative-box {
    position: relative;
    height: 650px;
}
.header-box {
    /*height: -webkit-fill-available;*/
    left: 0;
    top: 0;
    right: 0;
    /*position: fixed;*/
    -webkit-transform: translateZ(0);
    height: 560px;
}
.layouts-box {
    height: 110px;
    padding: 10px 20px;
    z-index: 100;
    box-sizing: border-box;
    position: relative;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-box-shadow: 0px 7px 24px -2px rgba(34, 60, 80, 0.92);
    -moz-box-shadow: 0px 7px 24px -2px rgba(34, 60, 80, 0.92);
    box-shadow: 0px 7px 24px -2px rgba(34, 60, 80, 0.62);
    background-color: black;

}

.decal-img {
    position: absolute;
    top: 0;
    opacity: 0.2;
    object-fit: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    width: 400px;
    background-image: url("./images/decal.svg");
    height: 110px;
}
.decal-img1 {
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0.2;
    object-fit: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    width: 50%;
    background-image: url("./images/decal1.svg");
    height: auto;
}
.contacts-info {
    text-align: end;
    width: auto;
    z-index: 2;
    font-family: verit;
}
.specialist-text {
    align-content: center;
    text-align: center;
    font-family: verit;
    line-height: 30px;
    margin: auto 0;
}
.life-begin {
    position: absolute;
    margin: 25px auto;
    width: 100%;
    top: 0;
    text-align: center;
    bottom: 0;
    font-size: 100px;
    z-index: 3;
    color: white;
    font-family: elo;
    text-shadow: 0px 1px 11px black;
}

.header-photo {
    width: 100%;
    position: relative;
    z-index: 1;
    /*margin: -150px 0 0 0;*/
    height: 100%;
    background-image: url('./images/main3.jpeg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.info-block {
    /*display: block;*/
    position: sticky;
    top: 110px;
    width: 100%;
    min-height: 1001px;
    margin: 0 auto;
    overflow-y: auto;
    padding: 50px;
    box-sizing: border-box;
    color: black;
    font-family: verit;
    -webkit-box-shadow: 1px 1px 49px -28px rgba(217, 148, 93, 0.64);
    -moz-box-shadow: 1px 1px 49px -28px rgba(217, 148, 93, 0.64);
    box-shadow: 1px 1px 49px -28px rgba(217, 148, 93, 0.64);
    /*border-radius: 0px 100px 0px 0px;*/
    z-index: 999999999999;
    background-color:#ebd6c6;

}
.offers-box {
    display: flex;
    flex-direction: row;

}
.offer {
    width: 25%;
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.offer-img {
    width: 90%;
    height: 200px;
    margin: 0 auto;
    -webkit-box-shadow: 1px 1px 49px -28px rgba(119, 65, 19, 0.64);
    -moz-box-shadow: 1px 1px 49px -28px rgba(91, 50, 16, 0.64);
    box-shadow: 1px 1px 49px -28px rgba(126, 62, 16, 0.64);
    border-radius: 20px;
    object-fit: cover;
}
.offers-text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.offer-name {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
    height: 48px;
}
.offer-price {
    line-height: 30px;
    /*letter-spacing: 0.3px;*/
    font-size: 16px;

    text-align: center;
}

.good {
    width: 100%;
    font-size: 52px;
    font-weight: 400;

    font-family: elo;
    text-align: center;
}

@media (max-width: 1000px) {
    /* .offer-img {
        height: 100px;
    } */
    /* .offer-name {
        font-size: 16px;

    }
    .offer-price {
        font-size: 14px;

    } */
    .info-block {
        min-height: 1313px;
    }
    .offer {
        width: 50%;
        padding: 10px;
        box-sizing: border-box;
        flex-direction: column;
    }
    .offer-name {
        margin-bottom: 10px;
        min-height: 48px;
        height: auto;
    }
    .offers-box {
        flex-wrap: wrap;

    }
}
@media (max-width: 800px) {
    .layouts-box {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .life-begin {
        font-size: 80px;
    }
    .info-block {
        min-height: 1146px;
    }
    .offer-img {
        height: 100px;
    }
    .relative-box {
        position: relative;
        height: 550px;
    }
    .header-photo {
        height: 65%;
        background-image: url('./images/main3.jpeg');
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (max-width: 500px) {
    .offer {
        width: 100%;
        padding: 0px;
        margin-bottom: 30px;

    }
    .offer-img {
        height: 200px;
    }
    .offer-name {
        margin-bottom: 10px;

    }

}


@media (max-width: 435px) {
    .layouts-box {
        font-size: 14px;
    }
    .life-begin {
        font-size: 70px;
    }
    .info-block {
        min-height: 2200px;
    }
    .layouts-box {
        height: auto;
        padding: 5px 20px;
        font-size: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 200px;
    }

    .contacts-info {
        border-top: 1px solid #ffe5a0;
        text-align: center;
        padding-top: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .decal-img {
        width: 100%;
        height: 100%;
        opacity: 0.1;
    }
    .relative-box {
        position: relative;
        height: 550px;
    }
}
@media (max-width: 350px) {
    .life-begin {
        font-size: 60px;
    }
    .good {
        font-size:42px;
    }

}