header {
    position: fixed;
    height: 100%;
    top: 0;
    max-height: 130px;
    max-width: 1500px;
    width: 100%;
    display: flex;
    padding: 0;
    z-index: 99;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
    background-color: white;
}


.navWrap {
    position: fixed;
    z-index: 999;
    max-width: 1500px;
}

.separator {
    width: 100%;
    height: 1px;
    margin-bottom: 129px;
}

.logoWrap {
    width: 100px;
    height: inherit;
    padding: 5px;
    align-items: center;
    display: flex;
    justify-content: center;
}

#logo {
    width: 30px;
    height: 40px;
}

.navWrap {
    width: 100%;
    display: flex;
    flex-direction: column;

}

nav {
    display: flex;
    height: 100%;
    justify-content: end;
    align-items: start;
}

nav ul li {
    display: inline;
    text-decoration: none;
    margin-right: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

nav ul li a:hover {
    color: #9B353C;
    cursor: pointer;
}

.nav-toggle {
    display: none;
}

.sr-only {
    display: none;
}


/* contact nav */
.contactNav {
    display: flex;
    justify-content: end;
    padding-right: 20px;
    align-items: center;
    gap: 10px;

}

.contactNav a {
    display: flex;
    background-color: #9B353C;
    text-align: center;
    width: 160px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 4px;
    transition: .3s;
     transition: 300ms ease-in-out;
}

.contactNav a:hover{
    transition: 300ms ease-in-out;
     cursor: pointer;
}

.contactNav p {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #9B353C;
    letter-spacing: 2px;
}


/* unversial contact */
.uni-contact-btn {
    position: fixed;
    bottom: 0;
    right: 0;
    height: auto;
    background-color: var(--red);
    aspect-ratio: 1/1;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: .5em;
    border: solid var(--red) 2px;
    box-shadow: 2px 2px 22px 2px rgba(0, 0, 0, 0.2);

}

.uni-contact-btn img {
    height: 50px;
    aspect-ratio: 1/1;
}

#overlay-contact-uni {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(94, 28, 32, .9);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    z-index: 999;
    box-shadow: 0 0 10px rgba(55, 55, 55, 0.3);
    transition: 400ms;
    padding: 0;
    margin: 0;

}

#overlayInner-contact {
    position: relative;
    width: 50%;
    height: 50%;
    transform: translate(50%, 50%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(55, 55, 55, 0.3);
    transition: 400ms;
}

.contact-box-wrap {
    padding: 0;
    margin: 0;
}

.contact-box {
    height: auto;
    border-radius: 4px;
    background: rgb(53, 111, 155);
    border: 1px solid rgb(53, 111, 155);
    justify-content: center;
    display: flex;
    box-shadow: 0 1px 3px 0 rgb(53, 111, 155, .2);
    cursor: pointer;
    padding: 8px;
    color: white;
    margin: 0;
}

.popup-contact-wrap {
    width: 100%;


    height: 100vh;
    gap: .5em;
    padding: 8px;
    align-items: center;

}

/* footer */

footer {
    min-height: 160px;
    width: 100%;
    background-color: #113047;
    margin-top: -16px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.footer-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-contacts {
    display: flex;
    width: 100%;
    justify-content: center;
    color: white;
    letter-spacing: 3px;
    font-size: 1.4em;
}

.footer-contacts p:first-child::after {
    content: "|";
    margin: .5em;
}

.social-media-icon-wrap {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;

}

.social-media-icon-wrap .social-icon-footer img {
    aspect-ratio: 1 / 1;
    min-width: 30px;
    max-width: 30px;
    margin-right: .6em;
}

.bottom-footer {
    display: flex;
    font-size: .6em;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    color: white;
    padding: 0 .8em;
}

.bottom-footer-right {
    display: flex;
}

.bottom-footer-right p:first-of-type::after {
    content: "|";
    margin: .7em;
}

/* area map footer */

.area-map-wrap {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: .2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.area-map ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
    padding: 0;
}

.area-map-wrap p {
    text-align: center;
    color: white;
}

.area-map ul li {
    padding: 8px 12px;
    color: white;
    border-radius: 3px;
}

.area-map ul li:hover {
     box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
     cursor: pointer;
}
.area-map ul li:nth-child(even) {
    background-color: var(--red);
}

.area-map ul li:nth-child(odd) {
    background-color: var(--blue);
}

.overlay-map-footer {
    border-image: linear-gradient(rgba(54, 54, 54, 0.6), rgba(54, 54, 54, 0.6),
            rgb(54, 54, 54, 0.6)) fill 1;
}

/* nav Moblie */
@media (max-width: 1000px) {
    .primary-nav {
        position: fixed;
        inset: 4.5em 0 0 0%;
        margin-top: 0;
        backdrop-filter: blur(.7rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: min(30vh, 10vh);
        width: 100%;
        gap: 5px;
        z-index: 9;
        transform: translateX(-115%);
        transition: transform .5s ease-in-out;
        background-color: rgba(94, 28, 32, 0.9);
        height: 100%;
    }

    nav {
        padding: 0;
        position: fixed;
        z-index: 9999;
    }

    nav ul li {
        display: flex;
        justify-content: center;
        color: rgb(250, 253, 255);
        border-radius: 3px;
        padding: 15px 20px;
        width: 31em;
        background-color: rgba(135, 43, 49, .9);
        backdrop-filter: blur(.2rem);
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
    }

    nav ul li:focus {
        opacity: .8;
    }



    .click {
        margin-top: -3px;
        margin-left: -3px;
    }

    .separator {
        margin-bottom: 36px;
        border: white 20px solid;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        width: 3em;
        aspect-ratio: 1/1;
        z-index: 0;
        margin-left: .8em;
   
           }



    .navWrap {
        justify-content: center;
    }

    .nav-toggle img {
        width: 100%;
        height: 100%;
    }

    .primary-nav[data-visible="true"] {
        transform: translateX(0%);
        visibility: visible;
    }

    header {
        height: 75px;
    }

    .contactNav p {
        font-size: 1.5em;
    }

    .area-map-wrap {
        height: 200px;
        width: 100%;
    }
}

/* univerial contact */
#overlayInner-contact {
    position: absolute;
    width: 85%;
    height: 60%;
    transform: translate(10%, 30%);
}

.area-map ul {
    justify-content: center;
}

/* footer */
.footer-contacts {
    display: flex;
    justify-content: center;
    color: white;
    letter-spacing: 3px;
    font-size: 1em;
}

.footer-contacts p:first-child::after {
    content: "|";
    margin: .5em;
}

.social-media-icon-wrap .social-icon-footer img {
    aspect-ratio: 1 / 1;
    min-width: 20px;
    max-width: 20px;
    margin-right: .6em;
}

footer {
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}




@media (max-width: 560px) {
    .primary-nav {
        inset: 3.7em 0 0 0%;
    }

    header {
        height: 60px;
    }

    .separator {
        margin-bottom: 20px;
    }

    .contactNav p {
        font-size: .9em;
        margin-top: 10px;
    }

    .contactNav a {
        background-color: #9B353C;
        text-align: center;
        width: 100px;
        height: 25px;
        font-size: 1em;
        padding: 15px 10px;
        letter-spacing: 2px;
    }

    header {
        display: flex;
        align-items: center;
    }

    nav ul li {
        width: 99%;
    }

}

