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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #444;
    background-color: #f5f5f5;
    padding: 1rem;
}

 .post img {
    display: block;
    margin: 0 auto;
  }

  .caption-center {
    text-align: center;
    font-style: italic;
}

img {
    max-width: 70%;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* HEADER */
header {
    background-color: #3f51b5;
    padding: 1rem;
    color: white;
    /* Remove the line 'position: fixed;' */
    width: 100%;
    z-index: 1;
}

/* Style the link within the header */
header a {
    color: white;
}

header h1 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

header nav {
    margin-top: 1rem;
}

/* Set the color of all links to white */
header a:link {
    color: white;
}

header nav a {
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
    font-size: 1.1rem;
}

header nav a:hover {
    color: #c5cae9;
}


/* HAMBURGER MENU */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* SECTIONS */
section {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    margin-bottom: 2rem;
}

h2 {
    border-bottom: 2px solid #3f51b5;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.post {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.post h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post p {
    margin-bottom: 0.5rem;
    text-indent: 1.5rem;
}

/* CONTACT */
.contact-email {
    color: #3f51b5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #1a237e;
}

/* FOOTER */
footer {
    background-color: #3f51b5;
    color: white;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    header nav a {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    header nav {
        display: flex;
        flex-direction: column;
    }

    header nav a {
        margin: 0.25rem 0;
    }

    section {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .post {
        flex-direction: column;
    }

    .post h3 {
        font-size: 1.25rem;
    }
}

