@import url("https://fonts.googleapis.com/css?family=Nunito+Sans");

:root {
    --blue: #0e0620;
    --white: #fff;
    --green: #2ccf6d;

    --btnColor: #2ccf6d;
    --btnBorderColor: #2ccf6d;
    --errorHeader1Color: #000000;
    --errorHeader2Color: #000000;

}

/*html,
body {
    height: 100%;
}*/
#content h2 {
    color: var(--blue);
    font-size: 24px;
    font-weight: 100;
    padding: 10px 0 7px 0;
    letter-spacing: 0;
}

#errorBody {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Nunito Sans" !important;
    color: var(--blue);
    font-size: 1rem;
    line-height: normal;
}

button {
    font-family: "Nunito Sans";
}



#errorTextContainer {
    padding: 1rem;
    width: 50%;
}

#errorTextContainer p {
    font-size:1.5rem;
}

#errorSvg {
    padding: 1rem;
    width: 50%;
}



.row {
    width:100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

#errorHeader1 {
    white-space: normal;
    font-size: 5.5rem;
    margin: 15px 0px;
    font-weight: bold;
    color: #000000;
    display: unset;
    margin-block-start: unset;
    margin-block-end: unset;
    margin-inline-start: unset;
    margin-inline-end: unset;
}


#errorHeader2 {
    font-family: "Nunito Sans";
    font-weight: bold !important;
    color: #000000;
    letter-spacing: normal;
    font-size: 3rem ;
    font-weight: normal;
    padding: 0px;
}

.userInfo {
    font-size: 1.5rem;
    padding: 1rem;
}

.errbtn {
    font-family: "Nunito Sans";
    z-index: 1;
    overflow: hidden;
    background: transparent;
    position: relative;
    padding: 8px 50px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: 0.2s ease;
    font-weight: bold;
    margin: 5px 0px;
}

    .errbtn.green {
        border: 4px solid var(--btnBorderColor);
        color: #000000;
    }

        .errbtn.green:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 0%;
            height: 100%;
            background: var(--btnColor);
            z-index: -1;
            transition: 0.2s ease;
        }

        .errbtn.green:hover {
            color: #fff;
            background: var(--btnColor);
            transition: 0.2s ease;
        }

.btn.btncolor:hover:before {
    width: 100%;
}

#spaceman {
transform-origin: left center;
animation: swing 10s ease infinite;
}

@keyframes swing {
    20% {
        transform: rotate(-1deg);
    }

    40% {
        transform: rotate(2deg);
    }

    60% {
        transform: rotate(-0.5deg);
    }

    80% {
        transform: rotate(1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


#starsSmall g {
    animation: pulse 1s infinite ease-in-out alternate;
}

@keyframes pulse {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

#starsSmall g:nth-child(1) {
    animation-delay: 300ms;
}
#starsSmall g:nth-child(3) {
    animation-delay: 500ms;
}
#starsSmall g:nth-child(4) {
    animation-delay: 900ms;
}
#starsSmall g:nth-child(5) {
    animation-delay: 450ms;
}


#starsBig g {
    animation: spin 1s infinite ease-in-out alternate;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(20deg);
    }
}

#starsBig g:nth-child(1) {
    animation-delay: 300ms;
    animation-timing-function: cubic-bezier(0.1, -0.6, 0.2, 0);
}

#starsBig g:nth-child(2) {
    animation-delay: 500ms;
}

#starsBig g:nth-child(3) {
    animation-delay: 900ms;
    animation-timing-function: cubic-bezier(0.1, -0.6, 0.2, 0);
}

#starsBig g:nth-child(4) {
    animation-delay: 450ms;
}


#ring {
    animation: swing2 1s infinite ease-in-out alternate;
}
@keyframes swing2 {
    from {
        transform: rotate(-1deg);
    }

    to {
        transform: rotate(1deg);
    }
}

@media screen and (max-width: 768px) {
    .errorBody {
        display: block;
    }

    .container {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}
