@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-primary: #007bff;
    --color-secondary: #6c757d;
    --graphite: #373737;
    --background: #fcf6f1;
    --green: #9fbe44;
    --green-dark: #649a18;
}

body {
	font-family: 'Lato', sans-serif;
	margin: 0px;
	padding: 0px;
    background: var(--background);
    font-size: 1.3rem;
}

img {
    max-width: 100%;
    user-select: none;
}

a {
    text-decoration: none;
    color: var(--green);
}

a:hover {
    color: var(--green-dark);
}

/* H1 */
h1 {
    font-size: 3.2rem;
    line-height:3.2rem;
    font-weight: 400;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 4px solid var(--green);
    font-family: 'Lato', sans-serif;
}

h1>div {
    font-weight: 900;
    display: inline-block;
    text-align: center;
}

h1 .dark {
    color: black;
    font-size: 2.25rem !important;
    line-height: 2.25rem !important;
    font-weight: 900 !important; /* Pogrubione */
}

h1 .green {
    color: var(--green);
    font-size: 3rem !important;
    line-height: 3rem !important;
    font-weight: 900 !important; /* Pogrubione */
}

h1 div:last-child {
    font-weight: normal !important; /* Nie pogrubione */
}

.second_header h1>div {
    font-size: 4.8rem;
    line-height:4.8rem;
}

.second_header h1>.dark {
    font-size: 1.25rem !important;
    line-height: 1.25rem !important;
}

.second_header h1>.green {
    font-size: 3rem !important;
    line-height: 3rem !important;
}

/* Mniej niż 900px szerokości ekranu */
@media (max-width: 900px) {
    h1 {
        font-size: 2.7rem;
        line-height:2.7rem;
    }
    h1>div {
        font-size: 2.7rem;
        line-height:2.7rem;
    }
    h1 .dark {
        font-size: 1.9rem !important;
        line-height: 1.9rem !important;
    }
    h1 .green {
        font-size: 2.5rem !important;
        line-height: 2.5rem !important;
    }
    h1 div:last-child {
        font-size: 1.9rem !important;
    }
    .second_header h1>div {
        font-size: 3.2rem;
        line-height:3.2rem;
    }
    .second_header h1>.dark {
        font-size: 0.82rem !important;
        line-height: 0.82rem !important;
    }
    .second_header h1>.green {
        font-size: 2rem !important;
        line-height: 2rem !important;
    }
}

/* H3 */
/* h3 span {
    margin: 0 10px;
    font-size: 2.5rem;
    line-height: 2.5rem;
    color: var(--graphite);
}

h3 div {
    background: var(--green);
    padding: 5px 10px;
    color: white;
    min-width: 100px;
    text-align: center;
} */

.time {
    display: inline-flex;
    background: white;
    border-radius: 5px;
    padding: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.agenda-box {
    background: #ffffff8f;
    box-sizing: border-box;
    margin-right: 1.5rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* NAV */

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;
    padding: 10px 0;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px 2px rgba(0,0,0,.15);
    border-bottom: 1px solid #ccc;
}

nav .logo {
    max-height: 80px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-size: 15px;
    font-family: "Roboto",sans-serif;
}

nav ul li a:hover {
    color: var(--green);
}

.menu {
    margin-bottom: 10px;
}

/* Header */
header {
    margin-top: 100px;
    min-height: 384px;
    background-image: url('../../../../assets/images/bg_light.webp');
    background-position: bottom;    
}

/* FOOTER */
footer .footer {
    background: var(--graphite);
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .footer-background {
    height: 192px;
    background-image: url('../../../../assets/images/bg_green.webp');
    background-position: top;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--green-dark);
}

/* Section */
section {
    padding: 20px 0;
    min-height: calc(100% - 100px - 384px - 192px - 64px);
}

section h2 {
    background-color: var(--green);
    color: white;
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 10px;
    font-family: "Roboto",sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
}

/* Form */

.error {
    display: none;
    color: rgb(143, 6, 6);
}

input[type="text"], input[type="email"], input[type="password"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    border: 1px solid #eee;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: #eee;
    padding-left: 10px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
}

.has-error {
    border-color: rgb(143, 6, 6) !important;
}

.form {
    margin-bottom: 20px;
}

.form-success {
    text-align: center;
    font-size: 2rem;
}

.form-section .subtitle {
    padding-left: 35px;
}

.subtitle {
    font-weight: 300;
    color: #666;
    margin-bottom: 1rem;
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-skk,
.button-group button {
    padding: 10px 20px;
    border: 0;
    border-radius: 5px;
    background-color: var(--green);
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 20px;
    transition: transform 0.2s;
    display: inline-block;
}

.button-skk:hover,
.button-group button:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
    color: white;
}

.soon {
    text-align: center;
    font-size: 2rem;
}

.menu-burger {
    display: none;
}

/* Mobile menu */
/* 991px */
@media (max-width: 991px) {
    .menu-burger {
        display: block;
        cursor: pointer;
        margin-left: 20px;
    }
    .menu-burger div {
        width: 35px;
        height: 5px;
        background: var(--graphite);
        margin: 6px 0;
        transition: 0.4s;
    }
    nav ul {
        display: none;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 0 10px 2px rgba(0,0,0,.15);
        padding: 20px;
        text-align: center;
    }

    nav ul.active li {
        margin: 10px 0;
    }

    nav ul.active li a {
        font-size: 20px;
    }

    nav ul.active li a:hover {
        color: var(--green);
    }
    
}

* {
    
    box-sizing: border-box;
}