
body {
  font: 1.2rem 'Lato', sans-serif;
  font-weight: 500;
  color: white;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  text-shadow: 1px 1px 1px #030303;
  background-color: black;
}

/* Titles */

h1, h2, h3, h4, h5, h6 {
  font-weight: 500; 
}

/* Paragraph & Typographic */

p {
  line-height: normal;
  margin-bottom: 25px;
  font-size: 100%;
}

.centered {
  text-align: center;
}

/* Links */

a {
  color: #f85c37;
  word-wrap: break-word;
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover, a:focus {
  color: #7b7b7b;
  text-decoration: none;
  outline: 0;
}

a:before, a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

.btn {
	background-color: white;
	padding: 10px 20px;
	color: black;
	font: bold 18px 'PT Sans', sans-serif;
	text-transform: uppercase;
	text-shadow: none;
	border-radius: 12px;
	letter-spacing: 3px;
	margin: 15px;
	text-decoration: none;
}

.btn:hover, .btn:focus {
	background-color: #4b4b4b;
	color: #fff;
	box-shadow: 0 0 8px #ffffff;
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
  margin-top: 0;
  padding-top: 20px;
  text-align: center;
  width: 100%;
  padding-bottom: 50px;
}

#headerwrap h1 {
  margin: 120px auto 20px;
  text-transform: uppercase;
  text-align: center;
  color: white;
  width: 80%;
  font-weight: bold;
  line-height: 90%;
  font-size: 58px;
}

#headerwrap h1 .logo-main {
	margin-left: auto;
	margin-right: auto;
	display: block;
	margin-bottom: 20px;
	width: 280px;
	border: 12px solid white;
	border-radius: 280px;
}

.top-logo-main {
	width: 90px;
}

#headerwrap h2 {
	font-family: 'Lato', sans-serif;
	font-size: 36px;
	font-weight: bold;
	margin: 0 auto 40px;
	text-align: center;
	letter-spacing: 0.8px;
	width: 80%;
	text-transform: uppercase;
}

#headerwrap h2 span {
	font-size: 16px;
	text-transform: uppercase;
	display: block;
}

#headerwrap p img {
	width: 48px;
	background-color: white;
	border-radius: 48px;
	margin-right: 10px;
	margin-left: 10px;
}

#headerwrap p img:first-child {
	margin-right: 20px;
}

#contact-details {
	text-align: center;
	padding-bottom: 80px;
}

#contact-details h2 {
	font-family: 'Lato', sans-serif;
	font-size: 20px;
	font-weight: bold;
	margin: 0 auto 10px;
	text-align: center;
	letter-spacing: 0.8px;
	width: 80%;
	text-transform: uppercase;
}

#contact-details img {
	text-align: center;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

#contact-details h3 a {
	color: white;
	text-decoration: none;
	font-size: 37px;
	text-transform: uppercase;
}

#contact-details h3 span {
	font-size: 14px;
	display: block;
	clear: both;
	text-transform: none;
}

#contact-details a {
	color: white;
	text-decoration: none;
	font-size: 24px;
}

#headerwrap .logo {
  text-align: left;
  margin: 0;
}

#madness-quote, #clients {
  margin-top: -10px;
  padding-top: 20px;
  text-align: center;
  width: 100%;
  margin-bottom: 80px;
}

#madness-quote h3 {
	margin: 0 auto;
	text-align: center;
	letter-spacing: 2px;
	width: 80%;
	font-size: x-large;
}

#madness-quote h3 span {
	font-size: 14px;
	letter-spacing: 0px;
}

#madness-quote p,
#clients p {
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	width: 80%;
	font-size: medium;
	line-height: 220%;
}

#clients p {
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	width: 60%;
	font-size: medium;
	line-height: 140%;
}

#contact-details {
	text-align: center;
}

/* Footer Wrap */

#f {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center
}

#f h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

#f i {
  font-size: 8px;
  padding: 3px;
}

#f p {
  font-size: 20px;
}

#f img {
  text-align: center;
}

/* MENU CONF*/

.menu {
  position: fixed;
  right: -200px;
  width: 260px;
  height: 100%;
  top: 0;
  z-index: 10;
  text-align: left;
}

.menu.menu-open {
  right: 0px;
}

.menu-wrap {
  position: absolute;
  top: 0;
  left: 60px;
  background: #343434;
  width: 200px;
  height: 100%;
  padding-top: 80px;
}

.menu h1.logo a {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 40px;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 20px;
}

.menu h1.logo a:hover {
  color: #f85c37;
}

.menu img.logo {
  margin: 20px 0;
  max-width: 160px;
}

