/*
Theme Name: Bobo Ono
Theme URI: https://bobo-ono.local
Author: Bobo Ono
Description: Theme one-page classique pour le site officiel de Bobo Ono.
Version: 1.0.0
Text Domain: bobo-ono
*/

:root {
	--bg: #0e0d0d;
	--ink: #ffffff;
	--cream: #fffcde;
	--muted: rgba(255, 255, 255, 0.78);
	--line: rgba(255, 255, 255, 0.2);
	--max: 980px;
	--title-font: "DIN Condensed", "Barlow Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--bg);
	color: var(--ink);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	color: var(--cream);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--ink);
}

.container {
	width: 95%;
	max-width: var(--max);
	margin: 0 auto;
}

nav {
	background-color: var(--bg);
	box-shadow: none;
}

.navbar-fixed {
	margin-bottom: 8px;
}

.nav-inner-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 95%;
	max-width: var(--max);
	height: 64px;
	margin: 0 auto;
}

nav .brand-logo {
	padding-top: 10px;
	padding-left: 15px;
}

nav img.brand-logo {
	width: 100px;
	height: auto;
	object-fit: contain;
}

ul.topmenu {
	display: flex;
	align-items: center;
	height: 64px;
	margin: 0;
	padding: 0;
	float: none;
}

nav ul a {
	display: flex;
	align-items: center;
	padding: 0 15px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	height: 64px;
	line-height: 1;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

nav ul a:hover,
nav ul a:focus-visible {
	color: var(--cream);
}

.topmenu-extra {
	display: flex;
	align-items: center;
	margin-left: 10px;
	color: var(--ink);
	height: 64px;
	line-height: 64px;
	float: none;
}

.socialtop {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	gap: 8px;
}

.socialtop a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 64px;
	line-height: 64px;
	padding: 0;
	vertical-align: middle;
}

.socialtop a:link,
.socialtop a:visited {
	color: var(--ink);
	transition: color 0.3s ease;
}

.socialtop a:hover,
.socialtop a:focus-visible {
	color: var(--cream);
}

nav .nav-wrapper .socialtop a i,
nav .nav-wrapper .socialtop a i.fa-brands,
nav .nav-wrapper .socialtop a i.fab {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	line-height: 18px !important;
	text-align: center !important;
	transform: translate(-50%, -50%) !important;
}

.socialtop a svg.svg-inline--fa {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	transform: translate(-50%, -50%) !important;
}

a.sidenav-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	color: var(--ink) !important;
}

.sidenav {
	width: 100%;
	max-width: 320px;
	background-color: #010101;
}

.sidenav li > a {
	height: 36px;
	padding: 0;
	color: var(--ink);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 36px;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.sidenav li > a:hover,
.sidenav li > a:focus-visible {
	background-color: transparent;
	color: var(--cream);
}

a.sidenav-close {
	padding-left: 16px;
	color: var(--ink);
}

.sidenav-logo {
	padding: 8px 0 28px 58px;
}

.sidenav-logo a {
	display: inline-flex;
	align-items: center;
	height: auto;
	padding: 0;
}

.sidenav-logo a:hover,
.sidenav-logo a:focus-visible {
	background-color: transparent;
}

.sidenav-logo img {
	width: 138px;
	height: auto;
}

ul.sidenav-close {
	margin: 22px 0 0;
	padding-left: 58px;
}

.social-side {
	padding-left: 58px;
	margin-top: 24px;
}

ul.social-sidemenu {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding-left: 0;
	line-height: 1;
}

ul.social-sidemenu li {
	display: inline-block;
	line-height: 1;
}

ul.social-sidemenu li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 30px;
	padding: 0;
	color: var(--ink) !important;
	line-height: 1;
}

ul.social-sidemenu li > a:hover,
ul.social-sidemenu li > a:focus-visible {
	background-color: transparent;
	color: var(--cream);
}

ul.social-sidemenu li > a i,
ul.social-sidemenu li > a svg.svg-inline--fa {
	display: block;
	width: 26px;
	height: 26px;
	color: var(--ink);
	font-size: 26px;
	opacity: 1;
}

