* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  background-color: #e5e5e5;
  font-family: "Roboto", sans-serif;
}

.hidden {
  display: none !important;
}

.spacebetween {
  justify-content: space-between;
}

.message {
  background-color: hsl(348, 100%, 61%);
  color: white;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bolder;
}

.hcenter {
  display: flex;
  justify-content: center;
}

.vcenter {
  display: flex;
  align-items: center;
}

.mgt {
  margin-top: 0.5rem;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.ultimas_calls {
  font: normal normal 600 1.3rem/1.3rem Poppins;
  letter-spacing: 0.69px;
  color: #353f66;
  display: flex;
  margin: 0;
}

.textInput {
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
}

.page {
  width: 100%;
  height: 100%;
}

.button {
  min-width: 4rem;
  height: 2rem;
  appearance: none;
  box-sizing: border-box;
  border: 1px solid black;
  cursor: pointer;
  margin-top: 0.5rem;
}

.button:disabled {
  background-color: gray;
  color: black;
}

.button--primary {
  background-color: hsl(141, 53%, 53%);
  color: black;
}

.button--secondary {
  background-color: hsl(204, 86%, 53%);
  color: white;
}

.button--warning {
  background-color: hsl(48, 100%, 67%);
  color: black;
}

.button--danger {
  background-color: hsl(348, 100%, 61%);
  color: black;
}

.login {
  width: 300px;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid hsl(217, 71%, 53%);
  background-color: #f5f5f5;
}

.ticketPrint {
  max-width: 50%;
}

.myTicket {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-width: 1rem;
  z-index: 1;
  padding: 2rem;
  width: 50%;
  position: fixed;
  right: 0;
  box-sizing: border-box;
  bottom: 0;
  background: white;
  background: #d1d4d9 0% 0% no-repeat padding-box;
  border-radius: 42px 0 0 0;
}

.myTicket .display {
  text-align: right;
  font: normal normal bold 132px/170px Poppins;
  letter-spacing: 3.96px;
  color: #353f66;
}

.myTicket .time {
  font-size: 0.7rem;
  line-height: 0.1rem;
}

.header {
  width: 100%;
  font-size: 2rem;
  background: #353f66 0% 0% no-repeat padding-box;
  justify-content: space-between;
}

.store_name {
  color: white;
}

.header img {
  padding: 8px 0 17px 18px;
  box-sizing: border-box;
  height: 80px;
}

.header .time {
  color: white;
  font: normal normal normal 16px/20px Poppins;
  letter-spacing: 0.48px;
  width: 10ch;
  margin-right: 40px;
  text-align: right;
}

.stores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
}

.lowcalls {
  margin-top: 1rem;
}

.stores .store {
  box-sizing: border-box;
  padding: 1rem;
  padding-top: 0;
  max-width: 100vw;
}

.store .headline {
  margin: 1rem;
}

.headline h3.name {
  font: normal normal 600 1rem/1rem Poppins;
  letter-spacing: 0.69px;
  color: #353f66;
}

.headline .fila {
  text-align: right;
  font: normal normal 600 1rem/1rem Poppins;
  letter-spacing: 0.69px;
  color: #353f66;
}

.store .tickets {
  display: flex;
  flex-direction: column;
  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 42px;
}

.tickets .ticket {
  display: flex;
  padding: 1rem;
  flex-direction: row;
  justify-content: space-between;
  font-size: 2rem;
  align-items: center;
}

.tickets .ticket .counterName {
  text-align: left;
  font: normal normal 600 29px/37px Poppins;
  letter-spacing: 0.87px;
  color: #353f66;
  width: 70%;
}

.tickets .ticket .display {
  text-align: right;
  font: normal normal 600 58px/50px Poppins;
  letter-spacing: 1.74px;
  color: #353f66;
}

.myTicket .desc {
  text-align: left;
  font: normal normal normal 24px/30px Poppins;
  letter-spacing: 0.87px;
  color: #353f66;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.panels {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: 0.9fr 1fr;
}

.calledTickets {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  align-self: flex-start;
  padding-right: 1rem;
}

.called {
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;

  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 42px;
}

.lastTicket .called .display {
  font: normal normal bold 4rem/4rem Poppins, sans-serif;
}

.lastTicket .called .counterName {
  font: normal normal bold 3rem/3rem Poppins, sans-serif;
}

