/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Kozuka Mincho';
    src: url('Kozuka Mincho PR6N M.otf') format('opentype'); /* Specify the format as opentype */
    font-weight: normal; /* Specify the font weight */
    font-style: normal; /* Specify the font style */
}

/* Body styling */
body {
    font-family: 'Kozuka Mincho', serif;
    line-height: 1.6;
}

h1, h2, h3, p {
    font-family: 'Kozuka Mincho'; /* Apply to specific elements as needed */
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f4f4f4; /* You can change this to your preferred color */
}

.no-scroll-page header {
    position: fixed; /* Fix the header at the top */
    top: 0;
    width: 100%; /* Full width header */
    background-color: transparent; /* Transparent header over image */
    z-index: 1000; /* Ensure it stays above other content */
}

.scroll-page header {
    top: 0;
    width: 100%; /* Full width header */
    background-color: rgba(20,97,159,255); /* Transparent header over image */
    z-index: 1000; /* Ensure it stays above other content */
}

/* Logo and site title container */
.logo-container {
    display: flex;
    align-items: center;
}

/* Logo image */
.logo {
    height: 70px;
    margin-right: 15px;
}


/* Navigation styling */
nav .nav-links {
    list-style: none;
    display: flex; /* Show links in a row on larger screens */
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    text-decoration: none;
    color: #000000;
    padding: 8px 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav .nav-links a:hover {
    border-color: #333;
    background-color: #ddd;
    border-radius: 4px;
}

/* Styles for the hamburger menu icon */
.menu-icon {
    display: none; /* Hidden by default */
    cursor: pointer;
    font-size: 24px; /* Adjust as needed */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Show the hamburger menu */
    .menu-icon {
        display: block; /* Show the hamburger menu */
        margin-top: 10px; /* Optional: add some spacing */
        position: absolute;
        right: 20px; /* Align to the right side of the screen */
        top: 20px;   /* Aligns it properly with the header */
    }

    /* Hide nav links by default on mobile */
    nav .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column; /* Stack links vertically */
        background-color: rgba(255, 255, 255, 0.5); /* Background for dropdown */
        position: absolute; /* Position it absolutely */
        top: 70px; /* Position below the header; adjust based on header height */
        right: 0; /* Align to the right */
        width: 20%; /* Full width */
        max-height: 0; /* Start hidden */
        overflow: hidden; /* Hide overflowing content */
        transition: max-height 0.3s ease-out; /* Transition effect */
    }

    /* Show the nav-links when the hamburger is clicked */
    nav.active .nav-links {
        display: flex; /* Show links when active */
        max-height: 500px; /* Set a max height for the dropdown (adjust as needed) */
    }

    /* Each nav link */
    nav .nav-links li {
        margin: 10px 0; /* Space between links */
        padding: 10px; /* Add some padding for clickable area */
    }

    /* Optionally, add transition for smooth dropdown */
    nav .nav-links a {
        transition: all 0.3s ease;
    }
}

/* Section Blue Background */
.section-blue {
    background-color: rgba(20,97,159,255);
    color: white;
    padding: 3% 23%;
    text-align: center;
}

.section-blue .content {
    position: relative;
    margin: 0%;
    text-align: justify;
    /* margin-bottom: -20%; - overflow*/
}

/* Section Dark Blue Background */
.section-dark-blue {
    background-color: rgba(0,4,14,255);
    color: white;
    padding: 3% 23%;
    text-align: center;
}

.section-dark-blue .content {
    position: relative;
    margin: 0%;
    text-align: justify;
    /* margin-top: -20%; 0% - overflow*/
}

/* Section Image */
.section-image {
    text-align: center;
    padding: 0px 0px;
    margin: 0; 
}

.section-image img {
    display: block;
    max-width: 100%;
    height: auto;
    padding: 0px 0px;
    margin: 0;
}

/* Content styling within sections */
.content {
    max-width: 800px;
    margin: 0 auto;
}

.background-section {
    height: 100vh; /* Full viewport height */
    background-image: url('cranio.jpg');
    background-size: cover;
    background-position: 33% center;
    background-attachment: fixed; /* Fixed background */
    position: relative;
}

.background-section .content {
    position: absolute;
    top: 35%; /* Position from the top */
    left: 43% ; /* Position from the right */
    background: rgba(255, 255, 255, 0.0); /* Transparent white background */
    padding: 20px;
    max-width: 50%; /* Limit width */
    border-radius: 8px;
    color: #333;
    /*box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); Optional shadow */
}

.large-paragraph {
    font-size: 25px; /* Set font size to 30 pixels */
}

.background-section-preise {
    height: 100vh; /* Full viewport height */
    background-image: url('Praxisraum.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixed background */
    position: relative;
}

.background-section-preise .content {
    position: absolute;
    top: 25%; /* Position from the top */
    left: 5%; /* Position from the right */
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white background (70% opacity) */
    padding: 20px;
    min-width: 400px; /* Limit width */
    border-radius: 8px; /* Rounded corners */
    color: #333; /* Text color */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);  /* Optional shadow */
}

.background-section-kontakt {
    height: 100vh; /* Full viewport height */
    background-image: url('Portrait.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixed background */
    position: relative;
}

.background-section-kontakt .content {
    position: absolute;
    top: 23%; /* Position from the top */
    left: 5%; /* Position from the left */
    right: 60%; /* Position from the right */
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white background (70% opacity) */
    padding: 20px;
    width: 32%; /* Limit width */
    min-width: 400px; /* Limit width */
    border-radius: 8px; /* Rounded corners */
    color: #333; /* Text color */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);  /* Optional shadow */
}

.indented {
    padding-left: 20px;
}

a {
    color: inherit; /* Same color as the text */
    text-decoration: underline;
}

table {
    width: 90%; /* Adjust width as necessary */
    border-collapse: collapse; /* Removes extra space between borders */
    border: none; /* Adds some space around the table */
    margin-left: 20px;
}

td {
    padding: 0px;
    vertical-align: top; /* Aligns text to the top of the cells */
    border: none; /* Adds border around the table cells */
}

td:first-child {
    width: 70px; /* Fixed width for the first column */
}

b {
    font-weight: bold; /* Makes the text bold */
}