body {
    scroll-snap-type: y mandatory;
    font-family: 'Helvetica', 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
    background-color: #ffffff;
    color: #111111;
}

.sectionz, .section, .sectiona {
    scroll-snap-align: start;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sectiona {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.sectiona .left {
    max-width: 100%;
    opacity: 1;
    transition: opacity 1s;
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.sectiona .text {
    max-width: 50%;
    opacity: 1;
    transition: opacity 1s;
    flex: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

#infoTextHead {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
    line-height: 1.3;
}

#infoTextBody, #ml {
    font-size: 1rem;
    line-height: 1.6;
    color: #444444;
    font-family: inherit;
    font-weight: 400;
}

#ml {
    display: none;
    opacity: 0;
    transition: opacity 1.2s ease;
    margin-top: 1rem;
}

#instructionText, #instructionText2 {
    margin-top: 15px;
    margin-bottom: 0;
    color: #333333;
    font-size: 1.3vh;
    transition: opacity 1s ease;
    opacity: 0;
    animation: bounce 2s ease infinite;
}

#instructionTextz {
    margin-top: 20px;
    color: #333333;
    font-size: 1.5vh;
    transition: opacity 2.5s ease;
    opacity: 1;
    animation: bounce 2s ease infinite;
    margin-bottom: 10px;
}

#instructionText4 {
    margin-top: 5px;
    color: #333333;
    font-size: 1.5vh;
    transition: opacity 1s ease;
    opacity: 0;
    animation: bounce 3s ease infinite;
}

#instructionText3, #instructionText2e {
    margin-top: 5px;
    color: #7c3232;
    font-size: 1.3vh;
    transition: opacity 2.5s ease;
    display: none;
    opacity: 0;
    animation: bounce 1s ease infinite;
}

#processedFrame, #video, #processedFrame2 {
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 72vh;
    object-fit: contain;
    margin-bottom: 6px;
    margin-top: 6px;
}

#downArrow {
    font-size: 2vh;
    color: #111111;
    margin-top: 10px;
    display: none;
    opacity: 0;
    transition: opacity 2.5s ease;
    animation: bounce 2s ease infinite;
}

#etc {
    color: #333333;
    font-size: 1.5vh;
    transition: opacity 0.5s ease;
    opacity: 1;
    animation: bounce 2s ease infinite;
    text-align: center;
}

#landingPrompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.disclaimer-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    box-sizing: border-box;
}

.disclaimer {
    color: #555555;
    font-size: 1.0vh;
    line-height: 1.4;
    margin-bottom: 4px;
    opacity: 1;
    text-align: center;
    transition: opacity 1.2s ease;
}

#startCameraButton {
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #111111;
    border: 1px solid #111111;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#startCameraButton:hover {
    background-color: #333333;
    transform: translateY(-1px);
}



@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media screen and (max-width: 1366px) {
    .sectiona {
        flex-direction: column;
    }
    
    .sectiona img {
        display: inline-block;
        max-width: 100%;
        margin: 0 auto;
        padding-bottom: 2px;
    }

    .sectiona .text {
        max-width: 100%; 
        margin: 0 10px;
        padding: 0;
        display: inline-block;
    }

    #infoTextBody, #ml {
        font-size: 14px;
        max-width: 90vw;
    }

    #section3 {
        display: none;
    }
}