body {
    overflow: hidden;
    background-color: black;
}

#start-page {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#youtube-url {
    width: 70%;
    background-color: rgb(226, 226, 226);
    height: 50px;
}

#url-submit {
    visibility: hidden;
    background-color: rgb(151, 36, 36);
    border-radius: 5px;
    font-size: 2.5vw;
    padding: 0.5vh 2vh 0.5vh 2vh;
    margin-top: 3vh;
    color: white;
}

.welcome-ad {

    margin-top: 1vh;
    margin-bottom: 0vh;
}


.sidebar {
    position: absolute;
    color: aliceblue;
    left: -100%;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #000000;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 5vh 18vh 0vh 18vh;
    opacity: 98%;
    z-index: 100;
}

#challenge-page .contents {
    display: flex;
    justify-content: center;
    align-items: center;
}

.column {
    flex: 1;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 1% 0 1%;
}

#startBtn {
    border-radius: 5px;
    color: white;
    background-color: rgb(175, 18, 18);
}

#recBtn {
    position: absolute;
    left: 50%;
    bottom: 50%;
}

#sidebarToggle {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    border: none;
    padding: 5px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid #000000;
    background-color: rgb(0, 0, 0); 
    color: rgb(136, 136, 136);
    z-index: 200;
    border-radius: 5px;
}

#mirrorBtn {
    opacity: 1;
    background-color: aqua;
    width: 180px;
}

.selected-speed {
    background-color: blue;
    color: white;
}

.mirrored {
    transform: scale(-1, 1);
}

.video-ad {
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 10;
}


#player {
    max-height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

video {
    max-height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#liveVideo {
    display: none;
    position: absolute;
    width: 9px;
    height: 16px;
    top: 0;
    left: 0;

}

#liveCanvas {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

#recordedVideo1 {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

#recordingIndicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: green;
    border-radius: 50%;
    opacity: 1; 
    z-index: 12;

}
@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
