html,body {
    height: 100%;
}

::selection {
    background: #F4C52B;
}

mark {
    background: #F4C52B;
    color: white;
}

p {
    font-family: "Courier New", monospace;
    color: #0F1B13;
    font-size: 0.8em;
}

h1 {
    font-family: 'Fjalla One', sans-serif;
    text-transform: uppercase;
    font-size: 4em;
    letter-spacing: 4px;
}

.logo {
    position: absolute;
    z-index: 100;
    left: 73%;
    margin-top: 1%;
    width: 25vw;
    float: right;
    animation: rotate 50s linear infinite;
}

#header {
    position: absolute;
    z-index: 1;
    margin-left: 2em;
    Top: 10px;
    animation: header 1s;
}

.yellow {
    position: absolute;
    z-index: 0;
    margin-left: 5em;
    top: 170px;
    height: 20vw;
    width: 80vw;
    background-color: #F4C52B;
    animation: yellow 1s;
}

.pattern {
    position: absolute;
    z-index: -1;
    margin-left: 4em;
    top: 160px;
    height: 20vw;
    width: 80vw;
}

.crosshatch { 
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc4JyBoZWlnaHQ9JzgnPgogIDxyZWN0IHdpZHRoPSc4JyBoZWlnaHQ9JzgnIGZpbGw9JyNmZmYnLz4KICA8cGF0aCBkPSdNMCAwTDggOFpNOCAwTDAgOFonIHN0cm9rZS13aWR0aD0nMC41JyBzdHJva2U9JyNhYWEnLz4KPC9zdmc+Cg=="); 
    background-repeat: repeat; 
}

#copy {
    position: absolute;
    z-index: 3;
    width: 300px;
    top: 250px;
    margin-left: 10vw;
    animation: copy 3s ease-in-out 0.5s backwards;
}

.date {
    position: absolute;
    z-index: 2;
    width: 7em;
    height: 10em;
    top: 28em;
    left: 0;
    background-color: #F4C52B;
}

.date img{
    width: 70%;
    margin-top: 40px;
    margin-left: 15px;
}

#form {
    position: absolute;
    z-index: 26;
    top: 29em;
    left: 35vw;
    width: 30vw;
}

input {
    font-family: "Courier New", monospace;
    color: #0F1B13;
    font-size: 0.8em;
    margin: 7px 9px;
    border: none;
    border-bottom: 1px dashed #0F1B13;
    background: transparent;
    outline: none;
    resize: none;
}

input:focus {
    background-color: #F4C52B;
}

button {
    background-color: #F4C52B;
    border: 1px solid #F4C52B;
    color: #0F1B13;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-family: "Courier New", monospace;
    font-size: 0.8em;
    cursor:pointer;
}

button:hover {
    border: 1px dashed #0F1B13;
}

.footer {
    position: fixed;
    z-index: -3;
    left: 0;
    height: 20px;
    width: 100%;
    bottom: 0;
}

#smiley {
    position: absolute;
    z-index: 25;
    float: right;
    width: 80px;
    height: 80px;
    top: 73%;
    left: 67%;
    visibility: hidden;
}

#smiley:hover {
    animation: bounce 0.5s;
}

#initials {
    position: absolute;
    z-index: 24;
    width: 80px;
    height: 80px;
    top: 67%;
    left: 17%;
    transform: rotate(-3deg);
    visibility: hidden;
}

.extra {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15em;
    padding: 20px;
    width: 50%;
    text-align: center;
    line-height: 1.3em;
    background-color: #F4C52B;
    animation: copy 2s;
}

#smileyextra {
    position: absolute;
    z-index: 25;
    float: right;
    width: 80px;
    height: 80px;
    top: 9%;
    left: 17%;
}

/* BIG SCREENS */

@media screen and (min-width: 800px) {
    .logo {
        width: 15vw;
        margin-top: 3%;
        left: 80%;
    }
    
    #header {
        font-size: 2vw;
    }
}

@media screen and (min-width: 850px) {
    #copy {
        margin-left: 30vw;
        top: 18.5vw;
        width: 500px;
    }
    
    #smiley {
        visibility: visible;
    }
    
    #initials {
        visibility: visible;
    }
}

@media screen and (min-width: 900px) {
    .date {
        top: 35em;
    }
}

@media screen and (max-height: 750px) {
    .footer {
       position: relative;
        top: 750px;
    }
}

/* ANIMATION */

@keyframes header {
    0%   {top: 80px; opacity: 0;}
    100%   {top: 10px; opacity: 1;}
}

@keyframes yellow {
    0% {width: 10vw}
    100% {width 80vw}
}

@keyframes copy {
    0% {opacity: 0}
    100% {opacity: 1}
}

@keyframes rotate {
    from {transform: rotate(0deg) }
    to {transform: rotate(360deg)}
}

@keyframes bounce {
    0% {transform: scale(1)}
    50% {transform: scale(1.2)}
    75% {transform: scale(0.9)}
    100% {transform: scale(1)}
}