:root {
  --point-1-top: 55%;
  --point-1-left: 30%;
  --point-2-top: 45%;
  --point-2-left: 87%;
  --point-3-top: 35%;
  --point-3-left: 15%;
  --point-4-top: 55%;
  --point-4-left: 55%;
  --point-width: 15px;
  --point-height: 15px;
  --point-1-scale: 5;
  --point-2-scale: 3;
  --point-3-scale: 5;
  --point-4-scale: 4;
}

.description p {
  margin: 0;
  font-size: 12px;
  z-index: -1;
  color: #ffffff;
}

.image-indicators img {
  width: 100%;
  border-radius: 30px;
  transition: width 0.4s ease, transform 0.4s ease;
}

.image-indicators {
  position: relative;
  max-width: 49%;
  flex: 0 0 49%;
  border-radius: 30px;
  overflow: hidden;
  font-size: 0;
  margin: 0 16px;
  z-index: 2;
}

.image-indicators label {
  display: flex;
  position: absolute;
  cursor: pointer;
  transition-property: opacity;
  transition-duration: 300ms;
  transition: opacity 0.3s ease-out 0.5s;
  z-index: 1;
}

.image-indicators > label > span {
  background-color: #31d98f;
  width: 15px;
  height: 15px;
  border-radius: 60px;
  transform: scale(1);
}

.image-indicators > label > span > span {
  display: inline-block;
  vertical-align: 20px;
  background-color: #31d98f;
  width: 15px;
  height: 15px;
  transform: scale(0);
  border-radius: 60px;
  animation: scaleGrow 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation-play-state: running;
}


@keyframes scaleDecreases {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}
.point {
  position: absolute;
  width: 10px;
  height: 10px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  transition-property: width, height, left, top;
  transition-delay: 650ms;
}

.point:checked {
  top: -50% !important;
  left: -50% !important;
  width: 200%;
  height: 200%;
  z-index: 9;
}

.point:checked ~ label {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease-out 0s;
}

.description {
  position: absolute;
    height: 55px;
    overflow: hidden;
    padding: 10px 20px;
    margin: 1px 10px 0;
    color: black;
    z-index: 1;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.description div {
  display: none;
}

.description div:first-child {
  display: block;
  opacity: 1;
  transition-property: opacity;
  transition-duration: 300ms;
  transition: opacity 0.3s ease-out 0.5s;
}

.description div:first-child p {
  color: #000000;
}

.description p {
  line-height: 18px;
}

.point:checked ~ .description {
  
}

#label-1 {
  top: var(--point-1-top);
  left: var(--point-1-left);
}

#point-1 {
  left: var(--point-1-left);
  top: var(--point-1-top);
}

#point-1:checked ~ img {
  transform-origin: calc(var(--point-1-left)) calc(var(--point-1-top));
  transform: scale(var(--point-1-scale));
  filter: blur(3px);
}

#point-1:hover ~ img {
  transform-origin: calc(var(--point-1-left)) calc(var(--point-1-top));
}

#point-1:checked ~ .description div:first-child {
  height: 0;
  opacity: 0;
  transition: opacity 0s ease-out 0s;
}

#point-1:checked ~ .description div:nth-child(2) {
  display: block;
}

#point-1:checked ~ .description div:nth-child(2) p:first-child {
  width: 100%;
  opacity: 1;
  overflow: hidden;
 
}

#point-1:checked ~ .description div:nth-child(2) p:nth-child(2) {
  width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  -webkit-animation: type2 2s steps(40, end);
  animation: type2 2s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
  animation-play-state: running;
}

#label-2 {
  top: var(--point-2-top);
  left: var(--point-2-left);
}

#point-2 {
  left: var(--point-2-left);
  top: var(--point-2-top);
}

#point-2:checked ~ img {
  transform-origin: calc(var(--point-2-left)) calc(var(--point-2-top));
  transform: scale(var(--point-2-scale));
  filter: blur(3px);
}

