main{
    padding: 75px 0 120px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 200px);
}
@media screen and (max-width:720px) {
    main{
        width: calc(100% - 40px);
    }
}
h1{
    text-align: center;
    font-weight: 700;
    font-size: 65px;
    cursor: default;
    z-index: 1;
    line-height: 70px;
    margin-bottom: 0;
}
h1 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
    font-size: 75px;
    animation: float 30s ease infinite alternate;
    display: inline-block;
    z-index: 2;
    padding-bottom: 20px;
    margin-bottom: -20px;
}
h2{
    z-index: 1;
    font-weight: 500;
    color: rgb(165, 165, 165);
    text-align: center;
    width: 90%;
    font-size: 25px;
    margin-top: 20px;
}
h2 span{
    color: var(--main-yellow);
}
h3{
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
h3 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
}
h4{
    padding: 0 40px;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: rgb(165, 165, 165);
}
h5{
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    cursor: default;
    z-index: 1;
    line-height: 70px;
    margin-bottom: 0;
}
h5 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
}

*{
    box-sizing: border-box;
}

.not-clickable{
    pointer-events: none;
}

*[logged-in="true"] .logged-out{
    display: none;
}
*[logged-in="false"] .logged-in{
    display: none;
}

.login-wrapper{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    caret-color: transparent;
}
.login-icon{
    width: 30px;
    height: 30px;
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark1);
    font-weight: 600;
}
.login-icon img{
    width: 20px;
    height: 20px;
    margin-bottom: 1px;
}
.login-dialog{
    display: none;
}
.login-wrapper[show-dialog="true"] .login-dialog{
    display: block;
}
.login-wrapper[menu="home"] .login-dialog-menu{
    display: flex;
}
.login-wrapper[menu="login"] .header-login-wrapper{
    display: flex;
}
.login-menu{
    position: absolute;
    height: 250px;
    width: 230px;
    top: 40px;
    right: 0px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: var(--border);
    z-index: 100;
}
.login-dialog-menu{
    height: fit-content;
}
.login-menu-item{
    height: 30px;
    width: 100%;
    border-bottom: var(--border);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 15px;
    cursor: pointer;
    caret-color: transparent;
}
.login-menu-item.not-clickable{
    font-weight: 500;
}
.login-menu-item:first-child{
    border-radius: 5px 5px 0 0;
}
.login-menu-item:last-child{
    border-radius: 0 0 5px 5px;
}
.login-menu-item:hover{
    background-color: rgba(255,255,255,0.05);
}
.login-menu-item:last-child{
    border-bottom: none;
}
.header-login-wrapper{
    height: 250px;
    width: 230px;
    padding: 10px 15px 30px 15px;
}
.header-login-input-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 20px;
}
.header-login-title-bar{
    width: 100%;
    padding: 10px 5px;
    margin-bottom: 15px;
}
.header-login-title-bar span{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
}
.header-login-title-bar img{
    width: 10px;
    filter: invert(1);
    transform: rotateZ(180deg);
}
label{
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}
input[type="text"], input[type="password"]{
    background-color: var(--dark1);
    color: white;
    font: Inter;
    font-size: 12px;
    border: var(--border);
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
    max-width: 300px;
    caret-color: white;
}
textarea:focus, input:focus{
    border: 1px solid var(--main-yellow);
    outline: none;
}
*[logged-in="true"] #btn-open-login-menu{
    display: none;
}
*[logged-in="false"] #btn-logout{
    display: none;
}



.error-wrapper{
    position: fixed;
    top: 0px;
    left: 0px;
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 20px;
    padding: 20px;
    z-index: 100;
}
.error{
    border: var(--border);
    padding: 10px 20px;
    background-color: var(--dark1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    border-radius: 10px;
    max-width: 300px;
    animation: fadeIn .2s ease-out forwards;
}
.error-icon{
    width: 20px;
}
.error-message{
    color: white;
    font-size: 12px;
}
@keyframes fadeIn {
    from {opacity: 0;transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0px);}
}


.splash-screen{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-top: 25vh;
}
.splash-screen-page{
    text-decoration: none;
    width: 170px;
    height: 170px;
    background-color: rgba(255,255,255,0.03);
    border: var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    gap: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    display: none;
}
.splash-screen-page:hover{
    background-color: rgba(255,255,255,0.06);
}
.page-icon{
    width: 60px;
    object-fit: contain;
}
.page-title{
    font-size: 18px;
    font-weight: 600;
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
    text-align: center;
}
.splash-screen-page.not-available{
    opacity: 0.3;
    filter: grayscale(1);
    pointer-events: none;
}
.splash-screen .break{
    width: 100%;
    height: 0px;
}

.splash-screen-empty{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    opacity: 0.6;
}
.splash-screen-empty-avatar-wrapper{
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.splash-screen-empty-avatar-wrapper img{
    width: 65%;
    filter: invert(1);
}
.splash-screen-empty-title-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    max-width: 400px;
}
.splash-screen-empty-title{
    font-size: 25px;
    font-weight: 600;
}
.splash-screen-empty-subtitle{
    font-size: 16px;
    opacity: 0.6;
}

body[roles*=","] .splash-screen-empty{
    display: none;
}
body[roles*="admin"] .splash-screen-page[role="admin"]{
    display: flex;
}
body[roles*="broadcast"] .splash-screen-page[role="broadcast"]{
    display: flex;
}
body[roles*="lane-counter"] .splash-screen-page[role="lane-counter"]{
    display: flex;
}
body[roles*="lane-assignment"] .splash-screen-page[role="lane-assignment"]{
    display: flex;
}