#container {
    display: grid;
    grid-template-areas:
        "header header header"
        "content1 content2 content4"
        "content1 content2 content4"
        "content3 content3 content4"
        "content5 content5 content5"
        "content5 content5 content5"
        "footer footer footer";
    gap: 14px;
}

.header { 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-area: header; 
    background-color: rgb(79, 0, 0); 
}

.header h1 {
    margin: 0;
    padding-left: 30px;
}

#logo {
    display: none;
    width: 70px;
    height: 70px;
    cursor: pointer;
    display: inline-block;
    order: 2;
    margin-right: 10px;
}

.nav {
    display: flex;
    background-color: rgb(79, 0, 0);
    padding: 10px;
    margin-top: 5px;
}

.nav p:hover {
  cursor: pointer;
}

.nav p {
    margin: 0 10px;
}

.content1 { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    grid-area: content1; 
    background-color: rgb(79, 0, 0); 
    padding: 5px;
}

.content2 { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:flex-end;
    grid-area: content2; 
    background-color: rgb(79, 0, 0); 
    padding: 5px;
}

.content3 { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-area: content3; 
    background-color: rgb(79, 0, 0); 
    padding-bottom: 5px; 
    padding-right: 5px; 
    padding-left: 5px;
}

.content4 { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-area: content4; 
    background-color: rgb(79, 0, 0); 
    padding: 5px;
}

.content5 { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-area: content5; 
    background-color: rgb(79, 0, 0); 
    padding: 5px;
    height: auto;
}

.content1 p{
    font-size: 14px;
}
.content2 p{
    font-size: 15px;
}
.content3 p{ 
    font-size: 14px;
}
.content4 p{
    font-size: 17px;
}

h2 {
    margin: 5px;
    text-align: center;
}



.footer { 
    grid-area: footer; 
    background-color: rgb(79, 0, 0); 
    height: 80px;
}



 * {
    color: white;
 }

a {
    color: white;
    font-size: 20px;
}


body {
    background-color: black;
}



.topnav {
  background-color: #2d0033;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 20px 8px;
  gap: 16px;
  position: relative;
}

.logo-container {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Style the links inside the navigation bar */
.topnav a {
  color: #f2f2f2;
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
  font-size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #5b0067;
  color: rgb(0, 0, 0);
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #5adfdf;
  color: white;
}




@media only screen and (max-width:1200px) {
    #container {
        grid-template-areas: 
            "header header"
            "content1 content2"
            "content1 content2"
            "content3 content4"
            "content3 content4"
            "content5 content5"
            "content5 content5"
            "footer footer";
    }

    .nav {
        display: none;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .content1 p{
        font-size: 11px;
    }

    .content2 p{
        font-size: 11px;
    }

    .content3 p{ 
        font-size: 11px;
    }

    .content4 p{
        font-size: 11px;
    }

    H2 {
        font-size: 18px;
    }

    a {
        font-size: 16px;
    }

}

@media only screen and (max-width:599px) {
    #container {
        grid-template-areas: 
            "header"
            "content1"
            "content1"
            "content2"
            "content2"
            "content3"
            "content3"
            "content4"
            "content4"
            "content5"
            "content5"
            "footer";
    }

    .nav {
        display: none;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    

    .content1 p{
        font-size: 13px;
    }

    .content2 p{
        font-size: 14px;
    }

    .content3 p{ 
        font-size: 15px;
    }

    .content4 p{
        font-size: 14px;
    }

    H2 {
        font-size: 17px;
    }

    
    a {
        font-size: 14px;
    }

}