*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html,
body {
  font-size: 62.5%;
  height: 100%;
}

body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: rgb(0, 0, 0);
}

@font-face {
  font-family: "SweetSansProExLight";
  src: url("/public/fonts/SweetSansProExLight.woff");
}
@font-face {
  font-family: "Merry";
  src: url("/public/fonts/MerryChristmas2021-owOL4.ttf");
}
body {
  font-family: "SweetSansProRegular", "Roboto", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 2rem;
  font-weight: 100;
  line-height: 1.7;
}

h1 {
  font-weight: 900;
  font-size: 5rem;
  font-style: italic;
}

textarea {
  font-weight: 100;
  font-size: 2rem;
}

.btn {
  display: flex;
  flex-direction: column;
  color: rgba(252, 252, 252, 0.8784313725);
  font-family: Merry;
  font-size: 3.3rem;
}
.btn__btn {
  margin: auto;
  padding: 1.2rem;
}
.btn__btn:hover {
  color: #ffffff;
  font-size: 3.9rem;
  cursor: pointer;
}

@media (max-width: 650px) {
  .btn {
    font-size: 2rem;
  }
  .btn__btn {
    padding: 0.8rem;
  }
  .btn__btn:hover {
    font-size: 2.5rem;
  }
}
/*************************************************************
 * CSS de page Head.*
 *************************************************************/
.titre {
  display: flex;
  justify-content: center;
  font-family: Merry;
  font-size: 10rem;
  margin-top: 2rem;
}
.titre__baseline {
  color: #ffffff;
  text-align: center;
  padding-right: 1.1rem;
}
.titre__baseline--changed {
  display: inline-block;
  color: yellow;
  padding-right: 1.1rem;
  transform: rotate(-20deg);
}

@media (max-width: 650px) {
  .titre {
    font-size: 4rem;
    margin-top: 5rem;
  }
}
/*************************************************************
 * CSS de page 1.*
 *************************************************************/
.dogs {
  margin-top: 6rem;
  margin-bottom: 6rem;
  display: flex;
  justify-content: space-around;
  font-family: Merry;
  font-size: 2.5rem;
  color: #ffffff;
}
.dogs__line {
  display: inline-flex;
  align-items: center;
}
.dogs__img {
  max-width: 130px;
  padding-left: 2.2rem;
}

@media (max-width: 650px) {
  .dogs {
    margin-top: 6rem;
    margin-bottom: 4rem;
    display: block;
    font-size: 1.5rem;
  }
  .dogs__line {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin: auto;
    align-items: center;
  }
  .dogs__img {
    max-width: 50px;
    padding-left: 2.2rem;
  }
}
.foot {
  color: rgba(252, 252, 252, 0.8784313725);
  font-family: SweetSansProExLight;
  font-size: 1.6rem;
  text-align: center;
  margin-top: 5rem;
  text-decoration: none;
}

a:link {
  color: rgba(252, 252, 252, 0.8784313725);
  text-decoration: none;
}

@media (max-width: 650px) {
  .foot {
    font-size: 0.8rem;
    margin-top: 6rem;
  }
}
/*************************************************************
 * CSS de page 2.*
 *************************************************************/
.containerGrid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.grid {
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 5rem;
  max-width: 40rem;
}
.grid__case {
  display: flex;
  justify-content: center;
  align-items: center;
  row-gap: 50px;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  padding: 1rem;
}
.grid__case--hg {
  border-right: 5px double blue;
  border-bottom: 5px double blue;
  border-left: 5px double black;
  border-top: 5px double black;
}
.grid__case--hd {
  border-left: 5px double blue;
  border-bottom: 5px double blue;
  border-right: 5px double black;
  border-top: 5px double black;
}
.grid__case--bg {
  border-right: 5px double blue;
  border-top: 5px double blue;
  border-left: 5px double black;
  border-bottom: 5px double black;
}
.grid__case--bd {
  border-top: 5px double blue;
  border-left: 5px double blue;
  border-right: 5px double black;
  border-bottom: 5px double black;
}
.grid__case--opacit {
  opacity: 0.4;
}

.containerScore {
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 26%;
  font-family: Merry;
  font-size: 3rem;
  color: #ffffff;
}
.containerScore--margeL {
  margin-left: 3rem;
}
.containerScore__num {
  font-size: 3rem;
  color: yellow;
  margin-right: 0rem;
  margin-left: 2rem;
}
.containerScore__num--blue {
  color: blue;
}

@media (max-width: 650px) {
  .containerScore {
    font-size: 2rem;
  }
  .containerScore--margeL {
    margin-left: 1rem;
  }
  .containerScore__num {
    font-size: 2rem;
    margin-right: 0rem;
    margin-left: 1rem;
  }
}
.containerTry {
  z-index: 1;
  text-align: center;
  margin-top: 5rem;
}
.containerTry__line {
  display: inline-flex;
  margin: auto;
  font-family: Merry;
  font-size: 3rem;
  color: #ffffff;
}
.containerTry__num {
  font-size: 3rem;
  color: blue;
  margin-right: 0rem;
  margin-left: 2rem;
}

