* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

.container {
    display: grid;
    grid-auto-rows: auto;
    
    gap: 5px;
    background-color: #88ddff;

    >div {
        background-color: #b3ddee;
        border: 1px solid black;
        padding: 10px;
        font-weight: bold;
        font-family: sans-serif;
        min-height: 75px;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        justify-content: end;
        background-image: url('images/logo-small.jpg');
        background-position: center;
        background-size: cover;

        .burger {
            background-color: #def0f8;
            padding: 5px;
            border-radius: 5px;
        }
    }
    .menu { display: none; }
    .news { background-color: #a2cce5; }
    .blogg { background-color: #aad4c3; }

    .commercial {
        padding: 0px;
        height: auto;

        picture, img {
            width: 100%;
            display: block;
            object-fit: cover;
        }
    }
}

@media only screen and (min-width: 650px) {
    .container {
        grid-template-columns: 1fr 1fr;
        .logo, .menu, .commercial { grid-column: 1/-1; }        

        .logo { background-image: url('images/logo-medium.jpg'); }
        .logo > .burger { display: none; }

        .menu {
            display: flex;
            justify-content: space-around;

            a {
                width: 30%;
                color: white;
                background-color: #77ccff;
                border: 1px solid black;
                border-radius: 5px;
                text-decoration-line: none;
                padding: 10px;
                text-shadow: 0px 1px black;
                text-align: center;
                font-size: 2em;
            }
        }
    }
}

@media only screen and (min-width: 1030px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr;

        .logo { background-image: url('images/logo-big.jpg'); }

        .menu { grid-column: span 2; }
        .commercial { 
            grid-column: -2/-1;
            grid-row: span 4;
        }
    }
}

@media only screen and (min-width: 1300px) { /* Tweak this number later instead of 1600px. */
    .container {
        grid-template-columns: 1fr 1fr 1fr 1fr;

        .menu { display: none; }

        .news, .review, .blogg {
            grid-row: 2/4;
        }

        :nth-child(2 of .news),
        :nth-child(2 of .review),
        :nth-child(2 of .blogg) {
            grid-row: 4/6;
        }
    }
}