body {
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.container {
    width: 60%;
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   HERO HEADER
======================================== */

.hero {
    position: relative;
}

.hero img {
    width: 100%;
    display: block;
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 65%;

    margin: 0;

    text-align: center;

    color: white;

    font-size: 5em;

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* ========================================
   NAVIGATION
======================================== */

nav {
    background-color: #000b5e;
    text-align: center;
    padding: 12px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

/* ========================================
   MAIN CONTENT
======================================== */

main {
    padding: 25px;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display SC', serif;
    color: #000b5e;
    letter-spacing: 1px;
}

section {
    margin-bottom: 30px;
}

/* ========================================
   INTRODUCTION SECTION
======================================== */

.intro-centered {
    margin-bottom: 80px;
}

.intro-centered h2 {
    text-align: center;
    margin-bottom: 30px;
}

.intro-centered p {
    max-width: 850px;

    margin: 20px auto;

    line-height: 1.8;

    text-align: left;
}

/* ========================================
   ORGANIZATION HEADER
======================================== */

.organizations-heading {
    text-align: center;

    margin-top: 30px;
    margin-bottom: 50px;

    padding-top: 40px;

    border-top: 2px solid rgba(0, 11, 94, 0.15);
}

/* ========================================
   ORGANIZATION SECTION
======================================== */

.organization-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.organization-info:nth-child(even) {
    flex-direction: row-reverse;
}

.organization-info img {
    width: 220px;
    height: 220px;

    object-fit: contain;

    border-radius: 6px;

    transition: transform 0.3s ease;
}

.organization-info img:hover {
    transform: scale(1.05);
}

.organization-info div {
    padding: 10px;
}

.organization-info a {
    text-decoration: none;
}

/* ========================================
   LIGHTHOUSE PAGE
======================================== */

.lighthouse {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.lighthouse:nth-child(even) {
    flex-direction: row-reverse;
}

.lighthouse img {
    width: 300px;
    border-radius: 6px;
}

.lighthouse div {
    padding: 10px;
}

/* ========================================
   MAP
======================================== */

iframe {
    width: 100%;
    height: 500px;
    border: none;
    margin-bottom: 25px;
}

/* ========================================
   FOOTER
======================================== */

footer {
    text-align: center;
    padding: 15px;
    font-size: 0.85em;
    background-color: #f0f0f0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1000px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 2em;
        width: 80%;
        left: 60%;
    }

    .lighthouse {
        flex-direction: column !important;
    }

    .lighthouse img {
        width: 100%;
    }

    .organization-info {
        flex-direction: column !important;
    }

    .organization-info img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}