* {margin: 0;
    padding: 0; 
    box-sizing:content-box;}

body {
    font-family: 'Alegreya','Helvetica', 'Sans serif';
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

img {
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }

header,
footer {
    background-color: darkred;
    padding: .25em;
}


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


header > ul {
    display: flex;
}

header > ul > li {
    width: 2em;
    height: 2em;
    margin-left: .25em;
    display: flex;}

header > ul > li > a {
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;}

header nav {
    background-color:rgba(100,100,100,.85);
    color: white;
    position: fixed;
    right: -50vw;
    top: 0;
    height: 43vh;
    min-width: 10vw;
    transition: all .6s ease;
    z-index: 999;}

header nav:target {
    right: 0;
    transition: all .5s ease;}


header nav a {
    color: rgba(255,255,255,.75);
    display: block;
    margin: 1em;
    padding: 0.5em 0.5em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: white;
}
.cancel-icon{
    float:right; 
    cursor:pointer;
    margin:0.5em;
}

/*
$('.cancel-icon').click(function () {
    //Close the popup  
});

*/

#x {
    
    position: absolute;
    right: 0;
    top: 0;
}


main {background-color: lightgray; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;}

main span {color: darkred;
            font-feature-settings: }
main div {display: flex;
        flex-direction: row;}
main button  {margin: .5em;
            display: flex;
            flex-direction: row;
            background-color: darkred;
            color: gray;
            align-items: center;
            justify-content: center;
            box-sizing: border-box; border-radius: 0.7rem;
    color: white;
    font-family:  'Montserrayt', sans-serif;}
main div img {display: flex;
                justify-content: space-between;}

aside {background-color: lightgray;
        display: flex;
        justify-content: center;}
