@font-face{
    font-family: "Jost-Regular";
    src: url("../fonts/Jost-Regular.ttf");
}

@font-face{
    font-family: "PlayfairDisplay-SemiBold";
    src: url("../fonts/PlayfairDisplay-SemiBold.ttf");
}


html,body{
    font-size: 10px;
    font-family: jost-Regular;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    /*height: 100vh;*/
    width: 100vw;
    margin: 0 !important;
}


.big-wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.up-wrapper-bg{
    background: url("../img/up-background.png")  ;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 700px;
}

.container-up {
    height: 100%;
    /*width: 1198px;*/
    margin: 0 auto;
    transition: all .5s;
}

.up-wrapper {
    margin: 0 auto;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 125px;
}


.test{
    display: flex;
    justify-content: center;
    width: 1198px;
    margin: 0 auto;
    position: relative;
    top: 140px;
}

#hs-img{
    position: relative;
    /*width: auto;*/
    bottom: -70px;
}

#hs-img img {
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    outline: 4px solid white;
    outline-offset: -15px;
    max-height: 700px;
}

.text {
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
    /*justify-content: center;*/
    word-break: break-word;
}


.logo{
    display: flex;
    align-items: center;
}

.logo img{
    height: 63.37px;
    width: 41.71px;
    margin-right: 25px;
}

.logo-text{
    line-height: 1.2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.logo-text h1,p{
    margin: 0;

}

.logo-text h1{
    font-family: "PlayfairDisplay-SemiBold";
    font-size: 2.6rem;
}

.logo-text p{
    font-family: jost-Regular;
    font-size: 2.2rem;
}

.hs-title h1{
    font-family: "PlayfairDisplay-SemiBold";
    font-size: 5.2rem;
    color: #B99044;
}

.hs-text{
    font-size: 2.2rem;
    color: #B9B9B9;
    width: 586px;
}



.under-wrapper-bg{

    background: url("../img/under-background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /*height: 44%;*/
    min-height: 580px;
    display: flex;
    justify-content: center;
}

.container-under {
    width: 1198px;
    transition: all .5s;
}

.under-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

fieldset{
    border: 4px solid white;
    color: white;
    height: 331px;
    margin: auto;
}

#icon-phone{
    height: 57px;
    transition: all 1s;
}

legend{
    margin: 0 auto;
}

.contact-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-around;
    font-size: 2.2rem;
    text-align: center;
}

.phone-number {
    font-family: "PlayfairDisplay-SemiBold";
    font-size: 5.2rem;

}
.phone-number a{
    color: white;
    text-decoration: none;
}

.mail a{
    color: white;
    text-decoration: none;
}

.adress a{
    color: white;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

#icon-phone:hover{
    transform:rotateY(180deg);
}



footer {
    /*height: 94px;*/
    text-align: center;
    background-color: #2A2724;
    height: 94px;
    display: flex;
    justify-content: center;
    /*position: fixed;*/
    /*bottom: 0;*/
}

.footer-txt {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p{
    color: #9EA1A8;
    font-size: 1.6rem;
}

/*fonts*/

.playfairDisplay-SemiBold{
    font-family: "PlayfairDisplay-SemiBold";
}

.font-size22 {
    font-size: 2.2rem;
}

.whiteFont{
    color: white;
}



/*@media (max-width: 1280px) {*/


/*    .container-up {*/
/*        width: 900px;*/

/*    }*/
/*    .container-under {*/
/*        width: 900px;*/
/*    }*/

/*    #hs-img {*/
/*        bottom: -123px;*/
/*        margin-right: 20px;*/
/*    }*/
/*    #hs-img img {*/
/*        max-width: unset;*/
/*        max-height: 70%;*/
/*        outline: 4px solid white;*/
/*        outline-offset: -12px;*/
/*    }*/
/*}*/

@media (max-width: 1225px){
    html, body {
        overflow: unset;
        overflow-x: hidden;
    }

    .big-wrapper{
        align-items: center;
        height: unset;
    }
    .up-wrapper-bg{
        width: 100%;
        height: 966px;
    }

    .up-wrapper{
        flex-direction: column-reverse;
    }

    .container-up {
        width: 700px;
        height: unset;
    }

    .logo-text h1{
        font-family: "PlayfairDisplay-SemiBold";
        font-size: 2.4rem;
    }

    .logo-text p{
        font-family: jost-Regular;
        font-size: 2rem;
        margin-top: 10px;
    }


    .hs-title{
        text-align: center;
    }

    .hs-title h1 {
        font-size: 4.2rem;
        line-height: 1.15;
        margin: 22px;
    }

    .hs-text{
        text-align: center;
        font-size: 2.2rem;
        line-height: 1.2;
    }

    #hs-img{
        display: flex;
        justify-content: center;
        bottom: 93px;

    }

    #hs-img img{
        height: 650px;
    }

    .text {
        align-items: center;
        margin-top: 35px;
    }

    .hs-text{
        width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .under-wrapper-bg{
        width: 100%;
        height: 512px;
    }

    .under-wrapper{
        justify-content: unset;
        padding-top: unset;
        margin-top: unset;
    }

    .container-under{
        width: 700px;
    }

    fieldset {
        margin-top: 155px;
    }

    .contact-text{
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .phone-number {
        font-size: 4.2rem;
    }

    footer {
        width: 100%;
        height: 74px;
        bottom: 0;
    }


}


@media (max-width: 740px) {



    .big-wrapper{
        align-items: center;
        height: unset;
    }
    .up-wrapper-bg{
        width: 100%;
        height: 966px;
    }

    .up-wrapper{
        flex-direction: column-reverse;
        gap: 0;
    }

    .container-up {
        width: 350px;
        height: unset;
    }

    .logo-text h1{
        font-family: "PlayfairDisplay-SemiBold";
        font-size: 2.4rem;
    }

    .logo-text p{
        font-family: jost-Regular;
        font-size: 2rem;
        margin-top: 10px;
    }


    .hs-title{
        text-align: center;
    }

    .hs-title h1 {
        font-size: 4.2rem;
        line-height: 1.15;
        margin: 22px;
    }

    .hs-text{
        text-align: center;
        font-size: 2rem;
        line-height: 1.2;
    }

    #hs-img{
        display: flex;
        justify-content: flex-start;
        bottom: 0;
        margin: 22px 0;
        /* bottom: 115px; */
    }

    #hs-img img{
        height: 500px;
    }

    .text {
        align-items: center;
        margin-top: 35px;
    }

    .hs-text{
        width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .under-wrapper-bg{
        width: 100%;
        height: 512px;
    }

    .under-wrapper{
        justify-content: unset;
    }

    .container-under{
        width: 350px;
    }

    .contact-text{
        font-size: 2rem;
        line-height: 1.2;
    }

    .phone-number {
        font-size: 4.2rem;
    }

    footer {
        width: 100%;
        height: 74px;
    }


}
