* {
    box-sizing: border-box;
}

@font-face {
    font-family: myFirstFont;
    src: url(FontOfKindness.otf);
  }

.text {
    color: #000000;
    font-family: myFirstFont;
    font-size: .875em;
    line-height: 1.8;
    font-weight: 400;
}

.text01 {
    color: #000000;
    font-family: myFirstFont;
    font-size: 1em;
    line-height: 1.5;
    font-weight: 900;
}

.text02 {
    color: #000000;
    font-family: myFirstFont;
    font-size: .875em;
    line-height: 1.5;
    font-weight: 400;
}

body {
    padding-top: 30px;
    padding-bottom: 30px;
}

#wrapper {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: minmax(0, 1.5fr) 29.5em minmax(0, 1.5fr);
}

nav {
    grid-area: 1/1/1/1;
    padding-top: 170px;
}

nav a {
	text-decoration: none;
    font-size: xx-large;
	color: #000000;
	padding-left: 4.5rem;
	text-align: left;
}

#main {
    background-image: url(images/zine.png);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0rem 0rem 2rem 0rem #bababa;
    grid-column: 2/3;
    display: grid;
    grid-template-columns: 280px 190px;
    grid-template-rows: 335px 265px;
    position: relative;
}

#main > .inner {
    grid-area: 1/1/1/1 ;
    padding-top: 6rem;
    padding-left: 3rem;
}

#polaroid {
    height:20em;
    background-image: url(images/polaroid.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 20px;
    background-position: center;
}
.picture {
    grid-area: 1/2/1/2;
    padding-top:75px;
}

#philosophy {
    height: 19em;
    background-image: url(images/sticky.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.philosophy {
    grid-area: 2/1/2/1;
}

#title {
    grid-area: 2/1/2/1;
    padding-left: 100px;
    padding-top: 70px;
}

#subtext {
    grid-area: 2/1/2/1;
    padding: 100px;
}

#boxes { 
    height: 13em;
    width: 11em;
    background-image: url(images/boxes.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.boxes {
    grid-area: 2/2/2/2;
    padding-top: 60px;
}

#socialmedia {
    grid-area: 2/2/2/2;
    padding-top: 90px;
    text-align: center;
    padding-right: 15px;
}

#stars2 {
    position: absolute;
    height: 17em;
    bottom: 5em;
    right: 8em;
}

#about {
    height: 7em;
}
footer {    
    grid-column: -3/-2;
    padding-left: 95px;
    padding-bottom: 100px;
}

div {
    display: block;
    grid-column: -3/-2;
}

html, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, header, hgroup, menu, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

@media only screen and (max-width: 768px)
{
    #main {
        justify-content: center;
    }
    body {
        padding-top: 0px;
    }
    #wrapper {
        padding-top: 140px;
    }
}


