@font-face {
    font-family: 'DuneFont';
    src: url('../fonts/dune_rise-webfont.woff2') format('woff2'),
         url('../fonts/dune_rise-webfont.woff') format('woff');
}

/* Global Reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: url('../img/25730021.jpg') no-repeat center center/cover;
    filter: grayscale(100%);
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: 'DuneFont', sans-serif;
}

/* Hero Container with overlay and subtle texture */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=");
    opacity: 0.2;
    pointer-events: none;
}

/* Nav Bar with semi-translucent grey background */
.nav-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 20px;
}

.nav-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

/* Interactive Name Text positioned at bottom-right on larger screens */
.name-container {
    position: absolute;
    bottom: 28%;
    right: 4%;
    font-size: 5vw;
    color: white;
    pointer-events: none;
    white-space: nowrap;
}

/* Individual letter styling for repulsion effect */
.letter {
    display: inline-block;
    transition: transform 0.2s ease;
    will-change: transform;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .name-container {
        left: 50%;
        top: 65%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        text-align: left;
    }
}