	
      /* Hide scrollbar in Chrome, Safari and Opera */
      ::-webkit-scrollbar {
      display: none;
      }
      /* Hide scrollbar for IE, Edge and Firefox */
      * {
      -ms-overflow-style: none;
      /* IE and EDGE 
      scrollbar-width: none;
      Firefox */
      }


@font-face{
  font-family:"ifontmaker";
  src: url("https://sean-mcdonald.com/css/iconicnov2021.woff2") format("woff2");
}

body{
  font-family: 'Shablagoo', sans-serif;
  color: #3F3F3F;
  width: 100vw;
  letter-spacing:4px;
}

#bingo-animation{
  position:absolute;
  --cell-size:75px;
  --gap:5px;
  background: #EEEEEE;
  border: var(--gap) solid #EEEEEE;
  height: calc(var(--cell-size)*5 + (4*var(--gap)));  
  overflow: hidden;
  cursor: pointer;
  left: calc(50% - (var(--cell-size)*5 + (4*var(--gap)))/2);
  filter: saturate(4);
}

#p-1:not(.current) #bingo-animation{
  --cell-size: calc(50vw/6);
  filter: brightness(3);
}

#grid{
  width:100%;
  height:100%;
  display: grid;
  grid-template: repeat(5, var(--cell-size)) / repeat(5, var(--cell-size));
  gap:var(--gap);
}
#grid div{
  background: white;
}
#bingo-animation-B,
#bingo-animation-I,
#bingo-animation-N,
#bingo-animation-G,
#bingo-animation-O{
  transition:2s;
  position: absolute;
  height: var(--cell-size);
  width: var(--cell-size);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  font-size:2em;
  border-radius: var(--cell-size);
  border: 2px solid green;
  box-sizing: border-box;
  background: white;
  animation: glow 1.5s infinite;
}

@keyframes glow{
  0%{
    background: none;
  }  
  50%{
    background: white;
  }
  100%{
    background: none;
  }
}

#game-title{
  font-size: 2em;
  text-align: center;
}

#p-1{
  background: white;
  z-index:25;
}

#p-2{
  display: grid;
  grid-template-columns: 25vw 50vw 25vw;
  gap:2px;
  z-index:55;
}

#p-2 div{
  overflow: scroll;
}

.page{
  position: fixed;
  top:0;
  left:0;
  width:100vw;
  height: 100vh;
  z-index:1;
}

.page.current{
  z-index:99;
}

#p-2-clues, #p-2-winners{
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#displaySetting{ 
    width: 60%; 
    top: 130px;
    position: relative;
}

#p-2-winners{
  flex-direction: column;
}

#p-2-winners ul{
  padding: 0;
}

#p-2-winners li {
    list-style: none;
    font-size: 2em;
}

#p-2-winners-message{
  color:gray;
}
#p-2-winners-message.win-list{
  color: white;
  animation: winList 1s infinite;
}


#p-2-info{
  padding-left:2em;
}

#p-2-clues h2{
  animation:blink 2s infinite;
  cursor:pointer;
  border:2px solid lightblue;
  padding:1em;
  border-radius:.5em;
  filter: saturate(4);
}

@keyframes blink{
  0%{
    background:white;
  }
  50%{
    background:lightblue;
  }
  100%{
    background:white;
  }
}
@keyframes winList{
  0%{
    background:purple;
  }
  50%{
    background:blue;
  }
  100%{
    background:purple;
  }
}

#p-3{
  background: white;
  margin:20px;
  padding:10px;
  border:2px solid lightblue;
  width: calc(100vw - 60px);  
  height: 90vh;
}

#p-3-choices{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 90%;
    width: 100%;
    background: white;
    flex: 0 1 auto;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    z-index:4;
}

#p-3-choices .choice,
#p-4-display{
    height: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    font-family: ifontMaker;
    font-size: 1.5em;
}

#p-3-choices .choice img,
#p-3-choices .choice h6 span{
  cursor: pointer;
  height: 70px;
}

.chosen{
  border:5px solid blue;
}

#p-3 .close{
  position: absolute;
  right:2em;
  top: 2em;
  cursor: pointer;
}

#p-3-buttons,
#p-4-buttons{
    display: flex;
    justify-content: space-evenly;
    position: relative;
    z-index:5;
}

#p-3-buttons button,
#p-4-buttons button{
    cursor: pointer;
    border: none;
    font-size: 2em;
}

#p-3-buttons button:nth-child(1) {
    background: #fd3df3;
}

#p-3-buttons button:nth-child(2),
#p-4-buttons button:nth-child(1){
    background: #12da12;
}

#p-4{
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60vw;
    left: 20vw;
}

#p-4-display{
  height: 75vh;
  width: 50vw;
  cursor: pointer;
  font-size: 11.5em;
}

#p-4-display img {
    height: 60vh;
}

#p-4-display h6 span{
  font-size: 45px;
}

#clue-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    border-radius: 0.5em;
    padding:8px;
    margin: 6px 8px 6px 0;
    font-family: ifontMaker;
    font-size: 60px;
    width: 250px;
    height: 80px;
}

#clue-list li img{
   height: 50px;
}

li.temp-hiding{
    position: relative;
    visibility: hidden;
}

li.temp-hiding::before{
    content: "?";
    position: absolute;
    top: 10px;
    visibility: visible !important;
    left: 50px;
}


.winner{
  
  background:orange !important;
  
}

.disabled{
  cursor: not-allowed;
  background: #EFEFEF;
}