* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #173328;
    background: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* Yläpalkki */

header {
    background: #123d2c;
    color: white;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 26px;
}

nav {
    display: flex;
    gap: 30px;
}

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

nav a:hover {
    opacity: 0.7;
}

/* Etusivun pääosa */

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #eef6ef;
}

.hero h2 {
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
    max-width: 800px;
    margin-bottom: 25px;
}

.hero p {
    font-size: 21px;
    max-width: 650px;
    margin-bottom: 35px;
}

.button {
    display: inline-block;
    background: #123d2c;
    color: white;
    padding: 14px 26px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Sisältö */

section:not(.hero) {
    padding: 100px 0;
}

section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

#yritys {
    background: #f5f5f5;
}

/* Alapalkki */

footer {
    background: #123d2c;
    color: white;
    padding: 35px 0;
}

/* Puhelimet */

@media (max-width: 700px) {

    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 500px;
    }

    .hero h2 {
        font-size: 42px;
    }
}
