@font-face
{
  font-family: gangster_grostek;
  font-weight: normal;
  src: url(fonts/GangsterGrotesk-Regular.otf);
}

@font-face
{
  font-family: gangster_grostek;
  font-weight: bold;
  src: url(fonts/GangsterGrotesk-Bold.otf);
}

@font-face
{
  font-family: Klima;
  font-weight: normal;
  src: url(fonts/Klima-Regular.otf);
}

@font-face
{
  font-family: Klima;
  font-weight: bold;
  src: url(fonts/Klima-Bold.otf);
}

body
{
  font-family: gangster_grostek;
  background: #FEF8F1;
  background-repeat: no-repeat;
}

h1
{
  font-family: Klima;
  font-weight: bold;
  text-align: center;
  font-size: 40px;
  color: #004746
}

#inputnbpersonne
{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: bold;
}

.nb-bleu
{
  display: flex;
  justify-content: space-between;
  margin: 0 5px;
  color: #3B97A0;
}

.nb-vert
{
  display: flex;
  justify-content: space-between;
  margin: 0 5px;
  color: #006652
}

.nb-bleu div
{
  display: flex;
  align-items: center;
}

.nb-bleu input
{
  margin-top: -30px;
  margin-left: 10px;
  margin-right: 10px;
}

.nb-bleu img
{
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.nb-vert input
{
  margin-top: -30px;
  margin-left: 10px;
  margin-right: 10px;
}

.nb-vert div
{
  display: flex;
  align-items: center;
}

.nb-vert img
{
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#inputnbpersonne input
{
  width: 30px;
  height: 25px;
  position: relative;
  top: 15px;
  text-align: center
}

input[type=number]
{
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button
{
  -webkit-appearance: none;
  margin: 0;
}

#inputnbpersonne, #boutonparole, #les-ronds
{
  display: flex;
  justify-content: space-around;
}

#boutonparole button
{
  width: 140px;
  height: 140px;
  margin: 20px 0;
  border-radius: 20px;
  transition: all .2s;

}

#boutonparolebleu
{
  background: #3B97A0;
  border: solid 5px #3B97A0;
}

#boutonparolevert
{
  background: #006652;
  border: solid 5px #006652;
}

#tauxbrut, #taux, #prisedeparole, #tempsparparole
{
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #000;
  font-size: 17px;
}

.taux-brut, .taux-pondere, .nb-parole, .temps-moyen
{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: -15px;
  border-radius: 10px;
  color: #FEF8F1;
  height: 35px;

  background-image: linear-gradient( -90deg, #006652 0%, #006652 50%, #3B97A0 50%, #3B97A0 50%);
}

button
{
  font-family: gangster_grostek;
}

#editnbparole
{
  display: flex;
  justify-content: space-around;
}

#editnbparolebleu img
{
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin: 5px;
}

#editnbparolevert img
{
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin: 5px;
}

.button-start
{
  width: 150px;
  z-index: 0;
}

.rond
{
  position: relative;
}

.boutonparole
{
  width : 50px;
  height: 40px;
  font-size: 15px;
  color: #FFF;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

.button-reset
{
  display: block;
  margin: 20px auto;
  margin-top: -130px;
  width: 60px;
  height: 30px;
  border: 1px solid #FFF;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
}

.credits
{
  display: flex;
  flex-direction: column;
  color: #000;
  font-size: 15px;
  margin-bottom: 30px;
  margin-top: 50px;
  text-align: center
}

.credits p
{
  margin-bottom: -10px;
}


@media screen and (min-width: 601px)
{
  body
  {
    font-family: gangster_grostek;
    max-width: 800px;
    margin: auto auto;
  }

  .nb-bleu, .nb-vert
  {
    margin: 0 50px;
  }
}
