/*
Theme Name: Pastushkov
Theme URI: https://pastushkov.com
Description: Custom standalone theme for Michael Pastushkov's music website
Author: Michael Pastushkov
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pastushkov
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	margin: 0;
	padding: 0;
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*, *::before, *::after {
	box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, main, nav, section {
	display: block;
}

audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline;
}

body {
	background-color: #ffffff;
	color: #3a3a3a;
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

html, body {
	overflow-x: hidden;
}

a, a:visited {
	color: #1e73be;
	text-decoration: none;
	background-color: transparent;
}

a:hover, a:focus, a:active {
	color: #000000;
	text-decoration: none;
}

a, button, input {
	transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

ol, ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	margin: 0 0 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 300;
	margin: 0 0 20px;
	line-height: 1.2em;
}

h1, h2 {
	font-size: 40px;
	text-transform: none;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 20px;
	font-weight: 400;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 40px 0;
}

blockquote {
	border-left: 5px solid rgba(0,0,0,.05);
	padding: 20px;
	font-size: 1.2em;
	font-style: italic;
	margin: 0 0 1.5em;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid rgba(0,0,0,.1);
	border-width: 1px 0 0 1px;
	margin: 0 0 1.5em;
	width: 100%;
}

td, th {
	padding: 8px;
	border: 1px solid rgba(0,0,0,.1);
	border-width: 0 1px 1px 0;
	text-align: left;
}

th {
	font-weight: 700;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

button, input, select, textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: 1.5;
	margin: 0;
	vertical-align: baseline;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea, select {
	color: #666666;
	background-color: #fafafa;
	border: 1px solid #cccccc;
	border-radius: 0;
	padding: 10px 15px;
	max-width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus, select:focus {
	color: #666666;
	background-color: #ffffff;
	border-color: #bfbfbf;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid transparent;
	background: #666666;
	color: #ffffff;
	cursor: pointer;
	padding: 10px 20px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #3f3f3f;
	color: #ffffff;
}

textarea {
	overflow: auto;
	vertical-align: top;
	width: 100%;
}

/* ==========================================================================
   Layout & Grid
   ========================================================================== */

.grid-container {
	max-width: 1100px;
	margin: 0 auto;
	width: auto;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
}

.site-content {
	word-wrap: break-word;
}

.content-area {
	float: left;
	width: 100%;
}

/* Clearfix */
.site-header::after,
.site-content::after,
.site-footer::after,
.inside-header::after,
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
	position: relative;
	background-color: transparent;
}

.inside-header {
	padding: 0;
	position: fixed;
	left: 0;
	right: 0;
	padding: 30px;
	z-index: 2;
	text-align: left;
}

.inside-header::after {
	content: "";
	display: table;
	clear: both;
}

/* Site Branding */
.site-branding {
	display: inline-block;
	vertical-align: middle;
}

.site-header .site-branding a {
	font-family: Lato, sans-serif;
	font-weight: 500;
	text-transform: lowercase;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
}

.main-title a,
.main-title a:visited,
.main-title a:hover {
	color: #fff;
}

.nav-float-right .inside-header .site-branding a span {
	font-weight: 200;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

/* Nav Float Right layout - both branding and nav inline, vertically aligned */
.nav-float-right .inside-header .main-navigation {
	display: inline-block;
	float: none;
	vertical-align: middle;
}

.nav-float-right .inside-header .site-branding {
	vertical-align: middle;
}

.main-navigation {
	display: inline-block;
	vertical-align: middle;
	border-left: 1px solid #4f4f4f;
	margin-left: 16px;
}

.main-navigation,
.main-navigation ul ul {
	background: transparent;
}

/* Hide navigation on home page initially (shown via JS on scroll) */
.home .inside-navigation {
	display: none;
}

/* Sticky header state */
.sticky {
	background: #000;
	z-index: 2;
}

.sticky .inside-navigation {
	display: block;
}

.sticky .main-navigation .main-nav ul li .mPS2id-highlight,
.sticky .main-navigation .main-nav ul li .mPS2id-highlight-first {
	color: #637796;
}

/* Navigation Menu */
.main-navigation .main-nav ul li a,
.main-navigation .mobile-bar-items a,
.menu-toggle {
	line-height: 20px;
}

.inside-header .main-navigation .main-nav ul li a {
	font-size: 20px;
	font-family: Roboto, sans-serif;
	letter-spacing: -0.89px;
}

.inside-header .main-navigation .main-nav a:hover,
#home-main-menu .menu a:hover {
	color: #637796;
}