.called .display {
  text-align: right;
  font: normal normal bold 2rem/2rem Poppins, sans-serif;
  letter-spacing: 2.58px;
  color: #353f66;
}

.called .counterName {
  font: normal normal normal 1.3rem/1.3rem Poppins, sans-serif;
  letter-spacing: 1.26px;
  color: #353f66;
  font-weight: 600;
}

.ticketCall {
  animation: flash 1s infinite;
}

@keyframes flash {
  0%,
  49% {
    background-color: hsl(48, 100%, 67%);
    border: 3px solid #e50000;
    color: black;
  }
  50%,
  100% {
    background-color: #e50000;
    border: 3px solid hsl(48, 100%, 67%);
    color: white;
  }
}

.info,
.option {
  padding: 1rem;
  background-color: white;
}

.divisors {
  text-align: center;
  padding: 1rem;
  background: lightgray;
  border-style: ridge;
  font-size: 2rem;
  margin: 1rem;
}

.printerBtn {
  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 0.5rem;
  padding: 0.5rem;
  border: 0;
  font: normal normal bold 20px/40px Poppins, sans-serif;
  letter-spacing: 0.6px;
  color: #353f66;
  margin: 0.5rem 0;
}

.gpsStore {
  text-align: center;
  font: normal normal 600 23px/29px Poppins, sans-serif;
  letter-spacing: 0.69px;
  color: #353f66;
}

@media only screen and (max-width: 600px) {
  .header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header .time {
    font-weight: bolder;
    font-size: 2rem;
    margin: 0;
  }

  .calledTickets {
    border: none;
    padding: 0;
  }

  .ultimas_calls {
    font: normal normal 600 20px/20px Poppins;
    letter-spacing: 0.69px;
    color: #353f66;
    display: flex;
  }

  .gpsStore {
    font: normal normal 600 18px/24px Poppins, sans-serif;
  }

  .printerBtn {
    font: normal normal bold 18px/23px Poppins, sans-serif;
  }

  .stores {
    grid-template-columns: 1fr;
  }

  .panels {
    grid-template-columns: 1fr;
  }

  .tickets {
    margin-bottom: 12rem;
  }

  .ticket {
    flex-direction: column !important;
  }

  .ticket .counterName {
    font-size: 1rem;
    text-align: center;
  }

  .stores .store {
    padding: 0.5rem;
  }

  .calledTickets {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .calledTickets .called {
    flex-direction: column;
    background: #ffffff 0% 0% no-repeat padding-box;
    border-radius: 22px;
  }

  .called .display {
    font: normal normal bold 58px/55px Poppins, sans-serif;
  }

  .called .counterName {
    font: normal normal normal 16px/33px Poppins, sans-serif;
  }

  .myTicket {
    width: 100%;
    background: #d1d4d9 0% 0% no-repeat padding-box;
    border-radius: 22px;
    flex-direction: column;
  }

  .myTicket .desc {
    text-align: center;
    font: normal normal normal 17px/15px Poppins;
    letter-spacing: 0.51px;
    color: #353f66;
  }

  .myTicket {
    padding: 1rem;
  }

  .store .fila {
    text-align: center;
  }

  .myTicket .display {
    text-align: center;
    font: normal normal bold 120px/97px Poppins;
    letter-spacing: 3.6px;
    color: #353f66;
  }

  .tickets .ticket .counterName {
    text-align: center;
    font: normal normal bold 20px/25px Poppins;
    letter-spacing: 0.6px;
    color: #353f66;
  }

  .tickets .ticket {
    padding: 1rem;
  }

  .time {
    display: none;
  }

  .myTicket .display {
    margin-top: 1.2rem;
  }

  .myTicket .tolerancia {
    position: absolute;
    bottom: 0;
  }

  .lastTicket .called .counterName {
    font: normal normal bold 2.5rem/3rem Poppins, sans-serif;
  }

  .store .tickets {
    display: none;
  }

  .ticketPrint {
    max-width: 90%;
  }

  .flex-row {
    flex-direction: column;
  }

  .store .headline {
    text-align: center;
    flex-direction: column-reverse;
  }

  .ultimas_calls {
    margin-top: 1rem;
    display: block;
  }

  .ticketPrint .button {
    font-size: 1.2rem;
    height: 3rem;
    margin-top: 1rem;
    font-weight: bolder;
  }
}
