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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('justin-wilkens-p6oLLI_9sV0-unsplash_s.jpg');
    background-size: cover;
    background-position: 60% center; /* Shows water on left for mobile */
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(1.05);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    padding-bottom: 40vh;
    text-align: center;
}

.logo {
    max-width: 80%;
    width: 300px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    color: #05173b;
    text-shadow: 0 2px 4px rgba(254, 254, 254, 0.5);
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and larger */
@media (min-width: 768px) {
    .background {
        /* background-position: 40% center; Gradual shift toward center */
    }

    .logo {
        width: 400px;
    }

    .tagline {
        font-size: 2rem;
        letter-spacing: 0.4em;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .background {
        background-position: center; /* Fully centered on desktop */
    }

    .logo {
        width: 500px;
    }

    .tagline {
        font-size: 2.5rem;
        letter-spacing: 0.5em;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .logo {
        width: 600px;
    }

    .tagline {
        font-size: 3rem;
    }
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #05173b;
    text-shadow: 0 1px 2px rgba(254, 254, 254, 0.5);
    z-index: 10;
}

@media (min-width: 768px) {
    footer {
        font-size: 1rem;
    }
}