@font-face {
  font-family: 'Saira';
  src: url('../fonts/Saira-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Saira';
  src: url('../fonts/Saira-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


:root {
  --clrWhite: #fff;
  --clrLightRed: #ED1C24;
  --clrDarkRed: #8B0000FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Saira', sans-serif;
  color: var(--clrWhite);
}

body {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: auto;
  background: url("../img/BG_2.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}



.app-container {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  padding: 1rem 0;
  border-radius: 15px;
}

.text-welcome {
  font-size: 3rem;
}


.btn-divisions, .save {
  font-size: 2rem;
  text-transform: uppercase;
  width: 60%;
  margin: 1rem auto;
  background-color: var(--clrLightRed);
  border: none;
  color: var(--clrWhite);
  cursor: pointer;
  box-shadow: 0 5px 1rem black;
}


.question-box {
  margin: .25rem auto;
}

.text-question {
  font-size: 1.3rem;
  color: var(--clrWhite);
}

.fa-solid {
  transform: scale(2.8);
  margin: 1.5rem 1.5rem;
  color: var(--clrWhite);
  cursor: pointer;
  border: 1px solid transparent;
}

.picked {
  transform: scale(3.5);
  color: var(--clrLightRed);
  transition: all .3s ease-in;
  border-radius: 50%;
  box-shadow:inset  0 0 10px 100px  var(--clrWhite);
  border: 1px solid var(--clrWhite);
}

textarea {
  width: 50%;
  height: 100px;
  padding:1rem;
  border-radius: 1rem;
  margin: .2rem auto;
  font-size: 1.2rem;
  resize:none
}

textarea:focus {
  outline: none !important;
  border:1px solid white;
  color:black;
  box-shadow: 0 0 10px var(--clrLightRed);
}







.thanks-text {
  font-size: 3rem;
}









/*DECIBEL COUNTER*/
.decibel-container {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: row;
  bottom:0;
  right:0;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 80px;
  color: white;
}

.loader {
  height: 100%;
  display: flex;
  align-items: center;
}
.loader .stroke {
  display: block;
  position: relative;
  height: 100%;
  width: 7px;
  margin: 0 3px;
  border-radius: 7px;
  background: var(--clrWhite);
  animation: wave 1.2s linear infinite;
}

#sound-counter {
  margin-left: 15px;
  font-size: 2rem;
}


.stroke:nth-child(2) {
  animation-delay: 0.3s;
}
.stroke:nth-child(3) {
  animation-delay: 0.6s;
}
.stroke:nth-child(4) {
  animation-delay: 0.9s;
}
.stroke:nth-child(5) {
  animation-delay: 0.6s;
}
.stroke:nth-child(6) {
  animation-delay: 0.3s;
}


/* ANIMATIONS */


@keyframes wave {
  70% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}

