* {
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

:root {
    --main: #3543bb;
}

@font-face {
    font-family: decathlon;
    src: url("/assets/fonts/decathlon/DECATHLON-Light.woff2") format("woff2");
    font-weight: 100
}

@font-face {
    font-family: decathlon;
    src: url("/assets/fonts/decathlon/DECATHLON-Regular.woff2") format("woff2");
    font-weight: 400
}

@font-face {
    font-family: decathlon;
    src: url("/assets/fonts/decathlon/DECATHLON-Bold.woff2") format("woff2");
    font-weight: 700
}

body {
    background-position: 100% 100%;
    background-size: 800px;
    background-repeat: no-repeat;
    font-family: decathlon;
}

header {
    height: 15vh;
    width: 100vw;
    padding: 2vh 2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header > img {
    height: 7vh;
    object-fit: contain;
}
#adelphe {
    height: 9vh;
    margin-left: 30px;
}
#citeo {
    height: 7vh;
    margin-right: 25px;
}
header nav .nav-button {
    padding: 0.95rem;
    font-size: 0.9rem;
    border-radius: 15px;
    background-color: black;
    color: white;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: solid 2px black;
    margin-left: 1.5rem;
}

header nav .nav-button:hover {
    background-color: white;
    color: black;
}

header nav .nav-link {
    margin: 0 1.5rem;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

header nav .nav-link:hover {
    opacity: 0.5;
}

header nav {
    display: flex;
    align-items: center;
}

.menuButton {
    display: none;
    margin-left: 3vw;
    font-size: 25px;
}

main {
    margin: 0 3.5vw;
    width: 93vw;
    height: 85vh;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
    overflow: scroll;
}

/* width */
main::-webkit-scrollbar {
    width: 10px;
    display: none;
}

/* Track */
main::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
main::-webkit-scrollbar-thumb {
    background: rgba(50, 50, 50, 0.4);
    border-radius: 2000px;
}

/* Handle on hover */
main::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.player-box {
    width: 75%;
}

.toast {
    max-width: 50vw;
    padding: 20px;
    background-color: black;
    border-radius: 25px;
    position: fixed;
    margin: 0 auto;
    left: 50%;
    bottom: -30px;
    opacity: 0;
    transform: translateX(-50%);
    transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: white;
    height: fit-content;
}

.notification {
    max-width: 35vw;
    padding: 20px;
    background-color: black;
    border-radius: 25px;
    position: fixed;
    right: -30px;
    top: 30px;
    opacity: 0;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: white;
    cursor: pointer;
}

.pip {
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
}

.pip-player-container {
    width: 27.5vw;
    transition: width 0.5s ease-out;
}

.pip-handle {
    padding: 10px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 15px 0 0 15px;
    background-color: black;
    height: 70px;
    width: 35px;
}

.pip-handle i {
    color: white;
    cursor: pointer;
}

.live {
    display: flex;
    align-items: center;
    height: calc(100vh - 15vh);
    justify-content: space-between;
}

.live .live-player-box {
    width: 60%;
}

.live-feed-box {
    width: 100%;
    padding: 20px;
    background-color: white;
    margin-top: 30px;
    border-radius: 20px;
    /* border: 1px solid rgb(177, 177, 177); */
    /* box-shadow: 0px 3px 15px 6px rgba(0,0,0,0.36);
    box-shadow: 0px 1px 20px 1px rgba(0,0,0,0.36); */
    box-shadow: 0px 5px 25px -6px rgba(46,46,46,0.55);
}

.live-feed-box-title {
    margin-bottom: 20px;
    /* color: white; */
    font-size: 1.3rem;
}

.live-feed-box-input-line {
    display: flex;
    align-items: center;
}

#live-feed-input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid rgb(177, 177, 177);
    background: rgb(244 244 244);
}

.live-feed-box-input-line i {
    margin-left: 20px;
    font-size: 1.8rem;
    /* color: white; */
    color: #1fa1db;
    cursor: pointer;
}

.modal-bg {
    width: 100vw;
    height: 100vh;
    background-color: rgba(50, 50, 50, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
}

.net-agreement-box {
    width: 50vw;
    height: 60vh;
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.net-agreement-form p {
    margin-bottom: 20px;
}

.boolean-selector {
    padding: 15px 20px;
    border-radius: 10px;
    border: solid 1px black;
    cursor: pointer;
    margin-bottom: 15px;
}

.boolean-selector.active {
    background-color: black;
    color: white
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 500;
}

.modal-buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.modal-button {
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    background-color: black;
    cursor: pointer;
}

.net-contact-elem {
    padding: 15px;
    border-radius: 10px;
    background-color: black;
    cursor: pointer;
    margin-bottom: 20px;
}

.net-contact-elem * {
    color: white;
}

.net-contact-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.net-discussion-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 250px;
    background-color: white;
}

.net-discussion-header {
    padding: 10px;
    background-color: black;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.net-discussion-header p {
    color: white;
    font-weight: bold;
}

.net-discussion-body {
    height: 300px;
    border-left: solid 1px black;
    border-right: solid 1px black;
    flex-direction: column;
    width: 100%;
}

.net-discussion-messages {
    flex-grow: 1;
    width: 100%;
    overflow-y: scroll;
    padding: 10px;
}

.net-discussion-inputs {
    padding: 5px;
    display: flex;
    align-items: center;
    border-top: solid 1px black;
}

.net-discussion-inputs input {
    border: none;
    flex-grow: 1;
}

.net-discussion-inputs i {
    margin-left: 10px;
    cursor: pointer;
}

.net-message {
    padding: 5px 10px;
    margin: 7px 0;
    border-radius: 1000px;
    background-color: #C0C0C0;
    width: 90%;
    font-size: 14px;
}

.net-message.mine {
    background-color: black;
    color: white;
    margin-left: auto;
}
#mobileMenu {
    display: none;
    position: fixed;
    top: -100vh;
    left: 0px;
    transition: 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
#mobileNav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.showMenu {
    top: 0px !important;
    left: 0px !important;
}
#mobileNav .nav-link {
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
}
#closeMenu {
    color: white;
    font-size: 30px;
}
#placeholderPlayer {
    width: 100%;
    object-fit: contain;
}
.live-pending-box {
    width: 75%;
}
.replayItem {
    margin-bottom: 50px;
}
.replayTitle {
    font-weight: bold;
    font-size: 20px;
    margin-bottom:10px;
    color: #1fa1db;
}
.replayTitlePage {
    font-weight: bold;
    font-size: 28px;
    margin-bottom:30px;
    color: #1fa1db;
}
.splitterCiteo {
    width: 200px;
    height: 2px;
    background: #1fa1db;
    margin-bottom: 30px;
}
.replayIframe {
    width: 700px;
    height: 394px;
    border: 1px solid black;
}
@media screen and (max-width: 500px){
    header {
        height: 10vh;
    }

    header nav {
        display: none;
    }

    .menuButton {
        display: block;
        margin-right: 3vw;
    }

    main {
        width: 95vw;
        padding: 0;
        height: 90vh;
    }
    #mobileMenu {
        display: flex;
    }

    .live {
        flex-direction: column;
        padding-top: 20px;
    }

    .live .live-player-box {
        width: 100%
    }
}

