*, *:after, *:before {
  box-sizing: border-box;
}

@font-face {
    font-family: Klavika;
    src: url(../fonts/Klavika Regular Plain.otf);
}

@font-face {
    font-family: "Multiverse";
    src: url(Multiverse.ttf);
}

#intro { /**background shadow **/
    /**background-color: rgba(0, 0, 0, 0.7);*/
    width: 100%;
    height: 10%;
    margin: 0 0;

}

/** Letter effects **/
#name {
  text-align: center;
  color: white;
  letter-spacing: 1em;
  -webkit-transition: all 1000ms;
  -moz-transition: all 1000ms;
  transition: all 1000ms;
  -webkit-transition-delay: 300ms;
  -moz-transition-delay: 300ms;
  transition-delay: 300ms;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(10.9);
  transform: scale(0.9);
  font-family: Klavika;
  font-weight: 500;
  font-size: 80px;
  text-shadow: 0 50px 80px #717c80;
  }


/** MEDIA QUERIES **/

/* width - 770px*/

@media (max-width: 770px) {
  #name {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
  #intro {
    width: 770px;
    height: 100%;
  }
}
#name.larger {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
@media (max-width: 770px) {
  #name {
    font-size: 5px;
  }
}
#name span {
  opacity: 0;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  transition: all 500ms;
}
#name span.visible {
  opacity: 1;
  text-shadow: none;
}
#name span.darker {
  color: lightgrey;
  font-weight: 700;
  text-shadow: none;
}

/* width - 420px */
@media (max-width: 420px) {
  #name {
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);
    transform: scale(0.6);
  }
 #name {
    font-size: 5px;
  }
  #intro {
    width: 420px;
  }
}
#name.larger {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
@media (max-width: 420px) {

#name {
    font-size: 5px;
  }

#name span {
  opacity: 0;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  transition: all 500ms;
}
#name span.visible {
  opacity: 1;
  text-shadow: none;
}
#name span.darker {
  color: lightgrey;
  font-weight: 700;
  text-shadow: none;
}

/* height - landscape*/

@media (max-height: 1024px) {
  #name {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
  #name {
    font-size: 30px;
  }
  #intro {
    height: 100%;
  }
}

/** Letter effects Ends**/
