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

body {
    font-family: 'IBM Plex Serif', serif;
    color: #353332;
    background-color: #fffcf6;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    background-image: url('./oznameni-tulipany.svg');
    background-repeat: repeat-y;
    background-position: left top;
    background-size: 10vw auto; /* Adjust the width to make the image wider */
}

.container {
    width: 100%;
    max-width: 1200px;
    /*min-width: 500px;*/
    padding: 2rem;
    display: flex;
    justify-content: flex-start;
}

.content {
    width: 100%; /* Make images responsive */
    /*width: 100vw;*/
    /*max-width: 900px;*/
    /*min-width: 500px;*/
    margin: 0;
    padding-left: 11vw;
}

h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
    line-height: 120%;
    text-align: left;
    font-weight: 600;
}

h1 .yellow {
    color: #fcb315;
}

.intro-text {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-content {
    font-size: 1.25rem;
    text-align: justify;
    text-justify: inter-word;
}

.section-content ul {
    list-style-position: inside;
    padding-left: 0;
}

.section-content li {
    margin-bottom: 0rem;
}

.large-screen {
    display: block;
}

.small-screen {
    display: none;
}

.poster-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    margin-left: auto; /* Push it to the right */
    width: 100%; /* Adjust width for the poster wall */
    margin-top: 2rem;
    margin-right: 3rem;
    /*gap: 1rem; !* Space between photos *!*/

}

.poster-wall img {
    width: 100%; /* Make images responsive */
    max-width: 750px; /* Set a max width for each photo */
    height: auto;
    /*min-width: 200px;*/
    /*border-radius: 8px; !* Optional: Add rounded corners *!*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); !* Optional: Add shadow *!*/
}

@media (max-width: 768px) {
    .large-screen {
        display: none;
    }

    .small-screen {
        display: block;
    }

    body {
        background-image: url('./tulipany_pruh10.png');
        background-repeat: repeat-x;
        background-position: top;
        /*background-size: 100% auto;*/
        background-size: auto 15vw; /* Adjust the width to make the image wider */
        /*background-attachment: local; !* Prevent subpixel rendering issues *!*/
    }

    .content {
        width: 100%;
        max-width: 100%;
        padding-top: 15vw;
        padding-left: 0;
    }

    h1 {
        font-size: 3rem;
        text-align: left;
    }

    .intro-text {
        font-size: 1.25rem;
        text-align: left;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-content {
        font-size: 1.1rem;
    }

    .small-poster-wall {
        display: flex;
        flex-direction: column; /* Stack images vertically */
        gap: 1rem; /* Add spacing between images */
        align-items: center; /* Center images horizontally */
        width: 100%; /* Full width */
        margin: 0 auto; /* Center the container */
    }

    .small-poster-wall img {
        max-width: 100%; /* Make images responsive */
        height: auto; /* Maintain aspect ratio */
    }
}
