html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #1d1d1d;
}

#wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    padding: 10px;
    box-sizing: border-box;
}

#divider {
    position: relative;
    width: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
}

#divider::before {
    background-color: #3a3a3a;
    content: "";
    width: 40%;
    height: 100px;
    border-radius: 10px;
    transition-duration: 0.2s;
}

#divider:hover::before {
    background-color: #ADFF2F;
}

.panel {
    position: relative;
    flex-grow: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 5px 2px;
}

.panel.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 0;
    width: 100% !important;
    height: 100%;
}

.panel.pip {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    height: 50%;
    width: 50% !important;
}

.panel iframe {
    width: 100%;
    height: 100%;
    border: none;
    user-select: none;
}

.overlay-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    border: none;
    border-radius: 5px;
    padding: 5px;
    transition-duration: 0.2s;
}

.overlay-button:hover {
    background-color: #ADFF2F;
    color: #1f1f1f;
}

.overlay-button.bottom {
    top: unset;
    bottom: 10px;
}

.hidden {
    display: none !important;
}