@import url('https://fonts.googleapis.com/css?family=Poppins:900i');

* {
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  justify-content: center;
}

.cta {
    display: flex;
    padding: 3% 12%;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    color: white;
    background: #6225E6;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
}


.cta:focus {
   outline: none;
}

.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #FBC638;
    color: white!important;
    text-decoration: none !important
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

  span {
    transform: skewX(15deg)
  }

  span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
  }

/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
    padding: 10px 45px;
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
    padding: 10px 45px;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #FBC638;
    }
    100% {
        fill: white;
    }
}

#infos {
  border-radius: 5%;
  padding: 5px 10px 5px 10px;
  font-size: 1.2em;
}

@media screen and (min-width: 800px) {
  #imgAcc2 {
    width: 90%;
    margin: auto
  }

  #imgAcc3 {
    width: 70%
  }

  #imgAcc4 {
    width: 100%
  }

  .divAcc {
    background: white;
    font-weight: bold;
  }
}

@media screen and (max-width: 799px) {
  #imgAcc2 {
    width: 90%
  }

  #imgAcc3 {
    width: 70%
  }

  #imgAcc4 {
    width: 100%
  }
  .divAcc {
    background: white;
    font-weight: bold;
  }
}
