/* General Styles */
html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

body {
    scroll-snap-type: y mandatory; /* Vertical snapping */
    overflow-y: scroll;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background-color: #1C1C1C;
    color: white;
    padding: 20px;
    text-align: center;
}

.steps {
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative; /* Enables absolute positioning inside it */
    padding-bottom: 60px; /* Make room for the buttons */
}

.step {
    margin-bottom: 40px;
}

.step h3 {
    color: #333;
    font-size: 1.2em;
}

.step p {
    font-size: 1em;
    color: #666;
}

.download-button:hover {
    background-color: #960d0d;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1C1C1C;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.step-img {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: 15px;
        font-size: 1.5em;
    }

    .steps {
        margin: 10px;
        padding: 15px;
    }

    .download-button {
        font-size: 1em;
        padding: 8px 16px;
    }

    .step h3 {
        font-size: 1.1em;
    }

    .step p {
        font-size: 0.9em;
    }

    footer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
        font-size: 1.3em;
    }

    .steps {
        margin: 5px;
        padding: 10px;
    }

    .download-button {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .step h3 {
        font-size: 1em;
    }

    .step p {
        font-size: 0.85em;
    }

    .step-img {
        max-width: 250px;
    }

    footer {
        font-size: 0.8em;
    }
}

/* Section Styling */
.section {
    scroll-snap-align: start; /* Snap to the start of each section */
    position: relative; /* Enables absolute positioning for .bottom */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.8s ease-in-out;
}

.section .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
    padding: 20px;
    margin-bottom: 200px;
}

.section div {
    text-align: center;
    position: relative; /* Enables absolute positioning for .bottom */
}

.section .absolute-center {
    text-align: center;
    position: absolute; /* Enables absolute positioning for .bottom */
}

.bottom {
    margin-top: auto; /* Pushes to the bottom within .content */
}

/* Background colors for each section */
#welcome-section {
    background-color: #1C1C1C;
}

#middle-section {
    background-color: #960d0d;
}

#download-section {
    background-color: #1C1C1C;
}

/* Scroll indicator styles */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#language-switcher {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
