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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    overflow-x: hidden; 
}

header, footer {
    background: #000; 
    color: #fff;
    padding: 1rem 2rem;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    max-width: 100%; 
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    max-width: 100%; 
    width: 100%;
}

header h1 {
    color: #fff;
    font-size: 2rem; 
    font-weight: 300; 
    white-space: nowrap;
    margin-right: auto; 
    text-decoration: none;
}

header h1 a{
    color: #fff;
    text-decoration: none;
}

header h1 a:hover {
    text-decoration: underline;
}

nav {
    display: flex;
    align-items: center;
}

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

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

.nav-links a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 200;
    font-size: 1.3rem; 
}
.nav-links a:hover {
    text-decoration: underline;
}

.menu-icon {
    display: none;
    
}

@media (max-aspect-ratio: 1) {
    header h1 a{
        color: #fff;
        text-decoration: none;
    }
    
    header h1 a:hover {
        text-decoration: underline;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #000;
        opacity: 90%;
        width: 100%;
        text-align: right;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    header h1 {
        font-size: 1.5rem;
    }
}


footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
}