body
{
    font-family: Roboto Mono;
    background-color: #ebebff;
}

#header nav{
    display: flex; 
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    /* background-color: aquamarine; */
}

.headerLinks{
    color: black;
    text-decoration: none;
}

.menu-icon{
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-icon span{
    width: 25px;
    height: 3px;
    background-color: red;
}

#title{
    display: grid;
    align-content: center;
    column-gap: 10px;
    margin: 20px;
    margin-bottom: 5em;
    margin-top: 5em;
    height: 500px;
    text-align: center;
    background-image: url("./Pictures/ToadGaming.jpg");
    background-position: 500px 53%;  
    color: floralwhite;
    text-shadow: 
        -1px -1px 0px black,  
        1px -1px 0px black,
        -1px 1px 0px black,
        1px 1px 0px black;
    /* text-shadow: 4px 4px 8px black; */
}
#title p{
    font-size: larger;
}

.GridContainer{
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: 50px 980px 50px;
    column-gap: 20px;
    row-gap: 50px;
    grid-template-areas: 
    "header header header"
    "mainOne mainTwo mainThree"
    "footer footer footer";
    justify-content: center;
    margin-bottom: 20em;
    font-size: 24px;
    overflow-wrap: break-word;
    
}
.gheader{
    grid-area: header;
    justify-self: center;
    align-content: center;
    font-size: 1.5em;
}

.gbody1{
    grid-area: mainOne;
    color: gold;
    background-color: darkred;
    font-size: 3.5em;
    padding-left: 5%;
    
}

.gbody2{
    grid-area: mainTwo;
    color: turquoise;
    background-color: darkgreen;
    font-size: 3.5em;
    padding-left: 5%;
}

.gbody3{
    grid-area: mainThree;
    color: magenta;
    background-color: darkblue;
    font-size: 3.5em;
    padding-left: 5%;
}

.GridContainer img{
    width: 90%;
    height: auto;
    object-fit: cover;  
    align-self: center;
    padding-right: 5%;
}
.GridContainer p{
    align-self: end;
    font-size: 1em;
}

.gfooter::first-line
{
    color: red;
    font-weight: bold;
    font-size: 2em;
}

.gfooter{
    margin-top: -24px;
    grid-area: footer;
    font-size: 1.5em;
}

@media screen and (max-width:900px) {
    body{
        font-size: 60%;
    }
    #title{
        background-position: 50% 60%;
    }
    .headerLinks{
        display: none;

        flex-direction: column;
        gap:10px;
        background-color: lightblue;
        position: relative;
        top: 30px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 50px);
        justify-content: center;
        align-items: center;
    }

    .headerLinks.active{
        display: flex;
    }

    .menu-icon{
        display: flex;
    }

    .menu-icon span {
        transition: all 0.3s ease;
    }
    .menu-icon.active span:nth-child(2){
        opacity: 0;
    }
    .menu-icon.active span:nth-child(1){
        transform: rotate(45deg);
        position: relative;
        top: 8px;
    }
    .menu-icon.active span:nth-child(3){
        transform: rotate(-45deg);
        position: relative;
        top: -8px;
    }

    .GridContainer{
        margin-top: 50px;
        margin-bottom: 250px;
        grid-template-columns: 100vw 100vw 100vw;
        grid-template-rows: 10px 980px 10px;
        overflow-x: scroll;
        justify-content: flex-start;
        height: 150vh;
        
    }
    .gheader{
        justify-self: flex-start;
        align-self: flex-start;
    }
    .GridContainer img{
        height: 40%;
        object-fit: unset;
        padding-right: 0%;
        padding-bottom: 100px;
    }

    .gbody1{
        padding-left: 2%;
    }
    .gbody2{
        padding-left: 2%;
    }
    .gbody3{
        padding: 2%;
    }
}