@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease ;
}

:root{
    --primary-color: #202020;
    --secondary-color: #757575;
    --border-color: #ccc;
    --accent-color: #172C50;
    --paper-button-ink-color: var(--accent-color);
    --paper-icon-button-ink-color: var(--accent-color);
    --paper-spinner-color: var(--accent-color);
}

body{
    font-family: "Noto Sans", sans-serif;
    color: var(--primary-color);
    font-size: 13px;
    line-height: 1.5;
    min-height: 100vh;
}

a{
    text-decoration: none;
    color: var(--primary-color);
}

.heading-2{
    font-size: 1.3em;
    font-weight: 400;
    margin: 24px;
    text-align: center;
}
.heading-3{
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}
.heading-4{
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    line-height: 24px;
}

.heading-2:has(+ p){
    margin: 0;
    font-size: 1.1em;

    + p{
        text-align: center;
    }
}

.flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.text-muted{
    color: var(--secondary-color);
}

.btn{
    background: none;
    border: 2px solid var(--primary-color);
    background: white;
    text-transform: uppercase;
    padding: 8px 44px;
    font-size: 14px;
    cursor: pointer;
}
.btn:active{
    background: var(--primary-color);
    color: white;
}

input[type="checkbox"] {
    appearance: none;
    color: white;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid var(--accent-color);
    position: relative;
    font-size: 16px;
    font-weight: bolder;
    font-family: system-ui, sans-serif;
    border-radius: 2px;
}
input[type="checkbox"]:checked:before{
    content: '\2713';
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
}

header{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

header .top{
    width: 100%;
    padding: 1em;
    font-weight: 700;
}

header .logo{
    font-size: 16px;
    letter-spacing: 0.3em;
}

.nav-btn, .shop, .icon{
    position: relative;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
}

.total-items{
    position: absolute;
    top: -3px; right: 0;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

.nav{
    color: var(--secondary-color);
    position: fixed;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    top: 0; left: -100%;
    padding: 1em;
    line-height: 40px;
    background: white;
}

.nav.active{
    left: 0;
    height: 100%;
}

header:has(.nav.active)::before{
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background: #00000050;
    top: 0;right: 0;
}


.nav a.selected {
    font-weight: bold;
    color: black;
}


main{
    max-width: 1440px;
    width: 100%;
    margin: auto;
}

.banner{
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


footer{
    flex-direction: column;
    gap: .8em;
}
footer div{
    background: var(--primary-color);
    color: white;
    padding: .7em 1.7em;
    text-transform: uppercase;
}


@media (min-width: 768px){
    .nav-btn{
        visibility: hidden;
    }
    .nav{
        position: relative;
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: row;
        gap: 2rem;
        left: initial;
    }
    .nav a{
        color: black;
    }
    .nav a.selected{
        font-weight: initial;
        border-bottom: 2px solid black;
    }
    .heading-2{
        margin: 32px;
    }
    .banner{
        height: 320px;
    }
    .heading-2:has(+ p){
        margin-top: 2em;
        font-size: 1.3em;
    }
    .heading-3{
        font-size: 24px;
    }
}