.main-navigation .main-nav ul li > a:hover,
.main-navigation .main-nav ul li > a:focus,
.main-navigation .main-nav ul li.sfHover > a {
	background-color: transparent;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background: transparent;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #fff;
}

.main-navigation .main-nav ul li a {
	padding: 0 20px;
}

.main-navigation .main-nav ul li > a:hover,
.main-navigation .main-nav ul li > a:focus,
.main-navigation .main-nav ul li.sfHover > a {
	background-color: transparent;
	color: #637796;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background: transparent;
}

/* Submenu (dropdown) */
.main-navigation ul ul {
	display: block;
	box-shadow: 0 2px 2px rgba(0,0,0,.1);
	float: left;
	position: absolute;
	left: -99999px;
	opacity: 0;
	z-index: 99999;
	width: 200px;
	text-align: left;
	top: auto;
	transition: opacity 80ms linear;
	pointer-events: none;
	height: 0;
	overflow: hidden;
	background-color: #3f3f3f;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.sfHover > ul {
	left: auto;
	opacity: 1;
	pointer-events: auto;
	height: auto;
	overflow: visible;
}

.main-navigation ul ul li {
	width: 100%;
}

.main-navigation ul ul li a {
	padding: 10px 20px;
	font-size: 14px;
	line-height: normal;
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	text-align: right;
}

button.menu-toggle,
button.menu-toggle:active,
button.menu-toggle:focus,
button.menu-toggle:hover {
	text-align: right;
	background: transparent;
	border: none;
}

.menu-toggle::before {
	content: " ";
	font-family: initial;
	display: inline-block;
	background: url(images/mobile-menu.svg) no-repeat;
	background-size: 28px 28px;
	width: 28px;
	height: 28px;
	vertical-align: middle;
}

.toggled .menu-toggle::before {
	content: " ";
	background: url(images/mobile-menu-close.svg) no-repeat;
	background-size: 28px 28px;
	width: 28px;
	height: 28px;
	vertical-align: middle;
}

span.mobile-menu {
	display: none;
}

/* Toggled menu state - styles now in @media (max-width: 768px) */

/* ==========================================================================
   Content Styles
   ========================================================================== */

.noscroll {
	position: fixed;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.separate-containers .inside-article,
.one-container .inside-article {
	background-color: #ffffff;
	padding: 30px !important;
}

.inside-article {
	margin-top: 87px;
}

/* Entry Header */
.entry-header {
	position: relative;
	text-align: left;
	word-wrap: break-word;
}

.entry-title {
	margin-bottom: 0;
}

/* Entry Meta */
.entry-meta {
	font-size: 14px;
	line-height: 26px;
	font-weight: 300;
	color: #000;
	padding-bottom: 10px;
	display: block;
	margin-top: 5px;
}

.entry-meta::after {
	padding-top: 5px;
	content: "";
	display: block;
	width: 100%;
	border-bottom: 1px solid #d0d0d0;
}

footer.entry-meta {
	display: none;
}

/* Entry Content */
.entry-content,
.entry-summary,
.page-content {
	margin: 2em 0 0;
}

.entry-content {
	font-weight: 550;
	font-size: 16px;
	line-height: 24px;
	color: #000;
	padding-top: 20px;
	padding-bottom: 55px;
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.single-post {
	background: #fff;
}

.single-post .inside-header,
.page-id-120 .inside-header,
.page-id-117 .inside-header,
.page-id-111 .inside-header,
.page-id-94 .inside-header,
.page-id-124 .inside-header {
	background: #000;
	z-index: 9999;
}

.single-post .inside-article {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.single-post .byline {
	display: none;
}

.single-post .entry-title {
	font-family: Roboto, sans-serif;
	font-size: 60px;
	font-weight: 600;
	color: #060606;
	letter-spacing: -1px;
	padding-top: 10px;
}

.single-post .entry-title::after {
	display: none;
}

.single-post .entry-content {
	margin: 20px 0;
	text-align: left;
}

.single-post .entry-content .wp-block-image {
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Blog/Archive Styles
   ========================================================================== */

.post {
	margin: 0 0 2em;
}

.post-excerpt {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #000;
	padding-top: 20px;
	padding-bottom: 55px;
}

.post-date {
	font-size: 14px;
	line-height: 26px;
	font-weight: 300;
	color: #000;
	padding-bottom: 30px;
	display: inline-block;
}

.post-date::after {
	padding-top: 5px;
	content: "";
	display: block;
	width: 100%;
	border-bottom: 1px solid #d0d0d0;
}

/* Recent Posts (Home) */
.home .recent-posts {
	display: flex;
	align-items: center;
	justify-content: center;
}

.recent-posts {
	text-align: left;
}

.home .recent-post {
	font-family: Roboto, sans-serif;
	padding-right: 50px;
}

.recent-post:last-child {
	padding-right: 0;
}

.recent-post a {
	font-weight: 500;
	color: #637796;
	font-size: 22px;
	line-height: 26px;
	display: block;
}

.recent-post .read-more {
	display: none;
}

.blog-link {
	text-decoration: underline;
	font-family: Roboto, sans-serif;
	font-size: 18px;
	color: #637796;
}

/* ==========================================================================
   Hero Section Menu (Home Page)
   ========================================================================== */

#home-main-menu .menu {
	margin: 0;
	list-style: none;
	font-family: Roboto, sans-serif;
}

#home-main-menu .menu a {
	color: #fff;
	font-weight: 700;
	text-transform: lowercase;
	line-height: 1em;
}

#home-main-menu .menu a:hover {
	color: #637796;
}

#home-main-menu .menu li:first-child a {
	font-size: 130px;
	letter-spacing: -7px;
}

