@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap");

/* Global Styles */
body {
    margin: 5vh;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #FAF0E6;
    background-image: url(../pictures/Behruhigender-Hintergrund-zur-Veranschaulichung-von-Homoeopathie.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.container {
    padding-top: 0;
    /*padding des headers nach oben */
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #939292;
    /* Verhindert, dass Inhalt über den Container hinausragt */
}

/* Header ================================================== */
.header {
    background-color: transparent;
    flex-shrink: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}
.header h1 {
    font-size: 7.5vh;
    font-family: 'Playfair Display', serif;
    color: #715c52;
}
#hamburger-button {
    display: none;
    background-color: transparent;
    color: #715c52;
    border: none;
    font-size: 4rem;
    cursor: pointer;
    margin-right: 2rem;
    margin-left: 5rem;
}

.hamburger-menu {
    display: none;
}

#hamburger-menu {
    position: absolute;
    top: 15%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    border: 1px solid #ccc;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 70%;
    max-width: 200px;
    padding: 20px;
    z-index: 999;
    box-sizing: border-box;
    overflow-y: auto;
}

.hamburger-menu nav {
    display: none;
}

#hamburger-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#hamburger-menu li {
    margin-bottom: 10px;
}

#hamburger-menu a {
    text-decoration: none;
    color: #653807;
    font-size: large;
}

/* Animation for opening and closing the menu */
#hamburger-menu.open {
    display: block;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

#hamburger-menu ul li a:hover {
    background-color: transparent;
    font-weight:bold;
}


