/* Text formatting */
main h1 {
    margin-top: 1em;
    font-size: 300%;
    font-family: 'Concert One', cursive;
    color: black;
    text-align: center;
}

/* Centre the text + picture block in the space between the menu and the footer */
main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 1.5rem;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
}

p {
    color: black;
    font-family: 'Concert One', cursive;
    text-align: center;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.7;
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
}

/* Text and picture side by side, centred on each other */
.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.image-text {
    flex: 0 1 500px;
}

.image-container {
    flex: 0 1 500px;
    text-align: center;
}

.main-img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid pink;
    border-radius: 10px;
}

/* Media queries */
@media only screen and (max-width: 900px) {
    /* stack: text on top, picture underneath, both centred */
    .flex-container {
        flex-direction: column;
        gap: 2rem;
    }
    .image-text,
    .image-container {
        flex: none;
        width: 100%;
        max-width: 560px;
    }
}
