html, body {
    height: 100%;
    font-family: 'Barlow', sans-serif;
    background: linear-gradient(rgb(136, 236, 255), white);
}

h1 {
    font-size: 5em;
    text-align: center;
}

h2 {
    font-size: 2.3em;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
}

p {
    font-family: 'Barlow', sans-serif;
    color: rgb(25, 25, 25); /*Darken standard bootstrap paragraph color*/
}

/*#main-wrapper {*/
    /*height: 100%;*/
    /*position: relative; !*Redundant because of slideout-panel*!*/
    /*z-index: 2; !*Redundant because of slideout-panel*!*/

    /*overflow-y: scroll; !* has to be scroll, not auto *!*/
    /*-webkit-overflow-scrolling: touch;*/

    /*!*overflow-x: hidden;*!*/

    /*!*overflow: auto;*!*/

    /*!*!* Make sure the inner div is not larger than the container*!*/
     /*!** so that we have room to scroll.*!*/
     /*!**!*!*/
    /*!*max-height: 100%;*!*/

    /*!*!* Pick an arbitrary margin/padding that should be bigger*!*/
     /*!** than the max width of all the scroll bars across*!*/
     /*!** the devices you are targeting. Hack to definitely hide scrollbar*!*/
     /*!** padding = -margin*!*/
     /*!**!*!*/
    /*!*margin-right: -100px;*!*/
    /*!*padding-right: 100px;*!*/
/*}*/

.puff-in-center {
    -webkit-animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
    animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}

.container-fluid {
    /*background: blue;*/
    /*padding-top: 2em; Enable if header is fixed*/
    padding-right: 2%;
    padding-left: 2%;
}
.course-overview{
    background: rgba(255, 255, 255, 0.75);
    border-radius: 0px 32px 0px 31px;
    font-weight: 500;
    position: absolute;
    padding: 8px 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    font-size: 20px;
    height: 48px;
    letter-spacing: 1px;
    color: #636363 !important;
    bottom: 10px;
    left: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.course-overview:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
}


#fruit-basket-nav {
    display: unset !important;
}

#hero-section {
    min-height: 100%; /*TODO Find a better solution, javascript is maybe the only option*/
    text-align: center;
}

#hero-section .row {
    margin: 0 auto;
}

#hero-section-logo {
    display: flex;
    width: 115vh;
    max-width: 90vw;
    min-width: 400px;
}

#foxymountain {
    position: relative;
    max-width: 110%;
}

#fox {
    position: absolute;
    top: 2%;
    left: 57%;
    width: 58%;
    animation: jump 3s linear infinite both;
}

#LogoAndBlocks {
    position: relative;
    color: transparent; /*prevents the alt text from appearing for a split second before the images load*/
    z-index: 1;
    padding: 0 2em ;
}

#logo {
    display: inline;
    height: auto;
    padding: 8em 0em;
}

#foxy {
    z-index: 20;
    display: inline;
    position: absolute;
    width: auto;
    height: 11em;
}

/*a {*/
/*    animation: slide-in-fwd-center 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;*/
/*}*/

.shake-btn:hover { /*course logos shake */
    animation: shake 3s;
}


#ready {
    display: flex;
    justify-content: center;
    padding: 2%;
    /*animation: shake 3s linear infinite both;*/ /*only if in mobile?*/
}

#ready img {
    max-width: 800px;
    width: 90vh;
}

#go {
    display: flex;
    justify-content: center;
}

#arrow-down {
    /*scale: 70%;*/
    animation: pulsate-fwd 0.8s ease-in-out infinite both;
    max-width: 20vw;
    width: 12vh;
}


/*.kidslogo {*/
/*    width: 20%;*/
/*}*/

