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

body {
    background-color: #f0f8ff;
    color: #333;
    font-family: Onest, sans-serif;
    font-size: 1.2rem;
}

header {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

}

.logo {
    width: 70px;
    height: 50px;
}

h1 {
    font-size: 2rem;
}

.info {
    margin: 20px;
}

.info p {
    margin-top: 10px;
}

nav {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: rgba(240, 248, 255, 0.9);
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #121212;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #BF0A30;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 60px;
}

.nav-links li {
    margin: 0 0.75rem;
}

.nav-links a {
    color: #121212;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: large;
}

.nav-links a:hover {
    color: #121212;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #002868;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.container {
    display: flex;
    margin: 0 auto;
    gap: 30px;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info h2 {
    margin: 20px auto;
}

aside h2 {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 15px;
}

aside {
    width: 600px;
    padding: 20px;
    margin-right: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.article-link {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    text-decoration: none;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.article-link:hover {
    color: #0066cc;
}

.article-link:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-date {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.hero {
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    position: absolute;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.hero div {
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

cite, cite a {
    color: #888;
}

cite a {
    cursor: pointer;
}

.close-menu {
    display: none;
}

footer {
    background-color: #002868;
    display: flexbox;
    justify-content: space-between;
    padding: 2rem 1rem;
    color: #ddd;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
}

footer h2 {
    color: white;
    margin-bottom: 1rem;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer li {
    list-style: disc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        justify-content: space-between;
        position: relative;
    }
    
    .hamburger {
        display: block;
    }
    
    nav {
        justify-content: flex-end;
        padding: 0;
        background-color: transparent;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: rgba(7, 7, 7, 0.7);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
        color: #ffffff;
    }
    
    .nav-links.active {
        right: 0;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        color: #ffffff;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
        display: block;
    }
    
    .container {
        flex-direction: column;
    }

    aside {
        width: 100%;
    }
    
    .hero {
        height: 30vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    
}

.intro {
    margin: 0 50px 0 50px;
    margin-top: 70px;
}

.info p {
    margin-bottom: 20px;
}
.income-table {
    
    margin-top: 2vh;
    position: relative;
}

footer div h3 {
    margin-bottom: 10px;
}

#links h3 {
    margin-bottom: 1px;
}

footer div ul {
    margin-top: 5px;
}

.footer-links li {
    margin: 10px 0;
}

.poi {
    width: 200px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
}

/* Star Rating */
.checked {
    color: orange;
}

/* Contact Form */
#submit {
    background-color: #0066cc;
    color: #eaeaea;
    width: 100px;
    border: 1px solid #333;
    border-radius: 4px;
    display: flex;
    position: relative;
    top: 20px;
    left: 60px;
    text-align: center;
    justify-content: center;
}

#submit:hover {
    background-color: cornflowerblue;
}

@media (max-width: 1000px) {
    aside #top {
        position: relative;
        left: 30px;
    }
}

aside img #top {
    position: relative;
    right: 60px;
}