/* SET GLOBAL STYLES */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 5rem;
    background: var(--background);
    font-family: "Helvetica", "Arial", sans-serif;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    color: var(--text);
    text-align: center;
    padding: 1rem 0;
}

footer a {
    color: var(--text);
    text-decoration: none;
}

nav.navbar {
    background-color: var(--accent);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1rem;
    flex-wrap: nowrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: .5rem;
}
  
.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
  
.nav-center {
    flex: 1;
    flex-wrap: nowrap;
    overflow: hidden;
}
  
nav a {
    padding: 0.5rem 0.75rem;
    color: rgb(193 173 135);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
  
nav a:hover, nav a:focus-visible {
    opacity: 0.5;
}
  
.nav-right {
    gap: 0.5rem;
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: .5rem;
}
  
.menu-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: none;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
} 

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    max-width: 100%;
    background-color: var(--accent);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}
  
.sidebar.open {
    transform: translateX(0);
}
  
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
}
  
.sidebar-nav a {
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
  
.sidebar-nav a:hover, .sidebar-nav a:focus-visible {
    opacity: 0.5;
}
  
.sidebar-social {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
  
.close-sidebar {
    background: none;
    border: none;
    padding: 0.5rem;
    align-self: flex-end;
    cursor: pointer;
}

.social-icon {
    user-select: none;
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
    fill: currentcolor;
    font-size: 1.5rem;
    color: rgb(131 116 92);
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 800px) {
    .social-icons {
      display: none;
    }
}
  
@media (max-width: 450px) {
    .nav-center {
      display: none;
    }
    .menu-button {
      display: inline-flex;
    }
}

/* START OF NON-GLOBAL STYLES */

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-top: 1rem;
    align-items: center;
    gap: 1rem;
}

.shine-link {
    display: block;
    width: fit-content; 
}

.shine {
    max-width: 80px;
    height: auto;
    display: block;
}

.stream-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9 auto;
    margin: 0 auto;
}

  
#twitch-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}