/*imports*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');
/*variables */

* {
    padding: 0;
    margin: 0;
    touch-action: manipulation;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a {
    color: var(--color-5);
}
a:visited {
    color: var(--color-5);
}
::selection {
    background-color: var(--color-6);
}
:root {
    --color-1:#1f3d3a;
    --color-2:#0f2a28;
    --color-3:#2b2b2b;
    --color-4:#e7dccb;
    --color-5:#f6f3ee;
    --color-6:#d52b1e;
    --color-7:#1b4d45;
}
body {
    background-color: var(--color-7);
    width: 100%;
    height: auto;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.headerWrapper {
    max-width: 1300px;
    display: flex;
    position: absolute;
    top: 0;
    width: 100%;
    height: 5em;
    justify-content: space-between;
    pointer-events: all;
    z-index: 3;
}
.headerLogoWrapper {
    display: flex;
    position: relative;
    flex: 2;
}
.logoHeader {
    height: 100%;
    aspect-ratio: 1/1;
    &:hover {
        cursor: pointer;
    }
    
}
.headerNav {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 1em;
    flex: 3;
    justify-content: center;
    align-items: center;
    z-index: 20;
    color: var(--color-4);
    transition: all 0.15s ease-in-out;
}
.headerNav.checked {
    flex-direction: column;
    position: fixed;
    left: 50%;
    transform: translate(-50%,0);
    width: 100vh;
    height: 100vh;
    backdrop-filter: blur(15px);
    font-size: 8vw;
}
.navElt {
    font-weight: 700;
    font-family: "League Spartan",sans-serif;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}
.navElt::after {
    content: "";
    width: 100%;
    height: .15em;
    position: absolute;
    bottom: -.2em;
    left: 0;
    transform: scaleX(0);
    background-color: var(--color-5);
    transition: all .15s ease-in-out;
    transform-origin: center;
}
.navElt:hover {
    transform: translateY(-1px);
    cursor: pointer;
    color: var(--color-5);
}
.navElt:hover::after {
    transform: scaleX(1);
}
.navElt:nth-child(2) {
    color: var(--color-4);
}
.navElt:nth-child(2)::after {
    content: "";
    width: 100%;
    height: .15em;
    position: absolute;
    bottom: -.1em;
    left: 0;
    transform: scaleX(1);
    background-color: var(--color-5);
    transition: all .15s ease-in-out;
    transform-origin: center;
}
.contactWrapper {
    flex: 2;
    display: flex;
    justify-content: right;
    align-items: center;
}

.contact {
    background-color: var(--color-3);
    display: flex;
    width: fit-content;
    height: 3em;
    box-sizing: border-box;
    padding: .5em 1em;
    justify-content: space-between;
    align-items: center;
    gap: .5em;
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-4);
    border-radius: 10px;
    box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.2) ;
    transition: all .15s ease-in-out;
    margin-right: 2em;
    &:hover {
        transform: translateY(-2px);
        box-shadow: 5px 7px 8.5px 0 rgba(0,0,0,.3) ;
    }
}
/*end of header*/
/*main section*/

.mainSection {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "League Spartan",sans-serif;
    margin-top: 15vh;
}

.mainTitle {
    color: var(--color-4);
    font-size: 4em;
    margin-bottom: .25em;
}

.mainDesc {
    font-weight: 700;
    color: var(--color-5);
    margin-bottom: 1.5em;
    margin-top: 1em;
}
.mainPhone {
    background-color: var(--color-2);
    display: flex;
    align-items: center;
    padding: .4em 1.5em;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4em;
    border-radius: 8px;
    margin-bottom: 1em;
}
.mainCallUs > span {
    display: block;
    height: fit-content;
    transform: translateY(2px);
    letter-spacing: 1px;
    font-weight: 800;
    white-space: nowrap;
}

.mainCallUs {
    background-color: var(--color-3);
    padding: .25em 1.5em;
    border-radius: 10px;
    text-decoration: none;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .25em;
    gap: 1em;
    box-sizing: border-box;
}
@media screen and (max-width:450px) {
    .mainCallUs {
        width: 90%;
        padding: .25em .5em;
        gap: .5em;
    }

}
.mainPhone > span{
    transform: translateY(2px);
}
.mainPrecise {
    color: var(--color-5);
    margin-bottom: 1em;
}
.mainPrecise > b {
    text-decoration: underline;
}
.mainSchedule {
    color: var(--color-5);
    display: flex;
    text-align: center;
    gap: .15em;
    flex-direction: column;
}
/*enf of main section*/
/*burger menu*/

.burgerMenu {
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;    
    justify-content: center;
    align-items: center;
}
.burgerMenuWrapper {
    display: flex;
    width: fit-content;
    height: fit-content;
    gap: .35em;
    flex-direction: column;
    &:hover {
        cursor: pointer;
    }
}
.burgerMenuWrapper:hover > span {
    transform: scaleX(1.1);
    background-color: var(--color-5);
}
.bar1, .bar2,.bar3 {
    width: 2em;
    height: .3em;
    border-radius: 10px;
    background-color: var(--color-4);
    transition: all 0.15s ease-in-out;
}


@media screen and (min-width:1300px) {
    body {
        background-color: var(--color-7);
    }
}
@media screen and (max-width:1000px) {
    .upperPart,.lowerPart {
        grid-template-columns: repeat(1,1fr);
        width: 90%;
        margin: 0 auto;
    }
    .imgCard {
        order: 3;
    }
    
}

@media screen and (max-width:650px) {
     
    .mainTitle {
        font-size: 10vw;
        white-space: nowrap;
    }
    .mainDesc {
        text-align: center;
    }
}
