#page-lobby{
  display: none;
}

#timerInstructionText{
  color: #9e9a9a;
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 300;
  font-style: italic;
  display: none;
}

.countdownbox{
  display: none;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1ch;
}

.paused{
  -webkit-animation-play-state:paused!important;
  -moz-animation-play-state:paused!important;
  -o-animation-play-state:paused!important; 
  animation-play-state:paused!important;
}

.timerbar1{
  margin-left: auto;
  background-color: blue;
  border-radius: 15px 15px 15px 15px;
  width: 100%;
  height: 7px;
  /* animation: roundtime 30000ms linear forwards; */
  transform-origin: right center;
}

.timerbarcontainer{
  /* background-color: orange; */
  border-radius: 15px 15px 15px 15px;
  outline: 1px solid rgba(255, 255, 255, 0.418);
}

.timerbar2{
  margin-right: auto;
  background-color: red;
  border-radius: 15px 15px 15px 15px;
  width: 100%;
  height: 7px;
  /* animation: roundtime 30000ms linear forwards; */
  transform-origin: left center;
}

.timernumber{
  /* font-style: italic; */
  color: yellow;
  transition: 50ms linear;
  width:40px;
}

.scaleLoopAnimation{
  color: #FFA500!important;
  animation: scaleLoop 1s infinite linear;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.445), 3px 3px 2px black;
  filter: brightness(1.2);
}

@keyframes scaleLoop {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}

@keyframes roundtime {
  to {
    /* More performant than animating `width` */
    transform: scaleX(0);
  }
}

.column {
  float: left;
  width: 33.33%;
  text-align: center;
}

.column > *{
    margin-left: auto;
    margin-right: auto;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.smallweight{
  font-weight: 300;
}

.font-weight-400{
  font-weight: 400;
}

.font-weight-500{
  font-weight: 500;
}

.lobbystatusbar{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: column;
  background-image: linear-gradient(90deg, rgba(25,0,255,1) 0%, rgba(0, 0, 0, 0.24) 50%, rgba(255,0,0,1) 100%);
  /* background-color: rgba(255, 255, 255, 0.3); */
  align-items:center;
  text-align: center;
  margin-top: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.623);
  border-top: 1px solid rgba(255, 255, 255, 0.623);
}

/* #page-lobby:has(.collapsed) .lobbystatusbar{
  margin-top: 35px!important;
} */

.lobbystatusbar-text{
  color: white;
  text-shadow: 2px 2px 4px #000000;
  /* letter-spacing: 0.3ch; */
}

.lobbystatusbar-text h2{
  font-size: 1.5rem;
  /* letter-spacing: 0.3ch; */
}

.lobbystatusbar-text h3{
  font-weight: 400;
}

.grid-container-champions {
  display: grid;
  grid-template-columns:1fr 1fr 1fr 1fr 1fr;
  /* background-color: rgba(255, 255, 255, 0.089); */
  gap: 0.8rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 15px;
  padding-bottom: 0rem;
}

.grid-item-champion {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  color: rgb(44, 44, 44);
  border: 1px rgba(255, 255, 255, 0.548) solid;
  filter: brightness(90%);
  cursor: pointer;
  transition: 50ms linear;
  border-radius: 6px 6px 6px 6px;
  overflow: hidden;
}

.grid-item-champion img{
  min-width: 0;
  width: 100%;
  height: auto;
  /* object-fit:fill; */
  border-radius: 6px 6px 6px 6px;
}

.grid-item-champion:hover {
  transform: scale(1.05);
  /* box-shadow:0px 0px 4px 1px  #ffbb00 ; */
  filter: brightness(110%);
  border: 1px rgba(255, 255, 255, 0.87) solid;  
}

.grid-item-champion:active{
   transform: scale(0.95);
}

.grid-item-champion-banned{
  filter: brightness(90%) grayscale(100%);
  opacity: 60%;
  pointer-events: none;
}

.grid-item-champion-selected{
  filter: brightness(110%);
  /* border: 2px rgb(255, 187, 0) solid; */
  box-shadow: 0px 0px 0px 2px rgb(255, 187, 0);
  transform: scale(1.05);
}

