@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    justify-items: center;
    background-color: #93181b;
}

.mainScreen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ffffff;
    height: 100vh;
    /* background: linear-gradient(45deg, #0f2027, #203a43, #2c5364, #3a1c71); */
    /* background: #212121; */
    /* background: linear-gradient(45deg, rgb(26, 26, 29) 17.1%, rgb(111, 34, 50) 57.5%); */
    background-color: #93181b;
    background: url("../../img/v2/landing/bg2.png");
    background-size: cover;
    background-repeat: no-repeat;
    overflow-y: auto;
    scrollbar-width: none; 
    max-width: 500px;
    min-width: 500px;
}

.mainScreen .header-logos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    height: auto;
    width: 100%;
    position: absolute;
    top: 0;
    padding-top: 20px;
    padding-right: 30px;
    padding-left: 30px;
    z-index: 2;
}

.mainScreen .header-logos .gamezacademyLogo{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    height: auto;
    width: 25%;
}

.mainScreen .header-logos .gamezacademyLogo img{
    height: auto;
    width: 55px;
}

.mainScreen .header-logos .gamezonetext{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    height: auto;
    width: 50%;
}

.mainScreen .header-logos .gamezonetext h1{
    color: #ffffff;
    text-transform: uppercase;
    font-size: 17px;
    padding: 0;
    font-weight: 600;
}

.mainScreen .header-logos .jazzLogo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    height: auto;
    width: 25%;
}

.mainScreen .header-logos .jazzLogo img{
    height: auto;
    width: 55px;
}

.mainScreen .loadingbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    width: auto;
    text-align: center;
    padding: 20px 25px;
    margin: 0 20px;
    border-radius: 30px;
    /* box-shadow: 10px 10px 20px rgb(25, 25, 25),
        -8px -8px 15px rgb(60, 60, 60); */
}

/* loading animation */
.newtons-cradle {
    --uib-size: 45px;
    --uib-speed: 1.2s;
    --uib-color: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--uib-size);
    height: var(--uib-size);
}

.newtons-cradle__dot {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 25%;
    transform-origin: center top;
}

.newtons-cradle__dot::after {
    content: '';
    display: block;
    width: 100%;
    height: 25%;
    border-radius: 50%;
    background-color: var(--uib-color);
}

.newtons-cradle__dot:first-child {
    animation: swing var(--uib-speed) linear infinite;
}

.newtons-cradle__dot:last-child {
    animation: swing2 var(--uib-speed) linear infinite;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }

    25% {
        transform: rotate(70deg);
        animation-timing-function: ease-in;
    }

    50% {
        transform: rotate(0deg);
        animation-timing-function: linear;
    }
}

@keyframes swing2 {
    0% {
        transform: rotate(0deg);
        animation-timing-function: linear;
    }

    50% {
        transform: rotate(0deg);
        animation-timing-function: ease-out;
    }

    75% {
        transform: rotate(-70deg);
        animation-timing-function: ease-in;
    }
}

.mainScreen h1 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

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

.mainScreen .errorimg {
    width: 160px;
    height: auto;
}

.mainScreen .errordiv .loadingbox p { 
    font-size: 15px;
    text-align: center;
}


@media screen and (max-width: 500px) { 
    .mainScreen .errordiv .loadingbox h1 {
        font-size: 17px;
    }

    .mainScreen .errordiv .loadingbox p { 
        font-size: 13px;
        text-align: center;
    }

    .mainScreen .errorimg {
        width: 120px;
        height: auto;
    }
}
