@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
.reveal span {
  opacity: 0;
  transform: scale(0);
  animation: fadeIn 2.4s forwards;
}
.reveal::before, .reveal::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  width: 2px;
  height: 100%;
  background: white;
  opacity: 0;
  transform: scale(0);
}
.reveal::before {
  left: 50%;
  animation: slideLeft 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
}
.reveal::after {
  right: 50%;
  animation: slideRight 1.5s cubic-bezier(0.7, -0.6, 0.3, 1.5) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideLeft {
  to {
    left: -6%;
    opacity: 1;
    transform: scale(0.9);
  }
}
@keyframes slideRight {
  to {
    right: -6%;
    opacity: 1;
    transform: scale(0.9);
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 1.2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1440px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1920px) {
	.reveal {
  position: relative;
  display: flex;
  color: rgba(255,204,0,1);
  font-size: 2em;
  font-family: 'Fjalla One', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: pre;
}
	}