/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap'); */

.cd-intro {
  position: relative;
  height: 100vh;
  width: 100%;
  display: table;
  overflow: hidden;
  background-color: #16222a;
  
  background-size: 120%;
  animation: toScroll linear 20s infinite alternate-reverse;
}

.bg-anim:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: linear-gradient(90deg, #16222a 0%, #3A6073 100%);
  animation: opac 10s forwards;
  opacity: 1;
}

@keyframes opac {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes toScroll {
  0% {
    background-position: 0% center;
  }
  25% {
    background-position: 25% center;
  }
  50% {
    background-position: 50% center;
  }
  75% {
    background-position: 75% center;
  }
  100% {
    background-position: 100% center;
  }
}

.cd-intro-content {
  /* vertically align inside its parent */
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0 5%;
  background: #27292c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(90deg, #16222ad1 0%, #3A6073 100%);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.cd-intro-content h1 {
  font-size: 2.4rem;
  color: #F35929;
  font-family: Montserrat;
  margin: 0 0 30px;
  display: inline-block;
  position: relative;
}
.cd-intro-content h1:before {
  content: '';
  position: absolute;
  top: -15px;
  left: -70px;
  width: 70px;
  height: 70px;
  background: url(../media/logo.png) no-repeat;
  background-size: cover;
}

.cd-intro-content p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 1em 0;
  color: #fff;
  font-family: Montserrat;
}

.cd-intro-content .action-wrapper {
  display: inline-block;
}
.cd-intro-content .action-wrapper::after {
  clear: both;
  content: "";
  display: table;
}
.cd-intro-content .action-wrapper > * {
  float: left;
}


@media only screen and (min-width: 768px) {
  .cd-intro-content h1 {
    font-size: 5.2rem;
    letter-spacing: 1px;
    font-weight: bold;
  }
  .cd-intro-content p {
    font-size: 1.4rem;
    font-weight: 500;
    width: 500px;
    margin: 0 auto;
    line-height: 23px;
  }
}

.cd-btn {
  font-family: Montserrat;
  display: inline-block;
  padding: 15px 25px;
  font-size: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 20px;
}



.cd-btn:nth-of-type(2) {
  margin-right: 0;
}

.cd-btn.main-action {
  background-color: transparent;
}

@media only screen and (min-width: 480px) {
  .cd-btn {
    padding: 1.2em 1.6em;
  }
}
@media only screen and (min-width: 768px) {
  .cd-btn {
    padding: 15px 25px;
  }
}

.scale.cd-intro-content * {
  /* overwrite default style */
  opacity: 1;
}

.scale.cd-intro-content {
  background-color: transparent;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: cd-scale-in 0.6s 0.3s both;
  -moz-animation: cd-scale-in 0.6s 0.3s both;
  animation: cd-scale-in 0.6s 0.3s both;
}

@-webkit-keyframes cd-scale-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(3);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-scale-in {
  0% {
    opacity: 0;
    -moz-transform: scale(3);
  }
  100% {
    opacity: 1;
    -moz-transform: scale(1);
  }
}
@keyframes cd-scale-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -ms-transform: scale(3);
    -o-transform: scale(3);
    transform: scale(3);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

@media only screen and (max-width: 1280px) {
  .cd-intro {
    background-size: 140%;
  }
}

@media only screen and (max-width: 1024px) {
  .cd-intro {
    background-size: calc(100vh - -200%);
    animation-duration: 60s;
  }
}

@media only screen and (max-width: 767px) {
  .cd-intro-content h1 {
    font-size: 4rem;
    margin-left: 50px;
  }
  .cd-intro-content h1:before {
    width: 60px;
    height: 60px;
    left: -60px;
  }

  .cd-intro-content p {
    font-size: 1.8rem;
    line-height: 1.8;
  }
}