/**
 * Main stylesheet for the Pixel Streaming application
 */

/* Click to play element styles */
#clickToPlayElement.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 640px;
    height: 640px;
}

#clickToPlayElement {
    position: absolute;
    top: 0;
    left: 0;
    width: 640px;
    height: 640px;
    display: none;
}

/* Video container styles */
#videoParentElement {
    width: 640px !important;
    height: 640px !important;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Video element styles */
#streamingVideo {
    width: 640px !important;
    height: 640px !important;
    object-fit: cover;
}

/* Fixed size class to enforce dimensions */
.fixed-size {
    width: 640px !important;
    height: 640px !important;
    max-width: 640px !important;
    max-height: 640px !important;
}

/* Body styling */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* width: 100vw;
    height: 100vh; */
    min-height: -webkit-fill-available;
    font-family: Montserrat;
    margin: 0;
    background-color: black;
}

/* Logo container styles */
#logoContainer {
    width: 384px;
    height: 160px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logoImage {
    max-width: 100%;
    max-height: 100%;
}

/* Static message styles */
.static-message-container {
    width: 640px;
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.static-message-container p {
    color: white;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 80%;
}

/* Debug panel styles */
#debugPanel {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    padding: 5px;
    font-size: 12px;
    display: none;
    z-index: 9999;
}

#debugPanel button {
    background-color: #333;
    border: 1px solid #555;
    color: white;
    padding: 2px 5px;
    margin: 2px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

#debugPanel button:hover {
    background-color: #444;
}