

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 95%;
    margin: 0 auto;
    max-width: 1400px;
}

/* Header */
header {
    background-image: url('marmoriert.jpg'); /* Dein Bild als Hintergrund */
    background-size: cover; /* Das Bild wird so skaliert, dass es den gesamten Header abdeckt */
    background-repeat: no-repeat; /* Verhindert, dass das Bild wiederholt wird */
    background-position: center; /* Positioniert das Bild zentriert im Header */
    color: #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}


.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header-logo {
  width: 120px; /* Festgelegte Breite für das Logo */
    height: auto; /* Automatische Höhenanpassung zur Beibehaltung des Seitenverhältnisses */
}

header h1 {
    font-size: 2.5rem;
    color: #67b0a1;
    text-align: center; /* Überschrift bleibt immer zentriert */
    font-family: 'Georgia', serif; /* Spezifische Schriftart */
}

/* Navigation */
nav {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center; /* Zentriert das Menü unter der Überschrift */
    margin-top: 20px;
}

nav ul {
    list-style-type: none;
    display: none; /* Standardmäßig unsichtbar */
    flex-direction: column;
    align-items: center; /* Zentriert die Menü-Items */
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/* Aktive Seite und Hover */
nav ul li a.active,
nav ul li a:hover {
    background-color: #67b0a1; /* farbe des logos */
    color: white;
    border-bottom: 2px solid #fff;
}

/* Hamburger-Menü */
.hamburger {
    display: none; /* Standardmäßig ausgeblendet bei großen Bildschirmen */
    font-size: 30px;
    cursor: pointer;
    z-index: 11; /* Sicherstellen, dass das Menü über anderen Elementen liegt */
}

/* Für mobile Geräte */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    #nav-links {
        display: none;
        position: absolute;
        top: 70px; /* Unter der Überschrift */
        left: 50%;
        transform: translateX(-50%); /* Zentriert das Menü horizontal */
        background-color: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        width: 200px; /* Breite des Menüs */
        z-index: 10; /* Sicherstellen, dass das Menü über anderen Elementen liegt */
    }

    #nav-links.active {
        display: flex; /* Menü anzeigen, wenn aktiv */
    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2rem; /* Kleinere Schriftgröße auf mobilen Geräten */
    }

    .logo {
        height: 70px; /* Etwas kleiner auf mobilen Geräten */
    }
}

/* Für größere Bildschirme */
@media (min-width: 768px) {
    .hamburger {
        display: none; /* Hamburger-Menü wird bei großen Bildschirmen ausgeblendet */
    }

    #nav-links {
        display: flex; /* Normale Navigationsleiste bei größeren Viewports */
        flex-direction: row;
        justify-content: flex-end;
    }

    nav ul {
        display: flex; /* Navigation sichtbar bei großen Bildschirmen */
    }

    header h1 {
        font-size: 3rem; /* Größere Schriftgröße auf großen Bildschirmen */
    }
}

/* Dropdown-Inhalt (zunächst versteckt) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #67b0a1;
    min-width: 160px;
    z-index: 1;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #559b8e;
}

/* Zeige Dropdown beim Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover a {
    background-color: #559b8e;
}



/* Main Section */
main .intro {
    text-align: left;
    padding: 40px 20px;
    background-color: #f8f4eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 50px; /* Mehr Abstand zum Footer */
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;

}


/* Zentrierte h2-Überschrift */
main .intro h2 {
    text-align: center; /* Überschrift oben mittig */
    margin-top: 0; /* Kein zusätzlicher Abstand nach oben */
}

/* Stellt sicher, dass alle Absätze gleich anfangen */
main .intro p {
    margin-left: 0; /* Kein zusätzlicher linker Rand */
    text-indent: 0; /* Keine Einrückung der ersten Zeile */
    padding-left: 15px;
    padding-right: 15px;
}



/* Styling für Absätze */
main p {
    line-height: 1.6; /* Zeilenabstand */
    margin-bottom: 15px; /* Abstand zwischen den Absätzen */
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Abstand zum Button */
}

.float-image {
    float: left;
    margin: 0 20px 20px 0; /* Abstände anpassen: mehr Platz zwischen Bild und Text */
    width: 25%; /* Breite des Bildes etwas kleiner machen für besseren Textfluss */
    max-width: 400px; /* Maximalbreite, um das Bild zu begrenzen */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten für das Bild */
}