.pointer-events-none{
 pointer-events: none;
}

.user-select-none{
  user-select: none;
  -webkit-user-select: none;
}

.grid-item-champion-title {
  display: flex;
  grid-column: span 5;
  color: rgb(255, 255, 255);
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 4px #000000;
  background: #ffffff28;
  border-radius: 8px;
}

.grid-item-champion-button {
  display: flex;
  grid-column: span 5;
  align-items: center;
  justify-content: center;
}

.grid-container-picks {
  display: grid;
  grid-template-columns:auto;
  background-color: #2195f300;
  text-align: left;
  row-gap: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 15px;
  padding-bottom: 15px;
}

.grid-item-pick {
  background-color: rgb(255, 255, 255);
  display: grid;
  grid-template-columns:1fr 1fr;
  justify-content: start;
  align-items: center;
  gap: 1rem 1.5rem;
  color: rgb(44, 44, 44);
  border-radius: 5px 5px 5px 5px;
  transition:500ms linear;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}

.grid-container-bans{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 0.5rem 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.grid-item-bans-title {
  display: flex;
  grid-column: span 4;
  justify-content: center;
  background: #ffffff28;
  border-radius: 8px;
}

.bans-title {
  font-size: 1.2rem;
  text-align: center;
  display: flex;
  text-shadow: 2px 2px 4px #000000;
  color: white;
}

.bancard{
  background-color:  rgba(187, 187, 187, 0);
  display: grid;
  grid-template-columns: auto;
  justify-content: center;
  align-items: center;
  border-radius: 5px 5px 5px 5px;
}

.bancardtext{
  background-color: white;
  white-space: nowrap;
  text-align: center;
  border-radius: 0px 0px 5px 5px;
}

.bancardtext h2{
  color: rgba(0, 0, 0, 0.651);
  font-size: 0.9vw;
  font-weight:600;
}

.bancardtext span{
  color: #a1a1a1;
  font-size: 0.8vw;
  font-weight:500!important;
}

.titletext{
  color: white;
  background: none;
  border: none;
  font-size: 2vw;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000000;
  text-align: center;
  width: 100%;
  /* Box-shadow: 0 0 0 40px red inset ! important */
}

/* https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
}

.titletext:focus{
  outline: none;
  border-bottom: 2px dashed rgb(255, 255, 255);
}

.cardtext{
  white-space: nowrap;
  text-shadow: 2px 2px 4px #acabab7a;
  width: 100%;
}
 
.cardtext h2{
  color: rgba(0, 0, 0, 0.651);
  font-weight:600;
  font-size: 1.4vw;
}

.cardtext h3{
  color: #aeaeae;
  font-weight:500;
  font-size: 1.1vw;
}

.imgstyle{
  width: 100%;
  /* height: auto; */
  object-fit:fill;
  transition: 500ms linear;
}

.overlay::after{
  content: "";
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.103);
  border-radius: 5px 5px 0px 0px;
  z-index: 100;
  
}

.imgstylebans{
  width: 100%;
  height: auto;
  object-fit:fill;
  opacity: 100%;
  filter: grayscale(100%);
}

.banchampname{
  text-indent: 15px;
  color: rgb(214, 214, 214);
  font-size: 1.2vw;  
  text-shadow: 2px 2px 4px #000000;
  
}
.pickchampname{
  text-indent: 15px;
  color: rgba(255, 255, 255, 0.877);
  text-shadow: 2px 2px 0px #000000;
  font-size: 0.9vw;
  width: 100%;

}

.waiting{
  /* box-shadow: 0px 0px 10px 1px rgba(155, 155, 155, 0.932); */
  /* border-right: 10px solid rgba(155, 155, 155, 0.932);  */
  filter: brightness(40%);
}

.picking{
  position: relative;
  box-shadow: 0px 0px 12px 5px #ffbb00,0px 0px 0px 2px #ffbb00;
  outline: 3px solid #ffbb00;
}

