@import url("https://fonts.googleapis.com/css?family=Dosis:300,400,700,800");

.particle-error,
.permission_denied,
#particles-js {
    width: 100%;
    height: 100%;
    margin: 0px !important;
}

#particles-js {
    position: fixed !important;
    opacity: 0.23;
}

.permission_denied {
    background: #24344c !important;
}

.permission_denied a {
    text-decoration: none;
}

.denied__wrapper {
    max-width: 350px;
    width: 100%;
    height: 390px;
    display: block;
    margin: 0 auto;
    position: relative;
    margin-top: 8vh;
}

.permission_denied h1 {
    text-align: center;
    color: #fff;
    font-family: "Dosis", sans-serif;
    font-size: 40px;
    margin-bottom: 0px;
    font-weight: 800;
}

.permission_denied h3,
.permission_denied h2{
    text-align: center;
    color: #fff;
    font-size: 19px;
    line-height: 23px;
    max-width: 330px;
    font-family: "Dosis", sans-serif;
    font-weight: 400;
}

.permission_denied h3 span {
    position: relative;
    width: 65px;
    display: inline-block;
}

.permission_denied h3 span:after {
    content: "";
    border-bottom: 3px solid #ffbb39;
    position: absolute;
    left: 0;
    top: 43%;
    width: 100%;
}

.denied__link {
    background: none;
    color: #fff;
    padding: 12px 0px 10px 0px;
    border: 1px solid #fff;
    outline: none;
    border-radius: 7px;
    width: 150px;
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
    display: block;
    margin-bottom: 40px;
    margin-top: 25px;
    font-family: "Dosis", sans-serif;
    font-weight: 400;
}

.denied__link:hover {
    color: #ffbb39;
    border-color: #ffbb39;
    cursor: pointer;
    opacity: 1;
}

.permission_denied .stars {
    animation: sparkle 1.6s infinite ease-in-out alternate;
}

@keyframes sparkle {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

#astronaut {
    z-index: 3;
    width: 60px;
    position: absolute;
    right: -10px;
    top: 240px;
    animation: spin 10s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}



#moon {
    top:220px;
    position: absolute;
    z-index: 1;
    -webkit-animation:spin 180s linear infinite;
    -moz-animation:spin 180s linear infinite;
    animation:spin 180s linear infinite;
}

@media (max-width: 600px) {
    .permission_denied h1 {
        font-size: 75px;
    }

    .permission_denied h2 {
        font-size: 16px;
        width: 200px;
        margin: 0 auto;
        line-height: 23px;
    }

    .permission_denied h3 {
        font-size: 16px;
        width: 200px;
        margin: 0 auto;
        line-height: 23px;
    }

    #saturn {
        left: 30px !important;
    }
    #astronaut {
        width: 50px;
        right: 50px;
        top: 200px;
    }

    #moon {
        left: 50px;
        width: 300px;
    }

}

.saturn,
.saturn-2,
.hover {
    animation: hover 2s infinite ease-in-out alternate;
}

#saturn {
    position: absolute;
    top:190px;
    left: -45px;
    width: 150px;
    z-index: 0;
}

@keyframes hover {
    0% {
        transform: translateY(3px);
    }
    100% {
        transform: translateY(-3px);
    }
}



@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); }