body, html {
    margin: 0;
    padding: 0;
    font-family: "yu-gothic-pr6n";
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Header styling */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px 5px 20px;
    box-sizing: border-box;
    background-color: white;
    z-index: 10;
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "yu-gothic-pr6n";
    color: #034A23;
}

header nav ul li a:hover {
    color: #F4B4D2;
}

.menu-icon {
    display: none;
    width: 25px; 
    cursor: pointer;
    align-items: flex-end;
}

header nav ul.nav-menu {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.intro-image-1 {
    width: auto;
    max-width: 100%; /* Ensure the image does not exceed the container's width */
    height: auto; /* Maintain aspect ratio */
    margin-left: auto;
    margin-right: auto; /* Center the image if it's smaller than the container */
}

/* Layout for the about intro */
.intro {
    display: grid;
    grid-template-columns: repeat(6, 1fr) 0.5fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    padding: 120px 30px 5px 30px;
}

.intro-title {
    color: #034A23; /* Green color */
    font-size: 3rem; /* Adjust size as needed */
    grid-column: 2 / 5;
    grid-row: 1 / 2;
    align-self: end;
    justify-self: start;
    margin: 0; /* Ensure there's no margin */
    padding: 0; /* Ensure there's no padding */
}

.press-list {
    grid-column: 2 / 4;
    grid-row: 2 / 5;
    font-size: 1rem;
    align-self: start; /* Ensures the text aligns at the top */
    justify-self: start;
    margin: 0; /* Ensure there's no margin */
    padding: 0; /* Ensure there's no padding */
    line-height: 1.5; /* Optional: Adjust line-height if needed */
    list-style: none;          /* <-- Bullets aus */
    padding-left: 0;           /* <-- Einzug weg */
}

.press-list li {
    margin: 0 0 8px 0;         /* gleichmäßiger Abstand */
}

.press-list a {
    display: inline-block;     /* größere Klickfläche */
    text-decoration: none;     /* <-- Underline aus */
    color: #034A23;            /* konsistent mit .yu-gothic-pr6n */
}

.press-list a:hover,
.press-list a:focus {
    text-decoration: none;     /* bleibt ohne Underline */
    color: #F4B4D2;            /* dezenter Hover */
    outline: none;
}


.intro-image-1 {
    grid-column: 5 / 8;
    grid-row: 1 / 4;
    align-self: center;
}


.promo-text{
    grid-column: 1 / span 4;
    grid-row: 6 / span 1;
    font-size: 1rem;
    align-self: end; /* Ensures the text aligns at the top */
    justify-self: start;
    margin: 0; /* Ensure there's no margin */
    padding: 0; /* Ensure there's no padding */
    line-height: 1.5; /* Optional: Adjust line-height if needed */
}


.icon-image-1 {
    grid-column: 2 / span 1;
    grid-row: 4 / span 1;
    align-self: end;
    justify-self: center;
    height: 45%;
    padding: 0;
    margin: 0;
}

/* Font styles */
.font-default {
    font-family: 'Helvetica Neue', sans-serif;
    color: #034A23;
}

.font-italic {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 200;
    font-style: italic;
}

.font-neutral {
    font-family: 'PolySans-Neutral', sans-serif;
}

.yu-gothic-pr6n {
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    color: #034A23;
}

/* Responsive Design */
@media screen and (max-width: 990px) {
    header {
        padding: 20px 20px 0px 20px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }

    /* Layout for the about intro */
    .intro {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: repeat(6, 0.5fr);
        gap: 20px;
        padding: 100px 30px 5px 30px;
    }

    .intro-title {
        grid-column: 3 / span 3;
        grid-row: 1 / span 1;
    }

    .intro-text {
        grid-column: 4 / span 2;
        grid-row: 2 / span 2;
    }

}

/* Responsive Design */
@media screen and (max-width: 800px) {
    /* Layout for the about intro */
    .intro {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(6, 0.5fr);
        gap: 20px;
        padding: 100px 30px 5px 30px;
    }

    .intro-title {
        grid-column: 1 / span 3;
        grid-row: 1 / span 1;
        font-size: 2rem;
    }

    .intro-text {
        grid-column: 2 / span 2;
        grid-row: 2 / span 2;
        font-size: 0.75rem;
    }

}

@media screen and (max-width: 650px){
    .menu-icon {
        display: block; /* Show the menu icon */
    }

    header nav ul.nav-menu {
        display: none; /* Hide the navigation links */
        flex-direction: column;
        position: absolute;
        top: 65px; /* Adjust to align below header */
        right: 20px;
        text-align: right;
        background-color: rgb(255, 255, 255); /* Same background as the page */
        border-radius: 0px;
        padding: 5px 0px 0px 5px;
    }

    header nav ul.nav-menu.show {
        display: flex; /* Show the navigation links when menu is open */
    }

    header nav ul.nav-menu li {
        margin: 2px 0; /* Adds vertical space */
    }

    header nav ul li a {
        font-size: 12px;
        padding-bottom: 10px;
    }
}

