/* Font Faces */
@font-face {
    font-family: 'Abcreprovariable';
    src: url('https://cdn.prod.website-files.com/64053c5d931f167ecf5997be/64053c5d931f1601295997c9_ABCReproVariable.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

/* Spinner */
.spinner {
    width: 100px;
    height: 100px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #9fc1f9;
}

/* Navigation */
.navbar {
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 4rem;
}

.logo-img {
    height: 120px;
}

.nav-item-container {
    border-right: #1a0c6d 1px solid;
    flex-grow: 1
}

.nav-item-container:last-child {
    border-right: none;
}

.nav-items {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-items a {
    color: #1a0c6d;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    font-family: Abcreprovariable,sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 100%;
}

.nav-link, .social-icons {
    padding-top: 1rem;
}

.nav-link {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-items {
        flex-direction: column;
    }

    .logo-container {
        width: 100%;
    }

    .logo-img {
        width: 100%;
    }

    .nav-item-container {
        border-right: none;
        border-bottom: #1a0c6d 1px solid;
        padding-bottom: 1rem;
    }
    
    .nav-item-container:last-child {
        border-right: none;
        border-bottom: none;
    }
}

/* Main content */
.main-content {
    display: flex;
    padding: 1rem;
    gap: 1rem;
}

.stream-container {
    flex: 1;
    min-width: 0;
    height: 100%;
}

.youtube .stream-container {
    aspect-ratio: 16/9;
}

.stream-container.tweet-loading {
    aspect-ratio: 16/9;
}

.stream-container blockquote {
    height: 100%;
}

.stream-container iframe {
    border-radius: 0.5rem;
}

.chat-container {
    width: 30%;
    background: #f5f5f5;
    border-radius: 0.5rem;
    overflow: hidden;
    min-height: 600px;
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }

    .chat-container {
        width: 100%;
        height: 550px;
    }
}

.twitter-tweet.twitter-tweet-rendered {
    margin: 0 !important;
}