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;
    background-color: rgb(63, 227, 233);
    background-image: url(images/bg.jpg);
    background-size: 200px;
    font-family: "main";
    font-size: 28px;
    color: white;
    text-shadow:
    2px 2px black,
    0 0 5px rgb(0, 0, 0);
}

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;
}

html {
    padding: 20px;
}

h1 {
    font-size: 72px;
    font-family: "header";
    color: rgb(160, 233, 255);
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    text-wrap: nowrap;
    -webkit-text-stroke: 2px black;
    text-shadow:
    4px 4px black,
    0 0 15px white;
    transition: all 0.1s;
}

h1:hover {
    transform: scale(102%);
}

audio {
    display: block;
    margin: auto;
    margin-bottom: 10px;
    transition: all 0.1s;
}

audio::-webkit-media-controls-panel {
    background-color: rgb(212, 246, 255);
}

audio:hover {
    transform: scale(103%);
}

p {
    margin: auto;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow:
    0 0 15px rgba(0, 0, 0, 0.5),
    0 0 15px rgb(0, 0, 0, 0.5);
}

video {
    display: block;
    width: 700px;
    margin: auto;
    border: 4px solid black;
    box-shadow:
    0 0 15px rgba(0, 0, 0, 0.5),
    0 0 15px rgb(0, 0, 0, 0.5);
}

/* CLASSES */

.container {
    width: 700px;
    margin: auto;
}

.scrolling-bg-container {
    overflow: hidden;
    margin: 0%;
    padding: 0%;
    width: 100%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -999;
}
  
.scrolling-bg {
    background: url("images/103.png") repeat;
    filter: saturate(1.6);
    width: 1000vw;
    height: 1000vh;
    background-size: 100px;
    animation: bg 4s linear infinite;
    opacity: 50%;
}

.img-container {
    margin: auto;
    margin-bottom: 30px;
    width: 400px;
    height: 305px;
    border: 4px solid black;
    transition: all 0.1s;
}

.img-container:hover {
    transform: scale(103%);
}

.mouth {
    position: absolute;
    margin: 140px 0 0 -233px;
    width: 75px;
    transform-origin: 0.5 0;
    animation: mouth 1s linear infinite;
}

.spunj-glob {
    display: block;
    margin: auto;
    margin-top: 30px;
    width: 300px;
    height: 300px;
    transition: all 1s;
}

.spunj-glob img {
    width: 100%;
    height: 100%;
    
}

.spunj-glob:hover {
    filter: saturate(9999%);
    animation: spunj-glob 1s 2s linear infinite;
}

.face {
    display: block;
    margin: auto;
    width: 300px;
    transition: all 0.5s;
}

.face img {
    width: 100%;
    height: 100%;
    box-shadow:
    0 0 15px rgba(0, 0, 0, 0.5),
    0 0 15px rgb(0, 0, 0, 0.5);
}

.face:hover {
    transform: skew(50deg, 10deg) rotate(360deg);
    filter: saturate(9999%);
}

/* FONTS */

@font-face {
    font-family: "header";
    src: url(fonts/header.ttf);
}

@font-face {
    font-family: "main";
    src: url(fonts/main.otf);
}

/* ANIMATIONS */

@keyframes bg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-200px, 0);
    }
}

@keyframes mouth {
    0% {
        transform: scale(1, 1);
    }
    5%{
        transform: scale(1.5, 0.4);
    }
    15%{
        transform: scale(0.4, 1.3);
    }
    25%{
        transform: scale(1.5, 1);
    }
    35%{
        transform: scale(0.4, 1.6);
    }
    45%{
        transform: scale(1.3, 0.6);
    }
    55%{
        transform: scale(1.3, 1);
    }
    65%{
        transform: scale(0.6, 0.8);
    }
    75%{
        transform: scale(1.7, 0.6);
    }
    85%{
        transform: scale(1, 1.2);
    }
    95% {
        transform: scale(1.2, 1);
    }
}

@keyframes spunj-glob {
    0% {
        transform: scale(1, 1);
    }
    5%{
        transform: scale(1.5, 0.5);
    }
    15%{
        transform: scale(0.5, 1.5);
    }
    25%{
        transform: scale(1.5, 0.5);
    }
    35%{
        transform: scale(0.5, 1.5);
    }
    45%{
        transform: scale(1.5, 0.5);
    }
    55%{
        transform: scale(0.5, 1.5);
    }
    65%{
        transform: scale(1.5, 0.5);
    }
    75%{
        transform: scale(0.5, 1.5);
    }
    85%{
        transform: scale(1.5, 0.5);
    }
    95% {
        transform: scale(0.5, 1.5);
    }
}