:root {
    --bg: rgb(219, 219, 219);
    --shadow: black;
    --svg: rgb(0, 0, 0);
    --outline: rgba(0, 0, 0, 0.1);
}

@keyframes loadIn {
    0% {
        transform: rotate(0deg);
        border-radius: 50%;
        scale: 1;
    } 50% {
        transform: rotate(180deg);
        border-radius: 10px;
        scale: 1.05;
    } 100% {
        transform: rotate(360deg);
        border-radius: 50%;
        scale: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
    }
}

@keyframes rotateAround {
    0% {
    } 100% {
        transform: rotate(360deg);
    }
}

/* ---------------------------- */

@keyframes roateUrPhoneAnim {
    0% {
        transform: rotate(0deg);
    } 100% {
        transform: rotate(360deg);
    }
}

.rotateUrPhone {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.rotatePhone {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    height: 25vh;
    width: 25vh;
}

.rotateUrPhoneText {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 75%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 4vh;
    color: var(--shadow);
    font-weight: 600;
    text-align: center;
    width: 90%;
    height: fit-content;
}

@media screen and (orientation:portrait) { .rotateUrPhone { display: block; }}
@media screen and (orientation:landscape) { .rotateUrPhone { display: none; }}

/* ---------------------------- */

html, body, p, div, button, img, svg, input {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    background: transparent;
}

html, body {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
}

body {
    animation: 0.5s fadeIn linear;
}

.loadScreen {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background: transparent;
    transition-duration: 1s;
}

.loadLogoContainer {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 40%;
    left: 50%;
    width: 40vh;
    height: 40vh;
}

.loadingContainer {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 60%;
    left: 50%;
    height: 7vh;
    width: 7vh;
}

.loadingBar {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    border: 3px solid var(--shadow);
    border-radius: 10px;
    box-shadow: 0px 0px 10px var(--shadow);
    animation: 2s loadIn linear infinite;
}

.backgroundOuterContainer {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.backgroundInnerContainer {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 120vh;
}

.backgroundContainer {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background: var(--bg);
    box-shadow: 0px 0px 15px var(--shadow);
    animation: 120s rotateAround linear infinite;
}

.loginContainer {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 25vw;
    height: 60vh;
    background: var(--bg);
    box-shadow: 0px 0px 10px var(--shadow);   
    transition-duration: 1s;
}

.loginHeadText {
    position: absolute;
    transform: translate(-50%, 0%);
    top: 3%;
    left: 50%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 3vh;
    color: var(--shadow);
}

.formStyle {
    position: absolute;
    transform: translate(-50%, 0%);
    bottom: 10%;
    left: 50%;
    width: 90%;
    height: 75%;
    background: var(--bg);
    box-shadow: inset 0px 0px 10px var(--shadow);
    border-radius: 10px;
}

.formStyleInput {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 10vh;
    width: 70%;
    background: var(--bg);
    box-shadow: 0px 6px 10px var(--shadow);
    outline: 0;
    border-radius: 5px;
}

.loginHelpFont {
    position: absolute;
    top: 1vh;
    left: 1vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2vh;
    font-weight: 600;
}

.loginButtonFont {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2vh;
    font-weight: 600;
    color: var(--shadow);
    transition-duration: 0.5s;
}

.loginInput {
    position: absolute;
    transform: translate(-50%, 0%);
    bottom: 5%;
    left: 50%;
    width: 95%;
    height: 50%;
    background: var(--bg);
    box-shadow: inset 0px 0px 5px var(--shadow);
    border-radius: 5px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 1.8vh;
}

#loginButton {
    transition-duration: 0.5s;
    cursor: pointer;
}

#loginButton:hover .loginButtonFont{
    color: var(--bg);
}

#loginButton::after {
    content: '';
    transition: all 0.5s;
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 0%;
    z-index: -1;
    background: var(--shadow);
}

#loginButton:hover::after {
    width: 100%;
}