<style>
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', sans-serif;
    font-weight: normal;
    font-style: normal;
}

fade {
    opacity: 1;
}

/* Links */
#header a {
    color: #1c3c73;
}

.container a {
    text-decoration: none;
}

card a{
    color: inherit;
}

/* nav */
.navbar-collapse {
    text-align: center;
} 

.nav-item {
    font-size: 20px; !important;
    text-align: center;
}

.nav-item > .nav-link:hover {
    text-decoration: underline;
    text-decoration-color: #CAB346;
    text-underline-offset: 8px;
}

.dropdown-item:hover {
    text-decoration: none;
    text-decoration-color: inherit;
    text-underline-offset: initial;
}

.custom-btn {
    background-color: transparent;  /* Make background transparent */
    color: black !important;        /* Set text color to black */
    padding: 10px 20px;     
    border: 2px solid dodgerblue;   /* Add a solid dodgerblue border */
    border-radius: 5px;
    font-size: 16px;
    white-space: nowrap;  
    display: inline-block; 
    text-align: center;    
    transition: background-color 0.3s, color 0.3s; /* Optional: Smooth transition for hover effects */
}


/* Centering of Nav-Items for Collapsed View */
@media (max-width: 1200px) {
    .navbar-nav {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .navbar-collapse {
        text-align: center;
    }

    .nav-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .navbar-nav .nav-link {
        width: 100%;
    }

    .navbar-nav .nav-item:first-child {
        margin-top: 15px;
    }

    .custom-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .dropdown-menu {
    text-align: center !important;
    }
}

#sprache {
    font-size: 16px;
}


/* container */
.container1 {
    position: relative;
    text-align: center;
}

/* Scroll down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 5px; 
    left: 50%;
    transform: translateX(-50%, 0);
    font-size: 2rem;
    color: #1c3c74; 
    animation: bounce 2s infinite;
    cursor: pointer;
    
    
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* text styling*/
p {
    font-size: 18px;
    hyphens: auto;
    text-align: justify;
}

.intro {
    font-size: 22px;
}

.intro2 {
    font-size: 20px;
}

li {
    padding-bottom: 5px;
}

h1,
h2,
h3,
h4,
h5 {
    color: #1c3c74;
}

.h0 {
    font-size: 40px;
}

h1 {
    color: #1c3c74;
    font-weight: 700 !important;
}

.bold {
    font-weight: 700;
}

.redText {
    color: red;
    font-weight: 700;
}

#copyright {
    font-size: 12px;
}

#copyright a{
    text-decoration: none;
    color: #1c3c73;
}

.cvbtn {
    background-color: gainsboro;
    border-radius: 10px;
}

.cvbutton {
    background-color: #f8f9fa;
    min-height: 40px;
    border-bottom-style: solid;
    border-bottom-color: #CAB346;
    
}

.no-border-card {
    border: none;
}

/* Space manager vor Details*/
.detailcss {
    list-style-type: none;
    padding-left: 0;
}

.detailcss li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #CAB346;
}

.detailcss li.no-border {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
}

.detailcss li .date {
    width: 25%;
}

.detailcss li .info {
    width: 91%;
}

.detailcss li .sub-info { 
    font-size: 0.9em; 
    padding-left: 21.7%; 
    display: block;
}

/* Space manager for Notfall*/
.notfallcss {
    list-style-type: none;
    padding-left: 0;
}

.notfallcss li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #CAB346;
}

.notfallcss li .date {
    width: 91%;
    word-wrap: break-word; 
}

.notfallcss li .info {
    width: 20%;
    white-space: nowrap;
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
    .notfallcss li {
        flex-direction: column;
        align-items: flex-start;  
    }

    
    .notfallcss li .date,
    .notfallcss li .info {
        width: 100%; 
    }

    /* Ensure info stays on one line */
    .notfallcss li .info {
        text-align: left;
    }
}

/* new */
hr {
    border: none;
    border-bottom: 2px solid #CAB346;
    margin: 0;
    width: 100%;
}

@media (max-width: 576px) {
        .doctor-details h2 {
            font-size: 1.5rem;
        }

        .doctor-details h4 {
            font-size: 1.25rem;
        }

        .card {
            width: 100% !important;
        }

        .list-styled li {
            font-size: 14px;
        }

        .cvbutton h5 {
            font-size: 1rem;
        }

        .image-container {
            width: 100% !important;
        }

        .image-container img {
            width: 100% !important;
            height: auto;
        }
        
        .h0 {
            font-size: 32px;
        }
        
        .intro {
            font-size: 18px;
        }
        
        .intro2 {
        font-size: 18px;
        }
        
        .cvbutton {
            width: 100%;
        }
        
    }

    
    @media (min-width: 768px) {
        .image-container {
            width: 48rem;
        }
        
    }

/*white space expanding to footer*/
.expandedinfo {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
}

/* img */
.img-fluid {
    width: 100%;
    height: auto;
    display: block;
}

.cvbtn {
    background-color: gainsboro;
    border-radius: 10px;
}


#icon {
    width: 10%;
    height: auto;
}

/*header*/
#header {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #CAB346;
}

/* footer */
#footer {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #CAB346;
    bottom: 0;
}

#footer h5 {
    color: #1c3c73 !important;
}

#footer .policy {
    background-color: #547cac;
    color: white !important;
    font-size: 14px !important;
}

#footer a {
    text-decoration: none;
    color: inherit;
}

#footer a:hover {
    color: #CAB346;
    text-decoration: underline;
}

#footer .day {
    display: inline-block;
    width: 90px; 
}

.day {
    display: inline-block;
    width: 80px; 
}


.time {
    display: inline-block;
}

@media (max-width: 576px) {
    #footer .day {
        display: inline-block;
        width: 100px; 
    }  
}

@media (max-width: 768px) {
    #footer .text-center {
        text-align: left !important;
    }

    #footer ul li {
        padding: 5px 0;
    }

    #footer .col-12 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 990px) {
    #impressumMobile {
            padding-top: 40px;
        }
    
}

/* Center align for lg and larger screens */
@media (min-width: 1200px) {
    .text-lg-center {
        text-align: center !important;
    }
}

/* Left align for screens smaller than lg */
@media (max-width: 1199.98px) {
    .text-md-start {
        text-align: left !important;
    }
}


/* Container for the cookies banner */
.cookies-banner {
    position: fixed;
    bottom: 10px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background-color: gainsboro;  
    color: #000;  
    text-align: left;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 1000;  /* Ensure it's on top of other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    max-width: 600px;
}

.cookies-banner p {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 10px;
}

.cookies-banner button {
    background-color: darkgray; 
    color: white;  
    border: none;
    padding: 8px 15px;  
    cursor: pointer;
    border-radius: 5px;
    font-size: 10px;  
    margin-left: 15px;
}

.cookies-banner button:hover {
    background-color: #45a049;  
}



</style>