.picking::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0px 0px 20px 12px #ffbb00,0px 0px 0px 2px #ffbb00;
  animation: pickingpulse2 3s ease-in-out both infinite;
  overflow: hidden;
}

.picking img{
  filter: grayscale(100%);
  transform: scale(1.1);
  
}

.locked-in{
  filter: brightness(100%); 
}

.locked-in .redboxshadow{
  box-shadow: rgba(255, 0, 0, 0.45) 0px -50px 36px -28px inset;
}

.locked-in .blueboxshadow{
  box-shadow: rgba(38, 0, 255, 0.45) 0px -50px 36px -28px inset;
}

.defaultboxshadow{
  /* box-shadow: rgba(0, 0, 0, 0.45) 0px -50px 36px -28px inset; */
  box-shadow: 2px 2px 2px 2px #00000087;
}

.heroiconwithtext{
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 5px 0px 0px 5px;
}

.heroiconwithtextbans{
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 5px 5px 0px 0px;
}

.bottom-left {
    position: absolute;
    bottom: 0%;
    left: 0%;
}

.bottom-right {
  position: absolute;
  /* left: 30%;
  top: 7.5%; */
  /* right: 25%; */
  right: 5%;
  bottom: 5%;

}

.bottom-rightRandom{
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  text-shadow: 2px 2px 2px black;
  background: #e627d1;
  padding-left: 1ch;
  padding-right: 1ch;
  border-radius: 100px;
}

.top-right {
  position: absolute;
  /* left: 30%;
  top: 7.5%; */
  /* right: 25%; */
  right: 5%;
  top: 10%;
}

.globalbantext{
  position: absolute;
  font-size: 0.9rem;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 2px #000000;
  top:20%;
  right:3%;
  font-weight: 600;
  
}


.btn-lockin {
  color: rgb(255, 255, 255);
  font-weight: 500;
  font-size: 1vw;
  border-radius: 5px;
  padding: 0.5rem 0rem;
  text-shadow: 2px 2px 4px #000000;
  transition: 0.15s linear;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.24);
  visibility: hidden;
}

.btn-lockin-notpressed:hover{
  background-color: #28b864;
  box-shadow: #00ff225e 0px 0px 10px 1px;
  transform: scale(1.05);
}

.btn-lockin-notpressed:active{
  filter: brightness(70%);
}

.btn-lockin-notpressed{
  width: 100%;
  background-color: #259453;
  cursor: pointer;
}

.btn-lockin-pressed {
  width:30%;
  box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.24);
  background-color: #312b2b;
  color: rgb(95, 95, 95);
  cursor: not-allowed;
}

.bansymbol{
  color:rgba(255, 60, 60, 0.726);
  
  /* position: absolute; */
  /* width: 9%; */
  /* height: 18%; */
  font-size: 2vw;

}

@keyframes lockinhero {
    from { 
      transform:scale(1.1);
     
    }

    to { 
      transform:scale(1);
      filter:grayscale(0%);
    }
  }