/*

--------------- KEY FRAMES ------------------

 */

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    /*10% { transform: translate(-1px, -2px) rotate(-1deg); }*/
    4% { transform: translate(-3px, 0px) rotate(4deg); }
    /*30% { transform: translate(3px, 2px) rotate(0deg); }*/
    8% { transform: translate(1px, -1px) rotate(-4deg); }
    /*50% { transform: translate(-1px, 2px) rotate(-1deg); }*/
    12% { transform: translate(-3px, 1px) rotate(3deg); }
    /*70% { transform: translate(3px, 1px) rotate(-1deg); }*/
    16% { transform: translate(-1px, -1px) rotate(-3deg); }
    /*90% { transform: translate(1px, 2px) rotate(0deg); }*/
    20% { transform: translate(0px, 0px) rotate(0deg); }
}

@-webkit-keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    /*10% { transform: translate(-1px, -2px) rotate(-1deg); }*/
    4% { transform: translate(-3px, 0px) rotate(4deg); }
    /*30% { transform: translate(3px, 2px) rotate(0deg); }*/
    8% { transform: translate(1px, -1px) rotate(-4deg); }
    /*50% { transform: translate(-1px, 2px) rotate(-1deg); }*/
    12% { transform: translate(-3px, 1px) rotate(3deg); }
    /*70% { transform: translate(3px, 1px) rotate(-1deg); }*/
    16% { transform: translate(-1px, -1px) rotate(-3deg); }
    /*90% { transform: translate(1px, 2px) rotate(0deg); }*/
    20% { transform: translate(0px, 0px) rotate(0deg); }
}

@-webkit-keyframes puff-in-center {
    0% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
@keyframes puff-in-center {
    0% {
        -webkit-transform: scale(2);
        transform: scale(2);
        -webkit-filter: blur(4px);
        filter: blur(4px);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: translateZ(-1400px);
        transform: translateZ(-1400px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}
@keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: translateZ(-1400px);
        transform: translateZ(-1400px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}


@-webkit-keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes jump {
    10% {
        -webkit-transform: translateY(-38px);
        transform: translateY(-38px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    35% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    25%,
    48% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}

@keyframes jump {
    10% {
        -webkit-transform: translateY(-38px);
        transform: translateY(-38px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    35% {
        -webkit-transform: translateY(-24px);
        transform: translateY(-24px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    25%,
    48% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}



/************
MEDIA QUERIES
*************/
@media (max-width: 1440px) {
    #LogoAndBird {
        margin-top: 0.2em;
    }
    img#foxy {
        display:none;
    }


}


@media (max-width: 992px) {

    #LogoAndBird {
        margin-top: 2em;
    }

    img#foxy {
        display:none;
    }
    #logo {
        padding: 5em 0em;
    }
    #ready img {
        width: 72vw;
        margin: 8vh 0 1vh;
    }

    #go {
        display: none;
    }


/*@media screen and (min-width: 1024px){ !* iPad *!*/

/*    #hero-section-logo {*/
/*        width: 80% !important;*/
/*    }*/

/*    .kidslogo {*/
/*        width: 20%;*/
/*    }*/
/*}*/

}

@media (max-width: 767px) {

    #FoxAndMountain {
        padding: 0;
    }
    #LogoAndBlocks {
        padding: 0.75rem 0 0 1rem;
    }

    #hero-section {
        margin-top: 6%;
    }

    #ready img {
        max-width: 400px;
    }

    #logo {
        padding: 4em 0em;
    }
    .course-overview {
        border-radius: 0px 24px 0px 18px;
        padding: 4px 8px;
        font-size: 14px;
        height: 32px;
        bottom: 7px;
        left: 7px;
    }
}

@media (max-width: 672px) {
    #logo {
        padding: 3em 0em;
    }
}

@media (max-width: 576px) {

    /*#ready img {*/
    /*    max-width: 300px;*/
    /*    margin-bottom: 2em;*/
    /*}*/

    #logo {
        padding: 2em 0em;
    }

    #go, #ready {
        display: none;
    }

}

@media (max-width: 475px) {
    #fruit-basket-nav {
        margin: 0 !important;
    }
    #hero-section-logo {
        min-width: 100vw;
    }
}