.emoji-spawner {
    width: 100%;
    height: 60px;
    border: solid 1px black;
}

.emoji-list {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-message {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji {
    width: 50px;
    height: 50px;
    margin: 0 5px;
    object-fit: contain;
}

.emoji-message p {
    font-weight: bold;
}

.gc-box {
    width: 30%;
    height: 55vh;
    border: solid 2px black;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 20px;
}

.gc-messages {
    height: 82%;
    padding: 10px;
    overflow-y: scroll;
}

.gc-input-box {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 10px 15px;
}

.gc-input-box input {
    padding: 3px 6px;
    width: 85%;
    border: none;
    border-radius: 5px;
}

.gc-input-box i {
    color: white;
}

.gc-room-name {
    padding: 5px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    height: 8%;
    background-color: black;
}

.gc-message {
    max-width: 80%;
    width: fit-content;
    margin: 10px 0;
}

.gc-content {
    max-width: 100%;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 5px;
    color: black;
    background-color: #E0E0E0;
    font-size: 14px;
}

.gc-name {
    margin-top: 5px;
    font-size: 10px;
}

.mine {
    margin-left: auto;
}

.mine .gc-content {
    color: white;
    background-color: black;
    margin-left: auto;
}

.mine .gc-name {
    text-align: right;
}

.admin .gc-content {
    color: white;
    background-color: #707070;
}

.simple-message-box {
    padding: 10px;
    display: flex;
    height: 200px;
}

.smb-left {
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.smb-right {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.smb-right button {
    padding: 10px;
    border-radius: 30px;
    border: none;
    background-color: black;
    color: white;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}

.smb-left textarea {
    width: 95%;
    flex-grow: 1;
    border: solid 1px black;
    border-radius: 10px;
    resize: none;
    padding: 10px;
}

.smb-left p {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
}

.fileUp {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px black;
    flex-grow: 1;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chat-box {
    height: 500px;
    border: solid 1px var(--main);
    border-radius: 10px;
    padding: 5px;
    flex-grow: 1;
    margin-left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--main);
}

.sending-box {
    display: flex;
    height: 60px;
}

.cb-message-box {
    height: 420px;
}

.cb-messages {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.cb-left {
    width: 90%;
    display: flex;
    flex-direction: column;
}

.cb-left textarea {
    width: 95%;
    margin-bottom: 0;
    border-radius: 5px;
    border: solid 1px var(--main);
    resize: none;
    padding: 3px;
    font-size: 12px;
    flex-grow: 1;
}

.cb-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    width: 10%;
    height: 100%;
}

.cb-right img {
    width: 20px;
    object-fit: contain;
}

.cb-message {
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
}

.cb-message.cb-mine {
    flex-direction: row-reverse;
}

.cb-message-body {
    max-width: 80%;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cb-mine .cb-message-body {
    align-items: flex-end;
}



.cb-message-content {
    width: fit-content;
    -background-color: black;
    color: var(--main);
    font-size: 12px;
    margin-bottom: 5px;
    padding: 5px 5px;
    border-radius: 5px;
    border: solid 1px var(--main);
}

.cb-mine .cb-message-content {
    color: black;
    background-color: white;
}

.cb-message-user {
    font-size: 10px;
}

.replyField {
    font-size: 12px;
    margin-bottom: 5px;
    cursor: pointer;
}

.replyField span {
    font-weight: bold;
}

.cb-mine .cb-reply {
    text-align: right;
}

.cb-reply {
    font-size: 10px;
    color: #707070;
}

.cb-reply-name {
    margin-bottom: 3px;
}

.cb-reply-name span {
    font-weight: bold;
}

.cb-reply-content {
    margin-bottom: 3px;
}

.cb-send {
    margin-top: 10px;
}

@media screen and (max-width: 500px){
    .chat-box {
        width: 100%;
        margin: 0;
        margin-top: 15px;
        height: 400px;
    }

    .cb-message-box {
        height: 320px;
    }
}

.flags-bar {
    display: flex;
    margin-bottom: 20px;
}

.flag {
    width: 30px;
    object-fit: contain;
    margin-right: 10px;
    cursor: pointer;
}

.flag {
    padding-bottom: 8px;
    border-bottom: solid 4px white;
}

.flag.ac {
    border-bottom: solid 4px var(--main);
}