/* --------------------------------------------

Homepage navigation (scrolling strokes)

----------------------------------------------- */
.section-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    margin: 0;
    font-family: 'Exo 2';
}

.badge-rounded {
    display: inline-block;
    padding: .6em .9em;
    background: rgba(108, 155, 174, 0.5);
    border-radius: 1em;
}

/*.badge-rounded{
    background-color: rgba(108, 155, 174, 0.7);
}*/

.strokes {
    z-index: 1;
    overflow-y: scroll;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
}

@media only screen and (min-width: 991px) and (max-width: 1024px) and (orientation: landscape),
only screen and (min-width: 1025px) {
    .strokes {
        position: absolute;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

.strokes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    left: unset !important;
}

.strokes ul li {
    width: 100vw;
    height: 25vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 1000px) {
    .strokes ul li {
        height: 15vh;
           width: 100vw !important;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1024px) {
    .strokes ul li {
        height: 20vh;
    }
}

.strokes ul li a {
    -webkit-transition: background-color 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: background-color 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    display: block;
    height: 100%;
    color: #ffffff;
    text-decoration: none;
}

.strokes ul li a section {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: relative;
    top: 50%;
    text-align: center;
}

.strokes ul li a section img{
    opacity: 1;
    width: 6rem;
    height: 6rem;
}

.strokes ul li a section h1 {
    font-family: 'Exo 2';
    font-weight: 900;
    font-size: 35px;
    letter-spacing: 0;
    background-repeat: no-repeat;
    background-position: 20%;
    background-size: contain;
    position: relative;
    opacity: 1;
    color: #fff;
}


@media only screen and (max-width: 1000px) {
    .strokes {
        padding-top: 80px;
    }
    .strokes ul li a section h1 {
        font-weight: 900;
        font-size: 25px;
        letter-spacing: 0;
    }
    .strokes ul li a section h1{
        background-position: 38%;
    }
}

.strokes ul li a section h5 {
    line-height: 1em;
    margin-bottom: 0.1em;
    font-weight: 400;
    font-size: 20px;
}

.strokes ul li a section * {
    margin-top: 0;
}

.strokes ul li a footer {
    box-sizing: border-box;
    text-align: center;
    display: none;
    padding: 40px;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.strokes ul li a footer h5 {
    margin: 0;
    letter-spacing: 0;
}

.strokes ul li a footer p {
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
}

.strokes ul li a footer i.icon:before {
    top: 25%;
}

.strokes ul li h6 {
    font-weight: 100;
    letter-spacing: 1px;
    opacity: 0.7;
}

@media only screen and (max-width: 667px) and (orientation: landscape) {
    .strokes ul li {
        height: 20vh;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1024px) and (orientation: landscape),
only screen and (min-width: 1025px) {
    .strokes ul li {
        display: inline-block;
        width: 25vw;
        height: 100vh;
    }
}

@media only screen and (min-width: 1025px) {
    .strokes ul li a {
        background-color: rgba(0, 0, 0, 0);
    }
    .strokes ul li a section * {
        -webkit-transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        opacity: 0;
    }
    .strokes ul li a section h5 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    .strokes ul li a section h1 {
        font-size: 35px;
        opacity: 1;
    }
    .strokes ul li a footer {
        -webkit-transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
        transform: translateY(100%);
        display: block;
    }
    .strokes ul li a footer h5 {
        color: #6c9bae;
        letter-spacing: 0;
    }
    .strokes ul li a footer .icon {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        -webkit-transition-delay: 0.3s;
        transition-delay: 0.3s;
    }
    .strokes ul li a footer .icon:before {
        font-size: 40px;
        font-size: 4rem;
    }
    .strokes ul li a:hover {
        background-color: rgba(0, 0, 0, 0.5);
        color: #ffffff;
    }
    .strokes ul li a:hover section * {
        opacity: 1;
    }
    .strokes ul li a:hover section h1 {
        opacity: 1;
    }
    .strokes ul li a:hover section h5 {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
    .strokes ul li a:hover footer {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

/* --------------------------------------------

 The background slideshow

----------------------------------------------- */

#slideshow {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

#slideshow li {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    z-index: 0;
}

#slideshow li.visible {
    /* The fade animation */
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 9s;
    animation-duration: 9s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}

#slideshow li img {
    display: none;
}

/* --------------------------------------------

The overlay that covers the background

----------------------------------------------- */

main .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
    width: 100%;
    height: 100vh;
}

