/*!
Theme Name: REIGN
Theme URI: https://thoughtandfound.com/
Author: Thought & Found
Author URI: https://thoughtandfound.com/
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: reign
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Built on the Underscores (_s) starter theme by Automattic, https://underscores.me/.
*/

@media screen and (min-width: 0) {
/*FONTS*/
@font-face {
    font-family: 'Collide';
    src: url('/wp-content/themes/REIGN/files/fonts/CollideRegular.woff2') format('woff2'),
         url('/wp-content/themes/REIGN/files/fonts/CollideRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Collide Condensed';
    src: url('/wp-content/themes/REIGN/files/fonts/CollideCondensed.woff2') format('woff2'),
         url('/wp-content/themes/REIGN/files/fonts/CollideCondensed.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Collide Wide';
    src: url('/wp-content/themes/REIGN/files/fonts/CollideWide.woff2') format('woff2'),
         url('/wp-content/themes/REIGN/files/fonts/CollideWide.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Collide Wide';
    font-size: 8vw;
    font-size: clamp(30px, 8vw, 64px);
    line-height: .8;
    margin: 0;
    font-weight: normal;
    letter-spacing: clamp(-5px, -.5vw, -3px);
}

h2 {
    font-family: 'Collide Condensed';
    font-size: 8vw;
    font-size: clamp(30px, 8vw, 64px);
    line-height: .8;
    margin: 0;
    font-weight: normal;
    letter-spacing: clamp(-5px, -.5vw, -2px);
}

h3 {
    font-size: 4.5vw;
    font-size: clamp(16px, 4.5vw, 34px);
    line-height: .9;
    margin: 0;
    font-weight: normal;
    letter-spacing: clamp(-1.5px, -.1vw, -1px);
}

h5 {
    font-family: 'Collide Wide';
    font-size: 16px;
    line-height: .9;
    margin: 0;
    font-weight: normal;
    letter-spacing: clamp(-1.5px, -.1vw, -1px);
}

h6 {
    font-family: 'Collide Condensed';
    font-size: 4vw;
    font-size: clamp(15px, 4vw, 31px);
    line-height: .9;
    margin: 0;
    font-weight: normal;
    letter-spacing: clamp(-2px, -.2vw, -1.5px);
}

 p {
    font-size: 16px;
    line-height: .9;
    text-align: center;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
 }
 
 a {
    color: white;
    text-decoration: none;
 }

/*GLOBALS*/
html {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
	font-family: 'Collide';
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
    /*text-rendering: optimizeLegibility;*/
}

body {
	margin: 0;
	font-family: 'Collide';
	text-transform: uppercase;
	color: white;
	font-size: 13px;
}

main {
	display: block;
}
    
/*HEADER*/
header#masthead {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 15;
    padding: 20px;
    box-sizing: border-box;
}

ul#primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

ul#primary-menu a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: transform 500ms ease;
}

ul#primary-menu.black-over a {
 color: black;
}

ul#primary-menu a:hover {
    transform: scaleY(1.5);
    /*letter-spacing: -1px;*/
}

ul#primary-menu li {
    flex: 0 0;
    /*flex: 0 0 33%;*/
    text-align: center;
}

ul#primary-menu li:first-child {
    text-align: left;
}

ul#primary-menu li:last-child {
    text-align: right;
}

ul#primary-menu li:first-child a {
    transform-origin: left;
}

ul#primary-menu li:last-child a {
    transform-origin: right;
}

.site-branding {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    padding: 15px 20px;
    box-sizing: border-box;
}

.site-branding img {
    width: 100%;    
}

.sb-foot {
    display: flex;
    justify-content: space-between;
    font-family: 'Collide Wide';
    font-size: 16px;
    padding-top: 5px;
}

.sb-foot span {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

span.sb-cap {
    font-size: 0;
}

span.sb-cap span {
    font-size: 16px;    
}

span.by {
    width: 11.8vw;
    display: inline-block;
}
/*FOOTER*/

/*FRONT PAGE*/
.fixed-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

video.fv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.end_loop {
    opacity: 1;
    pointer-events: none;
}

.end_loop.is-visible {
    opacity: 1;
}

.grain-wrap {
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    z-index: 4;
    mix-blend-mode: color-burn;
}

.grain {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('./files/NOISE-(COLOR).webp') repeat 0 0;
  background-size: 200px;
  filter: saturate(10);
  animation: grain-animation .2s steps(10) infinite;
  /*opacity: .7;*/
  visibility: visible;
  will-change: transform;
  filter: invert(1) contrast(2) saturate(2);
}

@keyframes grain-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

/*PANELS*/
.panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    height: 100dvh;
    overflow-y: scroll;
    z-index: 10;
    overscroll-behavior: none;
    transform: translateY(100%);
    transition: transform 500ms ease;
    outline: none!important;
}

#press {
    background: #FF6400;
}

#press * {
    color: black;
}

#press .feat-img.c-block {
    mix-blend-mode: multiply;
}

#press a:hover {
    background: black;
    color: white;
}

.panel-site-branding {
    width: 100%;
    padding: 60px 20px 20px 20px;
    box-sizing: border-box;
    margin-top: auto;
}

.panel-site-branding img {
    display: block;
    width: 100%;
}

#press .panel-site-branding {
    mix-blend-mode: multiply;
}

.panel.is-open {
  transform: translateY(0);
}

.panel-contents {
    padding: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.c-block {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.contents.c-block {
    padding-bottom: 40px;
}

.intro {
    text-align: center;
}

.feat-img img {
    width: 30%;
    max-width: 220px;
}

#contact a {
    background: white;
    color: black;
    display: inline-block;
}

#contact a:hover {
    background: #FF6400;
}

#socials h1 a {
    display: inline-block;
    transition: transform 500ms ease;
    line-height: .65;
    padding-top: 5px;
    margin-bottom: 7px;
}

#socials h1 a:hover {
    transform: scaleX(1.25);
    background: #FF6400;
}

article.press-item {
    text-align: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    /*height: 100vh;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

/*#press .panel-contents {*/
/*    padding-top: 0;*/
/*}*/

/*ABOUT*/
/*PRESS*/
}

@media screen and (min-width: 568px) {
/*GLOBALS*/
/*HEADER*/
/*FOOTER*/
/*FRONT PAGE*/
/*ABOUT*/
/*PRESS*/
}

@media screen and (min-width: 768px) {
/*GLOBALS*/
/*HEADER*/
span.by {
    width: 12.3vw;
    display: inline-block;
}
/*FOOTER*/
/*FRONT PAGE*/
/*ABOUT*/
/*PRESS*/
}

@media screen and (min-width: 1024px) {
/*GLOBALS*/
/*HEADER*/
/*FOOTER*/
/*FRONT PAGE*/
/*ABOUT*/
/*PRESS*/
}

@media screen and (min-width: 1024px) {
.shape {
    display: block;
}

}