@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Arrows:wght@400..700&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body{
    font-family: "Roboto";
    background-color: rgb(255, 200, 70);
    display: flex;
    flex-direction: column;
    height: 100vh;
}
h1{
    font-size: 150%;
    font-family: "Roboto Slab";
    font-weight: bold;
    color: rgb(40, 80, 65);
}
header h1{
    font-family:  "Roboto Slab";
    font-size: 200%;
    color: rgb(40, 80, 65);
    padding: 20px;
    padding-left: 35px;
}
nav{
    background-color: rgb(40, 80, 65);
}
nav ul{
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
}
nav ul li a{
    color: rgb(255, 200, 70);
    text-decoration: none;
}
#content{
    display: flex;
    flex: auto;
}
main{
    width: 70%;
    box-sizing: border-box;
    padding: 20px;
}
main h1{
    color: rgb(40, 80, 65);
    padding: 20px;
    padding-top: 0px;
}
main p{
    background-color: rgb(40, 80, 65);
    color: rgb(255, 200, 70);
    line-height: 150%;
    padding: 20px;
    border-radius: 10px;
}
main img{
    width: 100%;
    box-sizing: border-box;
    border: 10px solid rgb(40, 80, 65);
    border-radius: 10px;
}
aside{
    width: 30%;
    box-sizing: border-box;
    background-color: rgb(40, 80, 65);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    margin-left: 0px;
}
aside ul li{
    background-color: rgb(255, 200, 70);
    border-radius: 10px;
    margin: 20px 0 60px 0;
    padding: 10px;
    color: rgb(40, 80, 65);
    line-height: 300%;
    display: flex;
    justify-content: center;
}
aside h1{
    color: rgb(255, 200, 70);
    padding: 20px;
    padding-left: 36%;
}
footer{
    display: flex;
    justify-content: center;
    background-color: rgb(40, 80, 65);
    color: rgb(255, 200, 70);
    font-size: 85%;
    padding: 2px;
}
#menu-button{
    display: none;
}
/* Start of code for objects blog */
#samples{
    padding: 20px;
}
div pre{
    display: flex;
    justify-content: center;
    padding: 70px;
    font-weight: bolder;
    color: rgb(40, 80, 65);
    background-color: rgb(255, 200, 70);
    border-radius: 10px;
}
h1.codeSamples{
    padding: 20px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}
#imgNFL{
    display: flex;
    justify-content: space-evenly;
}
#nflFootball{
    width: 50%;
}
#jsObjects{
    width: 40%;
}
#gbH1{
    padding:20px;
    display: flex;
    justify-content: center;
}
/* Start of code blogs index page*/
#contentBlog{
    display: flex;
    flex: auto;
    padding: 50px;
}
#contentBlog main{
    background-color: rgb(40, 80, 65);
    width: 100%;
    border-radius: 10px;
}
#indexH1{
    color: rgb(255, 200, 70);
    padding: 20px;
    padding-bottom: 10px;
}
#contentBlog ul{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 230px;
}
ul li.indexLi{
    background-color: rgb(255, 200, 70);
    padding: 20px;
    border-radius: 10px;
}
ul li a.indexLinks{
    color: rgb(40, 80, 65);
    font-weight: bold;
    text-decoration: none;
}
/* code for image gallery */
#galleryMain{
    width: 40%;
}
#galleryAside{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
#image-gallery{
    width: 100%;
}
#image-gallery #mainImg{
    width: 100%;
    border: 10px solid rgb(40, 80, 65);
    border-radius: 10px;
}
#caption{
    color: rgb(255, 200, 70);
    font-weight: bold;
    font-size: 350%;
    padding: 20px;
}
#btnPrev, #btnNext{
    background-color: rgb(255, 200, 70);
    color: rgb(40, 80, 65);
    width: 75%;
    padding: 50px;
    border-radius: 10px;
    font-size: 40px;
}
#containerGallery{
    display: flex;
    flex: auto;
}

@media all and (max-width:800px){
    main, aside{
        width: 100%;
    }
    #content{
        display: block;
        padding: 20px;
    }
    nav{
        display: none;
        height: auto;
    }
    nav ul{
        display: block;
    }
    nav.open{
        display: flex;
        justify-content: flex-end;
    }
    header{
        background-color: rgb(40, 80, 65);
        height: 44px;
    }
    header h1{
        padding: 5px;
        box-sizing: border-box;
        color: rgb(255, 200, 70);
    }
    main{
        padding: 1px;
    }
    #menu-button{
        position: absolute;
        top: 0px;
        right: 0px;
        height: 44px;
		width: 44px;
		color: rgb(255, 200, 70);
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 30px;
		cursor: pointer;
    }
    /* Start of object blog media code */
    main ul li.indexLi{
        margin: 10px;
    }
    /* start of image gallery code */
    #containerGallery{
        display: block;
        padding: 20px;
    }
    #galleryMain, #galleryAside{
        width: 100%;
    }
    #caption{
        font-size: 200%;
    }
    #btnPrev, #btnNext{
        width: 60%;
    }
}
