@import url('https://fonts.googleapis.com/css?family=Gravitas+One|BioRhyme|Quicksand');

/* fonts {
font-family: 'BioRhyme', serif;
font-family: 'Gravitas One', cursive;
font-family: 'Quicksand', sans-serif;
} */

html {
    background: #EFF1E7;
}

* {
    padding: 0;
    margin: 0;
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: white;
    border-width: 0 1px;
    color: #171717;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'BioRhyme', serif;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    padding: 5px;
}

#logo h1 {
    font-family: 'Gravitas One', cursive;
    font-size: 2.25em;
    margin: 0 0 5px 10px;
    padding: 0;
    color: #10131C;
    text-decoration: none;
}

#logo a {
    text-decoration: none;
}

.section {
    display: flex;
    padding: 20px 10px;
    min-height: 350px;
}

nav {
    font-family: 'BioRhyme', serif;
    max-width: 35%;
    margin-right: 5px;
    display: flex;
    text-align: right;
    flex-direction: row;
    flex-flow: wrap-reverse;
    align-items: flex-end;
    justify-content: flex-end;
}

nav a {
    background: #E74443;
    padding: 2px 5px;
    margin: 1px 5px;
    color: white;
    text-decoration: none;
}

nav a:last-of-type {
    margin-right: 0;
}

nav a:hover {
    animation: fadeLinks .5s;
    background-color: #1098F7;
}

.section p {
    font-family: 'Quicksand', sans-serif;
}

.section#splash {
    height: 600px;
    background-image: url('media/back-to-school-paper-colored-paper-stationery-159519.jpeg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

#splash h3 {
    margin: auto;
    background: white;
    text-align: center;
    max-width: 75%;
    font-size: 300%;
    padding: 5px 10px;
    box-shadow: 2px 2px 10px black;
    animation: fadeIn 2.5s;
}

#products {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gallery {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

div.products.section {
    background: red;
}

.product {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

div#products p {
    padding: 20px;
}

.popup {
    font-family: 'Quicksand', sans-serif;
    position: absolute;
    width: 150px;
    /* opacity: .8; */
    background: white;
    padding: 10px;
    text-align: center;
    display: none;
    box-shadow: 1px 1px 5px black;
}

.product img {
    width: 275px;
    align-self: center;
    /* border: 1px solid rgb(253, 137, 137); */
    padding: 2px;
    background: white;
}

#product-name {
    position: relative;
    margin: auto;
    display: inline;
}

#about {
    background: #E9F1F7;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-evenly;
}

#about-blurb {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#about-blurb p {
    font-size: 1.2em;
    width: 45%;
    line-height: 1.75;
}

#about-photo {
    width: 400px;
    align-self: center;
}

#services {
    display: flex;
    background: white;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

#service-list {
    list-style: none;
    font-family: 'Quicksand', sans-serif;
}

#service-list li {
    padding: 5px;
}

footer {
    display: flex;
    height: 150px;
    flex-direction: row;
    padding: 20px;
    justify-content: space-evenly;
    font-family: 'BioRhyme', serif;
    background: #E9F1F7;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeLinks {
    0% {
        opacity: .25
    }
    50% {
        text-decoration: underline;
    }
    100% {
        opacity: 1;
        text-decoration: underline;
        background-color: #1098F7;
    }
}

.footer-link,
#footer-text {
    font-size: .83em;
    max-width: 25%;
    margin: 1px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

footer a {
    text-decoration: none;
    background: #E74443;
    padding: 1px 3px;
    margin: 2px;
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    animation: fadeLinks .5s;
    background-color: #1098F7;
}