:root {
  --primary-color-100: hsl(171, 100%, 94%);
  --primary-color-200: hsl(170, 94%, 87%);
  --primary-color-300: hsl(169, 80%, 74%);
  --primary-color-400: hsl(169, 65%, 59%);
  --primary-color-500: hsl(170, 57%, 50%);
  --primary-color-600: hsl(185, 62%, 45%);
  --primary-color-700: hsl(184, 77%, 34%);
  --primary-color-900: hsl(169, 91%, 17%);

  --bg-color-100: hsl(40, 23%, 94%);
  --bg-color-300: hsl(40, 15%, 80%);
  --bg-color-400: hsl(39, 11%, 69%);
  --bg-color-500: hsl(41, 8%, 61%);
  --bg-color-600: hsl(41, 8%, 48%);

  --error-color-500: hsl(350, 66%, 48%);
}

@font-face {
  font-family: "gilroyextrabold";
  src: url("./gilroy-extrabold-webfont.woff2") format("woff2"),
       url("./gilroy-extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "futuramd";
  src: url("./FuturaMdBTBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bebas";
  src: url("./Bebas.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "bahnschrift";
  src: url("./bahnschrift.ttf") format("truetype");
  font-stretch: 50%;
  font-display: swap;
}

html {
  font-family: "Bebas";
  letter-spacing: 0.1em !important;
  margin: 0;
  height: 100%;
  background-color: var(--bg-color-100);
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  overflow: hidden;
	cursor:none;
}

@media only screen and (min-width: 500px) {
  html {
    font-size: 30px;
    background-color: var(--bg-color-100);
	zoom: 0.8;
  }
}

@media only screen and (min-width: 800px) {
  html {
    font-size: 40px;
    background-color: var(--bg-color-100);
	zoom: 0.8;
  }
}

@media only screen and (min-width: 1500px) {
  html {
    font-size: 60px;
    background-color: var(--bg-color-100);
	zoom: 1;
  }
}

body {
  margin: 0;
  height: 100%;
  background-color: var(--bg-color-100);
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  overflow: hidden;
}

#root {
  background-color: rgb(30, 30, 30);
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-around;
}

.rotateimg180 {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.main-container {
  margin: auto;
  text-align: center;
  color: white;
  width: 98%;
  margin-bottom: 1%;
  margin-top: 1%;
  top: 1%;
  border-radius: 0;
}

.round {
  text-align: right;
  margin-right: 0.3em;
  flex-grow: 1;
}

.tenta_record_r {
  position: fixed;
  height: 5rem;
  width: 18rem;
  background-color: #00F;
  bottom: 2rem;
  right: 2rem;
  border-radius: 0;
}
.tenta_record_ {
  background: rgb(36,128,237);
}

descri-record {
  height: 50px;
  width: 50px;

}

.attempt-board-container {
  background-color: rgb(30, 30, 30);
  flex-grow: 0;
  flex-shrink: 0;
  height: 98%;
}

.risultati {
  display: flex;
  height: 100%;
  justify-content: space-around;
}

.arbitro {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 25% 25%;
  align-content: center;
  justify-content: stretch;
}

.nulla {
  grid-column: 1 / span 2;
  grid-row: 1;
  height: 90%;
  width: 90%;
  background-color: #f00;
  border-radius: 0.3rem;
  margin: 0.3rem;
}

.valida {
  grid-column: 1 / span 2;
  grid-row: 1;
  height: 90%;
  width: 90%;
  background-color: #fff;
  border-radius: 0.3rem;
  margin: 0.3rem;
}

.lucina {
  height: 80%;
  width: 80%;
  border-radius: 0.2rem;
}
.turchese {
  margin-top: 10%;
  margin-left: 15%;
  grid-column: 1;
  grid-row: 2;
  background-color: #41e0d1;
}
.blue {
  margin-top: 10%;
  margin-left: 5%;
  grid-column: 2;
  grid-row: 2;
  background-color: #0000ff;
}
.arancio {
  margin-top: 5%;
  margin-left: 15%;
  grid-column: 1;
  grid-row: 3;
  background-color: #ff8000;
}
.viola {
  margin-top: 5%;
  margin-left: 5%;
  grid-column: 2;
  grid-row: 3;
  background-color: #cc00cc;
}

.alto {
  height: 27%;
  display: grid;
  grid-template-columns: 8% auto 35%;
  grid-template-rows: 50% 50%;
  align-content: stretch;
  justify-content: stretch;
}

.medio {
  height: 35%;
  display: grid;
  grid-template-columns: 20% 20% auto;
}

.basso {
  height: 37%;
  display: grid;
  grid-template-columns: 43% auto;
  grid-template-rows: 35% auto;
  align-content: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.alto-item-a {
  grid-column: 1;
  grid-row: 1;
  text-align: center;
  margin-left: 0.3rem;
  line-height: 2.5rem;
  font-size: 2.5rem;
  color: #ddd;
}
.alto-item-b {
  grid-column: 2 / span 2;
  grid-row: 1;
  text-align: left;
  margin-left: 1rem;
  line-height: 2.5rem;
  font-size: 2.5rem;
  white-space: nowrap;
  overflow: hidden;
}
.alto-item-c {
  grid-column: 2;
  grid-row: 2;
  text-align: left;
  margin-left: 1rem;
  font-size: 2rem;
  white-space: nowrap;
  overflow: hidden;
}
.alto-item-d {
  grid-column: 3;
  grid-row: 2;
  text-align: center;
  margin-left: 0;
  font-size: 2rem;
  color: #ffffff;
}

.coes {
  font-family: bahnschrift;
  border: 1px solid rgb(139, 178, 209);
  border-radius: 0rem;
  margin-left: -0.25rem;
  text-align: center;
  color: #FFF;
  display: inline-block;
  width: 1.8rem;
  font-size: 1.4rem;
  line-height: 1.5rem;
  padding-top: 0.1rem;
}

.alto-item-e {
  grid-column: 4;
  grid-row: 2;
  text-align: right;
  margin-right: 1rem;
  font-size: 2rem;
  color: #ffffff;
}

.medio-item-a {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

.medio-item-b {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  font-size: 1.6rem;
  line-height: 1.6rem;
  margin-top: 0.5rem;
  color: #ddd;
}

.ab-photo {
  ____filter: drop-shadow(0 0 10px rgba(127, 127, 127, 0.8));
  height: 5rem;
}

.ab-bandiera {
  width: 5rem;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

.medio-item-c {
  border: 1px solid rgb(139, 178, 209);
  border-radius: 0;
  line-height: 6.2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.ab-clock {
  font-size: 6rem;
  line-height: 6.5rem;
  margin-bottom: -0.5rem;
  letter-spacing: 0.2rem;
  color: white;
}

.challenge {
  font-size: 4.5rem;
  line-height: 6.5rem;
  margin-bottom: -0.4rem;
  letter-spacing: 0rem;
  color: yellow;
}

.basso-item-a {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: green;
}


.basso-item-b {
  display: grid;
  grid-template-columns: 18% 2% 18% 2% 18% auto;
  grid-column: 2;
  grid-row: 1;
  margin-top: 0.2rem;
  margin-right: 1rem;
  font-size: 2rem;
}

.basso-record-rack-a {
  margin-top: 0.3rem;
  grid-column: 1;
}

.basso-record-rack-b {
  margin-top: 0.3rem;
  grid-column: 3;
}

.basso-record-rack-b2 {
  margin-top: 0.3rem;
  grid-column: 5;
}

.tenta-record-1 {
  margin-bottom: 0.3rem;
  border-radius: 0rem;
  text-align: center;
  color: #000;
  background-color: yellow;
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.tenta-record-2 {
  margin-bottom: 0.3rem;
  border-radius: 0rem;
  text-align: center;
  color: #000;
  background-color: yellow;
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.tenta-record-3 {
  margin-bottom: 0.3rem;
  border-radius: 0rem;
  text-align: center;
  color: #000;
  background-color: yellow;
  font-size: 1.4rem;
  line-height: 1.7rem;
}


.basso-record-rack-c {
  grid-column: 6;
  color: #ffffff;
  text-align: right;
}

.basso-item-c {
  grid-column: 2;
  grid-row: 2;
  text-align: center;
  margin-right: 1rem;
  font-size: 4rem;
  border-radius: 0rem;
  color: white;
}

.ab-bilanciere-container {
  position: fixed;
  z-index: 1000;
  bottom: 0rem;
  left: 0rem;
  overflow: hidden;
}
.ab-bilanciere {
  width: 17rem;
  vertical-align: bottom;
  margin-top: -0.5rem;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.8));
}
.ab-bilanciere-2 {
  width: 18rem;
  vertical-align: bottom;
  margin-top: -0.5rem;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.8));
}

.numarbitro {
  position: fixed;
  z-index: 999;
  top: 0rem;
  right: 0rem;
  text-align: right;
  width: 8rem;
  font-size: 0.5rem;
  margin: 0;
  color: #00ff00;
}

.didascalia {
  color: #ddd;
  font-size: 1.3rem;
}

.cdTitolo {
  height: 20%;
  margin-top: -2rem;
  font-size: 2.8rem;
  color: white;
}

.cdClock {
  height: 70%;
  margin-top: 3rem;
  font-size: 10rem;
  color: yellow;
}

.bordino {
  border: 1px solid red;
}

.didascalia2 {
  text-align: center;
  color: white;
  font-size: 2rem;
}

.cambiante {
  animation: pulsate 1.5s ease-out;
  animation-iteration-count: infinite;
  opacity: 1;
  color: white;
}

@keyframes pulsate {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.ilVideo {
	position: absolute; 
	right: 0; top: 0;
	left: 0; bottom: 0;

}
.ilLogo {
	display: block;
	height: 107%;
	left: 0;
	overflow: hidden;
	position: fixed;
	top: -7%;
	width: 100%;
	z-index: 1000;
}

.pulsante_arbitro {
	position: absolute;
	left: 0px;
	width: 5vw;
	height: 15vh;
    border-radius: 0 10px 10px 0;
    transition:left 500ms;
	box-shadow: 0.1vw 0.05vw 0.5vw 0.5vw white;
	border: 1px solid #595959;
}
.pulsante_turchese {
	top: 7vh;
  background-color: #41e0d1;
}
.pulsante_blue {
	top: 27vh;
  background-color: #0000ff;
}
.pulsante_arancio {
	top: 47vh;
  background-color: #ff8000;
}
.pulsante_viola {
	top: 67vh;
  background-color: #cc00cc;
}

.pulsante_spento {
	left:-10vw;
    transition:left 500ms;
}
.pulsante_bianco {
	position: absolute;
	right: 0px;
	width: 5vw;
	height: 75vh;
    border-radius: 10px 0 0 10px;
    transition:right 500ms;
	box-shadow: 0.1vw 0.05vw 0.5vw 0.5vw white;
	border: 1px solid #595959;
	top: 7vh;
	background-color: #fff;
}
.bianco_spento {
	right:-10vw;
    transition:right 500ms;
}

.pulsante_grigio {
	position: absolute;
	right: 0px;
	width: 25vw;
	height: 15vh;
    border-radius: 10px 0 0 10px;
    transition:right 500ms;
	box-shadow: 0.1vw 0.05vw 0.5vw 0.5vw white;
	border: 1px solid #595959;
	bottom: -6vh;
	background-color: #ddd;
	z-index: 1019;
	color: #000;
	text-align:left;
	font-size:5vw;
}
.grigio_spento {
	right:0vw;
	width: 20vw;
    transition:right 500ms;
	opacity:0.5;
	
}
