@import "components/nav.css";
@import "components/footer.css";
@import "sections/hero.css";
@import "sections/vision.css";
@import "sections/features.css";
@import "sections/privacy.css";
@import "sections/faq.css";
@import "variables.css";

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

* {
	margin: 0;
	padding: 0;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img {
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

p {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	transition: 0.3s ease-in-out;
}

a:not(.btn):hover {
	font-weight: 800;
}

button,
.btn {
	border: none;
	padding: var(--btn-padding);
	border-radius: var(--radius);
	display: inline-block;
}

/* UNIVERSAL STYLING */

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
}

main {
	padding-top: var(--nav-height);
}

section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--section-padding);
	scroll-margin-top: var(--nav-height);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 80%);
	background-blend-mode: overlay;
}

section > .container > header {
	max-width: 800px;
	padding-bottom: var(--section-header-padding-bottom);
}

section > .container > header > h2 {
	font-size: clamp(0.8rem, 2.2vw, 1rem);
	font-weight: 800;
	margin-bottom: var(--margin-sm);
	color: var(--color-text-red);
}

section > .container > header > p {
	font-size: clamp(2rem, 3vw, 3.5rem);
	font-weight: 800;
}

.vision > .container > header,
.features > .container > header,
.privacy > .container > header {
	margin: var(--margin-center);
	text-align: center;
}

h1 {
	font-size: var(--font-size-h1);
}
h2 {
	font-size: var(--font-size-h2);
}
h3 {
	font-size: var(--font-size-h3);
}
h4 {
	font-size: var(--font-size-h4);
}
h5 {
	font-size: var(--font-size-h5);
}
h6 {
	font-size: var(--font-size-h6);
}

/* SHARED CLASSES */
.container {
	width: var(--container-width);
	max-width: var(--container-max-width);
	padding: var(--container-padding);
	margin: var(--margin-center);
}

.flex {
	display: flex;
}

.flex-center {
	align-items: center;
	justify-content: center;
}

.grid {
	display: grid;
}

.btn-primary {
	background-color: var(--color-bg-red);
	color: var(--color-text-white);
}

.btn-secondary {
	background-color: var(--color-bg-white);
	color: var(--color-text-red);
	border: 2px solid var(--color-bg-red);
}

.btn-primary,
.btn-secondary {
	display: inline-block;
	font-weight: 700;
}

.card {
	padding: var(--padding-lg);
	border-radius: 0.75rem;
	background-color: var(--color-bg-white);
	flex-direction: column;
	justify-content: space-between;
}

.red {
	color: var(--color-text-red);
}

@media (max-width: 768px) {
	main {
		padding-top: 0;
	}
}
