/* ELEMENT ALL */
/* FONT */
@font-face {
  font-family: "CaustenRound Black";
  src: url("../font/Causten_Rounded/CaustenRound-Black-9bb1c0370ae304e8e8ba6015c7e211b8.ttf") format('truetype');
}
@font-face {
  font-family: "CaustenRound Bold";
  src: url("../font/Causten_Rounded/CaustenRound-Bold-9732524bd72ece457bd9ab9b70b66f0a.ttf") format('truetype');
}
@font-face {
  font-family: "CaustenRound RegularOblique";
  src: url("../font/Causten_Rounded/CaustenRound-RegularOblique-50ce8cd0cd140eb295901e02bb172c2d.ttf") format('truetype');
}
@font-face {
  font-family: "CaustenRound Regular";
  src: url("../font/Causten_Rounded/CaustenRound-Regular-464443e7f8a7b959ecdafea2d34b2671.ttf") format('truetype');
}
@font-face {
  font-family: "CaustenRound Medium";
  src: url("../font/Causten_Rounded/CaustenRound-Medium-94771c11ece56a57fd82d1f66b705765.ttf") format('truetype');
}
@font-face {
  font-family: "CaustenRound Light";
  src: url("../font/Causten_Rounded/CaustenRound-Light-71c27ac757ee1ded30867f0d8fb1f1b7.ttf") format('truetype');
}
/* NEW SCOLLBAR */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #606060;
  border-radius: 6px;
  transition: all 1s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
  background: #949494;
  transition: all 1s ease-in-out;
}
/* ALL REGLAGES */
html {
  --res: calc(0.01 * 10vmin);
}

.pagecontainer__root, body, html {
  height: 100%;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  background-color: #0a0a0a;
}
a, button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  text-decoration: none;
  color: white;
}
/* BODY (old 80%) */
.pagecontainer__root {
  display: flex;
  flex-direction: column;
}

header {
  min-height: 5em;
}

footer {
  margin-top: 5rem;
  flex-shrink: 0;
  border-top: 1px solid var(--border-color);
}

#container {
  z-index: 1;
  width: 75%;
  margin: calc(9vw - 2vw) auto;
  flex: 1 0 auto;
}

/* ERROR SECTIONS */

section.error-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  margin: 2.5rem auto;
  position: relative;
  color: white;
}