/* Responsive Anpassungen */
@media (max-width: 768px) {
    main {
        width: 95%;
    }

    /* Bild kleiner darstellen auf kleinen Viewports */
    .float-image {
        float: none;
        width: 70%; /* Bild nimmt 70% der Breite ein */
        display: block;
        margin: 20px auto; /* Zentriert das Bild */
    }


    .intro h2 {
        font-size: 1.8rem;
    }

    .intro p {
        font-size: 1rem; /* Kleinere Schriftgröße für mobile Geräte */
    }
}

main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

main p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #67b0a1; /* logo farbe */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #32c5b8;
}

/* Bild rechts mit Textumfluss */
.profile-image-right {
    float: right; /* Bild rechts platzieren */
    margin-left: 20px; /* Abstand zum linken Text */
    margin-bottom: 20px; /* Abstand unter dem Bild */
    width: 200px; /* Feste Breite für das Bild */
    height: auto; /* Bewahrt das Seitenverhältnis */
    border-radius: 50%; /* Optional: Rundes Bild */
}

.centered-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bilder unterhalb des Textes nebeneinander */
.treatment-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.treatment-images h3 {
  color: #67b0a1;
}

.treatment-images a {
    display: block;
    flex: 1 1 20%; /* Bilder haben eine Breite von 20% und sind flexibel */
    margin: 0 10px;
    text-align: center;
}

.treatment-images img {
    width: 100%;
    max-width: 200px; /* Maximalgröße der Bilder */
    border-radius: 50%; /* Macht die Bilder rund */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px; /* Feste Höhe für quadratische Bilder */
    object-fit: cover; /* Stellt sicher, dass das Bild die Form ausfüllt, ohne verzerrt zu werden */
}

/* Hover-Effekt für das Bild */
.treatment-images img:hover {
    transform: scale(1.1); /* Vergrößerung bei Hover */
    box-shadow: 0 8px 16px rgba(0, 128, 128, 0.6); /* Schattierung mit glühendem Effekt */
}

/* Optisch passende Liste der Behandlungspunkte */
.treatment-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.treatment-list li {
    background-color: #67b0a1;
    color: white;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-list li:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 128, 128, 0.6);
}

.treatment-list li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.treatment-list li:hover a {
    color: #fff; /* Optional: Farbe beibehalten oder leicht ändern */
}

/* Zentrierte H1-Überschrift */
.intro h1 {
    font-size: 2.5rem;
    color: #67b0a1;
    text-align: center;
    margin-bottom: 20px;
}

.start-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    box-shadow: 10px 10px 10px 10px #67b0a1;
    border-radius: 10%;

}

/* Rahmen um den Textbereich */
.framed-text {
    border: 2px solid #67b0a1;
    padding: 20px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.framed-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
    margin-bottom: 20px;

}

/* Container für Bilder und Text */
.image-text-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Abstand zwischen den Bildern und Texten */
}

/* Stil für Bild-Text-Abschnitt */
.image-text-block {
    display: flex;
    align-items: center;
    gap: 20px; /* Abstand zwischen Bild und Text */
}

.kinesio-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kinesio-text {
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.kinesio-text h2 {
    font-size: 1.8rem;
    color: #67b0a1;
}

.kinesio-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .image-text-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .kinesio-image {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .kinesio-text {
        width: 100%;
        padding-left: 15px;
    }
}

/* Preisliste Box */
.price-list-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
}


.price-item {
    background-color: #67b0a1;
    color: white;
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.price-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 128, 128, 0.6);
}

.price-item h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff !important;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-item p {
    font-size: 1rem;
    margin: 5px 0;
    color: white;
}

/* Service Block Styles */
.service-block {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    margin-top: 0;
}

.service-block .price {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 3px 0;
    padding-left: 15px;
}

