/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    text-align: center;
}


/* Camera Container */

/* Video Feed Styling */
#video-feed {
    display: none;
}

/* Canvas for Overlay */
#overlay {
    pointer-events: none;
    width: 100%;
    border-radius: 11px;
    height: auto;
}

/* Status Div */


/* Alignment Fixes */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 10px;
    width: 100%;
}

.analysis-heading {
    color: aqua;
    font-size: 21px;
    margin-left: 5px;
}



.img-result {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    margin-bottom: 10px;
}

div#img-analysis {
    width: 39%;
    border: 1px solid #00ffff1a;
    height: 90vh;
    margin-right: 5px;
    text-align: left;
    padding-left: 13px;
    margin-top: 15px;
    border-radius: 10px;
    background: rgb(8 11 15);
}
main {
    width: 100%;
    height: 100%;
    /* margin-top: 40px; */
}

div#analysis-results {
    width: 39%;
    margin-right: 8px;
    margin-top: -66px;
    height: 74vh;
    background: black;
    border-radius: 10px;
    border: 1px solid #00ffff1a;
    text-align: left;
    padding: 10px;
    color: aqua;
    overflow: auto;
}

#status {
    max-height: 100%;
    overflow-y: auto;
    padding: 0 10px;
}

#status p {
    font-size: 18px;
    color: aqua;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.flex-ergo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 57px;
    margin-top: 26px;
}
#result-btn {
    display: none;
}

#ergo {
    display: none;
}

input[type="file"] {
    width: 98px;
    margin-left: 38px;
}

h1.analysis-heafding {
    text-align: left;
    padding-left: 26px;
    padding-top: 11px;
    font-size: 25px;
}

.img-analysis-content {
    width: 94%;
    height: 32vh;
    background: white;
    margin-left: 30px;
    border-radius: 16px;
    margin-bottom: 22px;
}


#stopButton {
    padding: 7px;
    border-radius: 5px;
    background: aquamarine;
    border: none;
    color: black;
}

#startButton {
    padding: 7px;
    border-radius: 5px;
    background: aquamarine;
    border: none;
    color: black;
}

/* #timer {
    color: aquamarine;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 12%;
    left: 38%;
} */
div#timer {
    color: aqua;
}
.timer-show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 95px;
    position: absolute;
    top: 82%;
    left: 0%;
}

html,
body {
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.Ergonomics-container-video {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
}



.sample-image {
    object-fit: scale-down !important;
    width: 89%;
    height: 47vh !important;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sample-image-div {
    object-fit: scale-down !important;
    width: 89%;
    height: 47vh !important;
    border-radius: 10px;
    margin-bottom: 10px;
}

.upload-container {
    display: block !important;
    width: 56%;
    border: 1px solid #00ffff1a;
    margin-right: 20px;
    border-radius: 20px;
    height: auto;
    margin-left: 41px;
    padding-bottom: 29px;
    background: rgb(8 11 15);
}

h1.video-heading {
    margin-bottom: 3%;
    text-align: center;
    margin-left: 5%;
    font-size: 22px;
    color: #4187e2;
    padding-top: 30px;
}
ul.wellbeing-sub-header {
    height: 43px;
}
.upload-container-heading {
    color: turquoise;
    margin-bottom: 10px;
    font-size: 14px;
}

.processed_image {
    object-fit: scale-down !important;
    width: 100%;
    height: 47vh !important;
    border-radius: 10px;
    margin-bottom: 10px;
    position: absolute;
    top: 58%;
    right: 22%;
}
#overlay {
    pointer-events: none;
    width: 117% !important;
    border-radius: 11px;
    height: 75vh ! IMPORTANT;
    position: relative;
    left: 49px;
    top: -27px;
}
#status h1 {
    font-size: 20px;
    text-align: center;
    color: aqua;
}
#status h2 {
    font-size: 16px;
    text-align: center;
    color: aqua;
}
form.ergo-form {
    margin-top: 40px;
}

.upload-erg-img {
    padding: 10px 26px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
}

button.report-img-test {
    text-decoration: none;
    font-size: 21px;
    padding: 7px 7px;
    color: yellow;
    background: black;
    border: 1px solid beige;
    margin-left: 22px;
    cursor: pointer;
    margin-top: 8px;
}

