/*
Theme Name: Banana's Palace
Description: Custom theme for fhexperts.com (Fletcher's first website). Reproduces the Astra + Elementor design without either.
Author: Infinite Web Consulting
Version: 1.0.0
Requires PHP: 7.4
Text Domain: fh-modern
*/

:root {
	--sky: #6ec1e4;
	--grey: #7a7a7a;
	--ink: #3a3a3a;
	--text: #4b4f58;
	--link: #0170b9;
	--red: #e02020;
	--font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--font-roboto: "Roboto", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/1.8571 var(--font-sys); }
img, video { max-width: 100%; height: auto; }
a { color: var(--link); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; padding: 10px 16px; background: #fff; color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fh-wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 20px; }
.fh-boxed { width: min(1140px, 100%); margin: 0 auto; }

/* ---------- Header (Astra's default header) ---------- */
.fh-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #eaeaea; }
.fh-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.fh-title { margin: 0; font: 400 35px/1.2 var(--font-sys); }
.fh-title a { color: #222; text-decoration: none; }
.fh-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.fh-menu a { display: block; padding: 0 15px; color: var(--link); line-height: 70px; text-decoration: none; }
.fh-menu a:hover { color: var(--ink); }
.fh-toggle { display: none; padding: 8px 12px; border: 0; border-radius: 2px; background: var(--link); color: #fff; cursor: pointer; }
.fh-toggle svg { display: block; width: 20px; height: 20px; }

/* ---------- Homepage ---------- */
.fh-hero { display: flex; align-items: center; background: #fff; }
.fh-hero-img { flex: 0 0 50%; }
.fh-hero-img img { display: block; width: 100%; }
.fh-hero-text { flex: 0 0 50%; padding: 50px 0; }
.fh-hero-text > div { width: min(500px, 100%); margin: 0 auto; }
.fh-hero h1 { margin: 0 0 20px; color: var(--sky); font: 600 40px/1.2 var(--font-roboto); }
.fh-hero p { margin: 0 0 24px; color: var(--grey); font: 400 15px/1.8571 var(--font-roboto); }
.fh-video .fh-boxed { padding: 10px; }
.fh-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Wallpapers ---------- */
.fh-walls { padding-top: 1px; }
.fh-walls h1 { margin: 0; padding: 10px; color: var(--sky); font: 600 30px/1.3 var(--font-roboto); }
.fh-wall-grid { display: grid; grid-template-columns: 1fr 1fr; }
.fh-wall { padding: 10px; text-align: center; }
.fh-wall img { display: block; height: 250px; width: auto; margin: 0 auto 20px; }
.fh-btn { display: inline-block; padding: 12px 24px; border-radius: 3px; background: var(--red); color: #fff; font: 500 15px/1 var(--font-roboto); text-decoration: none; transition: background 0.2s; }
.fh-btn:hover, .fh-btn:focus { background: #950606; color: #fff; animation: fh-pulse 1s infinite linear; }
@keyframes fh-pulse { 25% { transform: scale(1.1); } 75% { transform: scale(0.9); } }

/* ---------- 404 ---------- */
.fh-404 { display: flex; flex-direction: column; justify-content: center; min-height: 90vh; margin: 0; padding: 10px 0; border: 50px solid #fff; border-bottom: 0; background: #fbfbfb; text-align: center; }
.fh-404-digits { display: flex; align-items: flex-end; width: min(1140px, 100%); min-height: 450px; margin: 0 auto 10px; padding: 0 0 10px; }
.fh-404-digits span { flex: 1; font: 600 500px/0.7 "Montserrat", var(--font-sys); }
.fh-404-msg { margin: 81px 0 0; color: var(--ink); font: 500 24px/1.2 "Montserrat", var(--font-sys); text-transform: capitalize; }
.fh-404-msg a { margin-left: 10px; color: var(--ink); }

/* Ordinary pages and posts */
.fh-page { padding: 40px 0 60px; }
.fh-page h1 { color: var(--sky); font: 600 30px/1.3 var(--font-roboto); }

/* ---------- Footer (Astra's small footer) ---------- */
.fh-footer { padding: 26px 0; background: #eee; text-align: center; }
.fh-footer p { margin: 0; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
	.fh-hero-text { padding: 50px 40px; }
	.fh-404-digits span { font-size: 300px; }
	.fh-404-digits { min-height: 270px; }
	.fh-404-msg { font-size: 27px; }
}
@media (max-width: 921px) {
	.fh-title { font-size: 30px; }
	.fh-toggle { display: block; }
	.fh-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eaeaea; }
	.fh-header.is-open .fh-nav { display: block; }
	.fh-menu { flex-direction: column; }
	.fh-menu a { padding: 0 20px; line-height: 50px; border-top: 1px solid #eaeaea; }
}
@media (max-width: 767px) {
	.fh-hero { flex-direction: column; }
	.fh-hero-img, .fh-hero-text { flex: none; width: 100%; }
	.fh-hero-text { padding: 50px 25px; }
	.fh-wall-grid { grid-template-columns: 1fr; }
	.fh-404 { border-width: 20px; }
	.fh-404-digits { min-height: 135px; }
	.fh-404-digits span { font-size: 145px; }
	.fh-404-msg { font-size: 20px; }
}
