@media all and (orientation: landscape) {
    #bottomButtons {
        top: auto;
        left: 50%;
        bottom: 3.4em;
        transform: translate(-50%, 0);
        flex-direction: row;
    }
    .bottom-status {
        top: auto;
        left: 50%;
        bottom: 2em;
        transform: translate(-50%, 0);
        flex-direction: row;
    }
}

@media all and (orientation: portrait) {
    #bottomButtons {
        top: auto;
        left: 50%;
        bottom: 3.4em;
        transform: translate(-50%, 0);
        flex-direction: row;
    }
    .bottom-status {
        top: auto;
        left: 50%;
        bottom: 2em;
        transform: translate(-50%, 0);
        flex-direction: row;
    }
}

.btn-icon-kickout {
    background-image: url(../images/kick.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-microphone-on {
    background-image: url(../images/mic.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-microphone-off {
    background-image: url(../images/mic_disable.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-screenOn {
    background-image: url(../images/screenOn.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-screenOff {
    background-image: url(../images/screenOff.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-video-on {
    background-image: url(../images/camera.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-video-off {
    background-image: url(../images/camera_disable.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-camera-rotate {
    background-image: url(../images/cam_rotate.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-mirror {
    background-image: url(../images/flip.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.btn-icon-mic {
    background-image: url(../images/icon_mic.svg);
}
.btn-icon-cam {
    background-image: url(../images/icon_camera.svg);
}
.btn-icon-custom {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 40px;
    height: 40px;
}
#loadingDiv:has(visible) ~ #videoMediaContainer,
#loadingDiv:has(visible) > #videoMediaContainer,
#loadingDiv:has(visible) + #videoMediaContainer {
    z-index: -1 !important;
}
.logo-header {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0.3;
    pointer-events: none;
    z-index: 8;
}

#breakdownContainer {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
}

#bitrate {
    width: max-content;
    position: absolute;
    padding: 4px 10px;
    margin: 5px;
    top: 0;
    left: 150px;
    /* transform: translateX(-50%); */
    color: #fff;
    font-size: 12px;
    align-items: center;
    border-radius: 5px;
    background: #303030;
    pointer-events: none;
    white-space: pre;
}

#bitrate.user {
    top: 80px;
    left: 0;
}