/*----------Modifs CSS - TEST SPM LIKES-DISLIKES----------*/
body {
  font-size: 16px;
  background: hsla(0, 0%, 10%, 1);
}

.main {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/*----------Divers----------*/

.contain_dis_likes{
  width: 15em;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  cursor: pointer;
}

svg{
  fill: #ffffff;
  stroke-width: 0;
  stroke: transparent;
  stroke-linecap: round;
}

.like{
  grid-column: 1;
  grid-row: 1;
  opacity: 1;
  transition: opacity 0.5s, fill 0.5s;
  transition-delay: 0s, 0.3s;
}

.like.active{
  opacity: 0;
}

.contain_dis_likes.active .like{
  opacity: 0;
  fill: rgb(203,172,96) !important;
  transition-delay: 0.2s, 0.5s;
}

.contain_dis_likes.active .like.active{
  opacity: 1;
  transition-delay: 0.2s, 0.5s;
}

.anim_scale_likes{
  animation: anim_scale_likes 0.8s;
  animation-iteration-count: 1;
  opacity: 1;
}

.anim_scale_dislikes{
  animation: anim_scale_dislikes 0.8s;
  animation-iteration-count: 1;
}

@keyframes anim_scale_likes {
  0%{
    transform: scale(1);
    transform-origin: 50% 50%;
  }
  60%{
    transform: scale(1.1);
    transform-origin: 50% 50%;
  }
  70%{
    transform: scale(0.93);
    transform-origin: 50% 50%;
  }
  80%{
    transform: scale(1.04);
    transform-origin: 50% 50%;
  }
  90%{
    transform: scale(0.98);
    transform-origin: 50% 50%;
  }
  100%{
    transform: scale(1);
    transform-origin: 50% 50%;
  }
}

@keyframes anim_scale_dislikes {
  0%{
    transform: scale(1) rotateZ(0deg);
    transform-origin: 50% 50%;
  }
  20%{
    transform: scale(0.8) rotateZ(10deg);
    transform-origin: 50% 50%;
  }
  40%{
    transform: scale(1.1) rotateZ(-10deg);
    transform-origin: 50% 50%;
  }
  50%{
    transform: scale(1) rotateZ(-4deg);
    transform-origin: 50% 50%;
  }
  60%{
    transform: scale(1.03) rotateZ(2deg);
    transform-origin: 50% 50%;
  }
  70%{
    transform: scale(0.98) rotateZ(0deg);
    transform-origin: 50% 50%;
  }
  100%{
    transform: scale(1) rotateZ(0deg);
    transform-origin: 50% 50%;
  }
}

/*----------Fin Divers----------*/
/*--------------------Responsive spécifique au site---------------------*/
/*-----------------------------------------------------------------------
Ce qui sera affiché au dessus de 2550px - Format Desktop Large / Imac
-----------------------------------------------------------------------*/
@media (min-width: 2550px) {
  body {}
}

/*-----------------------------------------------------------------------
Ce qui sera affiché entre 1024px et 1919px - Format Desktop-Laptop
-----------------------------------------------------------------------*/
@media (min-width: 1024px) and (max-width: 1919px) {
  body {}
}

/*-----------------------------------------------------------------------
Ce qui sera affiché entre 0px et 1023px - Format Tablette / Ipad
-----------------------------------------------------------------------*/
@media (max-width: 1023px) {
  body {}
}

/*-----------------------------------------------------------------------
Ce qui sera affiché 0px et 767px - Format Smartphone / Iphone Large
-----------------------------------------------------------------------*/
@media (max-width: 767px) {
  body {}
}

/*-----------------------------------------------------------------------
Ce qui sera affiché entre 0 et 480px - Format Smartphone / Iphone
-----------------------------------------------------------------------*/
@media (max-width: 480px) {
  body {}
}

/*-----------------------------------------------------------------------
Ce qui sera affiché entre 0 et 320px - Format Smartphone / Iphone
-----------------------------------------------------------------------*/
@media (max-width: 320px) {
  body {}
}

/*--------------------Fin Responsive spécifique au site---------------------*/
/*----------Fin Modifs CSS----------*/
