#bgVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -10;
    filter: blur(10px) sepia(1) saturate(2) hue-rotate(180deg) brightness(0.5);
    opacity: 0.3;
}


.page {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;

    .side {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 25px;

        .title {
            font-size: 2.8rem;
        }

        button {
            margin-inline: 20px;
        }
    }
}

@media (max-width: 1270px) {
    .page .side .title {
        font-size: 2rem;
    }
}

.divider.midDivide {
    display: none;
    margin-block: 5rem;
}

@media (max-width: 970px) {
    .page {
        flex-direction: column;

        .side {
            flex: 0;

            width: 80%;
            max-width: 500px;
            min-width: 350px;
        }

        .title {
            font-size: 2.4rem;
        }

        .tall-divider.midDivide {
            display: none;
        }

        .divider.midDivide {
            display: block;
        }
    }
}

#joinPopup[open] {
    display: flex;
}

#joinPopup {
    position: fixed;
    inset: 0;
    margin: auto;

    border: none;
    background-color: transparent;
    color: white;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    z-index: 100;

    &::backdrop {
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(1px);
    }

    .joinContent {
        padding: 30px 40px;
        width: 80vw;
        max-width: 800px;
        /* width: min-content;
        height: min-content; */
        background-color: black;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        gap: 20px;

        .title {
            font-size: 2.4rem;
        }


        input {
            padding: 10px;
            font-size: 1.2rem;
        }

        #roomInput {
            text-transform: uppercase;
        }

        .buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
    }

    #joinError {
        display: none;
        background-color: red;
        color: white;
        padding: 10px;
        border-radius: 10px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    #joinPopup label {
        flex-direction: column;
    }

}