@import "colors.css";
@import "keyframes.css";
@import "debug.css";

/* sobreescritura de colores por hacer la prueba */
:root {
  --light-red: rgb(255, 80, 80);
  --mixme-red: darkred;
  --mixme-green: darkgreen;
  --mixme-blue: darkblue;
  --bg-texture-background-image: none;
}

.red {
  color: var(--mixme-red);
}
.green {
  color: var(--mixme-green);
}
.blue {
  color: var(--mixme-blue);
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}


html,body{
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

html {
  background-color: black;
  color: white;
  }

* {
  box-sizing: border-box;
}

body {
  background-color: var(--recre-morado);
  color: white;
  text-align: center;
  /*
  width: 100vw;
  height: 100vh;
  */
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

#app {
  height: 100vh;
  width: 100vw;
}

.logo {
  position: relative;
  height: 55px;
  margin-top: 20px;
  margin-top: 30px;
  background-image: url('https://app.mixme.live/img/logo_sin_tagline.png');
  background-size:contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 100;
}

.join .logo {
  margin-top: 100px;
  min-height: 75px;
}

#text_well_done {
  margin-bottom: 10px;
}

#main {
  position: absolute;
  /*width: 100vw;
  height: 100vh;*/
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;

  /*border: 1px solid orange;*/
  /*background-color: rgba(0, 255, 0, .5);*/
  /*padding: 1vh 1vw;*/
  z-index: 90;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  padding: 0px 10px 20px 10px;
  overflow: hidden;
}

#main > * {
  /*border: 1px dashed rgba(255, 255, 0, 0.5);*/
  /*height: auto;*/
  align-self: stretch;
}


#bg_texture {  
  /*background-image: url('https://picsum.photos/1024');*/
  background-image: var(--bg-texture-background-image);
  background-size:cover;
  /*filter: grayscale(100%) blur(5px);*/
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  /*opacity: 0.6;
  z-index: 80;*/
}

/* el claim de mixme ... se podría modificar por skin */
#bg_texture::after {
  content: " ";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background-image: url('https://app.mixme.live/img/g27_g30.png');
  /*background-image: url('https://picsum.photos/1024');*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /*border: 1px solid red;*/
  /*z-index: 100; si activamos ésto, no podemos hacer clic en nada, se superpone a todo ...*/
}

#bad_orientation {
  /*width: 100vw;
  height: 100vh;*/
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;

  display: none;
  /*border: 4px solid blue;*/
  /*background-color: red;*/
  /*padding: 1vh 1vw;*/
}
#bad_orientation::before {    
  content: "";
  /*
  background-image: url('https://img.freepik.com/premium-vector/black-elegant-background-vector-free-download_839034-397.jpg');
  /*background-image: url('https://img.freepik.com/free-vector/realistic-elegant-geometric-shapes-theme-wallpaper_23-2148410456.jpg?t=st=1729284849~exp=1729288449~hmac=cb4796bf3d9d80acaeb6b8692722632f2c1afc996ec48e6b3c6207f237b75f9d&w=1480');* /
  background-image: url('https://img.freepik.com/free-vector/shiny-cube-pattern-dark-background_1409-2012.jpg?t=st=1729284984~exp=1729288584~hmac=ff51e7abc6cfc47ed13c072e17d35bd30be5c3159cf08a92811121d9ee8477b7&w=1060');
  background-image: url('https://img.freepik.com/free-photo/free-photo-black-grunge-abstract-background-pattern-wallpaper_1340-34120.jpg?t=st=1729284778~exp=1729288378~hmac=146402580dcfde953687bd1d775b0bddfb41dffa1b51816013460d70b1467064&w=1480');
  background-image: url('https://img.freepik.com/free-vector/gradient-dynamic-purple-lines-background_23-2148995757.jpg?t=st=1729286109~exp=1729289709~hmac=685baae9280004f44cdb16886269de93ef292459b805dfe8978aee21105f2c64&w=1480');
  */

  background-image: url('/public/assets/img/bad_orientation_background.jpg');
  background-size:cover;  
  /*filter: grayscale(100%) blur(5px);*/
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.6;
}

