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

body
{
    margin:0;
    padding:0;
    font-family: 'Instrument Sans',sans-serif;
    background-color: rgb(43 43 43);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width:100%;
    /*Pour prendre tout l'écran sauf le bandeau d'url sur mobile*/
    height: 100%;
    position: absolute;
}

.box
{
    width:100%;
    height: 100%;
    padding:30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}

.left
{
    width:400px;
    height:100%;
    box-sizing: border-box;
    border-radius:10px;
    margin-right: 30px;
    background-color: #191919;
    padding:20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header
{
    width: 100%;
    height:50px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.headerbutton
{
    box-sizing: border-box;
}

.headerbutton a
{
    text-decoration: none;
    box-sizing: border-box;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
}

.headerbutton a img
{
    width: 20px;
    box-sizing: border-box;
    user-select: none;
    pointer-events: none;
}

.headerbutton a:active
{
    opacity: 0.8;
}

.headerbutton button
{
    box-sizing: border-box;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
}

.headerbutton button img
{
    width: 20px;
    box-sizing: border-box;
    user-select: none;
    pointer-events: none;
}

.headerbutton button:active
{
    opacity: 0.8;
}

.headerlogo
{
    box-sizing: border-box;
}

.headerlogo h2
{
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
}

.headerlogo h2 img
{
    width: 25px;
    margin-right: 2px;
}

.connectedbox
{
    box-sizing: border-box;
}

.connectedbox h2
{
    font-family: 'Instrument Sans', sans-serif;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    color: #f92f60;
}

.inputbox
{
    width: 100%;
    box-sizing: border-box;
}

.inputbox input
{
    width: 100%;
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius:5px;
    padding:10px;
    font-family: 'Instrument Sans',sans-serif;
    font-size:20px;
    font-weight:500;
    box-sizing: border-box;
    background-color: #191919;
    margin-bottom: 10px;
    color:white;
    outline: transparent;
}

.inputbox button
{
    width: 100%;
    border: 0px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    font-family: 'Instrument Sans',sans-serif;
    font-size: 20px;
    font-weight: 500;
    box-sizing: border-box;
    background-color: #D31D90;
    color: white;
    cursor: pointer;
}

.inputbox button:active
{
    opacity: 0.8;
}

.right
{
    width:calc(100% - 430px);
    height:100%;
    box-sizing: border-box;
    border-radius:10px;
    background-color: #191919;
    overflow: hidden;
    pointer-events: none;
}


.videobox
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.videobox p
{
    color:#acacac;
    font-family: 'Instrument Sans',sans-serif;
    font-weight:400;
    font-size:50px;
    text-align: center;
    user-select: none;
    box-sizing: border-box;
}

.videobox video
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 0px solid rgba(0, 0, 0, 0.2);
    display: none;
    pointer-events: all;
}




@media screen and (max-width: 700px) {
    .box {
      padding:0;
    }
    .left{
        width: 100%;
        margin-right: 0;
        border:0;
        border-radius: 0;
    }
    .connectedbox{
        display: none;
    }
    .right{
        background-color: transparent;
        width:100%;
        border:0;
        border-radius:0;
        position: absolute;
        left:0;
        right:0;
        top:0;
        bottom:0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding:20px;
    }
    .videobox{
        height:auto;
        aspect-ratio: 16/9;
    }
    .videobox p{
        font-size:30px;
    }
  }
  