body {
    background-color: #0e0e10;
    font-family: "Inter";
    margin: 2em;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.menu_resp_ico {
    display: none;
}

#twitch-embed {
    height: 100%;
    width: calc(100vw - 4em);
    box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}

iframe.chat {
    border: none;
    width: 460px;
}
.logo {
    color: white;
    font-weight: 800;
    margin: 0;
    font-size: 3em;
}

h1 {
    background: linear-gradient(120deg, white 0% 2.9em, #ea3c1f 2.9em 1.9em);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orange {
    color: #ea3c1f;
}

#stream-content iframe {
    display: flex;
    height: 100%;
}

nav {
    display: flex;
    flex-direction: initial;
    justify-content: space-between;
    margin-bottom: 1em;
    align-items: center;
}

nav a {
    text-decoration: none;
}

nav>ul * {
    color: white;
    text-decoration: none;
    list-style-type: none;
    margin: 0 0.5em;
}

nav>ul {
    margin: 0;
    padding: 0;
    display: flex;
}

nav>ul>li {
    font-size: 1.5em;
    font-weight: 800;
}

footer {
    display: flex;
    flex-direction: initial;
    justify-content: center;
    margin-top: 2em;
    color: rgb(255 255 255 / 25%);
    font-weight: 200;
    font-size: 0.8em;
    padding-bottom: 2em;
}

#stream-content {
    color: rgb(255 255 255 / 25%);
    font-weight: 200;
    font-size: 0.8em;
}

#twitch-bouttons button {
    background: #ea3c1f;
    border: none;
    z-index: 1;
}

#twitch-bouttons button:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background-color: #211018;
    border-radius: 5px;
    box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}

#twitch-bouttons button:hover {
    color: #fff;
    background: transparent;
    border-radius: 7px;
}

#twitch-bouttons button:hover:after {
    left: 0;
    width: 100%;
}

#twitch-bouttons button:active {
    top: 2px;
}

#twitch-bouttons button {
    width: fit-content;
    color: #fff;
    border-radius: 5px;
    font-size: 1em;
    padding: 10px 25px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: 7px 7px 20px 0px rgba(0, 0, 0, .1), 4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

#twitch-bouttons {
    margin: 1em 0 0 0;
    display: flex;
    justify-content: space-between;
    width : 100%;
}

img.icon {
    height: 1.2em;
    margin: 0 0.5em 0 0;
    padding: 0;
}

#twitch-bouttons button.theatre, #twitch-bouttons button.sabonner, #twitch-bouttons button.suivre {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.left {
    display: flex;
}

#twitch-bouttons button.suivre {
    margin-right: 1em;
}

#twitch-embed.theatre {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    border-radius: 0;
}

button.normal {
    position: absolute;
    z-index: 2;
    right: 300px;
    top: 10px;
    background: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

button.normal img.icon {
    height: 100%;
    margin: 0;
    padding: 0;
}

#twitch-embed.theatre .normal {
    display: block;
}

#twitch-embed .normal {
    display: none;
}

.icon_menu {
    height: 1em;
    margin: 0;
}

img.icon_menu {
    transform: translateY(0.1em);
}

#twitch-embed .theatre {
    display: none;
}

#twitch-embed.theatre .theatre {
    height: 30px;
    position: absolute;
    right: 0px;
    width: 300px;
    background: #18181b;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    font-family: "Inter";
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#twitch-embed.theatre .chat {
    height: calc(100% - 30px);
    margin-top: 30px;
}

#stream-content {
    height: 100%;
}


/* RESPONSIVE  */


@media (max-width: 1100px) {
    body {
        margin: 1em;
    }
    
    #twitch-embed {
        flex-direction: column;
        width: calc(100vw - 2em);
        margin-top: 15px;
    }
    
    iframe.chat {
        width: 100%;
    }
    
    #twitch-bouttons {
        justify-content: center;
    }
    
    button.theatre {
        display: none !important;
    }

}



/* == RSPONSIVE == */
nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo {
  font-size: 2rem;
}
nav .nav-toggle,
nav .nav-toggle-label {
  display: none;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
nav ul li a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 0.5rem;
}

@media (max-width: 1100px) {
  
  nav .nav-toggle,
  nav .nav-toggle-label {
    display: block;
  }
  nav .nav-toggle {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
  }
  nav .nav-toggle-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    color: white;
    margin-top: -20px;
  }
  nav {
    display: flex;
    flex-direction: column;
  }
  nav ul {
    display: none;
    width: 100%;
  }
  nav ul li a {
    display: block;
    padding: .75rem 1rem;
    color: white;
  }
  nav ul li {
    width: 100%;
    margin: 0;
    padding: 5px 0;
    text-align: center;
  }
  li:nth-child(2n) {
     background: #fbfbfb05;
  }
  nav .nav-toggle:checked ~ ul {
    display: flex;
    margin-top: 15px;
    gap: 0;
    flex-wrap: wrap;
  }
  nav ul li.menu_icon {
    width: 25%;
  }
  li.menu_icon {
    background: none !important;
  }
  button {
      background: #1d1d1f;
      width: 60px;
      height: 60px;
      border-radius: 100%;
      margin-right: 10px;
  }
  
  button img {
      height: 35px;
      margin-top: 2px;
  }
  label.nav-toggle-label {
    background: #1d1d1f;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    margin-right: -10px;
    line-height: 60px;
    text-align: center;
}
}
