$font : Arial, Helvetica, sans-serif;
$normalfontsize : 12px;
$marge : 8px;

body 
{
    font-family: $font;
    font-size:$normalfontsize;
}

h4
{
    font-size:$normalfontsize + 2px;
}

body,figure,img
{
    padding:0;
    border:none;
    margin:0;
}

#switch:checked ~ p 
{
    background-color:green;
}

img
{
    // avec interpolation
    width:calc(100% - (#{$marge}*2));
    height:auto;
    margin:0 auto;
}
/*
picture
{
    display:block;
    max-height:40vh;
    overflow:hidden;
}
*/

#main-menu
{
    text-align:center;
    ul
    {
        list-style:none;
    }

    li
    {
        text-align: left;
    }

    li a,
    li span
    {
        color:black;
        text-decoration:none;
        font-size:1.1rem;
    }

    li span
    {
        color:#666;
    }

    .menu-label
    {
        font-size:1.5rem;
        color:black;
        text-decoration:none;
        font-weight:bold;
        display:inline-block;
        line-height:2rem;
    }
}
.burger
{
    float:left;
    margin: 3px 8px;
    b,i
    {
        display: block;
        width: 20px;       
    }
    b
    {   
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #000;
        border-radius: 2px;
        z-index: 1;
        &:first-of-type
        {
            margin-top:5px;
        }
    }
    i 
    {
        color:blue;
    }
}

#main-menu ul
{
    display:none;
}

main, h1
{
    margin:1rem;
    padding:1rem;
}

#main-menu #switch:checked ~ ul
{
    display:block;
}

