#container {
    display: grid;
    grid-template-areas:
        "header header header"
        "content1 content2 content3"
        "content4 content4 content4";
    grid-auto-rows: 120px;
    gap: 8px;
}
#container {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Optional, for consistent ellipsis */
    }


h2 {
    font: bold 15px Arial, sans-serif;
    color: white;
    text-align: center;
    margin: 10px 10px 10px 10px;
    
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-area: header;
    background-color: rgb(233, 233, 233);
}


.header h1 {
    margin: 0;
    padding-left: 30px;
}


#logo {
    width: 60px;
    height: 60px;
    cursor: pointer;
}


.nav {
    display: flex;
    background-color: rgb(214, 214, 214);
    padding: 10px;
    margin-top: 5px;
}


.nav p:hover {
  cursor: pointer;
}


.nav p {
    margin: 0 10px;
}


.content1 {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: content1;
    background-color: rgb(162, 162, 162);
    color:white;
}


.content2 {
    display: flex;
    grid-area: content2;
    background-color: rgb(133, 133, 133);
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
}


.content3 {
    display: flex;
    justify-content: center;
    align-items: center;    
    grid-area: content3;
    background-color: rgb(67, 67, 67);
    color: white;
}


.content4 {
        display: flex;
    justify-content: center;
    align-items: center;    
    grid-area: content3;
    grid-area: content4;
    background-color: rgb(0, 0, 0);
    color: white;
}



@media only screen and (min-width: 600px) and (max-width: 1199px) {
    #container {
        grid-template-areas:
            "header header"
            "content1 content2"
            "content3 content4";
        grid-auto-rows: 100px;
    }
    .nav {
        display: none;
    }
    #logo {
        display: block;
        order: 2;
        margin-right: 10px;
}


.header {
    display: inline-block;
    order: 2;
    margin-right: 10px;
}


}

@media only screen and (max-width: 599px) {
    #container {
        grid-template-areas:
            "header"
            "content1"
            "content2"
            "content3"
            "content4";
        grid-auto-rows: 100px;
    }
    .nav {
        display: none;
    }
    #logo {
        display: block;
        order: 2;
        margin-right: 10px;
        visibility: hidden;
}


.header {
    display: inline-block;
    order: 2;
    margin-right: 10px;
}


}

