/* ============================================================
  GLOBAL
============================================================ */

.effects {
    padding-left: 0px;
}

.effects .img {
    position: relative;
    float: left;
    margin-bottom: 0px;
    width: 100%;
    overflow: hidden;
}

.effects .img:first-child {
    margin-left: 0px;
}

.effects .img:last-child {
    margin-right: 0;
}

.effects .img img {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: auto;
}

.overlay {
    display: block;
    position: absolute;
    z-index: 20;
    background-color: rgba(51, 58, 153, 0.9);
    overflow: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

a.close-overlay {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 45px;
    height: 45px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 45px;
    text-align: center;
    background-color: #000;
    cursor: pointer;
}

a.close-overlay.hidden {
    display: none;
}

a.expand {
    display: block;
    position: absolute;
    z-index: 100;
    width: 60px;
    height: 60px;
    text-align: center;
    color: #fff;
    line-height: 50px;
    font-weight: 500;
    font-size: 16px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    font-family: 'Rubik', sans-serif;
}

a.expand1 {
    display: block;
    z-index: 100;
    width: 100%;
    height: 60px;
    text-align: center;
    color: #fff;
    line-height: 24px;
    font-weight: 500;
    font-size: 16px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    font-family: 'Rubik', sans-serif;
}


/* ============================================================
  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */

#effect-1 .overlay {
    bottom: 75px;
    height: 0;
    left: 0;
    right: 0;
    width: 100%;
}

#effect-1 .overlay a.expand {
    bottom: 35%;
    left: 0;
    margin: 0 auto -30px;
    right: 0;
}

#effect-1 .img.hover .overlay {
    height: 100%;
}


/* ============================================================
  EFFECT 2 - SLIDE IN TOP
============================================================ */

#effect-2 .overlay {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
}

#effect-2 .overlay a.expand {
    left: 0;
    right: 0;
    top: 50%;
    margin: -30px auto 0 auto;
}

#effect-2 .img.hover .overlay {
    height: 100%;
}


/* ============================================================
  EFFECT 3 - SLIDE IN LEFT
============================================================ */

#effect-3 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
}

#effect-3 .overlay a.expand {
    top: 0;
    bottom: 0;
    left: 50%;
    margin: auto 0 auto -30px;
}

#effect-3 .img.hover .overlay {
    width: 100%;
}


/* ============================================================
  EFFECT 4 - SLIDE IN RIGHT
============================================================ */

#effect-4 .overlay {
    top: 0;
    bottom: 0;
    right: 0;
    width: 0;
    height: 100%;
}

#effect-4 .overlay a.expand {
    top: 0;
    bottom: 0;
    right: 50%;
    margin: auto -30px auto 0;
}

#effect-4 .img {
    overflow: hidden;
}

#effect-4 .img.hover .overlay {
    width: 100%;
}


/* ============================================================
  EFFECT 5 - ICON BORDER ANIMATE
============================================================ */

#effect-5 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#effect-5 .overlay a.expand {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#effect-5 .img.hover .overlay {
    opacity: 1;
}

#effect-5 .img.hover .overlay a.expand {
    width: 60px;
    height: 60px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
}


/* ============================================================
  EFFECT 6 - ICON BOUNCE IN
============================================================ */

#effect-6 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#effect-6 .overlay a.expand {
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    opacity: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#effect-6 .img.hover .overlay {
    opacity: 1;
}

#effect-6 .img.hover .overlay a.expand {
    top: 50%;
    margin-top: -30px;
    opacity: 1;
}


/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */

@media (min-width:1021px) and (max-width:1269px) {
    a.expand1 {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width:321px) and (max-width:480px) {}

@media (max-width: 399px) {}

@media (min-width:481px) and (max-width:600px) {}

@media (min-width:601px) and (max-width:736px) {}

@media only screen and (max-width: 520px) {
    .effects .img {
        width: 100%;
    }
    .effects .img:nth-child(n) {
        margin-right: 0;
    }
    .effects .img:first-child {
        margin-left: 0;
    }
    .effects .img:nth-child(2n-1) {
        margin-left: 0;
    }
    .effects .img:nth-child(2n) {
        margin-right: 0;
    }
    .effects .img:last-child {
        margin-right: 0;
    }
    .effects .img img {
        margin: 0 auto;
    }
}

header,
nav {
    color: #FFF
}

.no-touch .scroll-hinting:hover {
    animation: none
}

.no-js .scroll-hinting {
    cursor: default
}

.scroll-hinting:after,
.scroll-hinting:before {
    content: '';
    width: 6rem;
    height: 6rem;
    display: block;
    pointer-events: none;
    border: 1.5px dotted #FFF;
    border-radius: 50%;
    position: absolute;
    left: -1.8rem;
    top: -2.55rem;
    opacity: 0
}

.no-touch .scroll-hinting:hover:after,
.no-touch .scroll-hinting:hover:before {
    animation: pulsate 3s infinite
}

.no-touch .scroll-hinting:hover:after {
    animation-delay: .5s
}

.scroll-hinting svg {
    fill: #FFF
}

.scroll-hinting label {
    transform: rotate(180deg);
    position: absolute;
    left: -16rem;
    bottom: -1.4rem;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    width: 219px;
}

@media screen and (min-width:414px) {
    .scroll-hinting {
        display: block;
        cursor: pointer;
        height: .75rem;
        width: 2.75rem;
        transform: rotate(90deg) translate(-100%, 0);
        animation: hint 3s infinite;
        transform-origin: 0 100%;
        position: absolute;
        z-index: 200;
        bottom: 8%;
        left: 10%
    }
}

@keyframes fade {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 2500
    }
    100%,
    20% {
        stroke-dashoffset: -2500
    }
}

@keyframes fadeAndScale {
    0% {
        opacity: 0;
        transform: scale(1.05, 1.05)
    }
    100% {
        opacity: 1;
        transform: scale(1, 1)
    }
}

@keyframes fadeAndMove {
    0% {
        opacity: 0;
        transform: translateY(50%)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeFirst {
    0%,
    25% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeSecond {
    0%,
    40% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeThird {
    0%,
    50% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0)
    }
    100% {
        transform: translate(-50%, -50%) rotate(359deg)
    }
}

@keyframes hint {
    0% {
        transform: rotate(90deg) translate(-150%, 0);
        opacity: 0
    }
    40% {
        transform: rotate(90deg) translate(-100%, 0);
        opacity: 1
    }
    70% {
        opacity: 1
    }
    100%,
    90% {
        opacity: 0
    }
}

@keyframes pulsate {
    0% {
        opacity: 1;
        transform: scale(.25, .25)
    }
    100% {
        opacity: 0;
        transform: scale(1.5, 1.5)
    }
}

@keyframes item_one {
    0%,
    25% {
        opacity: 0;
        z-index: 0
    }
    2%,
    22% {
        opacity: 1;
        z-index: 10
    }
}

@keyframes item_two {
    25%,
    50% {
        opacity: 0;
        z-index: 0
    }
    27%,
    47% {
        opacity: 1;
        z-index: 10
    }
}

@keyframes item_three {
    50%,
    75% {
        opacity: 0;
        z-index: 0
    }
    52%,
    72% {
        opacity: 1;
        z-index: 10
    }
}

@keyframes item_four {
    100%,
    75% {
        opacity: 0;
        z-index: 0
    }
    77%,
    97% {
        opacity: 1;
        z-index: 10
    }
}

@keyframes glow {
    0% {
        opacity: 1;
        transform: scale(.75, .75)
    }
    100% {
        opacity: 0;
        transform: scale(8, 8)
    }
}

@keyframes intro {
    0% {
        opacity: 1;
        left: 0
    }
    75% {
        opacity: 1;
        transform: none;
        filter: blur(0)
    }
    99.99% {
        opacity: 0;
        left: 0;
        filter: blur(10px)
    }
    100% {
        left: -999999rem
    }
}

@keyframes pulse {
    0%,
    5% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
}