@media (max-width: 650px) {
  .containerTry__line {
    font-size: 2rem;
  }
}
.next-flash {
  animation-duration: 1.2s;
  animation-name: clignoter;
  animation-iteration-count: infinite;
  transition: none;
}

@keyframes clignoter {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.next {
  z-index: 2;
  font-family: Merry;
  font-size: 3rem;
  background-color: red;
  border-radius: 50%;
  border: 5px solid yellow;
  padding: 1.2rem;
  color: blue;
  position: absolute;
  cursor: pointer;
}

@media (max-width: 650px) {
  .next {
    font-size: 2rem;
    background-color: red;
    border-radius: 50%;
    border: 5px solid yellow;
    padding: 1.2rem;
  }
}
.featOs__img {
  max-width: 2rem;
}

@media (max-width: 650px) {
  .featOs__img {
    max-width: 1rem;
  }
}
.gameoverFlash {
  font-family: Merry;
  font-size: 4rem;
  color: red;
  position: absolute;
  z-index: 2;
}

.featImg {
  max-width: 100%;
}

/*************************************************************
 * CSS de page 3.*
 *************************************************************/
.containerFlash {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30rem;
  font-family: Merry;
  font-size: 6rem;
  color: yellow;
}
.containerFlash__pts {
  text-align: center;
  margin: auto;
}
.containerFlash__img {
  width: 40rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.bubble {
  display: block;
  text-align: center;
  position: absolute;
  margin-top: 10rem;
  padding-top: 2.5rem;
  width: 50%;
  height: 65%;
}

@media (max-width: 650px) {
  .containerFlash__pts {
    font-size: 2rem;
    margin-top: 5rem;
  }
  .containerFlash__img {
    max-width: 12rem;
    margin-top: 0rem;
  }
}
/*************************************************************
 * CSS de page 4.*
 *************************************************************/
.gameover {
  display: block;
  text-align: center;
}
.gameover__txt {
  margin-top: 2rem;
  font-family: Merry;
  font-size: 2.5rem;
  color: rgba(252, 252, 252, 0.8784313725);
  text-align: center;
  font-style: italic;
}
.gameover__txt--y {
  margin-top: 1rem;
  font-family: Merry;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.2rem;
  font-style: italic;
  color: yellow;
}
.gameover__num {
  font-size: 2rem;
  color: rgba(252, 252, 252, 0.8784313725);
  font-family: Merry;
  text-align: center;
  margin-bottom: 2rem;
}
.gameover__input {
  display: inline-flex;
  margin: auto;
  margin-bottom: 3rem;
  margin-top: 2rem;
  background-color: rgb(30, 30, 30);
  color: rgba(252, 252, 252, 0.8784313725);
  font-family: Merry;
  font-size: 2rem;
  padding: 1.2rem;
  border: none;
}
.gameover__btn {
  margin-top: 1.2rem;
  font-family: Merry;
  font-size: 2.5rem;
  color: rgba(252, 252, 252, 0.8784313725);
  text-align: center;
  font-style: italic;
  cursor: pointer;
}

@media (max-width: 650px) {
  .gameover__txt {
    margin-top: 2rem;
    font-size: 1.5rem;
  }
  .gameover__txt--y {
    margin-top: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
  }
  .gameover__num {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  .gameover__input {
    margin-bottom: 3rem;
    margin-top: 2rem;
    font-size: 1.5rem;
    padding: 1.2rem;
  }
  .gameover__btn {
    font-size: 1.5rem;
  }
}
/*************************************************************
 * CSS de page result.php. *
 *************************************************************/
.background {
  background-image: url("/rubypac/public/img/rubypac_opac.png");
  background-repeat: no-repeat;
  background-position: center;
}

.tableScore {
  margin: auto;
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-family: Merry;
  font-size: 2.5rem;
  color: rgba(252, 252, 252, 0.8784313725);
}
.tableScore--yel {
  color: yellow;
}
.tableScore--margeR {
  padding-right: 15px;
}

@media (max-width: 650px) {
  .tableScore {
    margin: auto;
    margin-top: 5rem;
    margin-bottom: 10rem;
    font-size: 1.5rem;
  }
  .tableScore--yel {
    color: yellow;
  }
  .tableScore--margeR {
    padding-right: 10px;
  }
}
.dogs__line {
  animation: slideIn 0.5s linear;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
#p1ma {
  animation-delay: 0s;
}

#p1mi {
  animation-delay: 3s;
}

#p1cb {
  animation-delay: 6s;
}

#p1ru {
  animation-delay: 9s;
}

/*# sourceMappingURL=style.css.map */
