* {
    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);
    padding: 2px;
    width: 100vw;
    
   
    
    
    
   
}

#banner {
    justify-content: center;
    
    
    
}

#main-body p {
    padding: 2px 10px;
    font-size: 18pt;
    padding-right: 20px;
 
    
}


 h1 {
    margin-top:10px;
    height: 100px;
    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;
   
    
}

nav a{
    display: inline-block;
    color: red;
    padding: 8px 16px;
    box-shadow: 2px 2px 4px red;
    text-decoration: none;
    border-radius: 4px;
    margin: 8px 8px;
    transition: .7s;
    
}

nav a:nth-child(7),   
nav a:nth-child(8),
nav a:nth-child(9),
nav a:nth-child(10) {
    display: none;
}



nav a:hover{
    background-color:rgb(184, 14, 14);
    color: black;
}

#headers {
    height: 80px;
    width: 100%;
    
}

#headers p {
    padding: 10px 10px;
}

#headers img{
    height: 70px;
    width: 90px;
    box-shadow: none;
    border-radius: 20%;
    margin-left: 25px;
    
    

}


#indexwrapper{
    height: 100vh;
    display:flex;
    
   
}

#indexwrapper section{
    display: flexbox;
    flex-basis: 30%;
    margin: 0 auto;
    padding-top: 50px;

}

#indexwrapper section:nth-child(1){
    background-image: url(/images/code.png);
    background-position: center;
    background-size: cover;
    height: 75%;
    box-shadow: 0px -2px red;
    margin: 50px 5px;
}

#indexwrapper section:nth-child(2){
    background-image: url(/images/me3.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10%;
    height: 60%;
    margin-top: 100px;
}

#indexwrapper section:nth-child(3){
    background-image: url(/images/code2.png);
    background-position: center;
    background-size: cover;
    height: 75%;
    box-shadow: 0px -2px red;
    margin-top: 50px;
}


p {
    font-size:30px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align:justify;
    margin: 2px 2px 12px 2px;
    padding-top: 10px;
    width: 100%;
    
    box-shadow: 2px 2px 4px red;
    
}


img {
    display: inline-block;
    width: 50vw;
    background-position:center;
    box-shadow: 4px 4px 8px red;
}

.headers{
    color:red;
    
}

#main-body {
    width: 100vw;;
}

#main-body p{
    display:flexbox; 
}

#main-body2 {
    display: flex;
    margin: 5px;
    padding: 20px;
    
    
}

#main-body2 p {
    padding: 80px 10px;
    margin-bottom: 20px;
    font-size: 15pt;
    
}

#main-body2 img {
   
   margin-top: 150px;
}


a{
    display: inline-block;
    background-color: #0e0823;
    color: red;
    padding: 8px 16px;
    box-shadow: 2px 2px 4px red;
    text-decoration: none;
    border-radius: 4px;
    margin: 8px 16px;
}

#photocontainer {
    display: flex;
    height: 100vh;
    flex-flow:row wrap;
    padding-top: 100px;
    padding-left: 50px;
    
  
}

#photocontainer img {
    display: flexbox;
    flex: 1 0 30%;
    aspect-ratio: 1/1;
    height: 120px;
    width: 120px;
    margin: 1 auto;
   
}

#photocontainer img:hover {
    border: 2px solid black;
    box-shadow: none;
}

#hobbyphotoscontainer {
    display: flex;
    height: 800px;
    flex-flow:row wrap;
    padding-top: 100px;
    padding-left: 100px;
   
}

#hobbyphotoscontainer img {
    display: flexbox;
    flex: 1 0 25%;
    aspect-ratio: 1/1;
    height: 300px;
    width: 300px;
    margin: 1 auto;
    
}



#footercontainer {
    height: 50px;
    width: 100%;
    text-align: center;
    background-image: url(/images/logo.png);
    background-position:left;
    background-repeat: no-repeat;
    background-size: 80px;
    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;
    
}
 @media screen and (min-width: 800px) {
    nav a:nth-child(7),   
    nav a:nth-child(8),
    nav a:nth-child(9),
    nav a:nth-child(10) {
        display: inline;
        }
        h1 {
            margin-top:10px;
            height: 200px;
            text-align: center;
            color:  #b8a7e6;
            padding-top: 75px;
            background-image:url(../images/background2.jpg);
            background-position:left;
            text-shadow: 4px 4px black;
            justify-content: center;
            width: 100%;
        }

        #main-body2 p {
            padding: 80px 10px;
            margin-bottom: 20px;
            font-size: 2em;
            
        }

        #main-body2 img {
   
            margin-top: 10px;
         }
         
         #main-body p {
            padding: 2px 10px;
            font-size: 26pt;
            padding-right: 20px;
         
            
        }
        


 }



