/*!
Theme Name: Nakasawa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: nakasawa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Nakasawa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/* Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
	scroll-behavior: smooth;
    font-size: 14px
}
body {
	background: #0A0E18;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    overflow-x: hidden
}

:root {
      --red: #C8312A;
      --coral: #D4453A;
      --navy: #0A0E18;
      --deep: #10182A;
      --slate: #1A2A40;
      --steel: #243548;
      --mist: #3D607E;
      --dusty: #7A9AB5;
      --fahr: #E07B1A;
      --terra: #7A3535;
      --white: #fff;
      --bebas: 'Bebas Neue', sans-serif;
      --cond: 'Barlow Condensed', sans-serif;
      --mono: 'DM Mono', monospace;
      --body: 'Barlow', sans-serif;
}

/* Main-title */
.h2 {
    font-family: var(--cond);
    font-size: clamp(20px, 2.8vw, 38px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 18px;
}
.h3 {
	font-family: var(--cond);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #fff;
    margin-bottom: 10px
}

/* small subtitle */
.eyebrow {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
	margin-bottom: 12px;
	display: block
}
.eyebrow.red {
	color: var(--red)
}
.eyebrow.blue {
	color: var(--dusty)
}
.eyebrow.fahr {
	color: var(--fahr)
}
.eyebrow.terra {
	color: rgba(220, 160, 140, .8)
}


/* Para css */
p {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.82;
	color: rgba(255, 255, 255, .58)
}
p.light {
	color: rgba(255, 255, 255, .72)
}
p {
	margin-bottom: 14px
}
p:last-child {
	margin-bottom: 0
}


/* menu hover css */

.main-menu li a {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
	transition: color .3s ease;
}
.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 12px;
    right: 12px;
    height: 1px;
    background: #C8312A !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.main-menu li a:hover::after {
    transform: scaleX(1);
}
.main-menu li a:hover {
    color: #fff;
}

/* main page title animation css */
.entry-header .entry-title {
    position: absolute;
    top: 140px;
    left: 48px;
    z-index: 20;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: white;
    background: var(--red);
    padding: 5px 14px;
}
.page-id-14 .entry-header .entry-title {
    background: var(--mist);;
}
.entry-header .entry-title {
    animation: pill-pulse 3s ease-in-out infinite;
}
@keyframes pill-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(200,49,42,0); }
    50%      { box-shadow: 0 0 0 6px rgba(200,49,42,.15); }
}