/* General */

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

.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;
}


/* Banner */

.banner {
    height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/jlr_banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    padding: 0 5rem;
    position: relative;
}

.banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(46, 77, 88, .7);
        z-index: 0;
}

.banner .content-wrapper {
    position: relative;
}

.banner .content-wrapper h1 {
    font-size: clamp(3rem, 5vw, 5rem);
}

.banner .content-wrapper h2 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}


/* 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;
    }
}