﻿@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700");
@import url("https://fonts.googleapis.com/css?family=Catamaran:400,800");

.error-card {
    top: 35px;
    width: 80%;
    margin: 0 auto;
    background: rgba(255,255,255,0.8);
}

.title-container > span:nth-of-type(odd) {
    color: #D1F2A5;
    animation: colordancing3 8s infinite;
}

.title-container > span:nth-of-type(even) {
    color: #8EDFF5;
    animation: colordancing4 8s infinite;
}

.error-container, .title-container {
    text-align: center;
    font-family: 'Catamaran', sans-serif;
    margin: 20px 15px;
}

.error-container {
    font-size: 180px;
    font-weight: 800;
    color: #FFB485;
}

.title-container {
    font-size: 90px;
    font-weight: 600;
    text-transform: uppercase;
    color: #78E5D9;
}

    .error-container > span, .title-container > span {
        display: inline-block;
        line-height: 0.7;
        position: relative;
    }

    .error-container > span, .title-container > span {
        display: inline-block;
        position: relative;
        vertical-align: middle;
    }

        .error-container > span:nth-of-type(1) {
            color: #D1F2A5;
            animation: colordancing 4s infinite;
        }

        .error-container > span:nth-of-type(3) {
            color: #F56991;
            animation: colordancing2 4s infinite;
        }

        .error-container > span:nth-of-type(2) {
            width: 120px;
            height: 120px;
            border-radius: 999px;
        }

            .error-container > span:nth-of-type(2):before,
            .error-container > span:nth-of-type(2):after {
                border-radius: 0%;
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: inherit;
                height: inherit;
                border-radius: 999px;
                box-shadow: inset 30px 0 0 rgba(209, 242, 165, 0.4), inset 0 30px 0 rgba(239, 250, 180, 0.4), inset -30px 0 0 rgba(255, 196, 140, 0.4), inset 0 -30px 0 rgba(245, 105, 145, 0.4);
                animation: shadowsdancing 4s infinite;
            }

            .error-container > span:nth-of-type(2):before {
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                transform: rotate(45deg);
            }

.screen-reader-text {
    position: absolute;
    top: -9999em;
    left: -9999em;
}

@keyframes shadowsdancing {
    0% {
        box-shadow: inset 30px 0 0 rgba(209, 242, 165, 0.4), inset 0 30px 0 rgba(239, 250, 180, 0.4), inset -30px 0 0 rgba(255, 196, 140, 0.4), inset 0 -30px 0 rgba(245, 105, 145, 0.4);
    }

    25% {
        box-shadow: inset 30px 0 0 rgba(245, 105, 145, 0.4), inset 0 30px 0 rgba(209, 242, 165, 0.4), inset -30px 0 0 rgba(239, 250, 180, 0.4), inset 0 -30px 0 rgba(255, 196, 140, 0.4);
    }

    50% {
        box-shadow: inset 30px 0 0 rgba(255, 196, 140, 0.4), inset 0 30px 0 rgba(245, 105, 145, 0.4), inset -30px 0 0 rgba(209, 242, 165, 0.4), inset 0 -30px 0 rgba(239, 250, 180, 0.4);
    }

    75% {
        box-shadow: inset 30px 0 0 rgba(239, 250, 180, 0.4), inset 0 30px 0 rgba(255, 196, 140, 0.4), inset -30px 0 0 rgba(245, 105, 145, 0.4), inset 0 -30px 0 rgba(209, 242, 165, 0.4);
    }

    100% {
        box-shadow: inset 30px 0 0 rgba(209, 242, 165, 0.4), inset 0 30px 0 rgba(239, 250, 180, 0.4), inset -30px 0 0 rgba(255, 196, 140, 0.4), inset 0 -30px 0 rgba(245, 105, 145, 0.4);
    }
}

@keyframes colordancing {
    0% {
        color: #D1F2A5;
    }

    25% {
        color: #F56991;
    }

    50% {
        color: #FFC48C;
    }

    75% {
        color: #EFFAB4;
    }

    100% {
        color: #D1F2A5;
    }
}

@keyframes colordancing2 {
    0% {
        color: #FFC48C;
    }

    25% {
        color: #EFFAB4;
    }

    50% {
        color: #D1F2A5;
    }

    75% {
        color: #F56991;
    }

    100% {
        color: #FFC48C;
    }
}

@keyframes colordancing3 {
    0% {
        color: #5AADBF;
    }

    25% {
        color: #3C737F;
    }

    50% {
        color: #63C1D6;
    }

    75% {
        color: #1E3A40;
    }

    100% {
        color: #61B8CC;
    }
}

@keyframes colordancing4 {
    0% {
        color: #63C1D6;
    }

    25% {
        color: #1E3A40;
    }

    50% {
        color: #61B8CC;
    }

    75% {
        color: #5AADBF;
    }

    100% {
        color: #3C737F;
    }
}

.link-container {
    text-align: center;
}