* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: monospace, Helvetica, sans-serif;
    background-color: black;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 2px;
    padding-right: 30px;
    padding-left: 30px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: monospace, serif;
}

.header-link:hover {
    text-decoration: underline;
}

.content-wrapper {
    display: flex;
    flex: 1;
    width: 100%;
    gap: 10px;
    padding: 0 20px 20px 20px;
}

.player-container {
    flex: 85;
    background-color: #black;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-placeholder {
    width: 100%;
    height: 100%;
}

.chat-container {
    flex: 15;
    min-width: 340px;
}

iframe, #vid1 {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    html, body {
        height: auto;
        overflow: visible;
    }

    body {
        display: block;
    }

    .content-wrapper {
        display: block;
    }

    .player-container {
        aspect-ratio: 16/9;
        margin-bottom: 20px;
    }

    .chat-container {
        height: 600px;
        min-width: unset;
    }
}
