/*
Theme Name: Hello CTA
Theme URI: https://cta-agency.com
Author: Yzoja
Author URI: http://yzoja.pro
Version: 0.1.2026
*/

:root {
	--navy: #0707b2;
	--white: #fff;
	--black: #000;
	--daisy: #ffef87;

	--bg: var(--black);

	--mainFont: 'Segoe UI', 'Helvetica';
	--accentFont: 'bd-supper';
	--monoFont: 'monotalic';
	--funFont: 'comba';

	/* sizes */

	--em: 20px;
	--gap: 40px;

	--spacing: 10vh;

	--container: 1500px;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	background: hotpink;
}

body {
	background: linear-gradient(to bottom, black, var(--navy));
	min-height: 200vh;
	font-family: var(--mainFont);
	font-size: var(--em);
	color: var(--white);
}

/* basics */

h1, h2 {
	font-family: var(--monoFont);
	line-height: 1.2em;
}

mark, .accent-font {
	font-family: var(--accentFont);
}

.fun {
	font-family: var(--funFont);
	font-weight: 700;
}

img, svg {
	max-width: 100%;
	height: auto;
}

/* layout */

.container {
	max-width: var(--container);
	width: 100%;
	margin-inline: auto;
}

.-txt-r {
	text-align: right;
}

.-uc {
	text-transform: uppercase;
}

/* header */

header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0);
	left: 0;
	width: 100%;
	z-index: 99;
}

header:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 200%;
	width: 100%;
	background: url('assets/wave-top.svg') no-repeat bottom right;	
}

/* hello */

section {
	position: relative;
	z-index: 1;
}

#hello {
	background: var(--navy);
	text-align: center;
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	color: var(--daisy);
	padding-block: var(--spacing) 20vw;
}

#hello + .section-wave {
	margin-top: -20vw;
}

.inner {
	padding-block: var(--spacing);
}

#hello .inner {
	flex-grow: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.section-wave {
	color: var(--next, #000);
	margin-top: auto;
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: -2px;
	width: 100%;
}

/* brands */

#brands {
	background: var(--black);
	padding-block: var(--spacing);
}

#brands .container {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-gap: var(--gap);
}

#brands .marquee {
	border-radius: 50px;
	background: var(--white);
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg);
}

#brands h2 {
	font-size: min(50px, 3vw);
}