* {
    margin: 0;
    box-sizing: border-box;
    outline: none;
    font-family: 'Trenda';
}

@font-face {
    font-family: 'Trenda';
    src: url('../fonts/Trenda-Regular.eot');
    src: url('../fonts/Trenda-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Trenda-Regular.woff2') format('woff2'),
         url('../fonts/Trenda-Regular.woff') format('woff'),
         url('../fonts/Trenda-Regular.ttf')  format('truetype'),
         url('../fonts/Trenda-Regular.svg#Trenda') format('svg');
}
@font-face {
    font-family: 'Trenda Bold';
    src: url('../fonts/Trenda-Bold.eot');
    src: url('../fonts/Trenda-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Trenda-Bold.woff2') format('woff2'),
         url('../fonts/Trenda-Bold.woff') format('woff'),
         url('../fonts/Trenda-Bold.ttf')  format('truetype'),
         url('../fonts/Trenda-Bold.svg#Trenda') format('svg');
}
:root {
    --primary: #000;
    --primaryLight: #F1D599;
    --secondary:#D50032;
    --secondaryLight: #F1D599;
    --red:#D50032;
}
body {
    /* background-image: url('/assets/images/fond.png'); */
    background-size: COVER;
    background-repeat: no-repeat;
    background-color: white;
    font-family: 'Trenda';
}

header {
    /* background-image: url(/assets/images/ban.png); */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FF0000;
    font-weight: bold;
    font-size: 24px;

    -height: 20vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}

header > img {
    width: 100vw;
    object-fit: contain;
}

header nav .nav-button {
    padding: 0.95rem;
    font-size: 0.9rem;
    border-radius: 15px;
    background-color: black;
    color: white;
    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 auto;
    width: 100vw;
    /* margin-top: 4vh; */
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

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

.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;
}
.flag {
    object-fit: contain;
    height: 40px;
    margin: 0 10px;
    cursor: pointer;
}
#flagsContainer {
    display: flex;

    justify-content: center;
    margin-bottom: 10px;
}
.live {
    display: flex;
    -align-items: center;
    justify-content: space-between;
}

.live .live-player-box {
   /*  width: 70%; */
   width: 80%;
   margin: auto;
}

.live-feed-box {
    width: 100%;
    padding: 20px;
    background-color: rgba(255,255,255,0.7);
    margin-top: 30px;
    border-radius: 20px;
}

.live-feed-box-title {
    margin-bottom: 20px;
    color: #333;
    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: none;
}

.live-feed-box-input-line i {
    margin-left: 20px;
    font-size: 1.8rem;
    color: #333;
    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;
}

@media screen and (max-width: 800px){
    header {
        -height: 20vh;
    }
    header {
        font-size: 12px;
    }
    header > img {
        height: 70%;
    }

    header nav {
        display: none;
    }
    .live {
        display: flex;
        -align-items: center;
        flex-direction: column;
    }
    .gc-box {
        width: 90%;
        height: 55vh;
        margin-top: 20px;
    }
    .menuButton {
        display: block;
        margin-right: 3vw;
    }

    main {
        width: 100vw;
        padding: 0;
        height: 90vh;
    }
    #mobileMenu {
        display: flex;
    }
    .live .live-player-box {
        width: 100%;
        margin-bottom: 20px;
    }
}

.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: calc(57.5vw / 16 * 9);
    border: solid 2px var(--primary);
    /* border-radius: 10px; */
    overflow: hidden;
    margin-left: 20px;
    MARGIN-TOP: 50px;
}

.gc-messages {
    height: calc(90% - 110px);
    padding: 10px;
    overflow-y: scroll;
    background-color: rgba(255,255,255,.7);
}
.pseudo {
    width: 100%;
}
.gc-input-box {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary);
    padding: 10px 15px;
    flex-direction: column;
}

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

.gc-input-box i {
    color: white;
    width: 10px;
    cursor: pointer;
}

.gc-room-name {
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
    height: 10%;
    background-color: var(--primary);
}

.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: #747474;
}


@media screen and (max-width: 800px){
    .flag {
        object-fit: contain;
        height: 20px;
    }
    .gc-box {
        width: 90%;
        height: 55vh;
        margin-top: 20px;
    }
    .login-box {
        width: 90%;
        margin-bottom: 20px;
    }
}