@font-face {
    font-family: "bold";
    src: url("/static/font/bold.ttf");
}

@font-face {
    font-family: "extra_bold";
    src: url("/static/font/extra_bold.ttf");
}

@font-face {
    font-family: "semibold";
    src: url("/static/font/semibold.ttf");
}

@font-face {
    font-family: "medium";
    src: url("/static/font/medium.ttf");
}

@font-face {
    font-family: "regular";
    src: url("/static/font/regular.ttf");
}

@font-face {
    font-family: "light";
    src: url("/static/font/light.ttf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "regular";
    font-size: 14px;
}

a {
    text-decoration: none;
}

.top-baner {
    width: 100%;
    position: relative;

}

.top-baner a>:first-child {
    width: 100%;
}

.top-baner picture img {
    width: 100%;
    height: 90px;

}

.top-baner a>:last-child {
    position: absolute;
    z-index: 5;
    left: 3%;
    width: 40px;
    top: 25px;
}

nav {
    display: flex;
    justify-content: space-evenly;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

nav>div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 32px;
}

nav>:last-child img {
    width: 24px;
}

nav>:first-child img {
    width: 44px;
}

nav a {
    font-family: "bold";
    font-size: 14px;
    color: #2D2D2D;
    transition: color 0.5s ease;
}

.cart {
    position: relative;

}


.cart span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #FFD301;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    opacity: 1;
    margin: 10px;
    position: absolute;
    top: -18px;
    right: -18px;
    font-family: "bold";
}

nav>:last-child>span {
    background-color: #1E3A8A;
    padding: 5 10px;
    border-radius: 10px;
    font-family: "medium";
    color: #FFFFFF;
}

nav>:last-child a {
    color: #FFFFFF;
    padding: 0 5px;
}

nav a:hover {
    color: #1E3A8A;
}

#mobile_menu {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 900;
    display: flex;
    justify-content: space-evenly;
    right: -120%;
}


#mobile_menu.active {
    right: 0;
    transition: right 1s ease-in-out;
}



#mobile_menu>:first-child {
    width: 60%;
    background-color: #1E3A8A;
    height: 100%;
    color: #FFFFFF;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    padding: 20px;
}

@keyframes menu {
    0% {
        opacity: 0.0;
    }

    100% {
        opacity: 0.8;
    }
}

#mobile_menu.active>:last-child {

    animation-name: menu;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

#mobile_menu>:last-child {
    width: 40%;
    opacity: 0.0;
    background-color: #000;
    height: 100%;
}

#mobile_menu * {
    color: #FFFFFF;

}

.mobile img {
    width: 40px;

}

@media screen and (max-width:850px) {
    nav {
        padding: 20px;
        gap: 5px;
    }

    nav div {
        display: flex;
        justify-content: space-evenly;
        justify-content: end;
        width: max-content;
        gap: 5px;
    }

    .mobile {
        display: inline-block;
    }

    .desktop {
        display: none;
    }
}

@media screen and (min-width:768px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: flex;
        justify-content: space-evenly;
    }
}



footer {
    background-color: #2D2D2D;
    padding: 30px 20px;
}

footer>:first-child {
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
}

footer>:first-child>div {
    width: 18%;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    gap: 20px;
}

.footer-info img {
    width: 50%;
    padding: 10px 20px;
    border-radius: 10px;
}

.footer-info h4 {
    color: #ACB8D9;
    font-family: "bold";
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 15px;
    height: 100%;
}

ul li {
    list-style: none;
}

footer ul li a,
footer ul li span {
    color: rgba(255, 255, 255, 0.7);
}

footer ul>:first-child a {
    font-family: "bold";
    color: #ACB8D9;
}

.license {
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    height: max-content;
    padding: 20px;
    border-radius: 20px;
}

.license span {
    position: absolute;
    background-color: #2D2D2D;
    top: -20px;
    padding: 5px 10px;
    color: #ACB8D9;
    font-family: "bold";
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.footer-contact ul li {
    display: flex;
    justify-content: start;
    gap: 5px;
    align-items: center;
}

.footer-contact ul img {
    width: 20px;
}

.footer-contact .social {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.social img {
    width: 22px;
}

.copyright {
    width: 100%;
    padding: 20px 0 0 0;
    text-align: center;

}

.copyright span {
    color: #7A7A7A;
}

@media screen and (max-width:1250px) {
    footer>:first-child {
        flex-wrap: wrap;
    }

    footer>:first-child>div {
        width: 25%;
        margin-top: 30px;
    }
}

@media screen and (max-width:768px) {
    footer>:first-child {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer>:first-child>div {
        width: 40%;
        justify-content: right;
        margin-top: 30px;
    }

    .footer-info img {
        width: 80%;
    }

    .footer-contact .social {
        margin-top: 30px;
        justify-content: start;
    }
}


.mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    top: 0;
    right: -110%;
    padding: 0;
    backdrop-filter: blur(0px);
}

.mobile-menu.active {
    right: 0;
    backdrop-filter: blur(2px);
    transition: backdrop-filter 1s ease-in-out, right 0.5s ease-in-out;

}


.mobile-menu>:last-child {
    width: 30%;
    height: 100vh;
}

.parent-mobile-menu {
    width: 70%;
    height: 100vh;
    background-color: #FFFFFF;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    padding: 20px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

.parent-mobile-menu {
    backdrop-filter: blur(5px);
}

.parent-mobile-menu>:first-child {
    display: block;
    width: 100%;
}

.parent-mobile-menu>:first-child>:first-child {
    text-align: center;
    width: 100%;
    display: block;
}

.parent-mobile-menu>:first-child>:first-child img {
    width: 30%;
}

.parent-mobile-menu>:first-child>:last-child {
    text-align: center;
    margin-top: 5px;
    width: 100%;
    display: block;
}

.parent-mobile-menu>:first-child>:last-child h2 {
    font-family: "bold";
    font-size: 20px;
    color: #1E3A8A;
}

.parent-mobile-menu>:last-child {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
    gap: 25px;
}

.parent-mobile-menu>:last-child img {
    width: 24px;
    margin-right: 10px;
}

.parent-mobile-menu>:last-child a {
    display: flex;
    align-items: start;
    font-size: 18px;
    justify-content: start;
    gap: 5px;
}