/* css file for user end form page  */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #eee8f7;
}

#form-div,
.text-div {
    display: flex;
    flex-direction: column;
}

.no-response-div {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: auto;
    justify-content: center;
    row-gap: 1em;
    padding: 2em;
    border-radius: 30px;
}

#form-title {
    margin: 0;
    /* width: 50%; */
    /* margin: auto; */
    /* text-align: center; */
}

#form-div {
    width: 50%;
    margin: auto;
    justify-content: center;
    /* align-items: center; */
    /* row-gap: 2em; */
    row-gap: 1em;
    /* background-color: #f7f7f7; */
    padding: 2em;
    border-radius: 30px;
    /* margin-top: 5em; */
    /* border: 1px solid red; */
}

.headerCont {
    padding: 1em;
    background-color: white;
    border-radius: 10px;
    /* border-top: 10px solid #5c33ae; */
    border-left: 10px solid #5c33ae;
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}

.questionCont {
    border-left: 10px solid #5c33ae;
    padding: 1em;
    background-color: white;
    border-radius: 10px;
}

.radio-div,
.single-radio {
    display: flex;
    flex-direction: column;
}

.radio-div {
    width: 100%;
}

.single-radio {
    justify-content: center;
    align-items: center;
    row-gap: 0.75em;
    cursor: pointer;
    padding: 0.5em !important;
}

.opt-div {
    padding: 0.5em !important;
}

.opt-div:hover {
    background-color: #ededed;
    cursor: pointer;
    border-radius: 10px;
}

.single-radio:hover {
    background-color: #ededed;
    border-radius: 10px;
}

.radio-cont {
    display: flex;
    width: 90%;
    justify-content: space-between;
}

.long-div {
    /* width: 90%; */
    width: 100%;
}

.vid-div {
    width: 70%;
}

.sbt-btn {
    /* width: 40%; */
    width: 20%;
    /* width: auto; */
    background-color: #5c33ae;
    border: none;
}

/* label {
    font-size: 1.25em;
} */

.vc {
    width: 100%;
    display: flex;
    justify-content: center;
    /* height: 270px; */
    /* height: 160px; */
    column-gap: 1em;
    min-height: 200px;
}

.new-vc {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 0.5em;
}

#dwn-btn {
    font-size: 0.75em;
    color: grey;
    width: 100%;
}

.c1,
.c2 {
    width: 50%;
}

.c1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1em;
    background-color: #5a5a5a;
    margin-right: 1em;
}

.inst-header {
    margin: 0;
}

.inst-steps {
    margin-bottom: 0.5em;
}

.n-class {
    width: 50%;
    margin: auto;
    margin-top: 2em;
}

.rec-vid {
    text-decoration: none;
}

.rec-vid:hover {
    color: white;
}

#recordedVideo {
    width: 100%;
    height: 250px;
    border: 1px solid #d9d9d9;
    border-radius: 15px;
}

.f-title {
    text-align: center;
    margin-bottom: 1em;
}

.notVis {
    display: none !important;
}

.submit-div {
    width: 100%;
    border-left: 10px solid #5c33ae;
    padding: 1em;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 2em;
    align-items: center;
}

/* media queries */
@media only screen and (max-width: 414px) {
    #form-div {
        width: 90%;
        margin-top: 2em;
        padding: 0.5em;
    }

    .n-class {
        width: 90%;
        margin-top: 2em;
        padding: 0.5em;
    }

    .no-response-div {
        width: 90%;
        margin-top: 2em;
        padding: 0.5em;

    }

    .sbt-btn {
        width: auto;
        /* width: 75%; */
        /* width: 95%; */
    }

    .radio-div {
        row-gap: 1em;
    }

    .radio-cont {
        width: 100%;
        flex-direction: column;
    }

    .single-radio {
        flex-direction: row-reverse;
        justify-content: flex-end;
        column-gap: 0.5em;
        row-gap: 1.25em;
    }

    .vc {
        flex-direction: column;
        height: auto;
        row-gap: 1em;
        width: 95%;
    }

    .new-vc {
        flex-direction: column;
        align-items: center;
        height: auto;
        row-gap: 1em;
        width: 95%;
    }

    .c1,
    .c2 {
        width: 100%;
    }

    .c1 {
        height: 175px;
    }

    .f-title {
        font-size: 1em;
    }
}

@media only screen and (min-width: 765px) and (max-width: 825px) {

    #form-div,
    .n-class {
        width: 90%;
    }

    .no-response-div {
        width: 90%;
    }
}

/* loader css */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px dotted #FFF;
    border-style: solid solid dotted dotted;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px dotted #FF3D00;
    border-style: solid solid dotted;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    animation: rotationBack 1s linear infinite;
    transform-origin: center center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}