/* accessibility */
#skip-to-main-content-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 4px 8px;
    background-color: red;
    font-size: 14px;
    color: white;
    opacity: 0;
}

#skip-to-main-content-link:focus {
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

/* general styles */
body {
    font-family: "Nunito", "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}
main {
    max-width: 1170px;
    padding: 16px;
}
main img {
    border-radius: 4px;
    display: block;
    height: auto;
    max-width: 100%;
}
h1 {
    color: #434c5e;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}
h2 {
    font-size: 1.2rem;
    padding: 0.5rem 1.6rem 0 0;
    font-weight: bold;
    color: #013f92;
}
header {
    align-items: center;
    background-color: #fff;
    border: 2px solid #eef1f2;
    display: flex;
    height: 62px;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}
header img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
header a:hover {
    color: #000;
    text-decoration: underline;
}
.menu {
    display: flex;
    gap: 20px;
    list-style: none;
}
.menu a {
    color: #535b6c;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    max-width: 100%;
    opacity: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
}
button {
    background-color: #165576;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
footer {
    background-color: #eff1f5;
    height: 46px;
    overflow: hidden;
    padding: 36px 0;
    position: relative;
    text-align: center;
}
footer a {
    color: #596171;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #000;
    text-decoration: underline;
}
footer p {
    font-size: 14px;
    margin: 6px;
}

@media only screen and (max-width: 600px) {
    header { padding: 0 10px; }
    main { padding: 8px; }
}