.testing-animation2 {
    animation-delay: 0s;
    animation: pickingpulse2 3s linear infinite;
  }
  
  @keyframes pickingpulse2 {
    0% {
       opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
  }

  .spinner {
    width: 9%;
    height: 18%;
    border-top: 3px solid rgba(255, 255, 255, 0.5);
    border-right: 3px solid transparent;
    border-radius: 50%;
    -webkit-animation: rotation 0.8s linear infinite;
            animation: rotation 0.8s linear infinite;
  }

  
  @-webkit-keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
 


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

  .lobbystatusbar{
    grid-template-columns: auto auto auto;
  }
  .grid-container-picks{

    row-gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .titletext{
    font-size: 2rem;
  }

  .grid-container-champions{
    gap:0.5rem
  }

}

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


  .lobbystatusbar{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #lobbystatusbarTeam1{
    grid-row: 2;
  }

  #lobbystatusbarTitles{
    grid-row: 1;
    grid-column: 1 / 3;
    padding: 0px 10px;
  }

  #lobbystatusbarTeam2{
    grid-row: 2;
  }

  .logo-text{
    display: none;
  }

  .mobilerow{

    display: grid;
    grid-template-columns: 1fr 1fr;
    /* flex-flow:column-reverse; */
  }

  .column1{
    width: auto;
    grid-column: 1;
    padding-right: 1.5rem;
    padding-left: 1rem;
    
  }

  .column3{
    width: auto;
    grid-column: 2;
    grid-row: 1;
    padding-left: 1.5rem;
    padding-right: 1rem;
    
  }

  .column2{
    width: 100%;
    grid-column: span 2;
    grid-row: 2;
    outline: 1px rgba(255, 255, 255, 0.466) solid;
  }

  .grid-container-champions{
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
  }

  .grid-container-champions{
    grid-template-columns: repeat(10,auto);
    
    padding-top:1rem;
    padding-bottom:1rem;
    background-color: rgba(255, 255, 255, 0.185) ;
  }

  .grid-item-champion-title{
    
    font-size: 0.8rem;
    grid-column: span 10;
  }

  .grid-item-champion-button{
    grid-column: span 5;
  }

  .grid-container-bans{
    padding-bottom: 1rem;
  }

}


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

  #header{
    display:block; 
    padding-top: 1rem;
    padding-bottom: 0.4rem;
  }

  .lobbycontrols{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .nav-item.lobbycodebg {
    width: 222px;
    margin-left: auto;
    margin-right: auto;
    padding: 0rem;
    margin-bottom: 0.5rem;
  }

  .lobbystatusbar-text h2{
    font-size: 1.1rem;
  }

  .lobbystatusbar-text h3{
    font-size: 1rem;
    font-weight: 400;
    padding: 0rem 2rem;
  }

  .grid-container-picks{
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0rem;
    padding-right: 0rem;
  }

  .heroiconwithtextbans{
    border-radius: 5px;
  }

  .grid-item-pick{
    grid-template-columns: 1.5fr 1fr;
  }

  .grid-container-champions{
    grid-template-columns: repeat(5,1fr);
  }

  .grid-item-champion-title{
    font-size: 0.8rem;
    grid-column: span 5;
  }

  .pickchampname{
   font-size: 1rem;  
  }

  .banchampname{
    font-size: 0.9rem;  
  }

  .grid-item-champion-button{
    grid-column: span 5;
  }

  .grid-item-champion-button button{
    font-size: 1rem;
  }

  .cardtext h2{
    font-size: clamp(0.9rem, 1vw + 0.6rem, 2rem);
  }

  .cardtext h3{
    font-size: 1rem;
  }

  .grid-container-bans{
    grid-template-columns: auto auto;
    padding-left: 0rem;
    padding-right: 0rem;
    gap: 10px;
  }

  .grid-item-bans-title {
    grid-column: span 2;
  }

  .bancardtext h2{
   display: none;
  }

  .bancardtext span{
  font-size: 0.7rem;
  font-weight:700;
  }
}

@media only screen and (max-width: 575px){
    
  .column1{
    width: auto;
    padding-right: 10px;
  }

  .column3{
    width: auto;
    padding-left: 10px;
  }

  .lobbystatusbar-text h2{
    font-size: 1rem;
  }

  .titletext{

    font-size: 1rem;
  }

  .lobbystatusbar-text h3{
    font-size: 0.7rem;
    font-weight: 400;
    padding: 0rem 2rem;
  }

  .bancardtext h2{
    font-size: 0.8rem;

  }

  .grid-container-picks{
    gap: 10px;
  }

  .grid-item-pick{
    gap: 5px;
    grid-template-columns: auto;
  }

  .pickchampname{
    font-size: 0.7rem;  
  }

  .banchampname{
    text-indent: 2px;
    font-size: 0.7rem;  
  }


  .cardtext{
    display: none;
  }

  .grid-item-champion-title{
    font-size: 0.5rem;
  }

  .btn-lockin-pressed {
    width:50%;
  }

  .bans-title{
    font-size: 0.7rem;
  }
  
  .heroiconwithtext{
    border-radius: 5px;
  }

}


