/* Index CSS style */
.mainIndex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rainbow:hover {
    -webkit-animation: rainbow 1s linear infinite;
    animation: rainbow 1s linear infinite;
}

.DivImgkingPinguin {
  display: flex;
  justify-content: center;
  gap: 2dvw;
}

.DivImgkingPinguin img {
  width: 20%;
  border-radius: 1rem;
  box-shadow: 5px 5px 5px 5px var(--darkPink);
}

.DivImgkingPinguin img:hover {
  -webkit-animation: rotate-scale-up 0.65s linear both;
  animation: rotate-scale-up 0.65s linear both;
}

.kingPinguin {
  cursor: url("../cursor/middle_finger.cur"), pointer;
}

.buttonStop {
  background-color: #ffc300;
  border: none;
  padding: 0.5rem;
  border-radius: 0.4rem;
  cursor: url("../cursor/middle_finger.cur"), pointer;
  font-family: comic-sans;
}

/**
 * ----------------------------------------
 * animation rotate-scale-up
 * ----------------------------------------
 */
@-webkit-keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}
@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}

@-webkit-keyframes rainbow {
    0% {
        color: #3a023a;
    }
    14% {
        color: #24205e;
    }
    28% {
        color: #3593aa;
    }
    42% {
        color: #1ad633;
    }
    56% {
        color: #c9d61a;
    }
    70% {
        color: #d67e1a;
    }
    84% {
        color: #d61a1a;
    }
}

@keyframes rainbow {
    0% {
        color: #3a023a;
    }
    14% {
        color: #24205e;
    }
    28% {
        color: #3593aa;
    }
    42% {
        color: #1ad633;
    }
    56% {
        color: #c9d61a;
    }
    70% {
        color: #d67e1a;
    }
    84% {
        color: #d61a1a;
    }
}

@media screen and (max-width: 400px) {
    .DivImgkingPinguin{
        gap: 6dvw
    }

    .DivImgkingPinguin img{
        width: 40%;
    }

    .buttonStop{
        font-size: 8pt;
    }
}