@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Myriad';
    src: url('/wp-content/fonts/MyriadPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

.headerLeft svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.headerPhoneMenu {
    display: none;
}

.header {
    position: fixed;
    top: 10px;
    z-index: 9999;
    width: 83%;
    height: 80px;
    border-radius: 70px;
    background-color: rgba(255, 251, 243, 0.85);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 38px;
    box-sizing: border-box;
    align-items: center;
    backdrop-filter: blur(7px) contrast(2);
    outline: 1px solid rgba(0,0,0,0.1);
}

.headerLeft {
    height: 62%;
    width: auto;
}

.headerRight {
    display: flex;
    flex-direction: row;
    width: 44%;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.headerRightContact {
    margin-left: 50px;
}

.headerRightLinks {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.headerRightLinks a {
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: unset;
    font-size: 1.1em;
    position: relative;
}

.headerRightContact a {
    font-size: 1.2em;
    text-decoration: unset;
    font-family: 'Roboto', sans-serif;
    color: white;
    background-color: #014421;
    padding: 7px 25px;
    border-radius: 50px;
    transition: all 0.15s ease-in-out;
}

.headerRightLinks a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: black;
    width: 95%;
    height: 2px;
    transform: translate(-50%,3px) scaleX(0);
    transform-origin: center;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
}

.headerRightLinks a:hover::after{
    transform: translate(-50%,3px) scaleX(1);   
}



.headerRightContact a:hover {
    color: #014421;
    background-color: rgba(255, 251, 243, 0.0);
    outline: 2px solid #014421;
}


/*Burger menu*/

    .line {
        fill: none;
        stroke: #014421;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }
    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }
    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }
    .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }
    .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }
    .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }
/*//Burger menu*/

.headerPhone {
    display: none;
}

.headerLeft a {
    display: block;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width:1600px){
    .headerRightLinks a {
    font-size: 1em;
}

.headerRight {
    width: 60%;
}

.header {
    width: 83%;
}

.headerRightContact a {
    font-size: 1.1em;
}

}


@media only screen and (max-width:1100px){
    .headerPhoneMenu {
    display: block;
}

    .headerLeft, .headerRight {
    display: none;
}

.headerPhone {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.headerSmallMenu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.headerPhoneLogo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.headerPhoneLogo a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
}

.header {
    min-height: 80px;
    height: auto;
    flex-direction: column;
    transition :all 0.25s ease-in-out;
}


.headerPhoneLogo, .headerPhoneBurger {
    height: 50px;
    width: auto;
}

.headerPhoneBurger svg {
    width: 100%;
    height: 100%;
}

.header.opened {
    border-radius: 22px;
    padding-bottom: 20px;
}

.headerPhoneMenuLinks {
    display: flex;
    flex-direction: column;
}

.headerPhoneMenuLinks {
    display: flex;
    flex-direction: column;
}

.headerPhoneMenuContact {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-110%,-140%);
}


.headerPhoneMenuLinks a {
    margin: 10px 0;
    font-family: 'Roboto', sans-serif;
    text-decoration: unset;
    color: #014421;
    font-weight: 800;
}

.headerPhoneMenuContact a {
    font-size: 1.2em;
    text-decoration: unset;
    font-family: 'Roboto', sans-serif;
    color: white;
    background-color: #014421;
    padding: 7px 25px;
    border-radius: 50px;
    transition: all 0.15s ease-in-out;
}


.headerPhoneMenu {
    transition:all 0.55s ease-in-out;
    height: 0px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    transition: all 0.45s ease-in-out;
    width: 100%;
    top:79px;
    height: 2px;
    background-color: #014421;
    transform-origin: left;
    transform: scaleX(0);
}

.header.opened::after{
    transform:scaleX(1);
}

}

@media only screen and (max-width:600px){
    
    .header {
    min-height: 40px;
    padding: 0 19px;
    width: 93%;

}

.header::after{
    top: 52px;
}


.headerPhoneLogo, .headerPhoneBurger {
    height: 30px;
    width: auto;
}

.opened .headerPhoneMenu {
    padding-top: 10px;
}

.headerPhoneBurger{
    max-width:30px;
}

.headerPhoneLogo{
    max-width:90px;
}

.headerPhone {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 43px;
    transition: all 0.55s ease-in-out;
}
.headerPhoneMenuContact a {
    font-size: 0.9em;
    padding: 3px 17px;
    transition: all 0.15s ease-in-out;
}


}