html, body{
    background-image: url('../gifs/cloud.gif');
    font-family: "Comic Neue", cursive;
    color: #5c4b50;
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

hr{
    border-top: 5px dotted #5c4b50;
    color: #5c4b50;
}

.scrollbar{
    height: 10px;
    width: 90%;
    border:none;
    background-image: url('../gifs/divider.gif');
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.main-container{
    width: 80vw;
    
    min-height: 90vh;

    display: grid;
    grid-template-columns: 1fr 0.25fr;
    grid-template-rows: 0.5fr 3fr;
    gap: 20px;

    grid-template-areas:
        "top top"
        "left right";
}

.header{
    grid-area:top;
    background-color: #f06161;
    border-width: 3px;
    border-style: solid;
    font-size: 1.5em;
    text-align: center;
}

.content{
    grid-area: left;
    background-color: #f2ebbe;
    border-width: 3px;
    border-style: solid;
    padding: 20px;
    overflow:auto;
    max-height: 70vh;
    scrollbar-color: #f3b562 #f2ebbe;
    scrollbar-width: thin;
}

.content-box{
    display: flow-root;
    background-color: #e5c9c9;
    border: 3px solid #5c4b50;
    padding: 10px;
    height: auto;
    text-align: justify;
}

.navigation{
    grid-area: right;
    background-color: #f3b562;
    border-width: 3px;
    border-style: solid;
    text-align: center;
}

.navigation ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.navigation li a{
    display: block;
    background-color: #8dbfb2;
    padding: 10px;
    margin: 10px;

    text-decoration: none;
    font-size: 1.2em;
    font-weight: 1000;
    color: #f2ebbe; 
    text-align: center;
    transition-duration: 0.2s;
}             

.navigation a:hover{
    background-color: #5c4b50;
    color: #8dbfb2;
    transition-duration: 0.2s;
}

@media (max-width: 1024px){
    .main-container{
        grid-template-areas:
        "top"
        "right"
        "left";
        grid-template-rows: 0.25fr 0.5fr 1fr;
    }

    .navigation ul{
        display:grid;
        grid-template-columns: repeat(4, 1fr);
        height: auto;
    }

    .navigation li a{
        margin: 10px;
    }
}