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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    display: grid;
    background-color: #2c3350;
    color: white;
    padding: 1rem;
    text-align: center;
    grid-template-columns: 10px 1fr;
    grid-template-rows: 50px;
}

header h1 {
    grid-column: 2/3;
    grid-row: auto;
}

header p {
    grid-column: 2/3;
    grid-row: auto;
}

header img {
    grid-column: 1/2;
    grid-row: auto;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #34385e;
}

nav a {
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

nav a:hover {
    background-color: #121a21;
}

.content-wrapper {
    display: flex;
    background-image: linear-gradient(to top, #ffffff, #555a96);
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
}

main {
    flex: 2;
    background-color: #8d99ff;
    padding: 10px;
    box-shadow: 3px 3px 3px #35395e;
    text-align: center;
    padding: 1rem;
    max-width: 1200px;
    margin: auto;
}

main h1 {
    color: #0d0e17;
    padding-bottom: 30px;
}

section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: #adb5ff;
    border: 1px solid #35395e;
    padding: 10px;
    box-shadow: 3px 3px 3px #35395e;
}

section img {
    grid-column: 1/2;
    grid-row: 1/3;
    width: 375px;
    height: 300px;
    border: none;
    box-shadow: 3px 3px 3px #35395e;
}

section h2 {
    grid-column: 2/3;
    grid-row: auto;
    padding: 0 50px;
    text-align: left;
    text-wrap: wrap;
    font-size: 1.2rem;
}

section ul {
    grid-column: 3/4;
    grid-row: auto;
    text-align: left;
}

footer {
    font-size: 75%;
    font-style: italic;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    padding: 2em;
    background-color: #ffffff;
}

@media (max-width: 1200px) {
    header img {
        display: none;
    }

    section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    ul {
        margin-top: 20px;
        margin-left: 20px;
    }
}