@import url('https://fonts.googleapis.com/css?family=Abel');
/* Box sizing fix. Has border included in width instead
of adding it to defined width.*/
*, *:before, *:after {
   box-sizing: border-box;
   -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
}
body {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-family: 'Abel', sans-serif;
  font-weight: lighter;
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

section {
  height: 100vh;
  border-top: 10px solid;
  border-bottom: 10px solid;
  animation-name: borderColor;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  
}

.main {
  overflow: none;
}


.logo {
  height: 50vh;
  animation-name: fadeInDown;
  animation-duration: 1.8s;
  animation-iteration-count: 1;
  padding-top: 20px;
}

.calendly-badge-widget {
  top: 44px;
  right: -180px;
  font-family: 'Abel', sans-serif;
  animation-name: enterCalendly;
  animation-duration: 5s;
  animation-iteration-count: 1;

}
.calendly-badge-widget .calendly-badge-content {
  display: block;
  width: 600px;
  height: 65px;
  border: 1em 0 1em 0;
  border-radius: 0;
  border-color: #87FF1F;
  transform: rotate(30deg);
  font-size: 2em;
  color: #fff;
  animation-name: bgColor2;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  font-family: 'Abel', sans-serif;
  font-size: 2em;
  text-transform: uppercase;
  transition: 0.3s;
  }

.calendly-badge-widget .calendly-badge-content span {
  letter-spacing: 1.5px;
  font-size: 50%;
}

.calendly-badge-widget .calendly-badge-content:hover {
  transform: rotate(28deg);
  transition: 0.3s;
}

h1 {
  margin: .5em auto;
  text-transform: uppercase;
  display: block;
  font-style: normal;
  font-weight: bolder;
  font-size: 2em;
}

h1 span {
  font-size: .65em;
  letter-spacing: 1px;
}


.tag {
  background: rgba(0, 0, 0, .6);
  padding: .75em 0;
}

.tag ul li{
  display: inline-block;
  padding: 0 5px 0 0;
  padding: 0 0 0 5px;
}


.tag ul li:after{
  content: "|||";
  animation-name: fontColor;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  padding: 0 10px 0 20px;
  font-weight: bolder;
}

.tag ul li:last-child:after {
    content: "";
}


a {
  color: #fff;
}
.tag {
  width: 100%;
  margin-top: 20px;
  animation-name: fadeIn;
  animation-duration: 3.6s;
  animation-iteration-count: 1;
  align-self: flex-end;
}
.fa-2x {
  margin: .25em  .25em  0 .25em;
    animation-name: fadeIn;
  animation-duration: 3.6s;
  animation-iteration-count: 1;  
}

.calendly-inline-widget {
  width: 50%;
  min-width:350px;
  height:700px;
}


@keyframes bgColor{
  0%   {background: rgba(0,67,68,.7);}
  5%   {background: rgba(0,67,68,.7);}
  25%  {background: rgba(5,94,70,.7);}
  30%  {background: rgba(5,94,70,.7);}
  50%  {background: rgba(89,86,138,.7);}
  55%  {background: rgba(89,86,138,.7);}
  75%  {background: rgba(138,31,77,.7);}
  80%  {background: rgba(138,31,77,.7);}
  100% {background: rgba(0,67,68,.7);}
}

@keyframes bgColor2{
  0%   {background: rgba(0,67,68,1);}
  5%   {background: rgba(0,67,68,1);}
  25%  {background: rgba(5,94,70,1);}
  30%  {background: rgba(5,94,70,1);}
  50%  {background: rgba(89,86,138,1);}
  55%  {background: rgba(89,86,138,1);}
  75%  {background: rgba(138,31,77,1);}
  80%  {background: rgba(138,31,77,1);}
  100% {background: rgba(0,67,68,1);}
}
@keyframes borderColor{
  0%   {border-color: rgba(0,67,68,.8);}
  5%   {border-color: rgba(0,67,68,.8);}
  25%  {border-color: rgba(5,94,70,.8);}
  30%  {border-color: rgba(5,94,70,.8);}
  50%  {border-color: rgba(89,86,138,.8);}
  55%  {border-color: rgba(89,86,138,.8);}
  75%  {border-color: rgba(138,31,77,.8);}
  80%  {border-color: rgba(138,31,77,.8);}
  100% {border-color: rgba(0,67,68,.8);}
}



@keyframes fontColor{
  0%   {color: rgba(0,67,68,.8);}
  5%   {color: rgba(0,67,68,.8);}
  25%  {color: rgba(5,94,70,.8);}
  30%  {color: rgba(5,94,70,.8);}
  50%  {color: rgba(89,86,138,.8);}
  55%  {color: rgba(89,86,138,.8);}
  75%  {color: rgba(138,31,77,.8);}
  80%  {color: rgba(138,31,77,.8);}
  100% {color: rgba(0,67,68,.8);}
}
@keyframes fadeIn {
  0%  {opacity: 0;}
  65% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes enterCalendly {
  0%   {top:-100px; right:-400px;}
  85% {top:-100px; right:-400px;}
  100% {top:-44; right:-180px;}
}

@media screen and (max-width: 650px) {
  .logo {
    height: auto;
    width: 75%;
    margin-top: 15%;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 895px){
h1 span {
  display: block;
}

 h1 span:before,  h1 span:after{
 content: "——————";
 font-weight: bolder;
 padding: 0 20px;
 animation-name:fontColor;
  animation-duration: 30s;
  animation-iteration-count: infinite;
 }

}

@media screen and (max-width: 810px) {
body {
  font-size: 18px;
  background-image: url('../img/bg-m.jpg');
}

.tag ul li{
  display: block;
  padding: 0;
}

.tag ul li:after{
  content: "";
}
 h1 {
  font-size: 1.5em;
 }




@media screen and (max-width: 650px) {
  .logo {
    height: auto;
    width: 75%;
    margin-top: 12%;
  }


  body {
    font-weight: lighter;
    letter-spacing: 1px;

  }

.fa-2x {
  margin: .75em  .25em  0 .25em  
}

.calendly-badge-widget .calendly-badge-content {
  height: 50px;
font-size: 1.5em;}

}

@media screen and (max-width: 500px) {
   h1 span:before,  h1 span:after{
 content: "";}

 h1{
  font-size: 1.6em;border-bottom: 5px solid;
animation-name: borderColor;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  width: 90%;
  padding-bottom: 20px; 
}

.fa-2x {
  font-size: 1.75em;
}


}




}