/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* zapobiega chowaniu nagłówków pod menu */

section {
    scroll-margin-top: 120px;
}


/* =========================
   TOP NAVIGATION
========================= */

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
}

.menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 16px 0;
}

.menu li {
    margin: 0 22px;
}

.menu a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    letter-spacing: 0.05em;
}

.menu a:hover {
    text-decoration: underline;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 120px;
}

.hero-logo {
    max-width: 420px;
    width: 80%;
    height: auto;
}


/* =========================
   CONTENT SECTIONS
========================= */

section {
    max-width: 900px;
    margin: auto;
    padding: 120px 30px;
}

h2 {
    font-size: 28px;
    margin-bottom: 35px;
    text-align: left;
    font-weight: 600;
}

p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: left;
}


/* =========================
   ABOUT
========================= */

.about {
    text-align: left;
}


/* =========================
   CONTACT
========================= */

.contact {
    text-align: left;
}

.contact a {
    color: #000;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}


/* =========================
   FOOTER
========================= */

footer {
    max-width: 900px;
    margin: auto;
    padding: 40px 30px;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #555;
    text-align: left;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .menu ul {
        gap: 18px;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-logo {
        max-width: 280px;
    }

    section {
        padding: 80px 25px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

}