.bad_orientation_container {
  position: absolute;
  width: 100%;
  height: 150px;
  margin: auto;
  transform: translateY(50%);
  top: 0;
  left: 0;
}

.phone {
  background-color: rgba(0,0,0,.6);
  margin: auto;
  margin-top: 50px;
  height: 50px;
  width: 100px;
  border: 3px solid white;
  border-radius: 10px;
  animation: rotate 1.5s ease-in-out infinite alternate;
  position: relative;
}
.phone::after {
  position: absolute;
  content:"";
  border: 3px solid white;
  width: 2px;
  height: 2px;
  left: 3px;
  top: 20px;
  border-radius: 3px;
}
.phone::before {
  position: absolute;
  content:"";
  border: 2px solid white;
  width: 1px;
  height: 20px;
  right: 3px;
  top: 12px;
  bottom: 12px;
  border-radius: 3px;
}

.message {
  color: white;
  font-size: 1em;
  margin-top: 30px;
}

/*
@media (orientation: landscape) {
  .main {
    display: none;
  }
  .bad_orientation {
    display: block;
  }
}
*/

/* detectar que es móvil */
/*
@media only screen and (hover: none) and (pointer: coarse){
  #bg_texture, #main, #bad_orientation {
    /*border: 10px solid orange;* /
  }
}
*/

/* mostrar el cambio de orientación lo hacemos sólo en dispositivos móviles finalmente */
@media only screen and (hover: none) and (pointer: coarse) and (orientation: landscape) {
  #bg_texture, #main {
    display: none;
  }
  #bad_orientation {
    display: block;
  }
}

/*
@media (orientation: portrait) {
  .main {
    background-color: green;
  }
}
*/

#ws_log {
  width: 95%;
  min-height: 250px;
  margin: auto;
  border: 2px solid green;
  background-color: black;
  color: greenyellow;
  overflow: scroll;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 20px;
}

/*
.transparent_text {
  mix-blend-mode: screen;
  display: block;
  width: fit-content;
  background-color: white;
  padding: 0px 8px 0px 8px;
  border-radius: 5px;
  color: black;
  font-size: 32px;
  font-weight: 300;
  margin: auto;
}
*/

.hidden {
  visibility: hidden;
}

.transparent_text {
  mix-blend-mode: screen;
  display: block;
  width: fit-content;
  background-color: white;
  padding: 0px 8px 0px 8px;
  border-radius: 5px;
  color: black;
  font-size: 32px;
  margin-left: auto;
  margin-right: auto;
}

.big_text {
  font-size: clamp(55px, 70px, 70px);
  line-height: clamp(55px, 75px, 75px);
}

.medium_text {
  font-size: clamp(50px, 65px, 65px);
  line-height: clamp(50px, 70px, 70px);
}

.text_group_up {
  text-wrap: pretty; /* no soportado en algunos sitios */
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  /*text-wrap: balance;*/
}

.mission_text {
  font-size: clamp(25px, 35px, 35px);
  line-height: clamp(42px, 50px, 55px);
  text-wrap: pretty; /* no soportado en algunos sitios */
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  /*text-wrap: balance;*/
}

.mission_text.small {
  font-size: clamp(18px, 28px, 28px);
  line-height: clamp(35px, 43px, 48px);
}

.listen_talk {
  width: 100vw;
  margin-left: -10px;
  /*margin-right: -10px;*/
  margin-bottom: -20px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 10px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;  
  /*font-size: clamp(5vh,10vh,13vw);*/
  font-size: clamp(6vh,12vh,14vw);
  overflow: hidden;
}

.round_timer {
  aspect-ratio: 1;
  line-height: 80px;
  vertical-align: middle;
  font-size: clamp(20px, 60px, 60px);
  padding: 18px;
}