#point-2:hover ~ img {
  transform-origin: calc(var(--point-2-left)) calc(var(--point-2-top));
}

#point-2:checked ~ .description div:first-child {
  height: 0;
  opacity: 0;
  transition: opacity 0s ease-out 0s;
}

#point-2:checked ~ .description div:nth-child(3) {
  display: block;
}

#point-2:checked ~ .description div:nth-child(3) p:first-child {
  width: 100%;
  opacity: 1;
  overflow: hidden;
}

#point-2:checked ~ .description div:nth-child(3) p:nth-child(2) {
  width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  -webkit-animation: type2 2s steps(40, end);
  animation: type2 2s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
  animation-play-state: running;
}

#label-3 {
  top: var(--point-3-top);
  left: var(--point-3-left);
}

#point-3 {
  left: var(--point-3-left);
  top: var(--point-3-top);
}

#point-3:checked ~ img {
  transform-origin: calc(var(--point-3-left)) calc(var(--point-3-top));
  transform: scale(var(--point-3-scale));
  filter: blur(3px);
}

.img-p-1 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    margin: 0 auto;
    right: 0;
    transition: 0.5s;
}

.img-p-2 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    margin: 0 auto;
    right: 0;
    transition: 0.5s;
}

.img-p-3 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    margin: 0 auto;
    right: 0;
    transition: 0.5s;
}

.img-p-4 {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    margin: 0 auto;
    right: 0;
    transition: 0.5s;
}

#point-3:checked ~ .img-p-3 {
    opacity: 1!important;
}

#point-1:checked ~ .img-p-1 {
    opacity: 1!important;
}

#point-2:checked ~ .img-p-2 {
    opacity: 1!important;
}

#point-4:checked ~ .img-p-4 {
    opacity: 1!important;
}

#point-1:checked ~ .closers {
    opacity: 1!important;
}

#point-2:checked ~ .closers {
    opacity: 1!important;
}

#point-3:checked ~ .closers {
    opacity: 1!important;
}

#point-4:checked ~ .closers {
    opacity: 1!important;
}

#point-3:hover ~ img {
  transform-origin: calc(var(--point-3-left)) calc(var(--point-3-top));
}

#point-3:checked ~ .description div:first-child {
  height: 0;
  opacity: 0;
  transition: opacity 0s ease-out 0s;
}

#point-3:checked ~ .description div:nth-child(4) {
  display: block;
}

#point-3:checked ~ .description div:nth-child(4) p:first-child {
  width: 100%;
  opacity: 1;
  overflow: hidden;
  
}

#point-3:checked ~ .description div:nth-child(4) p:nth-child(2) {
  width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  -webkit-animation: type2 2s steps(40, end);
  animation: type2 2s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
  animation-play-state: running;
}

#label-4 {
  top: var(--point-4-top);
  left: var(--point-4-left);
}

#point-4 {
  left: var(--point-4-left);
  top: var(--point-4-top);
}

#point-4:checked ~ img {
  transform-origin: calc(var(--point-4-left)) calc(var(--point-4-top));
  transform: scale(var(--point-4-scale));
  filter: blur(3px);
}

#point-4:hover ~ img {
  transform-origin: calc(var(--point-4-left)) calc(var(--point-4-top));
}

#point-4:checked ~ .description div:first-child {
  height: 0;
  opacity: 0;
  transition: opacity 0s ease-out 0s;
}

#point-4:checked ~ .description div:nth-child(5) {
  display: block;
}

#point-4:checked ~ .description div:nth-child(5) p:first-child {
  width: 100%;
  opacity: 1;
  overflow: hidden;
}

#point-4:checked ~ .description div:nth-child(5) p:nth-child(2) {
  width: 100%;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  
}

@-webkit-keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    width: 100%;
    border: none;
  }
}

.closers {
    color: #fff;
    font-size: 30px;
    position: absolute;
    top: 2%;
    right: 5%;
    opacity: 0;
}

@keyframes scaleGrow {
  from {
    transform: scale(0);
    background-color: #31d98f;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}