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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}

#parallax-container {
    width: 100%;
    height: 100%;
    perspective: 1px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.parallax-item {
    position: relative;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    transform-style: preserve-3d;
}

.parallax-item:nth-child(odd) {
    background-attachment: scroll;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}