@keyframes slideOut {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-container h1 {
    margin: 0;
}

.logo-container p {
    margin: 0;
    font-size: 1.6vh;
    text-decoration: none;
    color: #653807;
}
.header .logo-link{
    text-decoration: none;
}
.logo-image {
    height: 8.5vw;
    width: auto;
    margin-right: 2.5em;
    border-radius: 50%;
    font-family: "Roboto", sans-serif;
}
.header h1 {
    font-size: 7.5vh;
    font-family: 'Playfair Display', serif;
    color: #715c52;
    text-decoration: none;
}
.contact-details {
    display: flex;
}
.contact-icon {
    color: #653807;
    font-size: 2.0rem;
    margin-right: .5rem;
    font-style: 'Playfair Display';
    text-decoration: none;
}
.icon-container {
    display: inline-block;
    position: relative; 
}

.contact-info {
    display: none;
    font-size: 1rem;
    position: absolute;
    top: -2rem;
    right: 100%;
    transform: translateX(10px); /* Abstand zur Icon */
    background-color: transparent;
    color: #653807;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.icon-container:hover{
    font-weight: bolder;
}

.icon-container:hover .contact-info {
    display: block;
    font-weight: bold;
}

/* Layout================================================== */
.layout {
    background-color: transparent;
    height: 100vh;
    display: flex;
    flex: 1;
    position: relative;
    /* Der Inhalt soll so viel Platz wie möglich einnehmen */
}

.separator {
    height: 1px;
    background-color: #939292;
    width: 50%;
    margin: 20px auto;
    position: relative;
    left: 35%;
    transform: translateX(-50%);
}

/* Menu================================================== */
.menu {
    background-color: none;
    color: #939292;
    flex-shrink: 0;
    width: 200px;
    height: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    margin-bottom: 10px;
}

.menu ul li a {
    color: #653807;
    text-decoration: none;
    font-weight: normal;
}

.menu ul li a:hover {
    background-color: transparent;
    font-weight: bold;
}

.separator_1 {
    height: 80%;
    background-color: #939292;
    width: 1px;
    margin: 20px auto;
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
}

/* Content Section================================================== */
.content-section {
    align-items: center;
}
.content-text_1 h2 {
    font-size: 2.5rem;
    color: #715c52;
    margin-bottom: 20px;
}
.content-text_1 {
    font-family: 'Poppins', sans-serif;
    color: #653807;
    flex-grow: 1;
    /* Nimmt den verfügbaren Platz ein */
    flex-basis: 0%;
    /* Setzt die Basisbreite auf 0, damit der Text wachsen kann */
    text-align: center;
}

/* Footer================================================== */

.footer {
    background: linear-gradient(to right, #ffffff00, #82A49580);
    padding: 20px;
    color: #939292;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: row; /* Ändert die Richtung zu horizontal */
    justify-content: center; /* Zentriert die Elemente horizontal */
    align-items: center; /* Zentriert die Elemente vertikal */
}


footer .logo-image {
    display: none;
    height: 5vh; 
    margin-right: 10px; /* Abstand zwischen Logo und Footer-Inhalt */
    width: auto;
    margin-right: 2em;
    border-radius: 50%;
    font-family: "Roboto", sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(240, 240, 240, 0.9);;
    padding: 10px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-banner a {
    color: blue;
}
.cookie-buttons{
    margin-top: 10px;
}

.cookie-banner button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-banner button:hover {
    background-color: #0056b3;
}

.close-banner {
    position: absolute;
    top: 5px;
    right: 3.125rem;
    font-size: 20px;
    cursor: pointer;
}
@media screen and (max-width: 1200px) {
    #hamburger-button {
        display: block;
        order: -1;
        align-self: flex-start;
        margin-bottom: 10px;
        margin-right: 15vh;
    }

    .header {
        justify-content: flex-start;
    }

    .logo-image {
        display: none;
    }

    .header h1 {
        flex-grow: 1;
        text-align:center;
    }

    .header .contact-details {
        display: none;
    }

    .separator_1 {
        height: 80%;
        background-color: #939292;
        width: 1px;
        margin: 20px auto;
        left: 0;
        top: 0;
        bottom: 0;
    }
    
    .separator_1 {
        display: none;
    }
    .content-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .content-section h2 {
        font-size: 5vh;
        color: #715c52;
        text-align: center;
    }
    
    .content-section img,
    .content-section p {
        max-width: 100%;
        text-align: center;
    }

    .menu {
        display: none;
    }

    .footer .logo-image {
        display: block;
    }
}
@media screen and (max-width: 1023px) {
    .header h1 {
        font-size: 5vh;
    }
    #hamburger-button {
        display: block;
        order: -1;
        align-self: flex-start;
        margin-bottom: 10px;
        margin-right: 12vh;
    }
    .praxis-info h2 {
        font-size: 4vh;
        color: #715c52;
    }

}
@media screen and (max-width: 767px) {
    .header h1 {
        font-size: 4vh;
    }
    #hamburger-button {
        display: block;
        font-size: 2rem;
        order: -1;
        align-self: flex-start;
        margin-bottom: 12px;
        margin-right: 10vh;
        margin-left: 1vh;
    }
    .praxis-info h2 {
        font-size: 3vh;
        color: #715c52;
    }
}
@media screen and (max-width: 645px) {
    .header h1 {
        font-size: 4vh;
    }
    #hamburger-button {
        display: block;
        font-size: 2rem;
        order: -1;
        align-self: flex-start;
        margin-bottom: 10px;
        margin-right: 10vh;
        margin-left: 2vh;
    }
    
}
@media screen and (max-width: 479px) {
    .header h1 {
        font-size: 3vh;
    }
    #hamburger-button {
        display: block;
        font-size: 2rem;
        order: -1;
        align-self: flex-start;
        margin-bottom: 10px;
        margin-right: 3vh;
        margin-left: 2vh;
    }
}
@media screen and (max-width: 320px) {
    #hamburger-button {
        font-size: 2rem;
    }
    
}
@media screen and (-width: 80px) {
    body {
      font-size: 14px;
    }
    .header {
      padding: 10px;
    }
    .logo-image {
      height: 6rem;
      width: auto;
      margin-right: 1rem;
    }
    .header .contact-details {
      display: none;
    }
    .footer {
      padding: 10px;
    }
    .content-section {
      padding: 1rem;
    }
    .content-section h1 {
      font-size: 2rem;
    }
    .content-section p {
      font-size: 1.2rem;
    }
  }