*{box-sizing: border-box;}


body {
    background-image: url(starbackground2.jpg);
    background-size: cover;
}
@font-face {
    font-family: 'planet_kosmosregular';
    src: url("plank___-webfont.woff") format('woff2'),
         url('plank___-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


#pictures{
    display:grid;
    grid-template-columns: 850px 500px;
}

#list a:hover {
    text-decoration: underline;
}

#pictures p{
    text-align: left;
    padding-left: 170px;
}

#pictures
#animestars{height: 400px;
width: 490px;
background-image: url(animestar.png);
background-position: center;
background-size:cover;
align-content: center;
}

#moonstar {height: 400px;
width: 550px;
background-image: url(moonstar.png);
background-position: center;
background-size:cover;
    
}

#shootingstar{height: 400px;
width:550px;
background-image: url(shootingstar.png);
background-position: center;
background-size:cover;
    
}

#stargalaxy {height: 400px;
width:550px;
background-image: url(stargalaxyshirt.png);
background-position: center;
background-size:cover;
    
    
}

header h1 {
    color: black;
    font-family: "planet_kosmosregular", sans-serif;
    font-weight: bold;
    font-style: normal;
    
    font-size:3.0em;
    padding-left: 0.5em;
    text-decoration: none;
}
nav  {padding-bottom: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    padding-left; 2em;
    top: 0;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
}
nav ul {list-style-type: none;
margin-top:0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
padding-top:0;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
    display:flex;
    flex-flow: row nowrap;
    text-align: center;}

nav ul li {
    width: 100%;
    color: black;
}
nav a {color:black;
font-size: 1.7em;
font-weight:bold;
text-decoration: none;
font-family: sans-serif;}

nav a:hover{
}

header a {text-decoration: none;
color:black;}


p {color: black;
font-size:1.2em;
font-weight: bold;
font-family: sans-serif;
}

p a {color: black;
font-size: 1.2em;
text-decoration: none;}


#left{display: grid;
    grid-template-columns: 1330px 100px;
}

@media only screen and (max-width:992px){
    
    
    #pictures {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-flow: column nowrap;
        background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
        
        
    }
    
    nav {grid-row: 2 / 3; grid-column: 1 / 5;}
    nav ul li {
       text-align: center;
    }
    
    header h1 {
        text-align: center;
    }
    
    footer {
       margin: auto;
    }
    
    #left {
        grid-template: none;
    }
    

    }
}
@media only screen and (max-width:768px) {
    
    #pictures {display: flex;
    align-items: center;
        justify-content: center;
    }
    nav {grid-row: 2 / 3;
    grid-column: 2 / -1;}
    
    nav {display: flex;
    text-align: center}
    
    header h1 {
        text-align: center;
    }
    nav ul li {
       text-align: center;
}


