﻿
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Raleway:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nerko+One&display=swap');
*{
  margin:0;
  padding:0;
  font-family:'Raleway', serif;
}

h2.nerko {
  font-family: "Nerko One", cursive;
  font-weight: 400;
  font-style: normal;
}

hr {
  background-color: rgb(67, 63, 75);
}

.bannerplan {
  background-color: rgb(67, 63, 75);
  color: #fff;
  writing-mode: vertical-lr;
  text-orientation: upright;
  padding: 1rem;
  font-size: 1rem;
}

.banner {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.card-plan{
  max-width: 250px;
  margin: 1rem;
  border: 5px solid black;
  flex-direction: column;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  background-color: aliceblue;
}

.card-plan .cardplan-content{
  flex-grow: 1;
  flex-shrink: 1;
}

.cardplan-foto{
  width: 80%;
  max-height: 200px;
  height: 200px;
  border-radius: 8px 8px 0 0;
  margin: 10%;
}

.cardplan-footer{
  background-color: olive;
  color: #000;
  border-radius: 4px;
}

.cardplan-footer-org{
  background-color: rgb(223, 55, 167);
  color: #000;
  border-radius: 4px;
}

.cardplan-footer-esp{
  background-color: rgb(102, 102, 102);
  color: #000;
  border-radius: 4px;
}


.card-partidas{
  width: 600px;
  max-width: 600px;
  margin: 1rem;
  padding: 2px;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  background-color: rgb(237, 252, 237);
}

.cardpart-colorcode{
  width: 5%;
}

.cardpart-fecha{
  width: 10%;
  flex-direction: column;
  display: flex;
  justify-items: center;
  align-items: center;
}

.cardpart-fecha .jueves{
  width: 30px;
  max-width: 30px;
  height: 30px;
  max-height: 30px;
  border-radius: 50%;
  border: 2px solid black;
  font-size: 1.2rem;
  background-color: rgb(129, 129, 129);
  color: #fff;
  margin-top: 1px;
  margin-left: 1px;
  margin-right: 1px;
  text-align: center;
}


.jueves{
  width: 30px;
  max-width: 30px;
  height: 30px;
  max-height: 30px;
  border-radius: 50%;
  border: 2px solid black;
  font-size: 1.2rem;
  background-color: rgb(129, 129, 129);
  color: #fff;
  margin-top: 2px;
  margin-left: 1px;
  margin-right: 1px;
  text-align: center;
}

.viernes{
  width: 30px;
  max-width: 30px;
  height: 30px;
  max-height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 1.2rem;
  background-color: rgb(129, 129, 129);
  color: #fff;
  margin-top: 2px;
  margin-left: 1px;
  margin-right: 1px;
  text-align: center;
}

.sabado{
  flex-grow: 0;
  border: solid 1px black;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 30px;
  max-width: 30px;
  height: 30px;
  max-height: 30px;
  border-radius: 15px;
  background-color: rgb(129, 129, 129);
  text-align: center;
}

.viernestext {
  flex-grow: 0;
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
}

.thumbnail{
  width: 40px;
  max-width: 40px;
  height: 50px;
  max-height: 50px;
}

.cardpart-imagen{
  width: 30%;
}

.cardpart-imagen>img{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cardpart-data{
  width: 55%;
  height: 100%;
  margin-left: 10px;
  justify-self: left;
  justify-items: left;
  justify-content: left;
  text-align: left;
}

.cardpart-data>h3{
  font-size: large;
}

.cardpart-data>img{
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.cardimg{
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.cardpart-data .data-iconos{
  width: 40%;
  margin-left: 10px;
  justify-content: center;
}

.cardpart-data .data-iconos>img{
  width: 30%;
  margin-left: 10px;
  height: auto;
}

.cardpart-data .data-jugadores {
  border: 1px #000;
  display: flex;
  flex-direction: row;
}

.cardpart-data .data-jugadores>img {
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.gamebanner {
  width: 100%;
  height: auto;
  color: rgb(67, 63, 75);
}

.nuepartida {
  justify-content: center;
}
.paso {
  flex-direction: row;
  display: flex;
}
.paso>img {
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
}
.nueparheader {
  flex-direction: column;
  display: flex;
}
.nueparheaderdetail {
  flex-direction: row;
  display: flex;
}
.pasoodetalle {
  flex-direction: column;
  display: flex;
}

.card-nuepart{
  width: 200px;
  max-width: 200px;
  margin: 0.5rem;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  padding: 2px;
}

.card-nuepart>img{
  width: 40%;
  height: auto;
  max-height: 120px;
  border-radius: 8px;
}

.card-nuepart-data{
  width: 60%;
  height: 100%;
  margin-left: 5px;
  justify-self: left;
  justify-items: left;
  justify-content: left;
  flex-direction: column;
  display: flex;
}

.card-nuepart-data .card-nuepart-content{
  flex-grow: 1;
  flex-shrink: 1;
}

.detpar-header{
  min-width: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(67, 63, 75);
  height: 80px;
  min-height: 80px;
}

.detpar-header2{
  min-width: 80px;
  width: 80px;
  justify-content: center;
  align-items: center;
  background-color:rgb(67, 63, 75);
  height: 100px;
  min-height: 100px;
  flex-direction: column;
  display: flex;
  color: #fff;
}

.detpar-header>img{
  min-width: 60px;
  width: 60px;
  height: 60px;
  min-height: 60px;
}

.detpar-header-mbl{
  min-width: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(67, 63, 75);
  height: 60px;
  min-height: 60px;
}

.detpar-header2-mbl{
  min-width: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  background-color:rgb(67, 63, 75);
  height: 100px;
  min-height: 100px;
  flex-direction: column;
  display: flex;
  color: #fff;
}

.detpar-header-mbl>img{
  min-width: 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
}

.detpar-label{
  min-width: 400px;
}

.detpar-imgavatar {
    width: 40px;
    max-width: 40px;
    height: 40px;
    max-height: 40px;
    border-radius: 50%;
}

.detpar-cardjugador {
  width: 150px;
  max-width: 150px;
  margin: 0.5rem;
  border: 2px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  padding: 2px;
}

.detpar-cardjugador-data{
  width: 60%;
  height: 100%;
  margin-left: 5px;
  justify-self: center;
  justify-items: center;
  justify-content: center;
  flex-direction: column;
  display: flex;
}

/* Chat Conversation */

.chat {
  max-height: 800px;
  max-width: 1000px;
  position: relative;
  background: #efe7dd url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg") repeat;
  z-index: 0;
  overflow: auto;
  padding: 10px;
}

.chat ::-webkit-scrollbar {
  transition: all .5s;
  width: 5px;
  height: 1px;
  z-index: 10;
}

.chat ::-webkit-scrollbar-track {
  background: transparent;
}

.chat ::-webkit-scrollbar-thumb {
  background: #b3ada7;
}

.chat .chat-container {
  box-shadow: inset 0 10px 10px -10px #000000;
  overflow-x: hidden;
  padding: 0 16px;
  margin-bottom: 5px;
}

.chat .chat-container:after {
  content: "";
  display: table;
  clear: both;
}

/* Chat Messages */

.message {
  color: #000;
  clear: both;
  line-height: 18px;
  font-size: 15px;
  padding: 8px;
  position: relative;
  margin: 8px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: -1;
}

.message:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.metadata {
  float: right;
  padding: 0 0 0 7px;
  position: relative;
  bottom: -4px;
}

.metadata .time {
  color: rgba(0, 0, 0, .45);
  font-size: 11px;
  display: inline-block;
}

.metadata .avatar {
  display: inline-block;
  margin-left: 2px;
  position: relative;
  top: 4px;
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.message.outchat {
  background: #e1ffc7;
  border-radius: 5px 0px 5px 5px;
  float: right;
}

.message.outchat:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #e1ffc7;
  top: 0;
  right: -10px;
}

.message:first-child {
  margin: 16px 0 8px;
}

.message.inchat {
  background: #a19d9d;
  border-radius: 0px 5px 5px 5px;
  float: left;
}

.message.inchat .metadata {
  padding: 0 0 0 16px;
}

.message.inchat:after {
  border-width: 0px 10px 10px 0;
  border-color: transparent #a19d9d transparent transparent;
  top: 0;
  left: -10px;
}

.card-ventas{
  width: 600px;
  max-width: 600px;
  margin: 1rem;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  background-color: rgb(219, 219, 219);
  padding: 2px;
}

.cardven-imagen{
  width: 30%;
  height: 100%;
}

.cardven-imagen>img{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cardven-data{
  width: 70%;
  height: 100%;
  margin-left: 10px;
  justify-self: left;
  justify-items: left;
  justify-content: left;
  text-align: left;
}

.cardven-data>h3{
  font-size: large;
}

.cardven-data>img{
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.cardven-data .data-iconos{
  width: 40%;
  margin-left: 10px;
  justify-content: center;
}

.cardven-data .data-iconos>img{
  width: 30%;
  margin-left: 10px;
  height: auto;
}

.card-jue{
  max-width: 380px;
  min-height: 250px;
  margin: 1rem;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  padding: 2px;
  background-color: #ccc3c3;
}

.cardjue-foto{
  width: 30%;
  min-width: 30%;
  max-width: 20%;
  max-height: 200px;
  height: 100%;
  border-radius: 8px 8px 0 0;
  margin: 2%;
}

.cardjue-foto>img{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cardjue-footer{
  flex-direction: column;
  display: flex;
  margin-left: 10px;
}

.cardjue-footer .detail{
  flex-direction: row;
  display: flex;
  align-items: left;
  justify-content: left;
}

.cardjue-footer .boton{
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-hotel{
  width: 600px;
  max-width: 600px;
  margin: 1rem;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  background-color: rgb(240, 227, 155);
  padding: 2px;
}

.cardhotel-imagen{
  width: 30%;
  height: 100%;
}

.cardhotel-imagen>img{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cardhotel-data{
  width: 70%;
  height: 100%;
  margin-left: 10px;
  justify-self: left;
  justify-items: left;
  justify-content: left;
  text-align: left;
}

.cardhotel-data>h3{
  font-size: large;
}

.cardhotel-data>img{
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.cardhotel-data .data-iconos{
  width: 40%;
  margin-left: 10px;
  justify-content: center;
}

.cardhotel-data .data-iconos>img{
  width: 30%;
  margin-left: 10px;
  height: auto;
}

.card-viaje{
  width: 600px;
  max-width: 600px;
  margin: 1rem;
  border: 3px solid black;
  flex-direction: row;
  border-radius: 8px;
  display: flex;
  background-color: rgb(247, 197, 123);
  padding: 2px;
}

.cardviaje-imagen{
  width: 30%;
  height: 100%;
}

.cardviaje-imagen>img{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cardviaje-data{
  width: 70%;
  height: 100%;
  margin-left: 10px;
  justify-self: left;
  justify-items: left;
  justify-content: left;
  text-align: left;
}

.cardviaje-data>h3{
  font-size: large;
}

.cardviaje-data>img{
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.cardviaje-data .data-iconos{
  width: 40%;
  margin-left: 10px;
  justify-content: center;
}

.cardviaje-data .data-iconos>img{
  width: 30%;
  margin-left: 10px;
  height: auto;
}

.partida-imagen {
    width: 100%;
    height: 220px;          /* Puedes cambiar la altura */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.partida-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.detpartida-imagen {
    width: 100%;
    height: 440px;          /* Puedes cambiar la altura */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.detpartida-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media only screen and (max-width: 600px) {

  .card-plan{
    max-width: 250px;
    margin: 1rem;
    border: 5px solid black;
    flex-direction: column;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    background-color: aliceblue;
  }

  .card-partidas{
    width: 380px;
    max-width: 380px;
    margin: 0.5rem;
    padding: 2px;
    border: 3px solid black;
    flex-direction: row;
    border-radius: 3px;
    display: flex;
    background-color: rgb(237, 252, 237);
  }
  
  .cardpart-fecha{
    width: 15%;
    flex-direction: column;
    display: flex;
    justify-items: center;
    align-items: center;
  }
  
  .cardpart-fecha .jueves{
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
    border-radius: 50%;
    border: 1px solid black;
    font-size: 1rem;
    background-color: rgb(129, 129, 129);
    color: #fff;
    margin-top: 20px;
    margin-left: 1px;
    margin-right: 1px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
  }
  
  .cardpart-imagen{
    width: 30%;
    height: 100%;
  }
  
  .cardpart-imagen>img{
    width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 8px;
  }
  
  .cardpart-data{
    width: 55%;
    height: 100%;
    margin-left: 5px;
    justify-self: left;
    justify-items: left;
    justify-content: left;
  }
  
  .cardpart-data>h3{
    font-size: large;
  }
  
  .cardpart-data>img{
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
    border-radius: 50%;
  }
  
  .cardpart-data .data-iconos{
    width: 40%;
    margin-left: 5px;
    justify-content: center;
  }
  
  .cardpart-data .data-iconos>img{
    width: 30%;
    margin-left: 5px;
    height: auto;
  }
  
  .cardpart-data .data-jugadores {
    border: 1px #000;
  }
  
  .cardpart-data .data-jugadores>img {
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
    border-radius: 50%;
  }

  .chat {
    max-height: 550px;
    max-width: 600px;
    position: relative;
    background: #efe7dd url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg") repeat;
    z-index: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px;
  }
  
}