#home-main-menu .menu li:nth-child(2) {
	position: relative;
	top: -35px;
	margin-left: 33%;
	padding-left: 10px;
}

#home-main-menu .menu li:nth-child(2) a {
	font-size: 90px;
	letter-spacing: -4px;
}

#home-main-menu .menu li:nth-child(3) {
	position: relative;
	top: -60px;
	margin-left: 55%;
}

#home-main-menu .menu li:nth-child(3) a {
	font-size: 60px;
	letter-spacing: -4px;
}

/* ==========================================================================
   Music Section
   ========================================================================== */

#music-section .elementor-image {
	position: relative;
}

#music-section .wp-caption-text {
	color: #ffffff;
	font-size: 30px;
	font-family: "Roboto", Sans-serif;
	font-weight: 300;
	line-height: 35px;
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	left: 0;
	right: 0;
	padding: 0;
	transition: 0.4s;
}

#music-section .wp-caption:hover .wp-caption-text {
	opacity: 0;
	z-index: -1;
}

/* ==========================================================================
   SoundCloud Player
   ========================================================================== */

#soundcloud-wrapper {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 9999;
}

#soundcloud {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 9999;
}

#listen-all {
	position: absolute;
	right: 30px;
	top: 170px;
}

#listen-all a {
	text-decoration: underline;
}

/* Loading Spinner */
.spinner {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translate(0, -50%);
}

.spinner > div {
	width: 18px;
	height: 18px;
	background-color: #fff;
	border-radius: 100%;
	display: inline-block;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
	0%, 80%, 100% {
		transform: scale(0);
	}
	40% {
		transform: scale(1.0);
	}
}

/* ==========================================================================
   Social Icons
   ========================================================================== */

#social {
	text-align: center;
}

#social .elementor-widget-icon {
	display: inline-block;
	padding-right: 20px;
}

#social .elementor-widget-icon:last-child {
	padding-right: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	display: none;
}

.site-info {
	color: #ffffff;
	background-color: #222222;
	padding: 20px;
	text-align: center;
	font-size: 15px;
}

.site-info a,
.site-info a:visited {
	color: #ffffff;
}

.site-info a:hover {
	color: #606060;
}

/* Footer Widgets */
.footer-widgets {
	background-color: #ffffff;
	padding: 40px;
}

.footer-widgets .widget-title {
	color: #000000;
	margin-bottom: 30px;
	line-height: 1.5;
}

.inside-footer-widgets .inner-padding {
	padding: 0 40px;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
	margin: 0 0 30px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	margin-bottom: 30px;
	line-height: 1.5;
	font-size: 20px;
	font-weight: 400;
}

.sidebar .widget {
	background-color: #ffffff;
	padding: 40px;
	font-size: 17px;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
	position: relative;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

.wp-caption .wp-caption-text {
	font-size: 75%;
	padding-top: 5px;
	opacity: 0.8;
}

.wp-caption img {
	position: relative;
	vertical-align: bottom;
}

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }

.gallery-icon {
	padding: 5px;
}

