/* Fonts */
@font-face {
    font-family: Geomanist;
    src: url(../fonts/Geomanist-Regular.otf);
}

@font-face {
  font-family: Playfair;
  src: url(../fonts/PlayfairDisplay-Regular.ttf);
}

@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
  font-family: OpenSansLight;
  src: url(../fonts/OpenSans-Light.ttf);
}

@font-face {
  font-family: OpenSansItalic;
  src: url(../fonts/OpenSans-LightItalic.ttf);
}

@font-face {
  font-family: OpenSansBold;
  src: url(../fonts/OpenSans-Black.ttf);
}

@font-face {
  font-family: WorkSans;
  src: url(../fonts/WorkSans-Media.otf);
}
@font-face {
  font-family: WorkSansLight;
  src: url(../fonts/WorkSans-Hairline.otf);
}
/* End of fonts */


body, html{
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  position: relative;
  background-color: #121212;
  margin: 0;
  padding: 0;
  font-family: OpenSans, Geomanist, Arial, sans-serif;
  color: #fff;
}

a {
  transition: 0.2s cubic-bezier(.55,.085,.68,.53);
}

.wrap {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* will cover the 100% of viewport */
  overflow: hidden;
  display: block;
  position: relative;
  padding-bottom: 0px; /* height of your footer */
}

header {
  background-color: black;
  border-bottom: 1px #222 solid;
}

footer {
  width: 100%;
  bottom: 0;
  position: absolute;
  /* background-color: black; */
  padding: 25px 0;
  /* border-top: 1px #222 solid; */
  font-family: OpenSansLight, OpenSans, Helvetica, sans-serif;
  text-align: center;
  z-index: 100;
  font-size: 14px;
  color: #ccc;
}

.logo {
  padding-top: 45px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 278px 1fr;
  grid-gap: 10px;
  z-index: 3;
}

.rectangle {
  position: absolute;
  width: 199px;
  left: 50%;
  margin-left: -99px;
  top: 15px;
  opacity: 0.6;
  z-index: 1;
}

.lineLeft {
  justify-self: end;
  align-self: end;
  padding-bottom: 10px;
}

.lineRight {
  align-self: end;
  padding-bottom: 10px;
}

.navList {
  text-align: center;
  position: relative;
  list-style-type: none;
  padding: 15px 0 30px 0;
  margin: 0 auto;
  z-index: 3;
  letter-spacing: .7px;
  font-weight: 600;
}

.navList li {
  display: inline;
  padding: 0 25px;
}

.navList li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: bold;
}

.navList li a:hover {
    color: #219eff;
}

#onPage{
  color: #219eff;
  font-weight: bold;
}

/* Media queries */
@media(max-width: 768px) { /* ipad */
  .navList {
    width: 480px;
  }

  .navList li {
    padding: 0 15px;
  }

  .navList li a {
    font-size: 0.8em;
  }

}

@media(max-width: 575px) { /* navbar and logo must change */
  /* first, the logo */
  .logo #myLogo {
    width: 180px;
    height: auto;
  }

  .logo img {
    width: 78px;
    height: auto;
  }

  .lineLeft, .lineRight {
    padding-bottom: 8px;
  }

  .logo {
    grid-template-columns: 1fr 180px 1fr;
  }

  /* the diamond: */
  .rectangle {
    width: 150px;
    margin-left: -75px;
  }

  /* now the navlist */
  .navList {
    width: 339px;
  }

  .navList li {
    padding: 0 7px;
  }

  .navList li a {
    font-size: 0.7em;
  }
}

@media(max-width: 414px){ /*largest phone size */
  /* diamond removal already taken care of via js */

  .navList {
    width: 100%;
  }
}

@media(max-width: 377px){
  .logo > img {
    display: none;
  }

  .logo a {
    grid-column-start: 2;
    grid-column-end: 3;
  }
}
