body {
    background-color: #000;
}

nav {
    display: flex;
    margin: 0 auto;
    transform: translateY(-50%);
    align-items: center;
    justify-items: center;
    width: 100%;
    text-align: center;
}

nav a {
    position: relative;
    width: 35%;
    display: table-cell;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    opacity: 0.5;
    padding: 10px 20px;
}

nav a:hover {
    opacity: 1;
}

nav a:nth-child(1) {
    opacity: 1;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5rem;
    margin-left: 27%;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 20px;
    cursor: default;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s ease-in;
    width: 45%;
    align-self: center;
}

.step-card {
    background-color: #f4f4f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}


.step-card h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

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

.arrow {
    font-size: 5em;
    color: #666;
}

.step-card:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    width: 110px;
}

@media (max-width: 800px) {

    .logo {
        width: 110px;
    }

    /* Center and resize navigation */
    nav {
        display: flex;
        flex-direction: column;
        /* Stack links vertically for smaller screens */
        /* Center navbar links */
        gap: 0.25;
        /* Space between links */
        margin: 0;
        /* Remove any top margin */
        width: 100%;
        /* Span the full width */
        transform: none;
    }

    nav a {
        font-size: 1rem;
        /* Adjust text size for smaller screens */
        width: auto;
        /* Adjust width to fit content */
        text-align: right;
        padding: 10px;
    }

    .navbar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust progress container for mobile */
    .progress-container {
        flex-direction: column;
        gap: 1rem;
        justify-items: center;
        padding: 0;
        margin-left: 15%;
        margin-top: 0;
        width: 70%;
        margin-bottom: 5px;
    }

    /* Make arrows point downward */
    .arrow {
        transform: rotate(90deg);
    }

    /* Resize step cards and adjust padding for mobile */
    .step-card {
        width: 100%;
    }

    /* Adjust indicator for mobile */
    #indicator {
        width: 20px;
        height: 2px;
        bottom: -2px;
    }
}