﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #222;

    background-image:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
        url("../images/backgrounds/harlu.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* HEADER */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 1.5rem;

    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    opacity: 0.7;
}

/* HERO TEXT */

.hero-text {
    margin: auto;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
}

.hero-text p {
    max-width: 40rem;
    margin: auto;
    font-size: 1.2rem;
}

/* CONTENT */

.content {
    max-width: 800px;

    margin: 4rem auto;
    padding: 2rem;

    background: rgba(255,255,255,0.9);

    border-radius: 12px;
}

/* FOOTER */

footer {
    text-align: center;
    color: white;

    padding: 2rem;
}

/* MOBILE */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

}