/* Fonts */

@font-face {
    font-family: 'alpha_echoregular';
    src: url('../fonts/alpha_echo-webfont.eot');
    src: url('../fonts/alpha_echo-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alpha_echo-webfont.woff') format('woff'),
         url('../fonts/alpha_echo-webfont.ttf') format('truetype'),
         url('../fonts/alpha_echo-webfont.svg#alpha_echoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*! 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: 6.2rem;
    margin-bottom: 0px;
    margin-top: 0px;
    line-height: 1;
}

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

a, a:focus, a:visited {
    color: #1e4d44;
}

.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: #030C18;
}

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

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

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

.background-images-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
}

.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;
    width: 100%;
    height: 100%;
    min-height: 480px;
    top: 0px;
    overflow: hidden;
    z-index: 10;
}

.background-big-text-wrapper {
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: -330px;
  bottom: 0;
  width: 400px;
  height: 220px;
  text-align: center;
}

.background-small-text-wrapper {
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  bottom: -120px;
  width: 400px;
  height: 40px;

  text-align: center;
}

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

#monster {
    position: absolute;
    margin: auto;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-image: url(../images/eyes.png);
    width: 200px;
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.eye {
    width: 30px;
    position: absolute;
    top: 40%;
}

.eye:first-of-type {
    left: 15%;
}

.eye:last-of-type {
    right: 15%;
}

.eye-left-animation {
    -webkit-animation-name: eye-left-movement; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
    -webkit-animation-timing-function: linear;
    -webkit-animation-direction: alternate;
    animation-name: eye-left-movement;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes eye-left-movement {
    0%   { left: 8%;}
    100% { left: 22%;}
}

/* Standard syntax */
@keyframes eye-left-movement {
    0%   { left: 8%;}
    100% { left: 22%;}
}

.eye-right-animation {
    -webkit-animation-name: eye-right-movement; /* Chrome, Safari, Opera */
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
    -webkit-animation-timing-function: linear;
    -webkit-animation-direction: alternate;
    animation-name: eye-right-movement;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes eye-right-movement {
    0%   {right: 22%;}
    100% {right: 8%;}
}

/* Standard syntax */
@keyframes eye-right-movement {
    0%   {right: 22%;}
    100% {right: 8%;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.clouds {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    display:block;
    min-height: 480px;
}

.clouds{
    background:transparent url(../images/clouds.png) repeat top center;
    z-index:3;

    -moz-animation:move-clouds-back 200s linear infinite;
    -ms-animation:move-clouds-back 200s linear infinite;
    -o-animation:move-clouds-back 200s linear infinite;
    -webkit-animation:move-clouds-back 200s linear infinite;
    animation:move-clouds-back 200s linear infinite;
}

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

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

    h4 {
        margin-top: 20px;
    }

    .background-big-text-wrapper {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: -230px;
        bottom: 0;
        width: 90%;
        height: 220px;
        text-align: center;
    }

    .background-small-text-wrapper {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: 0px;
        bottom: -175px;
        width: 90%;
        height: 40px;
        text-align: center;
    }

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

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

    h4 {
        margin-top: 20px;
    }

    .background-big-text-wrapper {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: -230px;
        bottom: 0;
        width: 90%;
        height: 220px;
        text-align: center;
    }

    .background-small-text-wrapper {
      margin: auto;
      position: absolute;
      left: 0;
      right: 0;
      top: 0px;
      bottom: -175px;
      width: 90%;
      height: 40px;
      text-align: center;
    }

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

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

    h4 {
        font-size: 2.2rem;
        margin-top: 125px;
    }
    
    #monster {
        position: absolute;
        margin: auto;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        background-image: url(../images/eyes.png);
        width: 400px;
        height: 200px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .eye {
        width: 60px;
    }
    
    .background-big-text-wrapper {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: -680px;
        bottom: 0;
        width: 600px;
        height: 220px;
        text-align: center;
    }

    .background-small-text-wrapper {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        top: 0px;
        bottom: -315px;
        width: 600px;
        height: 220px;
        text-align: center;
    }

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

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

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

@media only screen and (max-height: 480px) {
    .background-big-text-wrapper {
        top: 0px!important;
        bottom: auto;
        margin: 0px auto;
    }
    
    .background-small-text-wrapper {
        top: 295px!important;
        bottom: auto;
        margin: 0px auto;
    }
}

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



