*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: auto;
    margin: 0;
    background-color: black; 
    color: white; 
    text-align: center;
    display: flex; 
    flex-direction: column; 
    font-family: 'PublicPixel'; 
}

.nav_bar {
    display: flex; 
    flex: 0 0 auto;
    flex-direction: row; 
    flex-wrap: wrap;
    align-items: center; 
    justify-content: left;
    background-color: rgb(168, 38, 207); 
    width: 100%; 
    padding: clamp(6px, 1vw, 14px);
    min-height: clamp(48px, 8vh, 80px);
    font-size: clamp(1em, 1.2vw, 1.2em);
    gap: 0.75rem;
}

.nav_bar img {
    height: clamp(32px, 8vh, 100px);
    width: auto;
    margin-right: 10pt;
    display: block;
    flex-shrink: 0;
}

.nav_bar a {
    color: white;
    margin-left: 12pt;
    text-decoration: none;
}

.nav_bar a:hover {
    color: rgb(98, 187, 216);
    margin-left: 12pt;
    text-decoration: none;
    font-size: clamp(1em, 1.2vw, 1.2em);
}

.nav_bar .socials {
    flex: 1;
    text-align: right;
}

.content {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.itemyouwant {
    display: flex; 
    flex-direction: row; 
    width: 100%;
    align-items: center;
    justify-content: center;
}

.itemyouwant img {
    height: clamp(100px, 10vh, 500px);
    width: auto;
    margin: 2%;
    justify-self: left;
}

.itemyouwant a {
    color: rgb(98, 187, 216);
    justify-self: right;
}

.twitch-container {
    margin: 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: flex-start;
}
.twitch-container .chat {
    min-width: 300px;
    flex: 0 1 20%;
    height: 100%;
    width: auto;
    min-height: 480px;
}

#twitch-embed {
    justify-self: center;
    flex: 0 1 60%;
    min-width: 720px;
    width: 100%;
    aspect-ratio: 16 / 9;
}

#twitch-embed iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 1080px) {
    .twitch-container {
        flex-direction: column;
        padding: 12pt;
        align-items: center;
    }
    #twitch-embed {
        min-width: unset;
        width: 100%;
    }
    .twitch-container .chat {
        min-width: unset;
        width: 100%;
        min-height: 800pt;
    }
}

footer {
    margin: 5pt; 
    color: white; 
    text-align: right;
}