/* General */

.full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-screen h1 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
}

.full-screen span {
    display: block;
}

.live-test {
    padding: 0 5rem;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    flex-direction: column;
    gap: 3rem;
}

.hide-mobile {
    display: flex;
}

.close-menu {
    display: none;
}

.mobile-toggle {
    display: none;
    color: black;
    padding: .5rem .75rem;
    font-size: 1.1rem;
    background-color: #ffffff;
    border-radius: 5px;
}

.live-test .border {
    position: relative;
    z-index: 2;
    border: none!important;
}

.live-test .border::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 100%;
    height: 100%;
    background-color: #0F253E;
    border-radius: 15px;
    z-index: 1;
}

.live-test .border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid black!important;
    background-color: white;
    z-index: 2;
}

.live-test .video-wrapper::after {
    background-image: url("../img/mail-img.png");
    background-size: cover;
}

.live-test .wrapper {
    background-color: white;
    padding: 0;
}

.live-test .wrapper.top {
    height: 70%;
    width: 100%;
    display: flex;
    gap: 5rem;
}

.live-test .video-wrapper, .live-test .chat-wrapper  {
    height: 100%;
}

.live-test .wrapper.bottom {
    width: 100%;
}

.live-test .titreLive.desktop {
    display: block;
}

.live-test .titreLive.mobile {
    display: none;
}

/* Video */

.live-test .wrapper .video-wrapper {
    background-color: #fafafa;
    aspect-ratio: 16/9;
}

.live-test .titreLive {
    color: #0F253E;
    font-size: 2.2rem;
    font-weight: 300;
    transform: none;
}


/* Chat */

.live-test .ask-question button {
    background-color: #BD5860;
    padding: .5rem 1rem;
    font-size: 1.2rem;
    border: 1px solid black;
    border-radius: 10px;
    font-weight: 300;
    margin-top: .75rem;
    width: 100%;
}

.live-test .ask-question p {
    font-size: 1.2rem;
}

.live-test .chat-wrapper {
    display: flex;
    flex-direction: column;
    border: none!important;
}

.live-test .chat-wrapper .content {
    position: relative;
    z-index: 10;
    border: 2px solid black;
    border-radius: 15px;
    height: 100%;
    overflow: hidden;
}

.live-test .chat-wrapper .top {
    height: 85%;
    width: 100%;
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.live-test .chat-wrapper .top .message:last-of-type {
    margin-bottom: 0;
}

.live-test .chat-wrapper .bottom {
    height: 15%;
    width: 100%;
    border-top: 2px solid black;
}

.live-test .chat-wrapper .bottom .chat-field {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.live-test .chat-wrapper .bottom .chat-field input {
    flex: 0 1 90%;
    padding: .6rem;
    border: 1px solid black;
    border-radius: 10px;
}

/* Nav */

.nav-test {
    background-color: white!important;
    padding: 0 5rem;
    border-bottom: 2px solid black;
    height: 10vh;
}

.nav-test .colNav {
    height: auto;
}

.nav-test .logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.nav-test .send-help-nav {
    font-size: 1.4rem;
    color: #0F253E!important;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 7px;
}

#unmute {
    padding: 2px 6px;
    background-color: red;
    color: white;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */

@media (max-width: 1400px) {
    .live-test {
        padding: 0 3rem 0 2rem;
    }

    .nav-test {
        padding: 0 2rem;
    }

    .live-test .wrapper.top {
        height: 65%;
        gap: 3.5rem;
    }
}

@media (max-width: 1280px) {

    .live-test .wrapper.top {
        height: 60%;
    }
}


@media (max-width: 1200px) {

    .nav-test {
       height: auto;
         padding: 1rem 2rem;
    }

    .live-test {
        height: auto;
        padding: 3rem 3rem 3rem 2rem;
    }

    .live-test .wrapper.top {
       flex-direction: column;
        height: auto;
        gap: 0;
    }

    .live-test .chat-wrapper .top {
        height: 300px;
    }

    .live-test .titreLive.desktop {
        display: none;
    }

    .live-test .titreLive.mobile {
        display: block;
        margin-bottom: .75rem!important;
    }

    .live-test .chat-wrapper {
        margin-top: 3rem;
    }


    /*.tchat {*/
    /*    height: 32vh;*/
    /*}*/

    .mobile-toggle {
        display: block;
        cursor: pointer;
    }

    .hide-mobile {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 998;
        flex-direction: column;
        justify-content: center!important;
        padding: 0!important;
    }


    .hide-mobile span, .hide-mobile a {
        font-size: 1.5rem;
        color: #000000!important;
        margin: .15rem 0!important;
        padding: 0!important;
    }

    .hide-mobile .langue {
        display: flex;
        flex-direction: column!important;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        z-index: 999;
    }

}
