@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 40px 30px;
    background-color: #FAFAFA;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

h1 {
    font-size: 21px;
    font-weight: 600;
    color: #222;
    border-bottom: none !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    padding-top: 0 !important;
}

html {
    overflow-y: auto !important;
}

button#startInterview {
    background: #161E54;
    border: none;
    color: #FFFFFF;
    height: 45px;
    padding: 0 35px;
    border-radius: 45px;
    font-size: 14px;
    line-height: normal;
    font-weight: 600;
    transition: ease all 0.25s;
    cursor: pointer;
    margin-top: 25px;
}

button#startInterview:hover,
button#startInterview:focus {
    background: #0CBBD2;
    color: #FFFFFF;
}

#transcript {
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    max-width: 640px;
    width: 100%;
    color: #1E2021;
    /* opacity: 10%; */
    position: relative;
    height: 200px;
    overflow: auto;
    font-size: 15px;
    line-height: 26px;
    padding: 15px 20px;
    margin-left: auto;
    margin-right: auto;
}

.background {
    max-width: 580px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px auto 30px;
    display: flex;
    justify-content: center;
    width: 100%;
    border: solid #E0E0E0 1px;
    background: #ffffff;
}

.overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    height: auto;
    border-radius: 5px;
    border: solid #E0E0E0 1px;
    background: #ffffff;
    color: #1E2021;
}

.transcript-box {
    right: auto;
}

/* style_video_ai.css */
.progress-container {
    width: 100%;
    background-color: #CCCCCC;
    border-radius: 0;
    margin: 0;
    position: fixed;
    bottom: 0;
}

.progress-bar {
    height: 15px;
    width: 0;
    background-color: #0CBBD2;
    border-radius: 0px;
    transition: width 0.4s ease;
}

.timerDisplay {
    height: 70px;
    font-size: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    bottom: inherit;
    top: 10px;
    font-weight: 600;
    width: 70px;
    border-radius: 70px;
    right: 15px;
}

div#videoContainer div#remoteVideo {
    margin-top: 0;
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
}

video#video {
    height: 100%;
    width: 98%;
    border-radius: 5px;
    margin-bottom: 0;
    transform: scale(1.05);
}

video#videoElement {
    position: relative;
    float: right;
    width: 49%;
    margin: 20px 0 0 0;
    z-index: 4;
}


div#videoContainer {
    width: 49%;
    float: left;
    margin-top: 20px;
    background: #fff;
    border: solid #E0E0E0 1px;
    border-radius: 5px;
    overflow: hidden;
}

video#videoElement,
div#videoContainer {
    height: calc(100vh - 210px);
}

.container {
    max-width: 100%;
    width: 100%;
}

/* Responsive CSS */

@media (min-width: 991px) {

video#video {
    object-fit: cover;
}

}

@media (min-width: 992px) and (max-width: 1140px) {

body {
    padding-left: 15px;
    padding-right: 15px;
}

#transcript {
    max-width: calc(100% - 330px);
}

.overlay {
    width: 300px;
}

}


@media (min-width: 768px) and (max-width: 991px) {

body {
    padding-left: 15px;
    padding-right: 15px;
}

#transcript {
    max-width: calc(100% - 280px);
}

.overlay {
    width: 250px;
}

}


@media (max-width: 767px) {

body {
    padding-left: 15px;
    padding-right: 15px;
}

h1 {
    margin-top: 5px;
}

#transcript {
    max-width: 100%;
}

.overlay {
    width: 100%;
}

}

@media (min-width: 992px) and (max-width: 1199px) {

.timerDisplay {
    top: 0;
    height: 65px;
    margin-top: 10px;
    width: 65px;
    right: 15px;
}

}

@media (max-width: 991px) {

h1 {
    margin-top: 0;
    text-align: center;
    font-size: 20px !important;
    max-width: 330px;
}

.timerDisplay {
    width: 50px;
    height: 50px;
    right: 0px;
    font-size: 23px;
    top: 0;
    position: relative;
    float: right;
    margin-top: 15px;
}

video#videoElement, div#videoContainer {
    height: calc(50vh - 115px);
}

div#videoContainer,
video#videoElement {
    width: 100%;
}

button#startInterview {
    margin-top: -47px;
    float: left;
    margin-bottom: 0;
    margin-left: 0;
}

video#videoElement {
    margin: 15px 0 0 0;
}

}