.round_timer.big_line_height {
  line-height: 120px;
}

.bold {
  font-weight: bold;
}

.card {
  padding: 5px;
  background-color: var(--mixme-bs-card-bg);
  color: var(--mixme-bs-card-color);
  border-radius: 12px;
}

.colors_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  align-content: center;
  flex-wrap: wrap;

  width: fit-content;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;  
  margin-bottom: 10px;
}
.group_people_text{
  padding: 5px 10px 2px 10px;
  text-wrap: pretty;
}

.group_colors {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 5px;
}
.colors_card .color {
  min-width: 40px;
  width: 40px;
  max-width: 40px;
  min-height: 40px;
  height: 40px;
  max-height: 40px;
  margin: 5px;
  border-radius: 50%;
  flex: 1;
}
.colors_card .color.my_color {
  min-width: 60px;
  width: 60px;
  max-width: 60px;
  min-height: 60px;
  height: 60px;
  max-height: 60px;
}

/* ICONS START */
.walk_icon_container i, .walk_icon_container svg,
.finish_icon_container i, .finish_icon_container svg {
  /*font-size: clamp(82px, 25vh, 162px);*/
  /*font-size: clamp(200px, 40vh, 40vh);*/
  font-size: clamp(125px, 80vw, 400px);
}

.walk_icon_container {
  animation: walk 0.5s 1 forwards;
}
/* ICONS END */

.walk_text {
  font-weight: bold;
  font-size: clamp(38px, 10vh, 60px);
}



/* IFRAMES START */
.iframe_screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  display: none;
}
/* IFRAMES END */





.uppercase_text {
  text-transform: uppercase;
}

/* WELCOME FIRST SCREEN - CLICK BUTTON START */
#main_text {
  line-height: clamp(5vh, 7vh, 7vh);
  font-size: clamp(4vh, 4vh, 6vh);
  font-weight: 800;

}

#main_text b {
  display: block;
  line-height: clamp(6vh, 6vh, 8vh);
  /*font-size: clamp(6vh, 7vh, 8vh);*/
  font-size: 175%;
  font-weight: 900;

}

#screen_login p#before_button #request_fullscreen {
  position: relative;
  display: inline-block;
  padding: 12px 36px;
  margin: 40px 0px 10px 0px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 40px;
  /* En Safari no pinta el efecto chulo de borde biselado */
  border: 3px solid #fff;
  background: linear-gradient(90deg,#755bea,#ff72c0);
}

/* WELCOME FIRST SCREEN - CLICK BUTTON END */

/* JOIN SCREEN - ROOM CODE START */
#screen_login {
  font-size: 36px;
  color: white;
}

#screen_login label {
  color: white;
  font-size: .6em;
  margin-top: 10px;
  margin-bottom: 2px;
}
#screen_login #room_code {
  display: block;
  margin: auto;
  /*max-width: 280px;*/
  max-width: 320px;
  text-align: center;
  text-transform: uppercase;
  border-radius: 40px;
  letter-spacing: 5px;
}

#screen_login #room_code_redirect {
  position: relative;
  display: inline-block;
  padding: 12px 36px;
  margin: 40px 0px 10px 0px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 40px;
  /* En Safari no pinta el efecto chulo de borde biselado */
  border: 3px solid #fff;
  background: linear-gradient(90deg,#755bea,#ff72c0);
}


/* JOIN SCREEN - ROOM CODE END */



.ani_login {
  background-image: linear-gradient(-124deg, var(--recre_morado_75), var(--recre_rosa_75),  var(--recre_morado_75), var(--recre_rosa_75),  var(--recre_morado_75), var(--recre_rosa_75));
}

.blink {
  animation: blink 1s infinite;
}

.medium_speed {
  animation-duration: 10s;
}
.fast_speed {
  animation-duration: 5s !important;
}





