/*!
Theme Name:     Shutter Base Theme
Theme URI:      https://github.com/ed-richards/shutter-base-theme
Description:    Shutter Starter Theme for WordPress
Author:         Shutter Digital
Author URI:     https://shutter.digital
Version:        1.0.0
*/
/**
 * Debug the site breakpoint
 * element only exists if WP_DEBUG is true
 */
.debug:after {
  box-sizing: border-box;
  position: fixed;
  display: block;
  bottom: 10px;
  right: 10px;
  padding: 5px 28px 5px 20px;
  font-size: 12px;
  font-weight: bold;
  color: #777;
  border-radius: 3px;
  background-color: #f7f7f7;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  z-index: 100000;
}

@media (min-width: 400px) {
  .debug:after {
    content: "X-Small (400px)  | " attr(data-template);
    background: linear-gradient(to right, #f7f7f7, #f7f7f7 95%, #ffde03 95%, #ffde03 100%);
  }
}

@media (min-width: 584px) {
  .debug:after {
    content: "Small (584px)  | " attr(data-template);
    background: linear-gradient(to right, #f7f7f7, #f7f7f7 95%, #ffde03 95%, #ffde03 100%);
  }
}

@media (min-width: 768px) {
  .debug:after {
    content: "Medium (768px) | " attr(data-template);
    background: linear-gradient(to right, #f7f7f7, #f7f7f7 95%, #ff0266 95%, #ff0266 100%);
  }
}

@media (min-width: 992px) {
  .debug:after {
    content: "Large (992px) | " attr(data-template);
    background: linear-gradient(to right, #f7f7f7, #f7f7f7 95%, #0336ff 95%, #0336ff 100%);
  }
}

@media (min-width: 1200px) {
  .debug:after {
    content: "X-Large (1200px) | " attr(data-template);
    background: linear-gradient(to right, #f7f7f7, #f7f7f7 95%, #4A148C 95%, #4A148C 100%);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

html {
  line-height: 1.5;
  font-size: 62.5%;
}

body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #03050B;
}

.noscroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  display: inline-block;
}

p a,
p a:visited {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: bold;
}

ul, ol {
  margin-left: 2.4rem;
}

.util-wrapper {
  width: 90%;
  max-width: 144rem;
  margin: 0 auto;
}

/**
 * Responsive images
 */
img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
}

table {
  width: 100%;
  table-layout: fixed;
  overflow-wrap: break-word;
  border-collapse: collapse;
  overflow-x: auto;
  margin-bottom: 2.4rem;
}

tr:nth-child(odd) td {
  background: #efefef;
}

td, th {
  font-size: 1.6rem;
  vertical-align: top;
  padding: 0.8rem;
  border: 1px solid #ccc;
}

th {
  font-size: 1.9rem;
  text-align: left;
}

/**
 * Component: Hamburger
 */
.hamburger {
  width: 4.5rem;
  height: 4.5rem;
  border: none;
  background-color: transparent;
}

@media (min-width: 584px) {
  .hamburger {
    width: 5rem;
    height: 5rem;
  }
}

.hamburger__svg {
  width: 100%;
}

.hamburger__line {
  stroke: #ffffff;
  stroke-width: 9;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transition: transform 200ms;
}

.hamburger.open .hamburger__line {
  stroke: white;
}

.hamburger__line--1 {
  transform: translateY(-20px) rotate(0deg);
}

.hamburger__line--1--open {
  transform: rotate(45deg);
  transition: transform 200ms;
}

.hamburger__line--2 {
  opacity: 1;
  transition: opacity 200ms;
}

.hamburger__line--2--open {
  opacity: 0;
  transition: opacity .125s;
}

.hamburger__line--3 {
  transform: translateY(20px) rotate(0deg);
}

.hamburger__line--3--open {
  transform: rotate(-45deg);
  transition: transform 200ms;
}

/**
 * Component: Mobile Nav
 */
body.nav-open {
  overflow: hidden;
}

.nav-mobile__primary {
  margin-left: 0;
  margin-top: 2rem;
  list-style-type: none;
  font-size: 2.2rem;
  z-index: 10;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
}

.nav-mobile__primary__item {
  display: block;
  text-align: center;
  opacity: 0;
}

.nav-mobile__primary__item:nth-child(1) {
  animation-delay: 40ms;
}

.nav-mobile__primary__item:nth-child(2) {
  animation-delay: 80ms;
}

.nav-mobile__primary__item:nth-child(3) {
  animation-delay: 120ms;
}

.nav-mobile__primary__item:nth-child(4) {
  animation-delay: 160ms;
}

.nav-mobile__primary__item:nth-child(5) {
  animation-delay: 200ms;
}

.nav-mobile__primary__item:nth-child(6) {
  animation-delay: 240ms;
}

.nav-mobile__primary__item:nth-child(7) {
  animation-delay: 280ms;
}

.nav-mobile__primary__item:nth-child(8) {
  animation-delay: 320ms;
}

.nav-mobile__primary__item--active a {
  color: #ffffff;
  font-weight: 600;
}

.nav-mobile__primary__link {
  padding: 1rem 0;
  text-decoration: none;
  display: block;
  color: white;
}

.nav-mobile__primary__item--animate {
  animation-name: mobileMenuSlide;
  animation-duration: 800ms;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  will-change: transform;
}

@keyframes mobileMenuSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  95% {
    background-position: 100% 50%;
    transform: translateY(0px);
  }
  100% {
    opacity: 1;
  }
}

/**
 * Component: Navigation
 */
.nav-primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 1.8rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

@media (min-width: 584px) {
  .nav-primary {
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav-primary {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .nav-primary {
    font-size: 2rem;
  }
}

.nav-primary__item {
  padding: 0 1.2rem;
}

@media (min-width: 768px) {
  .nav-primary__item {
    padding: 0 1rem;
  }
  .nav-primary__item:last-child {
    padding-right: 0;
  }
}

@media (min-width: 992px) {
  .nav-primary__item {
    padding: 0 1.4rem;
  }
}

@media (min-width: 1200px) {
  .nav-primary__item {
    padding: 0 1.6rem;
  }
}

.nav-primary__link {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid transparent;
  transition: color 0.2s ease;
}

.nav-primary__link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

.nav-primary__link:hover {
  color: #ffffff;
}

.nav-primary__link:hover:before {
  visibility: visible;
  width: 45%;
}

.nav-primary__item--active .nav-primary__link {
  color: #ffffff;
  font-weight: 700;
}

.nav-primary__item--active .nav-primary__link:before {
  visibility: visible;
  width: 45%;
}

/**
 * Component: Site Header
 */
.simple-header {
  position: relative;
  padding: 2rem 0 7rem 0;
}

@media (min-width: 584px) {
  .simple-header {
    padding: 4rem 0;
  }
}

@media (min-width: 768px) {
  .simple-header {
    padding: 6rem 0;
  }
}

@media (min-width: 1200px) {
  .simple-header {
    padding: 8rem 0;
  }
}

.simple-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

@media (min-width: 768px) {
  .simple-header__wrapper {
    flex-direction: row;
  }
}

.simple-header__logo {
  text-align: center;
  position: relative;
}

.simple-header__logo .site-logo {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .simple-header__logo {
    text-align: left;
    margin-bottom: 0;
  }
}

.simple-header__primary-nav {
  display: none;
}

@media (min-width: 768px) {
  .simple-header__primary-nav {
    display: block;
  }
}

.simple-header__toggle {
  text-align: right;
  display: block;
  z-index: 25;
  position: relative;
}

@media (min-width: 768px) {
  .simple-header__toggle {
    display: none;
  }
}

.simple-header__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 8rem;
  width: 100%;
  height: 100%;
  z-index: 15;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .simple-header__mobile {
    display: none;
  }
}

.simple-header__mobile.open {
  display: block;
}

@media (min-width: 768px) {
  .simple-header__mobile.open {
    display: none;
  }
}

/**
 * Component: Site Logo
 */
.site-logo {
  display: block;
  width: 17rem;
}

@media (min-width: 584px) {
  .site-logo {
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .site-logo {
    margin: 0;
    width: 15rem;
  }
}

@media (min-width: 1200px) {
  .site-logo {
    width: 17.5rem;
  }
}