.home-cover {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 800px;
	margin-top: 64px;
	overflow: hidden;
}

.home-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 49% 17%;
}

.home-cover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(14, 13, 13, 0.4);
}

@media (min-width: 721px) and (max-width: 1180px) {
	.home-cover {
		aspect-ratio: 16 / 9;
		min-height: auto;
	}
}

.home-content {
	padding: 62px 0 0;
	text-align: center;
}

.home-content section {
	scroll-margin-top: 88px;
}

h1,
h2,
h3 {
	margin: 0 0 22px;
	color: var(--ink);
	font-family: var(--title-font);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
}

h2 {
	font-size: clamp(2.8rem, 7vw, 5.8rem);
}

p {
	margin: 0 auto 1.2em;
	max-width: 760px;
	color: var(--muted);
	font-size: 1rem;
}

.feature-image {
	width: min(600px, 100%);
	margin: 30px auto 0;
}

.music-cover-link {
	position: relative;
	display: block;
	color: var(--ink);
}

.music-cover-block a {
	position: relative;
	display: block;
	color: var(--ink);
}

.feature-image img {
	width: 100%;
}

.music-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.68);
	color: var(--ink);
	transform: translate(-50%, -50%);
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.music-play-button .material-icons {
	font-size: 46px;
	line-height: 1;
	transform: translateX(3px);
}

.music-cover-link:hover .music-play-button,
.music-cover-link:focus-visible .music-play-button {
	background: rgba(0, 0, 0, 0.95);
	transform: translate(-50%, -50%) scale(1.06);
}

.music-cover-block a::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
	content: "";
	transform: translate(-50%, -50%);
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.music-cover-block a::after {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 24px solid #0e0d0d;
	content: "";
	transform: translate(calc(-50% + 4px), -50%);
}

.music-cover-block a:hover::before,
.music-cover-block a:focus-visible::before {
	background: #ffffff;
	transform: translate(-50%, -50%) scale(1.08);
}

.video-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(760px, 100%);
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border: 1px solid var(--line);
	background: #050505;
}

.video-placeholder p {
	margin: 0;
	color: var(--muted);
}

.wp-block-embed-youtube {
	width: min(760px, 100%);
	margin: 0 auto 50px;
}

.wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.section-spacer {
	height: 100px;
}

.section-spacer-small {
	height: 50px;
}

.bottom-logo {
	width: min(640px, 100%);
	margin: 0 auto;
}

.logos-strip {
	width: min(980px, 100%);
	margin: 0 auto 46px;
}

.logos-strip img {
	width: 100%;
	height: auto;
}

.site-footer {
	padding: 42px 0 34px;
	color: var(--muted);
	text-align: center;
}

.footer-credit p {
	margin-bottom: 0.4em;
	font-size: 0.85rem;
}

.page-content {
	width: min(var(--max), 95%);
	margin: 0 auto;
	padding: 70px 0;
	color: var(--muted);
}

.page-content > * {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.page-shell {
	min-height: 72svh;
	padding-top: 120px;
}

@media (min-width: 450px) {
	nav img.brand-logo {
		width: 150px;
	}
}

@media (min-width: 680px) {
	nav img.brand-logo {
		width: 150px;
		margin-top: 2px;
	}
}

@media (max-width: 720px) {
	nav .brand-logo {
		top: 50%;
		left: 16px;
		height: auto;
		padding-top: 0;
		transform: translateY(-50%);
	}

	nav img.brand-logo {
		display: block;
		width: 128px;
		height: auto;
		max-height: 38px;
		object-fit: contain;
	}


	.home-cover {
		min-height: auto;
		margin-top: 56px;
	}

	.home-cover img {
		position: relative;
		inset: auto;
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.home-cover-overlay {
		display: none;
	}

	.home-content {
		padding-top: 48px;
	}

	.section-spacer {
		height: 76px;
	}
}

@media (max-width: 420px) {
	h2 {
		font-size: 2rem;
	}
}
