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

.title {
	font-family: "Cairo";
	text-align: center;
	color: #FFF;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 40vh;
	letter-spacing: 1px;
	line-height:2
}

h1 {
	background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
	background-size: cover;
	color: transparent;
	-moz-background-clip: text;
	-webkit-background-clip: text;
	text-transform: uppercase;
	font-size: 100px;
	margin: 5px 0;
}

.element {
    width: 100%;
    height: 100%;
    animation: pulse 30s infinite;
  }
  
@keyframes pulse {
    0% {
      background-color: black;
    }
    50% {
      background-color: white;
    }
    100% {
        background-color: black;
      }

}

.something {
  height: 250px;
  width: 500px;
  margin: 0 auto;
  background-color: purple;
  animation-name: stretch;
  animation-duration: 5s; 
  animation-timing-function: ease-out; 
  animation-delay: 0;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-fill-mode: none;
  animation-play-state: running;
  align-items: center;
}

@keyframes stretch {
  0% {
    transform: scale(1);
    background-color: teal;
    border-radius: 100%;
  }
  50% {
    background-color: darkblue;
  }
  100% {
    transform: scale(2);
    background-color: rgb(112, 8, 112);
    border-radius: 5%;
    animation-play-state: paused;

  }
}

.something p {
  animation-duration: 3s;
  animation-name: slidein;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  text-align: center;
  margin: auto;
  padding: 75px;
}

@keyframes slidein {
  from {
    margin-bottom: 0%;
    width: 300%;
  }

  to {
    margin-bottom: 100%;
    width: 50%;
  }
}
  
    
