header{
    padding: 0.80em 20px;
    background-color: var(--clr-surface-a5);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

button{
    border: 0;
    background: transparent;
}

header svg{
    height: 2.5em;
    color: var(--clr-light-a0);
}

header svg:hover{
    cursor: pointer;
    color: var(--clr-primary-a50); 
}

header h1{
    margin: 0;
}

header a{
    color: var(--clr-light-a0);
    text-decoration: none;
}

header a:hover{
    color: var(--clr-primary-a50);
    text-decoration: underline;
}

/* Css for side bar */

nav{
    height: 60px;
    background-color: var(--clr-surface-a5);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav a{
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

nav a:hover{
    background-color: var(--clr-surface-a20);
}

.close-sidebar-button{
    padding: 1em 20px;
}

.links-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    position: fixed;
    top: 0;
    left: -100%;
    z-index: 10;
    width: 300px;
    height: 100%;

    background-color: var(--clr-surface-a10);
    transition: 0.2s ease-in-out;
}

#sidebar-active{
    margin: 0;
    appearance: none;
    opacity: 0;
    -webkit-appearance: none;
}

#sidebar-active:checked ~ .links-container{
    left: 0;
}

#sidebar-active:checked ~ #overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}