*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden; 
    font-family: Helvetica, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    margin: 1rem;
    text-align: left;
    justify-content: center;
    overflow: visible;
}

h1 {
    color: #333;
    text-align: center;
}

p {
    margin: 1rem 0;
}

.custom-counter {
    counter-reset: custom-counter;
    list-style: none; 
}

.custom-counter > li {
    counter-increment: custom-counter;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2.5rem; 
}

.custom-counter > li::before {
    content: counter(custom-counter);
    position: absolute;
    top: 0;
    left: 0; 
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

a, button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    font-size: 1rem;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

a:hover, button:hover {
    background-color: #0056b3;
}

.button-container {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.id-container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    gap: 1rem; 
    margin-top: 1rem;
}

#user-id {
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
}


@media screen and (orientation: portrait)  {
    .container {
        padding: 1rem; 
    }

    h1 {
        font-size: 1.5rem;
    }

    p, li {
        font-size: 1rem;
    }

    a, button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .custom-counter > li {
        padding-left: 2rem; 

    .custom-counter > li::before {
        left: -1.5rem;
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0.875rem;
    }

    .iframe-container {
        width: 100vw; /* Full viewport width */
        height: 100vh; /* Full viewport height */
        overflow: hidden; /* No overflow allowed */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Ensure iframe takes up full width and height of container */
    iframe {
        width: 100vw; /* Full width of the viewport */
        height: 100vh; /* Full height of the viewport */
        border: none;
    }
}}