*{
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: #0e0823 ;
    color: #A6B7CA;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-image:linear-gradient(to bottom, #0e0823 80% , red);
}

#banner {

height: 100%;
text-align: center;
color:  #b8a7e6;
padding-top: 25px;
background-image:url(../images/background2.jpg);
background-position:left;
text-shadow: 4px 4px black;
justify-content: center;
}



#header img{
    height: 70px;
    width: 90px;
    box-shadow: none;
    border-radius: 20%;
    margin-left: 25px;
    
    

}


#container {
    display: flex;
    flex-flow: row wrap;
    color: #222;

}

header {
    min-height: 100px;
    background-color: #efa339 ;
    flex-grow: 1;
    flex-basis: 100%;
    text-align: center;
    
}

nav {
    min-height: 80px;
    background-color: #0e0823;
    flex-grow: 1;
    flex-basis: 100%;
    order: 1;
    padding: 12px 0px;
    
}

main {
    min-height: 1000px;
    background-color: #0e0823;
    flex-grow: 1;
    flex-basis: 100%;
    order: 2;
    text-align: center;
    
}

nav ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    list-style: none;
    gap: 16px;
   

}

nav ul li {
    border: 2px solid black;
    
}

nav ul li a {
    color: red;
    padding: 5px 5px;
    box-shadow: 2px 2px 4px red;
    text-decoration: none;
    border-radius: 4px;
    margin: 8px 8px;
    transition: .7s;
}

nav li:nth-child(5),   /* hides navigation objects when viewing on small display */
nav li:nth-child(6),
nav li:nth-child(7),
nav li:nth-child(8) {
    display: none;
}

nav a:hover{
    background-color:rgb(184, 14, 14);
    color: black;
}

 main img {
    height: 600px;
    padding: 20px 20px;
    margin: 0 auto;
}
a{
    
    background-color: #0e0823;
    color: red;
    padding: 8px 16px;
    box-shadow: 2px 2px 4px red;
    text-decoration: none;
    border-radius: 4px;
    margin: 8px 16px;
}

main p {
    color: grey;
    line-height: 1.5;
}

p a:hover{
    background-color:rgb(184, 14, 14);
    color: black;
}

#footercontainer {
    height: 50px;
    width: 100%;
    text-align: center;
    border-top: 2px solid black;
    background-color: #0e0823;
    
}


#footer section{
    display: inline;
    color: grey;
    padding-left: 25px;
  
   
}

#footer a{
    background-color: red;
    box-shadow: none;
    color: black;
    
}






p {
    color: red;
    font-size: 1.5em;
    line-height: 1.4;
    margin: 8px 8px 12px 8px;
}

#footer section {
    font-size: 6pt;
}


@media screen and (min-width: 750px) {

    nav {
        flex-grow: 0;
        flex-basis: 200px;
        padding: 20px 20px;
       
        
    }

    main {
        flex-basis: 50%;
        text-align:left;
    }

    main img {
        height: 900px;
        padding: 40px 20px;
        margin: 0 auto;
        width: 700px;
    }

    main p {
        font-size: 20pt;
        padding: 50px 20px;
        line-height: 2;
    }

    nav li {
    flex-grow: 1;
    margin: 20px 0px;
   
    
}





nav a {
    text-align: center;
    font-size: 20pt;
    font-weight: bold;
    padding-top: 20px;
    
    
    
}

nav li:nth-child(5),   /* reveals (block) content navigation objects when viewing on small display */
nav li:nth-child(6),
nav li:nth-child(7),
nav li:nth-child(7) {
    display: block;
}



.profile {
    width: 40%;
    float: left;
}

#footer section {
    font-size: 12pt;
    padding-top: 10px;
}



}

   

