*  {
    font-family: 'Open Sans', sans-serif;
}

html {
    background: url('../images/sky.png');
    background-size: cover;
    height:100%;
    overflow: hidden;
}
body {
    overflow: hidden;
}


.customBounce {
    animation: customBounce 15s ease-in-out infinite;
}

.customBounce2 {
    animation: customBounce2 10s ease-in-out infinite;
}
.cloudsAnim {
    animation: cloudsAnim 10s ease-in-out infinite;
}

.logo {
     position: absolute;
      width: 50vw;
    top: 10%;
    left: 50%;
    margin-left: -25vw;
    margin-top: -6vw;
      z-index: 100;
}

#logo, .logo div.text {
   
   width: 50vw;
  
    animation-delay: .1s;
}
#apply {
    margin-top: 1em;;
    display:flex;
    justify-content: space-evenly;
}
#apply input {
    height: 4vh;
    line-height: 4vh;
    border-radius: 1vw;
    border: 1px solid #888;
    padding: 0 3px;
    width: 50%;
}
#apply input:focus {
    border: 1px solid #7c0000;
}
#apply button[type="submit"] {
    color: white;
    border-radius: 1vw;
    width: 35%;
    background: #ff622c;
    border: 1px solid #7c0000;
    cursor: pointer;
    transition: .3s ease all;
    text-transform: uppercase;
}
#apply button[type="submit"]:hover {

    background: #ffbd03;
    border: 1px solid white;
    color:#7c0000;
}
.logo div.text {
    position: absolute;
    width: 50vw;
    top: 50%;
    left: 50%;
    margin-left: -24vw;
    margin-top: 9vw;
    z-index: 100;
    animation-delay: .1s;
    font-size: 1.6vw;
    text-align: center;
    /* text-transform: uppercase;
    font-weight: 800; */
    line-height: 3vw;
    padding: 15px; border-radius: 8px;
    background: rgba(254,254,254,.5);
}
#home { 
    position: absolute;
    width: 25vw;

    top: 50%;
    left: 50%;
    margin-left: -12.5vw;
    margin-top: -19vw;
    animation-delay: 1s;

    z-index: 10;
    max-width: 530px;
}
#lab{ 
    position: absolute;
    width: 21vw;

    top: 50%;
    left: 20%;
    margin-left: -10vw;
    margin-top: -12vw;
    animation-delay: .3s;
    z-index: 15;
    max-width: 500px;
}
#nursery { 
    position: absolute;
    width: 22vw;

    top: 54%;
    right: 10%;
    margin-left: -10vw;
    animation-delay: .6s;
    z-index: 20;
    max-width: 500px;
}
#training { 
    position: absolute;
    width: 25vw;

    top: 38%;
    right: 4%;
    margin-left: -10vw;
    margin-top: -15vw;
    animation-delay: .25s;
    z-index: 25;
    max-width: 500px;
}
#pyramid {
    position: absolute;
    width: 5vw;
    top: 25%;
    left: 25%;
    animation-delay: 1.25s;
    z-index: 25;
    max-width: 500px;
}

.cloudsAnim img {
    width: 100%;
}

.cloud {
    transition : 60ms ease all;
}
/*
#cloud1 {
    position: absolute;
    width: 25vw;
    left: -25vw;
    bottom: 5vh;
    animation-delay: .5s;
    animation-duration: 80s;
    z-index: 8;
}
#cloud2 { 
    position: absolute;
    width: 25vw;
    left: -25vw;
    bottom: 7vh;
    animation-delay: 1.2s;
    animation-duration: 100s;
    z-index: 9;
}
#cloud3 {
    position: absolute;
    width: 45vw;
    left: -45vw;
    bottom: 50%;
     animation-duration: 150s;
    animation-delay: .2s;
    z-index: 8;
}
#cloud4 { 
    position: absolute;
    width: 45vw;
    left: -45vw;
    bottom: 50%;
    animation-delay: 1s;
     animation-duration: 120s;
     z-index: 17;
}
#cloud5 {
    position: absolute;
    width: 25vw;
    left: -45vw;
    top: 5vh;
    animation-delay: .78s;
    animation-duration: 70s;
    z-index: 8;
}
#cloud6 { 
    position: absolute;
    width: 25vw;
    left: -52vw;
    top: 7vh;
    animation-delay: 1.43s;
    animation-duration: 142s;
    z-index: 9;
}
#cloud7 {
    position: absolute;
    width: 45vw;
    left: -40vw;
    top: 42%;
     animation-duration: 178s;
    animation-delay: 5.5s;
    z-index: 8;
}
#cloud8 { 
    position: absolute;
    width: 45vw;
    left: -38vw;
    top: 28%;
    animation-delay: 1s;
     animation-duration: 76s;
     z-index: 17;
}
*/




@keyframes customBounce {
    0% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0); }
    25% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px); }
    50% {
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        transform: translateY(-20px); }
    75% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px); }
    100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0); } 
}


@keyframes customBounce2 {
    0% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0); }
    25% {
        -webkit-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        transform: translateY(-15x); }
    50% {
        -webkit-transform: translateY(-0px);
        -ms-transform: translateY(-0px);
        transform: translateY(-0px); }
    75% {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px); }
    100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0); } 
}


@keyframes cloudsAnim {
    0% {
        -webkit-transform: translateX(-50vw);
        -ms-transform: translateX(-50vw);
        transform: translateX(-50vw);
    }

    100% {
        -webkit-transform: translateX(125vw);
        -ms-transform: translateX(125vw);
        transform: translateX(125vw);
    } 
}


@media only screen and (min-width: 2000px) {

    .logo {
        margin-top: -35vh;
    }
} 

@media only screen and (max-width: 800px) {

    #apply {
        margin-top: 1em;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
     #apply input,
     #apply  button[type="submit"]{
         margin: 5px 0;
     width: 100%;
     }
} 