.gallery-caption {
	display: block;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.screen-reader-text:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	display: block;
	font-size: 1em;
	font-weight: 700;
	padding: 15px 23px 14px;
	color: #333;
	background: #fff;
	z-index: 100000;
	text-decoration: none;
	box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	z-index: 100000;
	background: #f1f1f1;
	padding: 15px;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comment, .comment-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.comment-author-info {
	display: inline-block;
	vertical-align: middle;
}

.comment-meta .avatar {
	float: left;
	margin-right: 10px;
	border-radius: 50%;
}

.comment-author cite {
	font-style: normal;
	font-weight: 700;
}

.comment-content {
	margin-top: 1.5em;
	padding: 30px;
	border: 1px solid rgba(0,0,0,.05);
}

.comment-body {
	padding: 30px 0;
}

.comment .children {
	padding-left: 30px;
	margin-top: -30px;
	border-left: 1px solid rgba(0,0,0,.05);
}

.comment-form input,
.comment-form-comment {
	margin-bottom: 10px;
}

/* ==========================================================================
   Navigation (Pagination)
   ========================================================================== */

.site-main .post-navigation,
.site-main .posts-navigation,
.site-main .comment-navigation {
	margin: 0 0 2em;
	overflow: hidden;
}

.paging-navigation::after {
	content: "";
	display: table;
	clear: both;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1120px) {
	#music-section .wp-caption {
		margin: 15px;
	}
}

@media (max-width: 1024px) {
	.single-post .inside-article {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
}

@media (max-width: 992px) {
	.elementor-5 .elementor-element.elementor-element-n2vvebv .elementor-widget-container {
		margin: 0 0 0 3% !important;
	}

	.home .recent-posts {
		flex-wrap: wrap;
	}

	.home .recent-post {
		padding-right: 0;
	}

	#home-main-menu .menu li:nth-child(3) {
		margin-left: 45%;
	}

	#home-main-menu .menu li:nth-child(2) {
		margin-left: 7%;
	}
}

@media (max-width: 768px) {
	.main-title {
		font-size: 30px;
	}

	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 25px;
	}

	.single-post .inside-article {
		margin-top: 20px;
		padding: 5px 15px !important;
	}

	.single-post .entry-title {
		font-size: 32px;
		padding-top: 15px;
	}

	.separate-containers .inside-article,
	.one-container .site-content,
	.inside-page-header {
		padding: 30px;
	}

	/* Mobile Navigation */
	.inside-header {
		background: #000;
		z-index: 4;
		padding: 25px 30px;
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.site-branding {
		z-index: 3;
	}

	.main-navigation {
		border: 0;
		margin-left: 0;
		position: absolute;
		right: 30px;
		top: 50%;
		transform: translateY(-50%);
	}

	.main-navigation .menu-toggle {
		display: inline-block !important;
		padding: 0;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.menu-toggle::before {
		display: inline-block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.inside-navigation {
		position: static;
	}

	/* Hide menu by default on mobile, show only hamburger */
	.main-navigation ul {
		display: none;
	}

	#home-main-menu .menu {
		display: none;
	}

	.home .inside-navigation,
	.inside-navigation {
		display: block !important;
	}

	/* TOGGLED STATE - full screen menu overlay */
	.main-navigation.toggled {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		z-index: 9999 !important;
		background: #000 !important;
		transform: none !important;
	}

	.main-navigation.toggled .inside-navigation {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: #000 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
	}

	.main-navigation.toggled .main-nav {
		width: 100% !important;
		background: #000 !important;
	}

	.main-navigation.toggled ul,
	.main-navigation.toggled .main-nav ul,
	.main-navigation.toggled ul.menu,
	.main-navigation.toggled ul.sf-menu {
		display: block !important;
		position: static !important;
		transform: none !important;
		width: 100% !important;
		background: #000 !important;
	}

	.main-navigation.toggled li {
		float: none !important;
		display: block !important;
		text-align: center !important;
		padding: 15px 0 !important;
		width: 100% !important;
		background: #000 !important;
	}

	.main-navigation.toggled li a {
		color: #fff !important;
		font-size: 24px !important;
	}

	.main-navigation.toggled .menu-toggle {
		position: fixed !important;
		top: 25px !important;
		right: 30px !important;
		z-index: 10000 !important;
	}

	/* Show branding when menu is toggled */
	body.noscroll .site-branding {
		position: fixed !important;
		top: 25px !important;
		left: 30px !important;
		z-index: 10000 !important;
	}

	body.noscroll .site-branding a {
		color: #fff !important;
	}
}

@media (max-width: 400px) {
	#music-inner h2,
	#contact h2,
	#blog-title h2,
	#music-section h2 {
		font-size: 40px;
	}

	#music-inner h2 {
		letter-spacing: -2.38px;
	}
}
