*{box-sizing: border-box;}

#demotext {
    
}

body {
    background-image: url(starbackground2.jpg);
    background-size: cover;
    font-weight: bold;
    font-family: sans-serif;
    text-align: center;
}
@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;

}

div.gallery {
  margin: 100px;
  float: left;
  width: auto;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 100%;
}

div.desc {
  padding: 15px;
  text-align: center;
}
.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: auto;
height: auto
}

.row {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
}

.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: flex;
  display: flex;
  flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0 4px;}

#form {
    padding-top: 20px;
    text-align: center;
    display: flex;
    width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
    width: 100%;
  color: black;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#mailinglist {
    padding-top: 20px;
    font-family: sans-serif;
    font-weight: bold;
}

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

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

#starlogopng {
    padding-top: 100px;
}
#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{
}

#media {
    text-align: center;
    font-weight: bold;
    padding-top: 50px;
}

#instagram {
    background-image: url(instagram.png);
}
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: 100px 2550px;
}

@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;
}


