/*
Theme Name: Epoch 2021
Author: Joe M
Description: Epoch 2021
Version: 0.0.1
*/

@import url("https://use.typekit.net/xqu5mql.css");

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
  color: #212025;
  font-family: hero-new, sans-serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
  background-color: #f7f7f7;
}

.h1, h1 {
  font-family: korolev-condensed,sans-serif;
  font-size: 2rem;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}

/*
	Video Homepage
*/
video {
  position: fixed;
  top: calc(50% + 3rem);
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url(intro.jpg) no-repeat 50% 50%;
  background-size: cover;
  opacity: 1;
  object-fit: cover;
}

button {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  background: rgba(0, 0, 0, 0.4) url(button-mute.svg) 0 100%;
}
.playing button {
  display: block;
}
button.unmuted {
  background-position: 0 0;
}
button:focus,
button:hover {
  opacity: 1.0;
  outline: 0;
}
button:active {
  background-color: rgba(0, 0, 0, 0.4);
}
.ext-image-replaced, button {
  overflow: hidden;
  text-indent: -999em;
  white-space: nowrap;
}


/*
Navigation
*/
#navigation {
  background-color: #fff;
  height: 5.6rem;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
}
.navbar__brand {
  display: flex;
  margin: 4rem 2rem;
  z-index: 110;
  position: absolute;
  width: 200px;
  height: 60px;
}
.navbar__brand img {
  width: auto;
  height: 60px;
}
.nav {
  display: none;
  width: 100%;
  font-weight: 700;
  color: #212025;
}
.nav__list {
  margin: 12rem 0 0 2rem;
  padding: 0;
} 
.nav__list .menu-item {
  list-style-type: none;
  margin: 0 0 1.5rem 0;
}
.nav__list .menu-item a {
  text-decoration: none;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #212025;
}
.nav__list .menu-item a strong {
  font-weight: 600;
}
.nav__list .current-menu-item a {
	padding-bottom: 2px;
	border-bottom: solid 1px;
}
.nav__list .menu-item:hover {
  opacity: 0.3;
  transition-property: opacity, transform;
  transition-duration: 0.5s;
}


/* 
Hamburger Trigger 
*/
.nav__trigger {
  display: block;
  position: fixed;
  width: 30px;
  height: 25px;
  top: 1.75rem;
  right: 1.75rem;
  z-index: 200;
}
.nav__icon {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 4px;
  background-color:#212025;
}
.nav__icon:before, .nav__icon:after {
  content: '';
  display: block;
  width: 30px;
  height: 4px;
  position: absolute;
  background: #212025;
  transition-property: margin, transform;
  transition-duration: 0.5s;
}
.nav__icon:before {
  margin-top: -10px;
}
.nav__icon:after {
  margin-top: 10px;
}
.nav.nav--active  {
  opacity: 0;
}
.nav.nav--active  {
  display: block;
  background-color: #fff;
  transition: all 1s ease-in-out;
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 100;
  height: 100vh;
}
.nav--active .nav__icon {
  background: #fff;
}
.nav--active .nav__icon:before {
  margin-top: 0;
  transform: rotate(45deg);
  background: #212025;
}
.nav--active .nav__icon:after {
  margin-top: 0;
  transform: rotate(-45deg);
  background: #212025;
}


/*
Main Content
*/
a {
  color: #212025;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 110;
}
footer a {
  margin: 0 0 1rem 2rem;
  margin-left: calc(2rem - 5px);
  text-decoration: none;
  font-size: 0.6rem;
  color: #212025;
  text-transform: uppercase;
  background-color: #fff;
  padding: 2px 5px;
  opacity: 0.3;
}
footer a:hover {
  opacity: 1;
  transition-property: opacity, transform;
  transition-duration: 0.5s;
}
.flex-grid {
  display: block;
}
.d-flex {
  display: flex;
  flex-direction: column;
}
.generalText {
  margin: 12rem 2rem 6rem 2rem;
}
.generalText a {
  color: rgb(72, 73, 78);
}
.generalText a:hover {
  opacity: 0.8;
}
.centralText {
  max-width: 630px;
}

/*
Case Studies
*/
.cs-body {
  display: flex;
  align-content: center;
  justify-content: center;
}
.cs-body #navigation .container {
  max-width: 2020px;
}
.cs-post {
  margin: 5.6rem 0 0 0;
  display: flex;
  flex-direction: column;
  padding-top: 3rem;
  background-color: white;
}
.cs-text, .cs-images, .cs-video, .cs-two-col-images {
  display: flex;
  flex-direction: column;
}
.cs-text {
  margin: 2rem;
  font-size: 16px;
}
.cs-text a {
  color: rgb(72, 73, 78);
}
.cs-text a:hover {
  opacity: 0.8;
}
.cs-images img, .cs-two-col-images img {
  display: block;
  height: auto;
  max-width: 100%;
}
.image-lhs, .image-rhs {
  flex: 50%;
}
.image-lhs img, .image-rhs img {
  width: 100%;
  height: auto;
}
.cs-video video {
  height: auto !important;
  width: 100% !important;
  position: relative !important;
  top: unset;
  left: unset;
  -ms-transform: unset;
  transform: unset;
  background: unset;
  z-index: 1;
}
.notfound, .post-password-form {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 4rem;
  padding: 2rem;
}


/* large devices */
@media (min-width: 960px) {
  footer a {
    font-size: 0.8rem;
    margin: 0 0 1rem 3rem;
    margin-left: calc(3rem - 5px);
  }
  button {
    bottom:4rem;
    right: 4rem;
  }
  .flex-grid {
    display: flex;
  }
  .generalText {
    margin: 4rem 8rem;
    position: absolute;
    top: 12rem;
  }
  .centralText {
    max-width: 705px;
    margin: 0 6rem 6rem 6rem;
  }
  .navbar__brand {
    margin: 3.55rem 0 0 3rem;
    width: 300px;
    height: 100px;
  }
  .navbar__brand img {
    width: auto;
    height: 80px;
  }
  .nav__trigger {
    display: none;
  }
  .nav {
    display: flex;
    justify-content: flex-end;
  }
  .nav__list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    float: right;
    margin: 2.6rem 0rem 0rem 0rem;
  }
  .nav__list .menu-item {
    margin: 0 2.5rem 0 0;
  }
  .nav__list .menu-item a {
    font-size: 14px;
  }
  .cs-post {
    margin: 3.6rem 0 0 0;
  }  
  .cs-two-col-images {
    flex-direction: row;
  }
  .cs-text {
    margin: 3rem;
    font-size: 1.7vw;
  }
  .image-lhs, .image-rhs {
    flex: 100%;
  }
}