.error-block {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.error-svg {
  -ms-flex-item-align: center !important;
  align-self: center !important;
  -ms-flex: 0 0 50%;
   flex: 0 0 50%;
   max-width: 50%;
}

.error-svg svg {
  width: 100%;
  visibility: hidden;
}

.error-text {
  -ms-flex-item-align: center !important;
   align-self: center !important;
   -ms-flex: 0 0 50%;
   flex: 0 0 50%;
   max-width: 50%;
}

.error-text h1 {
  font-size: 5vh;
  font-family: "CaustenRound Black";
}

.error-text h2 {
  font-size: 3vh;
  font-family: "CaustenRound Bold";
}

.error-text p {
  font-size: 2vh;
  font-family: "CaustenRound Regular";
}


@media screen and (max-width:768px) {
  .error-block {
    display: flex;
    flex-direction: column;
  }
  .error-block {
    margin-top:70px;
    margin-bottom:70px;
  }
}



/* INDEX */
section.player-twitch {
  position: relative;
  display: flex;
  /* padding: 2.5em 0 0; */
  /* padding: var(--xds-padding);
  background-color: #191919;
  border: var(--xds-bordercolor);
  border-radius: calc(var(--xds-borderradius) +  var(--xds-padding)); */
  /* border-top: 1px solid;
  border-image: linear-gradient(90deg, transparent 10%, #a8a8a8 35%, #fff 50%, #a8a8a8 65%, transparent 90%) 1 0 0 0;
  padding-top: 2vw; */

}
.player-twitch .player-twitch-video {
  height: 0;
  display: contents;
}

.player-twitch .player-twitch-video iframe {
  top: 0;
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  border: none;
  overflow: hidden;
  margin-right: 20px;
  border-radius: calc(var(--xds-borderradius) + 1.2vw);
}
.player-twitch .player-twitch-chat {
  height: auto;
}
.player-twitch .player-twitch-chat iframe {
  height: 100%;
  border: none;
  overflow: hidden;
  border-radius: calc(var(--xds-borderradius) + 1.2vw);
}

section.xdreams-market-container  {
  position: relative;
  display: flex;
  margin: 2em 0;
}

.xdreams-market {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #191919;
  border: var(--xds-bordercolor);
  border-radius: calc(var(--xds-borderradius) +  var(--xds-padding));
  color: white;
  padding: 3vw;
}

.xdreams-market p {
  text-align: center;
}

.xdreams-market h1 {
  font-size: calc(4vw + 1em);
  font-family: "CaustenRound Black";
  text-transform: uppercase;
}

.xdreams-market span {
  font-size: calc(1vw + 1em);
  font-family: "CaustenRound Regular";
}

/* TITLE */
.title.home, .title.commands, .title.youtubevod, .title.gameotheque, .title.bestof, .title.legal {
  color: white;
  display: inline-block;
  margin: 2.5rem 0;
}
.title.home h1 {
  font-family: "CaustenRound Black";
  font-size: calc(4vw + 2em);
  left: 9vw;
  position: relative;
  text-transform: uppercase;
}
.title.home span {
  font-family: "CaustenRound Regular";
  font-size: calc(1vw + 1em);
  left: 11vw;
  top: -1vw;
  position: relative;
}

.title.commands h1, .title.gameotheque h1, .title.youtubevod h1, .title.setups h1, .title.bestof h1, .title.legal h1  {
  font-family: "CaustenRound Black";
  font-size: calc(0.75em + 5vmin);
  left: 2vw;
  position: relative;
  text-transform: uppercase;
}
.title.commands span, .title.gameotheque span, .title.youtubevod span, .title.setups span, .title.bestof span {
  font-family: "CaustenRound Regular";
  font-size: 1.2em;
  left: 3vw;
  position: relative;
}

/* LEGAL */

.legal-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: white;
  padding: 3vw;
  background-color: #191919;
  border: var(--xds-bordercolor);
  border-radius: calc(var(--xds-borderradius) +  var(--xds-padding));
  
}

.legal-container p, .legal-container ul {
  padding: 10px;
  font-family: "CaustenRound Regular";
  font-size: 1.2em;
  left: 3vw;
  position: relative;
}

.legal-container ul {
  list-style-type: none;
  padding: 0;
  left: 4vw;
}

.legal-container h2 {
  font-family: "CaustenRound Medium";
  font-size: calc(1.5em + .2vmin);
  left: 2vw;
  padding-top: 1.2em;
  position: relative;
  text-transform: uppercase;
}

.legal-container a {
  color: #3399ff;
  text-decoration: none;
}

/* IMAGINE */
.imagine-container {
  transform: scale(.8);
  overflow: visible;
  height: 45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin: 5rem auto;
}

@media screen and (max-width: 768px) {
  .imagine-container {
    transform: scale(.5);
  }
  
}

.iphone {
  width: 40rem;
  height: 45rem;
  bottom: -1rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-radius: 7.5rem 7.5rem 0 0;
  background: #121212;
  box-shadow: inset 0px 1px 5px 1px #a29e9d;
  position: relative;
  mask-image: url("../img/Mask_iphone-9b67f3aa86295a5b87c84664eabe894c.png");
  mask-mode: luminance;
}
.iphone .network-band {
  background-color: #5d5d5d52;
  position: absolute;
}
.iphone .vertical-network-band {
  right: 25%;
  top: 0;
  height: 2rem;
  width: 0.5rem;
}
.iphone .horizontal-network-band {
  height: 0.5rem;
  width: 2rem;
  left: 0;
  top: 25%;
}
.imagine-screen {
  width: 39rem;
  height: 44.5rem;
  border-radius: 7rem 7rem 0 0;
  background-color: #191919;
  box-shadow: inset 0px 0px 0 1rem black;
  display: flex;
  justify-content: center;
  position: relative;
}
.infos-screen {
  width: 80%;
  display: flex;
  padding: 20px;
  font-size: 25px;
  position: absolute;
  z-index: 1;
  top: 0.9em;
  justify-content: space-between;
  font-family: "CaustenRound Regular";
}

.infos-gauche {
  position: relative;
  left: 20px;
}
.infos-droite {
  display: flex;
  flex-direction: row;
  position: relative;
}
.infos-droite p {
  padding: 0 5px;
}