/* Subtitle unter h2 */
.price-item h2.no-border {
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.price-subtitle {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: -10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    font-style: italic;
    color: white;
}

.service-block.first-block {
    margin-top: 20px;
}

/* Verlinktes Bild */
.link-image {
    text-align: center;
}

.link-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.link-image img:hover {
    transform: scale(1.05); /* Vergrößert das Bild beim Hovern */
    box-shadow: 0 8px 16px rgba(0, 128, 128, 0.6);
}

.chakren-image {
    width: 100%;
    max-width: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.chakren-image:hover {
    transform: scale(2.0); /* Vergrößert das Bild auf 110% beim Hover */
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
    .chakren-image {
        max-width: 90%;
    }
    
    /* Mobile Anpassungen für Preisliste */
    .price-list-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .price-item {
        width: 95%;
        max-width: 100%;
        padding: 20px 15px;
        text-align: center;
    }
    
    .price-item h2 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }
    
    .price-subtitle {
        text-align: center;
    }
    
    .service-block {
        text-align: center;
    }
    
    .service-block h3 {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .service-block .price {
        font-size: 0.95rem;
        padding-left: 0;
        text-align: center;
    }
    
    .price-item p {
        font-size: 0.9rem;
        text-align: center;
    }
}






/* Footer-Styling */
footer {
    background-color: #67b0a1; /* Hintergrundfarbe für den Footer */
    padding: 20px 0; /* Abstand innerhalb des Footers */
    text-align: center; /* Zentriert den Text im Footer */
    width: 100%;
    position: relative; /* Sicherstellen, dass der Footer im normalen Layoutfluss bleibt */
    clear: both; /* Setzt alle gefloateten Elemente zurück, damit der Footer nicht neben ihnen steht */
}

/* Kontaktbereich Styling */
.contact {
    padding: 20px 15px;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    text-align: left;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-info {
    width: 40%;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Gerahmte Box für die Kontaktinformationen */
.framed-box {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bild Styling */
.contact-image {
    width: 55%;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 5px; /* Abrundung der Ecken des Bildes */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .contact {
        width: 95%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-image {
        width: 100%;
    }
}

/* Impressum Styling */
.impressum {
    padding: 20px 15px;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    text-align: left;
    font-family: Arial, sans-serif;
}

.impressum h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.impressum h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

/* Boxen für die Abschnitte */
.impressum-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Text Styling */
.impressum p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .impressum {
        width: 95%;
    }

    .impressum h2 {
        font-size: 1.8rem;
    }

    .impressum h3 {
        font-size: 1.4rem;
    }
}

/* Über Mich Styling */
.about-me {
    padding: 20px 15px;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    text-align: left;
}

.about-me h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    color: #67b0a1;
}

/* Flexbox Layout für das Bild links und den Text rechts */
.about-me-content {
    display: flex;
    align-items: flex-start; /* Bild und Text am oberen Rand ausrichten */
    gap: 20px;
}

/* Bild Styling */
.about-me-image {
    flex: 1;
    max-width: 400px; /* Maximale Breite des Bildes */
}

.about-me-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten für das Bild */
}

/* Eingefasster Textbereich */
.about-me-text {
    flex: 2;
    padding: 20px;
    background-color: #f8f4eb; /* Hintergrundfarbe für den Textbereich */
    border: 1px solid #ddd; /* Rahmen um den Textbereich */
    border-radius: 10px; /* Abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Schatten für die Box */
}

/* Text Styling */
.about-me-text p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Farbige Hervorhebungen */
.highlight {
    color: #67b0a1; /* Helle grüne Farbe, passend zum Stil der Seite */
    font-weight: bold;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .about-me {
        width: 95%;
    }

    .about-me-content {
        flex-direction: column; /* Bild und Text untereinander auf kleinen Bildschirmen */
    }

    .about-me-image {
        max-width: 100%;
        margin-bottom: 20px; /* Abstand zum Text auf kleinen Bildschirmen */
    }

    .about-me h2 {
        font-size: 1.8rem;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .price-list-box {
        flex-direction: column;
        align-items: center;
    }

    .price-item {
        width: 100%;
        max-width: 300px;
    }

    main {
        width: 95%;
        padding: 20px;
    }

    .intro h1 {
        font-size: 2rem;
    }
}

/* Kleiner Link unten rechts */
.small-link {
    position: relative;
    bottom: 10px;
    right: 10px;
    font-size: 0.8rem; /* Kleine Schriftgröße */
    color: #000;
    text-decoration: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .treatment-images {
        flex-direction: column;
        align-items: center;
    }

    .treatment-image {
        width: 120px;
        height: 120px;
    }
}





.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