.menu a {
  color: white;
	font: 16px/40px 'PT Sans', sans-serif;
	text-transform: uppercase;
	text-shadow: none;
  display: block;
  padding-left: 20px;
}

.menu a:hover, .menu a:active {
  background-color: white;
  color: #000;
}

a.active-menu {
	background-color: #000000;
}

.menu a>i {
  float: left;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  width: 25px;
  font-size: 14px;
  line-height: 40px;
  margin: 25px 2px;
}

.menu-close {
  cursor: pointer;
  display: block;
  position: absolute;
  font-size: 14px;
  color: #808080;
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 20px;
  right: 5px;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.menu-close:hover {
  color: #ffffff;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

/* Push the body after clicking the menu button */

.body-push {
  overflow-x: hidden;
  position: relative;
  left: 0;
}

.body-push-toright {
  left: 200px;
}

.body-push-toleft {
  left: -200px;
}

.menu, .body-push {
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

#menuToggle {
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 11;
  display: block;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  background: #343434;
  border-radius: 12px;
}

#menuToggle:hover {
  color: #000;
  -webkit-transition: all .1s ease-in-out;
  -moz-transition: all .1s ease-in-out;
  -ms-transition: all .1s ease-in-out;
  -o-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  background-color: white;
}


.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 160px;
  overflow:hidden;
  
  font-family: 'Lato', sans-serif;
  font-size: 35px;
  line-height: 40px;
  color: #ecf0f1;
  
  &__container {
    font-weight: 600;
    overflow: hidden;
    height: 40px;
    padding: 0 40px;

    &:before {
      content: '[';
      left: 0;
    }

    &:after {
      content: ']';
      position: absolute;
      right: 0;
    }

    &:after, &:before {
      position: absolute;
      top: 0;
      
      color: #16a085;
      font-size: 42px;
      line-height: 40px;
      
      -webkit-animation-name: opacity;
      -webkit-animation-duration: 2s;
      -webkit-animation-iteration-count: infinite;
      animation-name: opacity;
      animation-duration: 2s;
      animation-iteration-count: infinite;
    }

    &__text {
      display: inline;
      float: left;
      margin: 0;
    }

    &__list {
      margin-top: 0;
      padding-left: 110px;
      text-align: left;
      list-style: none;
      
      -webkit-animation-name: change;
      -webkit-animation-duration: 10s;
      -webkit-animation-iteration-count: infinite;
      animation-name: change;
      animation-duration: 10s;
      animation-iteration-count: infinite;

      &__item {
        line-height:40px;
        margin:0;
      }
    }
  }
}

@-webkit-keyframes opacity {
  0%, 100% {opacity:0;}
  50% {opacity:1;}
}

@-webkit-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@-o-keyframes opacity {
  0%, 100% {opacity:0;}
  50% {opacity:1;}
}

@-o-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@-moz-keyframes opacity {
  0%, 100% {opacity:0;}
  50% {opacity:1;}
}

@-moz-keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

@keyframes opacity {
  0%, 100% {opacity:0;}
  50% {opacity:1;}
}

@keyframes change {
  0%, 12.66%, 100% {transform:translate3d(0,0,0);}
  16.66%, 29.32% {transform:translate3d(0,-25%,0);}
  33.32%,45.98% {transform:translate3d(0,-50%,0);}
  49.98%,62.64% {transform:translate3d(0,-75%,0);}
  66.64%,79.3% {transform:translate3d(0,-50%,0);}
  83.3%,95.96% {transform:translate3d(0,-25%,0);}
}

// 6 is the number of animation.
// Here, there are 4 lines :

// 1 to 2
// 2 to 3
// 3 to 4
// 4 to 3
// 3 to 2
// 2 to 1

// 6x + 6y = 100 (100% duration)

// HERE : 
// y = 4 -> Animation between two lines
// x = 12.66 -> Time spent on a line

// You can define a value and calculate the other if you want change speed or the number of lines
View Compiled


Resources



/* Contact Form */

.contact-form {
  text-align: left;
}

.contact-form label {
   color: #999;
}

.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.contact-form .form-send button  {
  background: #f0ad4e;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

.contact-form .form-send button:hover {
  background: #ffbc5d;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}


/* Copyrights */

#copyrights {
  padding: 20px 0;
  text-align: center;
  color: #fff;
  min-height: 20vh;
}

#copyrights a {
  color: #f0ad4e;
}

#copyrights p {
  margin-bottom: 5px;
  font: 12px "PT Sans", serif;
}

.credits {
  color: #999;
}