.report-img-test a {
    text-decoration: none;
    color: yellow;

}
.secondary-header{
    border-bottom: 1px solid #00ffff61;
}
@media(max-width:768px){
    ul.wellbeing-sub-header {
        height: auto !important;
    }
    .processed_image {
        width: 88%;
        height: 38vh !important;
        border-radius: 10px;
        margin-bottom: 10px;
        position: absolute;
        top: 53%;
        right: 6%;
        object-fit: cover !important;
    }
    h1.video-heading {
        margin-bottom: 3%;
        text-align: left;
        margin-left: 5%;
        font-size: 11px;
        color: #4187e2;
    }
    .Ergonomics-container-video {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: relative;
        flex-direction: column;
        top: 41px;
    }
    div#analysis-results {
        width: 94%;
        margin-right: -6px;
        margin-top: 6px;
        height: 74vh;
        background: black;
        border-radius: 10px;
        border: 1px solid #00ffff5e;
        text-align: left;
        padding: 10px;
        color: aqua;
        overflow: auto;
    }
    .timer-show {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: -106px !important;
        position: absolute;
        top: 36%;
        left: 46%;
        flex-direction: column;
        gap: 41px !important;
    }
    #stopButton {
        padding: 5px;
        border-radius: 5px;
        background: aquamarine;
        border: none;
        color: black;
    }
    .img-result {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
        margin-bottom: 10px;
        flex-direction: column;
    }
    .upload-container {
        width: 97%;
        margin-top: 52px !important;
        align-items: center !important;
        gap: 5px;
        margin-left: 2%;
        border: 1px solid #00ffff5e;
    }
    button.report-img-test {
        text-decoration: none;
        font-size: 11px;
        padding: 6px;
        color: yellow;
        background: black;
        border: 1px solid beige;
        margin-left: 22px;
        cursor: pointer;
    }
    div#img-analysis {
        width: 97%;
        border: 1px solid #00ffff5e;
        height: 82vh;
        margin-right: 12px;
        text-align: left;
        padding-left: 17px;
        margin-left: 3%;
        margin-top: 15px;
        border-radius: 10px;
    }
    #overlay {
        pointer-events: none;
        width: 93% !important;
        border-radius: 11px;
        height: 75vh !important;
        position: relative;
        left: 0px;
        top: -27px;
    }
}


@media only screen and (max-width: 1024px) and (min-width: 600px){

    .secondary-header{
        border-bottom: 1px solid aqua;
    }
    .Ergonomics-container-video{
        display: block !important;
        margin-top: 10%;
    }
    div#analysis-results {
        width: 93%;
        margin-left: 30px;
        /* margin-right: 13px; */
        margin-top: 20px;
        height: 74vh;
        background: black;
        border-radius: 10px;
        border: 1px solid #00ffff5e;
        text-align: left;
        padding: 10px;
        color: aqua;
        overflow: auto;
    }
    .timer-show {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 95px;
        position: absolute;
        top: 44%;
        left: 15%;
    }
    .img-result{
        display: block;
    }
    .upload-container{
        width: 91%;
        border: 1px solid #00ffff5e;
    }
    div#img-analysis {
        width: 91%;
        border: 1px solid #00ffff5e;
        height: 82vh;
        text-align: left;
        padding-left: 13px;
        margin-top: 15px;
        margin-left: 37px;
        border-radius: 10px;
    }

    .processed_image {
        width: 78%;
        height: 43vh !important;
        border-radius: 10px;
        margin-bottom: 10px;
        position: absolute;
        object-fit: cover !important;
        top: 54%;
        border: 1px solid red;
        right: 9%;
    }

    #overlay {
        pointer-events: none;
        width: 94% !important;
        border-radius: 11px;
        height: 75vh ! IMPORTANT;
        position: relative;
        left: 0px !important;
        top: -27px;
    }
}

@media (max-width: 1180px) , (max-width: 1280px){
    div#img-analysis{
        height: 86vh;
    }
    #overlay {
        pointer-events: none;
        width: 91% !important;
        border-radius: 11px;
        height: 75vh ! IMPORTANT;
        position: relative;
        left: 0px;
        top: -27px;
    }
}

@media(max-width:1880px) and (min-width:1517px){
    div#img-analysis{
        height: 79vh;
    }
}

@media (min-width: 1900px){
    .sample-image {
        object-fit: scale-down !important;
        width: 89%;
        height: 47vh !important;
        border-radius: 10px;
        margin-bottom: 10px;
        position: absolute;
        top: 57%;
        right: 27%;
    
    }
    .upload-container {
        display: block !important;
        width: 57%;
        border: 1px solid #00ffff5e;
        margin-right: 20px;
        border-radius: 20px;
        height: 84vh;
        margin-left: 41px;
    }
    div#img-analysis {
        width: 39%;
        border: 1px solid #00ffff5e;
        height: 84vh;
        margin-right: 7px;
        text-align: left;
        padding-left: 13px;
        margin-top: 15px;
        border-radius: 10px;
    }
    .upload-container-heading {
        margin-top: 37px;
        color: turquoise;
        margin-bottom: 10px;
        font-size: 14px;
    }

}


