* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-color-on-dark-bg: #ffffff;
    --text-color-on-white-bg: #000000;
    --text-secondary-color: #79797a;
}

@media (prefers-color-scheme: dark) {
    body{
        --bg-color: #121212;
        --text-color: #ffffff;
        --text-secondary-color: #d7d6d6;
    }
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
}

.logo a{
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.logo a span{
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 2px 10px;
    border-radius: 5px;

}

nav{
    position: fixed;
    width: 100%;
    isolation: isolate;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #e4e4e4;
    z-index: 5;
}

.menu-list-toggle-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
}

.menu-list{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    gap: 10px;
    list-style: none;
    background-color: #e4e4e4;
    transition: 0.5s ease;
    position: absolute;
    left: 0;
    z-index: -1;
    padding: 1rem;
}

.menu-list li a{
    text-decoration: none;
    font-size: 18px;
    color: #000;
    transition: 0.3s;
}

.menu-list li a:hover{
    font-size: 20px;
}

.menu-icon{
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-color-on-white-bg);
}



.menu-icon, #menu-toggle{
    display: none;
}

@media (max-width: 768px){
    .menu-list{
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px;
        transition: 0.5s ease;
    }

    .menu-icon{
        display: block;
    }

    #menu-toggle:checked ~ .menu-list{
        display: flex;
    }
}

