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

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    color: rgba(68, 68, 68, 1);
    line-height: 1.8;
    background-image: url(/Images/SeattleImage.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.1s ease-in forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        background-color: rgba(0, 0, 0, 1);
    }

    9.09% {
        opacity: 0;
        background-color: rgba(0, 0, 0, 1);
    }

    100% {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.3);
    }
}

header {
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.85), rgba(60, 110, 160, 0.85));
    color: white;
    text-align: center;
    padding: 2em 0;
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

header h1 {
    font-weight: 700;
    font-size: 3em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    transition: all 1s ease-out;
}


header h1:hover{
    transform: translateY(-0.1rem);
}

header p {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(221, 221, 221, 1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

header .header-nav ul {
    display: flex;
    justify-content: center;
    gap: 2em;
    list-style: none;
    margin-top: 1em;
}

header .header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header .header-nav a:hover,
header .header-nav a:focus {
    color: #a8d0e6;
    text-decoration: underline;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    margin: 2em auto;
    max-width: 1200px;
    padding: 0 2em;
}

.card {
    width: 100%;
    max-width: 700px;
    padding: 2em;
    background-color: rgba(245, 245, 245, 0.85);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.resources ul,
.card ul {
    list-style: none;
    padding: 0;
}

.resources li {
    margin-bottom: 1.5em;
}

.resources a {
    color: rgba(34, 85, 51, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resources a:hover,
.resources a:focus {
    color: rgba(0, 105, 148, 1);
    text-decoration: underline;
    outline: none;
}

.search-bar,
select {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5em auto;
    padding: 0.75em 1em;
    border: 1.5px solid rgba(200, 210, 215, 1);
    border-radius: 6px;
    font-size: 1.1em;
    transition: border-color 0.3s ease;
}

.search-bar:hover,
select:hover {
    border-color: rgba(0, 105, 148, 0.8);
}

.search-bar:focus,
select:focus {
    border-color: rgba(0, 105, 148, 1);
    box-shadow: 0 0 8px rgba(0, 105, 148, 0.6);
    outline: none;
}

footer {
    text-align: center;
    padding: 1em;
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.85), rgba(60, 110, 160, 0.85));
    color: white;
    margin-top: auto;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
}

footer p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: #a8d0e6;
    outline: none;
}