@-webkit-keyframes can {
  0% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
    opacity: 1;
  }
  33.3333333333% {
    transform: translateY(-100%);
    opacity: 0;
  }
  33.3343333333% {
    transform: translateY(100%);
    opacity: 0;
  }
  33.3363333333% {
    transform: translateY(100%);
    opacity: 1;
  }
  93.3333333333% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes can {
  0% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
    opacity: 1;
  }
  33.3333333333% {
    transform: translateY(-100%);
    opacity: 0;
  }
  33.3343333333% {
    transform: translateY(100%);
    opacity: 0;
  }
  33.3363333333% {
    transform: translateY(100%);
    opacity: 1;
  }
  93.3333333333% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes will {
  0% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
  }
  33.3333333333% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(-100%);
    opacity: 1;
  }
  66.6666666667% {
    transform: translateY(-200%);
    opacity: 0;
  }
  66.6676666667% {
    transform: translateY(0);
  }
  66.6696666667% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes will {
  0% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
  }
  33.3333333333% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(-100%);
    opacity: 1;
  }
  66.6666666667% {
    transform: translateY(-200%);
    opacity: 0;
  }
  66.6676666667% {
    transform: translateY(0);
  }
  66.6696666667% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes thrive {
  0% {
    transform: translateY(-300%);
  }
  0.0001% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
  }
  33.3333333333% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(-100%);
  }
  66.6666666667% {
    transform: translateY(-200%);
  }
  93.3333333333% {
    transform: translateY(-200%);
    opacity: 1;
  }
  100% {
    transform: translateY(-300%);
    opacity: 0;
  }
}
@keyframes thrive {
  0% {
    transform: translateY(-300%);
  }
  0.0001% {
    transform: translateY(0);
  }
  26.6666666667% {
    transform: translateY(0);
  }
  33.3333333333% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(-100%);
  }
  66.6666666667% {
    transform: translateY(-200%);
  }
  93.3333333333% {
    transform: translateY(-200%);
    opacity: 1;
  }
  100% {
    transform: translateY(-300%);
    opacity: 0;
  }
}
.container {
  min-height: 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.word {
  display: flex;
  grid-column: 2;
  grid-row: auto;
}
.word span {
  display: inline-block;
}

.can span:nth-child(1) {
  -webkit-animation: can 6s ease-in-out both 0.05s infinite;
          animation: can 6s ease-in-out both 0.05s infinite;
}

.will span:nth-child(1) {
  -webkit-animation: will 6s ease-in-out both 0.05s infinite;
          animation: will 6s ease-in-out both 0.05s infinite;
}

.thrive span:nth-child(1) {
  -webkit-animation: thrive 6s ease-in-out both 0.05s infinite;
          animation: thrive 6s ease-in-out both 0.05s infinite;
}

.can span:nth-child(2) {
  -webkit-animation: can 6s ease-in-out both 0.1s infinite;
          animation: can 6s ease-in-out both 0.1s infinite;
}

.will span:nth-child(2) {
  -webkit-animation: will 6s ease-in-out both 0.1s infinite;
          animation: will 6s ease-in-out both 0.1s infinite;
}

.thrive span:nth-child(2) {
  -webkit-animation: thrive 6s ease-in-out both 0.1s infinite;
          animation: thrive 6s ease-in-out both 0.1s infinite;
}

.can span:nth-child(3) {
  -webkit-animation: can 6s ease-in-out both 0.15s infinite;
          animation: can 6s ease-in-out both 0.15s infinite;
}

.will span:nth-child(3) {
  -webkit-animation: will 6s ease-in-out both 0.15s infinite;
          animation: will 6s ease-in-out both 0.15s infinite;
}

.thrive span:nth-child(3) {
  -webkit-animation: thrive 6s ease-in-out both 0.15s infinite;
          animation: thrive 6s ease-in-out both 0.15s infinite;
}

.can span:nth-child(4) {
  -webkit-animation: can 6s ease-in-out both 0.2s infinite;
          animation: can 6s ease-in-out both 0.2s infinite;
}

.will span:nth-child(4) {
  -webkit-animation: will 6s ease-in-out both 0.2s infinite;
          animation: will 6s ease-in-out both 0.2s infinite;
}

.thrive span:nth-child(4) {
  -webkit-animation: thrive 6s ease-in-out both 0.2s infinite;
          animation: thrive 6s ease-in-out both 0.2s infinite;
}

.can span:nth-child(5) {
  -webkit-animation: can 6s ease-in-out both 0.25s infinite;
          animation: can 6s ease-in-out both 0.25s infinite;
}

.will span:nth-child(5) {
  -webkit-animation: will 6s ease-in-out both 0.25s infinite;
          animation: will 6s ease-in-out both 0.25s infinite;
}

.thrive span:nth-child(5) {
  -webkit-animation: thrive 6s ease-in-out both 0.25s infinite;
          animation: thrive 6s ease-in-out both 0.25s infinite;
}

.can span:nth-child(6) {
  -webkit-animation: can 6s ease-in-out both 0.3s infinite;
          animation: can 6s ease-in-out both 0.3s infinite;
}

.will span:nth-child(6) {
  -webkit-animation: will 6s ease-in-out both 0.3s infinite;
          animation: will 6s ease-in-out both 0.3s infinite;
}

.thrive span:nth-child(6) {
  -webkit-animation: thrive 6s ease-in-out both 0.3s infinite;
          animation: thrive 6s ease-in-out both 0.3s infinite;
}

.title {
  padding: 0px 20px;
  display: grid;
  grid-template-columns: repeat(2, -webkit-max-content);
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: auto;
  overflow: hidden;
  max-height: 6vw;
}

/* For styling the demo. Not required. */
body {
  margin: 0;
  top:70%;
  font-family: "Montserrat", sans-serif;
}

.container {
  background-color: #2D3047;
  padding: 60px;
}

.title {
  
  color: rgb(250, 250, 250);
  text-transform: uppercase;
  font-weight: bold;
  
  text-shadow: #ffffff 20px;
  line-height: 6vw;
  letter-spacing: 3px;
  
}
#solo_title{
  margin-top: 34%;
  margin-left: 5%;
  font-size: 1.3vw;
}
#solo_title1{
  margin-top:27%;
  margin-bottom: -38%;
  margin-left: 5%;
  font-size: 2vw;
}