/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00695c;
    padding: 20px;
    color: #fff;
}

/* Header Styles */
header .name {
    font-size: 1.5em;
    font-weight: bold;
}

header .nav {
    display: flex;
    gap: 20px;
}

header .nav div {
    cursor: pointer;
    font-size: 1.1em;
}

header .nav div:hover {
    text-decoration: underline;
}

/* Section Styles */
section {
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom: 20px;
}

section h1 {
    font-size: 2em;
    color: #00695c;
    margin-bottom: 20px;
}

section h2 {
    font-size: 1.8em;
    color: #00695c;
    margin-top: 20px;
}

section h3 {
    font-size: 1.5em;
    color: #00695c;
    margin-top: 15px;
}

section p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

/* Masaz Classes */
.masaz {
    margin-bottom: 30px;
    padding: 0 20px;
    background-color: #f1f8e9;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.masaz:hover {
    background-color: #f6fbf0;
}

.masaz h2 {
    font-size: 1.6em;
    color: #00695c;
    user-select: none;
    display: block !important;
}

.masaz h2+* {
    margin-top: -20px !important;
}

.masaz * {
    display: none;
}

.masaz.active * {
    display: block !important;
}

.masaz h2:hover {
    cursor: pointer;
    text-decoration: underline;
}

.masaz h3 {
    margin-bottom: 0;
}

.masaz p {
    font-size: 1.1em;
    margin-top: 0;
    color: #555;
}

/* Mobile Styles */
@media screen and (max-width: 1000px) {
    section {
        padding: 0px 10px;
    }
    .certifikat-obrazek {
        width: 95% !important;
        margin: 2% !important;
        object-fit: contain;
    }
}

header a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

.active .certifikat-obrazky {
    display: flex !important;
    flex-wrap: wrap;
}

.certifikat-obrazek {
    width: 45%;
    margin: 2%;
    object-fit: contain;
}