@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500&display=swap');

:root {
    /* Színek */
    --primary-color: #dcfb8a;
    --color-secondary: #a8e4a7;
    --color-accent: #7bb972;
    --background-color: #f7fff0;
    --background-color-second: #edfbe4;
    --button-color: #c2f76a;
    --complementary-color: #e6c7f5;
    /*Text*/
    --text-color: #1e1e1e;
    --text-color-light: #555555;
    --text-color-muted: #888888;
    --text-on-primary: #1a1a1a;
    --link-color: #6a9f4f;
    --link-hover-color: #3e7531;
    /* Tipográfia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    /*Footer*/
    --footer-bg: #1e1e1e;
    --footer-text: #dddddd;
    --footer-muted: #999999;
    --footer-hover: var(--primary-color);
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
    /*overflow-x: hidden;*/
}

* {
    box-sizing: border-box;
    /*-webkit-font-smoothing: antialiased;*/
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    font-family: var(--font-body);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-top: 0;
}


a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: var(--link-hover-color);
    }


button {
    background-color: var(--button-color);
    color: var(--text-on-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: var(--color-accent);
    }

img {
    display: block;
}
