
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

/* ===== 404 Styles ==================================================
   Author: Yowlu - yowlu.com
   ========================================================================== */

html, body {
   width: 100%;
   height: 100%;
   min-width: 100vw;
   min-height: 480px;
}

h1 {
    font-size: 7.2rem;
    margin-bottom: 0px;
}

h4 {
    line-height: 1.5;
    margin-top: 45px;
}

.animated {
    -webkit-transition: all 0.15s; /* Safari */
    transition: all 0.15s;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.main-background-color {
    background-color: #305D77;
}

.main-foreground-color {
    color: #F9F5F2;
}

.secondary-foreground-color {
    color: white;
}

.main-font {
    font-family: 'antonioregular';
}

.elements-wrapper {
    position: relative;
    width: 90%;
    height: 100%;
    max-width: 768px;
    margin: auto;
}

.social-wrapper {
    position: absolute;
    top: 350px;
    bottom: 0px;
    left: 0;
    margin: auto;
    width: 150px;
    height: 60px;
}

.social-wrapper-element {
    width: 33.2%;
    float: left;
}

.background-text-wrapper {
    position: absolute;
    margin: auto;
    top: -500px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 220px;
    text-align: center;
    z-index: 1;
    text-shadow: 1px 1px 1px rgba(34, 72, 95, 0.9);
    #305D77
}

.background-image {
    position: absolute;
    margin: auto;
    top: 50px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    max-width: 433px;
}

#homepage-link {
    position: absolute;
    margin: auto;
    top: 300px;
    bottom: 0px;
    left: 300px;
    width: 100%;
    max-width: 100px;
    max-height: 115px;
}

#homepage-bubble {
    top: -100px;
    left: -200px;
    width: 200px;
}

#monster {
    left: auto!important;
    -webkit-animation-name: hat-movement; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 1s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
    -webkit-animation-timing-function: linear;
    -webkit-animation-direction: alternate;
    animation-name: hat-movement;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top: 60px!important;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes hat-movement {
    0%   {top: 60px;}
    100% {top: 35px;}
}

/* Standard syntax */
@keyframes hat-movement {
    0%   {top: 60px;}
    100% {top: 35px;}
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 450px) and (max-width: 819px) {
    h1 {
        font-size: 4.8rem;
    }

    h4 {
        margin-top: 20px;
    }

    .background-text-wrapper {
        position: absolute;
        margin: auto;
        top: -365px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: 150px;
    }

    #homepage-link {
        position: absolute;
        margin: auto;
        top: 300px;
        bottom: 0px;
        left: 100px;
        width: 100%;
        max-width: 100px;
        max-height: 115px;
    }

    #homepage-bubble {
        top: -70px;
        left: -190px;
        width: 150px;
    }

    .social-wrapper {
        top: 550px;
    }
}

@media only screen and (max-width: 449px) {
    h1 {
        font-size: 3.6rem;
    }

    h4 {
        margin-top: 20px;
    }

    .background-text-wrapper {
        position: absolute;
        margin: auto;
        top: -365px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: 150px;
    }

    #homepage-link {
        position: absolute;
        margin: auto;
        top: 300px;
        bottom: 0px;
        left: 100px;
        width: 100%;
        max-width: 100px;
        max-height: 115px;
    }

    #homepage-bubble {
        top: -70px;
        left: -140px;
        width: 150px;
    }

    .social-wrapper {
        top: 550px;
    }
}

@media only screen and (min-width: 1600px) {
    h1 {
        font-size: 7.8rem;
    }

    h4 {
        font-size: 1.8rem;
        margin-top: 60px;
    }

    .background-text-wrapper {
        position: absolute;
        margin: auto;
        top: -600px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: 350px;
    }

    .elements-wrapper {
        max-width: 1200px;
    }

    .background-image {
        top: 50px;
        max-width: 608px;
    }
    
    .social-wrapper {
        position: absolute;
        top: 515px;
        bottom: 0px;
        left: 0;
        margin: auto;
        width: 290px;
        height: 60px;
    }

    #homepage-link {
        position: absolute;
        margin: auto;
        top: 550px;
        bottom: 0px;
        left: 500px;
        width: 100%;
        max-width: 170px;
        max-height: 115px;
    }

    #homepage-bubble {
        top: -170px;
        left: -200px;
        width: 250px;
    }

    .social-wrapper {
        top: 550px;
    }
}

@media only screen and (max-height: 655px) {
    .background-text-wrapper {
        top: -65%!important;
    }
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



