

.myshake:hover {
        animation: shake 0.5s;
  animation-iteration-count: infinite;
}

@keyframes shake {
        0% { transform: translate(1px, 1px) rotate(0deg); }
        10% { transform: translate(-1px, -2px) rotate(-1deg); }
        20% { transform: translate(-3px, 0px) rotate(1deg); }
        30% { transform: translate(3px, 2px) rotate(0deg); }
        40% { transform: translate(1px, -1px) rotate(1deg); }
        50% { transform: translate(-1px, 2px) rotate(-1deg); }
        60% { transform: translate(-3px, 1px) rotate(0deg); }
        70% { transform: translate(3px, 1px) rotate(-1deg); }
        80% { transform: translate(-1px, -1px) rotate(1deg); }
        90% { transform: translate(1px, 2px) rotate(0deg); }
        100% { transform: translate(1px, -2px) rotate(-1deg); }
      }

 
.superposition .container {

  opacity: 0;
  -webkit-transform: translateY(-1000px);
          transform: translateY(-1000px);
          -webkit-transition: opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
transition: opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
transition: transform 4s .25s cubic-bezier(0,1,.3,1),
          opacity .3s .25s ease-out;
transition: transform 4s .25s cubic-bezier(0,1,.3,1),
          opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
  
  
  will-change: transform, opacity;
  
}

.superposition .container.is-visible {

  opacity: 1;
  -webkit-transform: translateY(0);
        transform: translateY(0);

}

.superposition00 .container {

  opacity: 0;
  -webkit-transform: translateX(-1000px);
          transform: translateX(-1000px);
          -webkit-transition: opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
transition: opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
transition: transform 4s .25s cubic-bezier(0,1,.3,1),
          opacity .3s .25s ease-out;
transition: transform 4s .25s cubic-bezier(0,1,.3,1),
          opacity .3s .25s ease-out,
          -webkit-transform 4s .25s cubic-bezier(0,1,.3,1);
  
  
  will-change: transform, opacity;
  
}

.superposition00 .container.is-visible {

  opacity: 1;
  -webkit-transform: translateX(0);
        transform: translateX(0);

}

/* --------------------------------------------------------------*/

.quote {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: bold;
 /* height: 70em;*/
 
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  position: relative;
  text-shadow: 0 0 1em #fff;
}

.quote:after {
  background: -webkit-linear-gradient(top, #fee, rgba(255, 238, 238, .4) 30%, rgba(255, 238, 238, .4) 70%, #fee);
  background: linear-gradient(to bottom, #fee, rgba(255, 238, 238, .4) 30%, rgba(255, 238, 238, .4) 70%, #fee);
    bottom: 0;
  content: "";
    left: 0;
  position: absolute;
    right: 0;
    top: 0;
}

/* This is a lovely trick for getting content to go full width in a container */
.full-width {
    left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
    right: 50%;
  width: 100vw;
}

.quote h1 {
top:0px; 
left:0px;
/*color:#fff; */
padding-bottom:5px;

max-width: 20em;
opacity: 0;
position: absolute;
-webkit-transform: translateY(2em) scale(1.4);
        transform: translateY(2em) scale(1.4);
-webkit-transition: none;
transition: none;
width: 100%;
z-index: 1;
}

.quote p {
  top:0px; 
  left:0px;
 /* color:#fff; */
  padding-bottom:5px;
  
  max-width: 20em;
  opacity: 0;
  position: absolute;
  -webkit-transform: translateY(2em) scale(1.4);
          transform: translateY(2em) scale(1.4);
  -webkit-transition: none;
  transition: none;
  width: 100%;
  z-index: 1;
  }

.quote .background {
 
  background-size: cover;
   bottom: 0;
    left: 0;
  opacity: 0;
  position: absolute;
   right: -20%;
    top: 0;
  -webkit-transform: translateX(-10%);
          transform: translateX(-10%);
  -webkit-transition: none;
  transition: none;
  z-index: 0;
}

.quote.is-visible .background, .quote.is-visible h1 .quote.is-visible p {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

.quote.is-visible .background {
  -webkit-transition: opacity 3s .4s ease-out,
              -webkit-transform 2s .4s cubic-bezier(0,1,.3,1);
  transition: opacity 3s .4s ease-out,
              -webkit-transform 2s .4s cubic-bezier(0,1,.3,1);
  transition: transform 2s .4s cubic-bezier(0,1,.3,1),
              opacity 3s .4s ease-out;
  transition: transform 2s .4s cubic-bezier(0,1,.3,1),
              opacity 3s .4s ease-out,
              -webkit-transform 2s .4s cubic-bezier(0,1,.3,1);
}


.quote.is-visible h1 {
  -webkit-transition: opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
  transition: opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
  transition: transform 2s cubic-bezier(0,1,.2,1.1),
              opacity 4s ease-out;
  transition: transform 2s cubic-bezier(0,1,.2,1.1),
              opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
}

.quote.is-visible p {
  -webkit-transition: opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
  transition: opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
  transition: transform 2s cubic-bezier(0,1,.2,1.1),
              opacity 4s ease-out;
  transition: transform 2s cubic-bezier(0,1,.2,1.1),
              opacity 4s ease-out,
              -webkit-transform 2s cubic-bezier(0,1,.2,1.1);
}