html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, 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, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
    font-family: "gontserrat";
    background-color: rgb(29, 29, 29);
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

h1 {
    font-size: 35px;
}

p {
    margin: 10px;
    line-height: 20px;
}

img {
    display: inline;
    margin: 10px;
}

footer {
    width: 100%;
    text-align: left;
    font-family: "impact";
    font-style: italic;
    background-color: #191919;
}

footer a {
    text-decoration: none;
}

iframe {
    width: 90%;
    display: block;
    margin: auto;
    margin-top: 15px;
}

form {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    font-family: "gontserrat";
}

input, textarea {
    border: 0px;
    padding: 10px;
    background-color: rgb(31, 31, 31);
    color: white;
    border-radius: 2px;
    font-size: 14px;
    font-family: "gontserrat";
}

textarea {
    width: 300px;
    min-width: 150px;
    max-width: 300px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
}

input:focus, textarea:focus {
    outline: 1px solid white;
}

::placeholder {
    font-family: "impact";
    font-size: 20px;
    color: rgb(190, 190, 190);
}

/* FONTS */

@font-face {
    font-family: "gontserrat";
    src: url(fonts/gontserrat.ttf);
}

@font-face {
    font-family: "tommy";
    src: url(fonts/tommy.otf);
}

@font-face {
    font-family: "impact";
    src: url(fonts/impact.ttf);
}

/* CLASSES */

.mobile-container {
    background-color: #2a2a2a;
    max-width: 375px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
}

#pages {
    display: none;
    position: absolute;
    width: 100%;
    top: 64px;
    background-color: #c7d292;
    overflow: hidden;

    text-shadow:
    0 0 5px #c7d292,
    0 0 7px rgb(0, 0, 0);
}

#pages a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

#pages a:hover {
    background-color: #bdcb82;
    animation: hover 0.25s;
}

.topnav a.icon {
    background: #ce83d6;
    display: block;
    position: absolute;
    transform-origin: 100% 0%;
    right: 0;
    top: 0;
    z-index: 2;
}

a.icon img {
    margin: 6px 8px 6px 8px
}

.topnav a.icon:hover {
    background-color: #b271b9;
    animation: hover 0.25s;
}

.active {
    display: flex;
    background-color: #d48add;
    color: white;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    max-height: 60px;
    margin: 2px;
}

.logo:hover {
    animation: shake 0.5s;
}

.title {
    font-family: "tommy";
    font-size: 34px;
    margin-left: 5px;
    text-wrap: nowrap;
}

.expand {
    animation: expand 0.5s ease-in-out;
}

.map {
    height: 350px;
}

.main {
    margin-top: 12px;
}

.main h1, p {
    margin-left: 15px;
}

.parallax {
    width: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.emphasis {
    display: inline-block;
}

.emphasis h1 {
    color: #d48add;
    font-family: "tommy";
    animation: color-change 8s infinite;
}

.emphasis:hover {
    animation: shake 0.5s;
}

.main-img, iframe {
    box-shadow:
    0 0 5px #111111,
    0 0 10px rgb(29, 29, 29);
}

.social {
    max-height: 40px;
    margin: 3px;
    border-radius: 8px;
}

.social:hover {
    filter: brightness(0.9);
    animation: hover 0.25s;
}

.submit {
    font-family: "gontserrat";
}

.submit:hover {
    filter: brightness(1.2);
    animation: hover 0.25s;
}

input:hover, textarea:hover {
    filter: brightness(1.2);
}

/* ANIMATIONS */

@keyframes expand {
    from {
        transform: translateY(-100%);
    }
}

@keyframes retract {
    from {
        transform: translateY(100%);
    }
}

@keyframes shake {
    25% {
        transform: rotate(2deg);
    }
    50% {
        transform: rotate(-4deg);
    }
    75% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(-1deg);
    }
}

@keyframes hover {
    from {
        scale: 105%;
    }
}

@keyframes color-change {
    10% {
        color: #d48add;
    }
    35% {
        color: #8d83ec;
    }
    60% {
        color: #e37490;
    }
    85% {
        color: #decca5;
    }
    100% {
        color: #d48add;
    }
}