/* Load Jumping Chick font (must be in same folder as this CSS) */
@font-face {
    font-family: "Jumping Chick";
    src: url("Jumping Chick.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* ------------------------------ */
/* 🌸 Global Page Styling */
/* ------------------------------ */

body {
    font-family: "Palatino Linotype", "Palatino", "Book Antiqua", serif;
    color: #344152;
    margin: 0;
    padding: 20px;

    background: linear-gradient(
        to bottom right,
        #ffd6e8,
        #ffe6f2,
        #fff7fb
    );
}

/* Better paragraph spacing */
p {
    line-height: 1.6em;
    margin-bottom: 1em;
}

/* ------------------------------ */
/* 🌸 Headers */
/* ------------------------------ */

h2, h6 {
    font-family: "Jumping Chick", Skia, Futura, Verdana, Arial;
    color: darkblue;
    text-align: center;
    margin: 0;
    font-weight: normal;
}

h2 {
    font-size: 2.3em;
    padding: 0.3em;
}

h6 {
    font-size: 0.9em;
    padding: 0.2em;
}

/* ------------------------------ */
/* 🌸 Header Bar Styling */
/* ------------------------------ */

#header {
    margin-left: auto;
    margin-right: auto;
    text-align: center;

    background: #ffc1dd;
    padding: 20px;
    border-radius: 20px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

/* ------------------------------ */
/* 🌸 Main Content Card */
/* ------------------------------ */

#content {
    max-width: 900px;
    background: white;
    margin: 20px auto;
    padding: 25px;
    border-radius: 20px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.12);

    display: flex;
    flex-direction: column;
}

/* ------------------------------ */
/* 🌸 Images & Captions */
/* ------------------------------ */

/* Large image at top */
#large-image {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
    border: 4px solid #ff99c8;
    border-radius: 12px;
    padding: 2px;
    transition: 0.3s ease-in-out;
}

#large-image:hover {
    filter: brightness(1.1);
}

/* Small images container at bottom */
#small-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    order: 2; /* ensures they are at the bottom */
}

#small-images img {
    border: 4px solid #ff99c8;
    border-radius: 12px;
    padding: 2px;
    transition: 0.3s ease-in-out;
    width: auto;  /* keep original size */
    height: auto;
}

#small-images img:hover {
    filter: brightness(1.1);
}

/* Captions under images */
figure {
    text-align: center;
    margin: 10px;
}

figcaption {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}

/* ------------------------------ */
/* 🌸 Links + Hover Effects */
/* ------------------------------ */

a {
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:link {
    color: #ff3cae;
}

a:visited {
    color: #c2188f;
}

a:hover {
    color: #8a0066;
    text-shadow: 0 0 6px rgba(255, 0, 140, 0.4);
}

/* ------------------------------ */
/* 🌸 Footer */
/* ------------------------------ */

#footer {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border-radius: 20px;

    background: #ffd1e8;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

#footer img {
    padding: 10px;
}