.notch {
  width: 10rem;
  height: 3rem;
  background: #000;
  border-radius: 1.5rem;
  margin-top: 2rem;
  transition: all 250ms ease-out;
  cursor: pointer;
  z-index: 2;
}
.notch .camera {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background: #331230;
  background: radial-gradient(circle, #6363635e 0%, #53535330 37%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #0d0f2966;
  top: 2.5rem;
  left: 56%;
}
.notch .notch-icon {
  position: absolute;
  transition: all 250ms ease-out;
  color: #fcd34d;
  font-size: 1.5rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  background-color: #6c5e22;
  width: 2rem;
  height: 2rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.notch:hover {
  width: 15rem;
  transition: all 250ms ease-out;
}
.notch:hover .notch-icon {
  left: 31%;
  opacity: 1;
  transition-delay: 150ms;
  pointer-events: all;
}
.notch .notch-icon, .notch .full-width-content, .notch .full-width-content * {
  opacity: 0;
  pointer-events: none;
  transition: all 250ms ease-out;
}
.notch:active {
  width: 35rem;
  height: 16rem;
  border-radius: 5rem;
  box-shadow: 0 1rem 2rem 1rem rgba(0, 0, 0, 0.2);
  transition: all 250ms ease-out;
}
.notch:active .full-width-content, .notch:active .full-width-content * {
  opacity: 1;
}
.notch:active .notch-icon {
  opacity: 0;
}
.full-width-content {
  margin: 3rem 2rem;
}
.album-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.album-info .album-art {
  width: 5rem;
  height: 5rem;
  background-size: contain;
  border-radius: 1.25rem;
  background-image: url("../img/Music_Cover-22e36dbe16fc4d3e69e761fafacead23.png");
}
.album-info .song-detail h1 {
  margin: 0;
  font-weight: 300;
  font-size: 1.5rem;
  color: white;
  font-family: "CaustenRound Bold";
}
.album-info .song-detail span {
  margin: 0;
  font-size: 1.25rem;
  color: #818181;
  font-family: "CaustenRound Regular";
}
.music-controls {
  color: #706e6e;
  font-size: 1rem;
  padding-top: 15px;
}
.music-controls .seek {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "CaustenRound Regular";
}
.music-controls .seek .seek-bar {
  flex: 1;
  background-color: #373737;
  height: 0.5rem;
  border-radius: 0.5rem;
  position: relative;
}
.music-controls .seek .seek-bar:after {
  content: "";
  position: absolute;
  width: 80%;
  height: 0.5rem;
  background-color: #fff;
  border-radius: 0.5rem;
}
.music-controls .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding-top: 15px;
}
.imagine-tchat {
  width: 90%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 20px;
  top: 4.5em;
  position: absolute;
  z-index: 1;
}
.messages {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  font-family: "CaustenRound Regular";
}
.message {
  border-radius: 20px;
  padding: 8px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: inline-block;
}
.yours {
  align-items: flex-start;
}
.yours .message {
  margin-right: 25%;
  background-color: #eee;
  position: relative;
}
.yours .message.last {
  border-bottom-left-radius: 4px;
}
.mine {
  align-items: flex-end;
}
.message.imagine {
  background: #5589ff !important;
  font-family: "CaustenRound Black";
  font-size: 35px !important;
  border-radius: 50px;
  padding: 10px 25px 5px 25px;
}
.mine .message {
  color: white;
  margin-left: 25%;
  background: linear-gradient(to bottom, #a87ff5 0%, #8740f8 100%);
  background-attachment: fixed;
  position: relative;
  font-size: 20px;
}
.mine .message.last {
  border-bottom-right-radius: 4px;
}
.typing-indicator {
  will-change: transform;
  width: auto;
  padding: 0px 2px 2px 2px;
  border-radius: 22px 22px 22px 3px;
  -webkit-animation: 2s bulge infinite ease-out;
  animation: 2s bulge infinite ease-out;
}
.typing-indicator span {
  height: 13px;
  width: 13px;
  float: left;
  margin: 0 1px;
  background-color: #9E9EA1;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
.typing-indicator span:nth-of-type(1) {
  -webkit-animation: 1s blink infinite 0.3333s;
  animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  -webkit-animation: 1s blink infinite 0.6666s;
  animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  -webkit-animation: 1s blink infinite 0.9999s;
  animation: 1s blink infinite 0.9999s;
}
@-webkit-keyframes blink {
  50% {
      opacity: 1;
 }
}
@keyframes blink {
  50% {
      opacity: 1;
 }
}
@-webkit-keyframes bulge {
  50% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
 }
}
@keyframes bulge {
  50% {
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
 }
}

/* HOVER BUTTONS */
.xdsbtn-all {
  color: white;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition:  all .5s ease-in-out;
}

.xdsbtn-all:hover {
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition:  all .5s ease-in-out;
}

.xdsbtn-twitch:hover {
  color: var(--xdsbtn-hover-Twitch) !important;
}
.xdsbtn-twitch-back:hover {
  background-color: var(--xdsbtn-hover-Twitch) !important;
}
.xdsbtn-instagram:hover {
  color: var(--xdsbtn-hover-Instagram) !important;
}
.xdsbtn-threads:hover {
  color: var(--xdsbtn-hover-Threads) !important;
}
.xdsbtn-twitter:hover {
  color: var(--xdsbtn-hover-Twitter) !important;
}
.xdsbtn-tiktok:hover {
  color: var(--xdsbtn-hover-Tiktok) !important;
}
.xdsbtn-youtube:hover {
  color: var(--xdsbtn-hover-YouTube) !important;
}
.xdsbtn-discord:hover {
  color: var(--xdsbtn-hover-Discord) !important;
}
.xdsbtn-accueil:hover {
  color: var(--xdsbtn-hover-Home) !important;
}
.xdsbtn-planning:hover {
  color: var(--xdsbtn-hover-Planning) !important;
}
.xdsbtn-boutfypedia:hover {
  color: var(--xdsbtn-hover-BoutfyPedia) !important;
}
.xdsbtn-gameotheques:hover {
  color: var(--xdsbtn-hover-Gameotheques) !important;
}
.xdsbtn-coupe:hover {
  color: var(--xdsbtn-hover-Coupe) !important;
}
.xdsbtn-imagine:hover {
  color: var(--xdsbtn-hover-Imagine) !important;
}
.xdsbtn-commands:hover {
  color: var(--xdsbtn-hover-Commands) !important;
}
.xdsbtn-setups:hover {
  color: var(--xdsbtn-hover-Setups) !important;
}
.xdsbtn-social:hover {
  color: var(--xdsbtn-hover-Social) !important;
}




@media screen and (max-width: 1400px) {
  .player-twitch .player-twitch-video iframe {
      border-radius: calc(var(--xds-borderradius) + 15px);
      margin-right: 0px !important;
 }
  .player-twitch {
      display: block;
 }
  .player-twitch .player-twitch-chat {
      display: none;
 }
}
@media screen and (max-width: 990px) {
  .xdreams-market {
    border-radius: calc(var(--xds-borderradius) + 15px);
  }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  #container {
    width: 90%;
    margin: calc(5vw - 4vw) auto;
  }
  header {
    height: 5em;
  }
  .planning-fullscreen-button {
    margin-top: 3em;
  }
  .coupe-leaderboard, .social-container {
    margin: 3em 0;
  }
}
@media screen and (max-width: 850px) {
  #container {
    width: 90%;
  }
  header {
    height: 5em;
  }
  .planning-fullscreen-button {
    margin-top: 3em;
  }
  .coupe-leaderboard, .social-container {
    margin: 3em 0;
  }
  .social-grid h1 {
    left: 4vw;
  }
.player-twitch .player-twitch-chat {
    top: 0;
    right: 0;
    bottom: 0;
 }
}
@media screen and (max-width: 634px) {
  .player-twitch .player-twitch-video iframe {
      /* border-radius: 8px; */
 }
  .player-twitch .player-twitch-chat {
      display: none;
 }
}
@media screen and (max-width: 600px) {
  /* VIDE*/
}
@media screen and (max-width: 550px) {
  .icon-social i {
      font-size: 2.5em;
      transform: rotate(-5deg);
 }
}
@media screen and (max-width: 450px) {
  .player-twitch .player-twitch-chat {
      display: none;
 }
  .player-twitch .player-twitch-video iframe {
      /* border-radius: 8px; */
 }
}
