body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffd9;
    color: #0c2c84;
    line-height: 1.5;
}

#wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    border: thin solid #7fcdbb;
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #225ea8;
    color: white;
}

header img {
    width: 180px;
    height: auto;
    background-color: white;
    padding: 5px;
}

header h1 {
    font-size: 3.2em;
}

nav {
    background-color: #0c2c84;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    flex: 1;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    font-weight: bold;
}

nav a:hover {
    background-color: #41b6c4;
    color: #0c2c84;
}

.hero,
.content-card {
    background-color: #edf8b1;
    border: 1px solid #7fcdbb;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
}

.placeholder-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border: 2px dashed #41b6c4;
    padding: 10px;
    background-color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    border: 1px solid #7fcdbb;
}

th {
    background-color: #1d91c0;
    color: white;
}

tr:nth-child(even) {
    background-color: #c7e9b4;
}

.video-placeholder {
    background-color: #c7e9b4;
    border: 2px dashed #225ea8;
    padding: 40px;
    text-align: center;
    font-weight: bold;
}

iframe {
    max-width: 100%;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #41b6c4;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
}

input[type="submit"],
input[type="reset"] {
    width: auto;
    margin-top: 15px;
    margin-right: 10px;
    background-color: #1d91c0;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #0c2c84;
}

footer {
    text-align: center;
    background-color: #225ea8;
    color: white;
    padding: 15px;
}

/* TABLET */

@media only screen and (max-width: 900px) {

    #wrapper {
        width: 100%;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    header img {
        width: 140px;
    }

    header h1 {
        font-size: 2.5em;
    }

    nav ul {
        flex-direction: column;
    }
}

/* MOBILE */

@media only screen and (max-width: 510px) {

    #wrapper {
        width: 100%;
        border: none;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    header img {
        width: 120px;
    }

    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        text-align: center;
        padding: 12px;
    }

    .hero,
    .content-card {
        padding: 15px;
        margin: 5px;
    }

    table {
        font-size: 0.85em;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    input,
    select,
    textarea {
        width: 100%;
    }
}