@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/* Reset and box model */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  -webkit-text-size-adjust: none;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300 !important;
  font-size: 15pt;
  letter-spacing: -0.025em;
  color: #fff;
  background: #fff;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, select, textarea {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

a {
  border-bottom: dotted 1px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease-in-out;
}
a:hover {
  border-color: transparent;
}

/* Box sizing */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* Font Awesome Icons */
.icon {
  position: relative;
  text-decoration: none;
}
.icon:before {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
}
.icon.solid:before {
  font-weight: 900;
}
.icon.brands:before {
  font-family: 'Font Awesome 5 Brands';
}
.icon > .label {
  display: none;
}

/* Wrapper animation */
#wrapper {
  animation: wrapper 3s forwards;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  width: 100%;
}

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

/* Background animation */
#bg {
  animation: bg 90s linear infinite;
  background: #3f3f40 url("images/home2.jpg") repeat-x;
  height: 100%;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  background-size: contain;
  width: 6500px; /* Default */
}

@keyframes bg {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-2250px, 0, 0); }
}

/* Overlay on top of BG */
#overlay {
  animation: overlay 1.5s 1.5s forwards;
  background-image: url("images/overlay-pattern.png"), url("images/overlay.svg");
  background-repeat: repeat, no-repeat;
  background-position: top left, center center;
  background-size: auto, cover;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  width: 100%;
}

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

/* Main Centered Area */
#main {
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  height: 100%;
  width: 100%;
}
#main:before {
  content: '';
  display: inline-block;
  height: 100%;
  width: 1px;
  vertical-align: middle;
}

/* Header (logo, text, icons) */
#header {
  animation: header 1s 2.25s forwards;
  opacity: 0;
  position: relative;
  display: inline-block;
  width: 90%;
  top: -1em;
  text-align: center;
  vertical-align: middle;
}

.div-img {
  height: 120px;
  background-image: url(images/logo_new2.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#header p {
  font-size: 1.25em;
  margin: 0.75em 0 0.25em 0;
  opacity: 0.75;
}

/* Nav Icons */
#header nav {
  margin: 1.5em 0 0 0;
}
#header nav li {
  animation: nav-icons 0.5s ease-in-out forwards;
  display: inline-block;
  width: 4em;
  height: 4em;
  line-height: 4em;
  opacity: 0;
  vertical-align: top;
  text-align: center;
}
#header nav a {
  border: 0;
  display: inline-block;
}
#header nav a:before {
  font-size: 1.5em;
  border: solid 1px #fff;
  border-radius: 100%;
  line-height: 2.3em;
  width: 2.3em;
  height: 2.3em;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

#header nav a .label {
  display: none;
}


@keyframes header {
  0% { opacity: 0; transform: translateY(-1em); }
  100% { opacity: 1; transform: translateY(0); }
}

#header nav li {
  animation: nav-icons 0.5s ease-in-out forwards;
  opacity: 0;
}
@keyframes nav-icons {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}


