@import url('https://fonts.googleapis.com/css?family=Poppins:900i');


/* general styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  align-items: center;
  background-color: black;
  display: flex;
  font-family: -apple-system, 
    BlinkMacSystemFont, 
    "Segoe UI", 
    Roboto, 
    Oxygen-Sans, 
    Ubuntu, 
    Cantarell, 
    "Helvetica Neue", 
    sans-serif;
}


h1 {
  font-weight: normal;
  letter-spacing: .125rem;
  text-transform: uppercase;
}

li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
}

li span {
  display: block;
  font-size: 4.5rem;
}

.message {
  font-size: 4rem;
}

#content {
  display: none;
  padding: 1rem;
  width:100%;
}


@media all and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  
  li {
    font-size: 1.125rem;
    padding: .75rem;
  }
  
  li span {
    font-size: 3.375rem;
  }
}

.wrapper {
   padding: 0px;
   margin: 0 auto;
   width: auto;
   text-align: center;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}
 .wrapper .item {
   visibility: hidden;
   display: none;
}
 .wrapper h2 {
   font-size: 50px;
   margin: 0;
   color: #3a3a3a;
   text-align: left;
}
 .wrapper > div {
   min-height: 20px;
   text-transform: uppercase;
   letter-spacing: 1px;
   display: flex;
   align-items: flex-end;
   font-weight: bold;
   color: #FFF;
   font-size: 32px;
   text-align: center;
}
 .wrapper > div:after {
   content: "";
   width: 10px;
   height: 4px;
   display: block;
   background: black;
   color: orange;
   margin-bottom: 4px;
   margin-left: 2px;
   animation-duration: 350ms;
   animation-name: fade;
   animation-direction: alternate;
   animation-iteration-count: infinite;
   text-align: center;
}
 @keyframes fade {
   from {
     opacity: 1;
  }
   to {
     opacity: 0;
  }
}

.cta {
    display: flex;
    padding: 10px 0 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: white;
    background: #003d00;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    margin-top: 80px;
}

.cta:focus {
   outline: none; 
}

.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #02b002;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

  .cta  span {
    transform: skewX(15deg) 
  }

  .cta  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%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.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: #02b002;
    }
    100% {
        fill: white;
    }
}
