body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    min-height: 100vh;
    width: 100vw;
    font-family: 'Inter';
    color:white;
    display: grid;
    grid-template-columns: 50% 50%;
    box-sizing: border-box;
    overflow: hidden;
}

#loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #121212;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

header{
    background-color: #24285B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 100px 0;
    text-align: left;
    overflow: hidden;
}

h1{
    font-size: 2rem;
    margin: 0;
    padding: 0;

}

p{
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

button{
    background-color: #2c2c2c;
    color:white;
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 1em 1em;
    width: 100%;
    margin: 1em 0;
    font-family: 'Inter';
    font-size: 1rem;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    transition: 0.2s;
}

button:hover{
    cursor: pointer;
    background-color: #3c3c3c;
    transition: 0.2s;
}

button.discord{
    background-color: #7289DA;
    color:white;
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 1em 1em;
    width: 100%;
    margin: 1em 0;
    font-family: 'Inter';
    font-size: 1rem;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;

    transition: 0.2s;

}

button.discord:hover{
    cursor: pointer;
    background-color: #677bc4;
    transition: 0.2s;
}

button.microsoft{
    background-color: transparent;
    color:white;
    border: 1px solid white;
    outline: none;
    border-radius: 5px;
    padding: 1em 1em;
    width: 100%;
    margin: 1em 0;
    font-family: 'Inter';
    font-size: 1rem;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;

    transition: 0.2s;
}

button.microsoft:hover{
    cursor: pointer;
    background-color: white;
    color: black;
    transition: 0.2s;
}

button.microsoft:hover img{
    filter: invert(1);
    transition: 0.2s;
}

button.microsoft img{
    transition: 0.2s;
}


.container{
    width: 80%;
    min-width: 300px;
}



.subheader{
    color: gray;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.discord_auth{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
    width: 80%;
    min-width: 300px;
}

.auth_user{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.auth_user img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


.linked_account{
    border: 1px solid gray;
    border-radius: 5px;
    padding: 1em 1em;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1em;
}

.linked_account .inner_header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
}

.account{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
}

.account_name{
    font-size: 1rem;
    font-weight: 500;
}

.account_type{
    font-size: 0.8rem;
    font-weight: 400;
    color: gray;

}

.account_image_container{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2c2c2c;
}

.account_image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0px 0px;
}

.account_image.skin{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0px 0px;
    
}







.floating-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    text-align: right;
    padding: 0.5em;
    font-size: 0.8rem;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    flex-direction: row;
}
.floating-footer a {
    color: #cecece;
    text-decoration: none;
    margin: 0 0.5em;
}
.floating-footer a:hover {
    text-decoration: underline;
}
.floating-footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: flex-end;
}
.spinner {
    position: relative;
 }
 
 .spinner::before,
 .spinner::after {
    content: '';
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
 }
 
 .spinner::before {
    width: 15.7px;
    height: 15.7px;
    background: #ffffff;
 }
 
 .spinner::after {
    width: 56px;
    height: 56px;
    animation: spinner-y7ej37 1s infinite linear;
    border: 11.2px solid #ffffff;
    border-left-color: transparent;
    border-right-color: transparent;
 }
 
 @keyframes spinner-y7ej37 {
    to {
       transform: translate(-50%, -50%) rotate(360deg);
    }
 }


@media screen and (max-width: 1000px) {

    body{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header{
        border-radius: 0;
        text-align: center;
        background-color: transparent;
    }

    header img{
        width: 80%;
        object-fit: cover;
        object-position: 0px 0px;
        margin-bottom: 1em;
    }

    .discord_auth{
        position: fixed;
        top: 2%;
        /* background blur */
        backdrop-filter: blur(10px);
    }

    img[steps="linked"]{
        display: none;
    }
    
    .buttons{
        position: absolute;
        bottom: 2%;
        width: 80%;
    }

    .floating-footer ul{
        align-items: center;
        justify-content: center;
    }
}
