* {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgb(56 48 88) 6.77%, #282142 100%);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.box {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    max-width: 210px;
}
.content {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
label {
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    line-height: 45px;
}
input {
    padding: 10px;
    /* width: 80%; */
    height: 60px;
    margin: 10px 0;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
    box-shadow: 0px 0px 5px 0px #000;
}
button {
    margin: 10px 0;
    height: 60px;
    font-size: 35px;
    font-weight: 600;
    cursor: pointer;
    background-color:#000;
    box-shadow: 0px 0px 5px 0px #000;
    color: #fff;
    border: 0;
    border-radius: 5px;
    width: 100%;
}
button:hover {
    background-color: #2c2c2c;
}


/* ROOM */
.header {
    width: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}
.my-cam {
    width: 144px;
    height: 139px;
    background-color: black;
    border-radius: 5px;
    color: #FFF;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.my-cam video {
    width: 100%;
    height: 100%;
    position: absolute;
}

.logo-room {
    position: fixed;
    top: 0;
    left: 0;
    margin: 15px;
    z-index: 1;
}
.logo-room img{
    max-width: 3rem
}

.outher {
    background-color: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex: 10rem;
    cursor: pointer;
    border: 1px solid #7b7b7b;
    border-radius: 2px;
    transition: .3s ease-in-out;
}
.outher video {
    width: 99%;
    height: 100%;
    position: absolute;
}
.outher h1 {
    position: absolute;
    left: 5px;
    bottom: -5px;
    z-index: 1;
    background: darkmagenta;
    padding: 0px 5px;
    text-align: center;
    font-size: 14px;
    border-radius: 5px;
    line-height: 1.3;
}

.outher .mic-muted-overlay {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 35px;
    z-index: 1;
    box-shadow: 0px 0px 5px 0px #000;
    border-radius: 50px;
}

.outher .cam-muted-overlay {
    position: absolute;
    right: 10px;
    top: 48px;
    width: 35px;
    z-index: 1;
    box-shadow: 0px 0px 5px 0px #000;
    border-radius: 50px;
}

.buttons-cam {
    width: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* position: fixed; */
    /* bottom: 50px; */
    /* z-index: 1; */
    padding: 5px;
}

.buttons-cam button {
    margin: 0px 10px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50px;
    transition: .5s;
    box-shadow: 0px 0px 5px 0px #000;
    background: transparent;
}

.buttons-cam .btn-cam {
    background-image: url(./assets/images/btn_cam_mute.png);
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: 55px; */
    background-size: cover;
}
.btn-cam-active {
    background-image: url(./assets/images/btn_cam.png) !important;
}

.buttons-cam .btn-mic {
    background-image: url(./assets/images/btn_mic_mute.png);
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: 55px; */
    background-size: cover;
}
.btn-mic-active {
    background-image: url(./assets/images/btn_mic.png) !important;
}
.buttons-cam .btn-screen {
    background-image: url(./assets/images/btn_screen_mute.png);
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: 55px; */
    background-size: cover;
}
.btn-screen-active {
    background-image: url(./assets/images/btn_screen.png) !important;
}

.buttons-cam .btn-message {
    background-image: url(./assets/images/btn_message.png);
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: 55px; */
    background-size: cover;
    position: relative;
}

.buttons-cam .btn-message .alert {
    background: #f1411a;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 100px;
    box-shadow: 0px 0px 10px 2px black;
}

.buttons-cam .btn-exit {
    background-image: url(./assets/images/btn_exit.png);
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: 50px; */
    background-size: cover;
}

.notification {
    position: fixed;
    bottom: -100px;
    left: 10%;
    z-index: 1;
    color: #fff;
    width: 80%;
    margin: 0 auto;
    background-color: #de5124;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: .5s;
}
.notification-active {
    bottom: 25%;
}
.video-box {
    width: 100%;
    height: inherit;
    display: flex;
    flex: auto;
    flex-direction: column;
}

.video-box .infocus {
    width: auto;
    height: 70%;
    display: flex;
    flex: auto;
    justify-content: center;
    position: relative;
    /* border: 2px solid #5c80ff; */
    border-radius: 2px;
    overflow: hidden;
}

.video-box .outhers {
    display: flex;
    flex: auto;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.infocus .outher {
    height: auto !important;
    flex: 1 !important;
}
.video-box .outhers-infocus {
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: row !important;
    align-content: flex-end !important;
    position: absolute;
    width: 300px;
    right: 15px;
    top: 5px;
}
.outher-infocus {
    border-radius: 100%;
    height: 55px !important;
    flex: 0 55px !important;
    overflow: visible;
    position: relative;
    margin: 3px 3px;
}
.outher-infocus video {
    border-radius: 100%;
}
.outher-infocus .mic-muted-overlay {
    top: 10px !important;
    width: 25px !important;
}
.outher-infocus .cam-muted-overlay {
    top: 34px !important;
    width: 20px !important;
}
.outher .h1-infocus {
    font-size: 11px;
    padding: 1px 3px;
    left: auto;
    bottom: -30px;
    width: auto;
    position: absolute;
}

.preparo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex:auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.preparo .room {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}
.preparo .room div {
    display: flex;
    flex-direction: column;
    background: #251F3F;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s;
    font-family: monospace;
}
.preparo .room div:hover {
    transform: scale(1.02);
}
.preparo .room label{
    font-size: 14px;
    line-height: 12px;
}
.preparo .room a{
    font-size: 16px;
    font-weight: bold;
    color: #DE9424;
}
.preparo .cam {
    flex: 400px;
    width: 100%;
    max-height: 335px;
    background: black;
    margin: 5px;
    position: relative;
    border-radius: 2px;
    box-shadow: 0px 0px 5px 0px #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preparo .cam video {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
}
.preparo .cam div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 5px;
}
.preparo .cam div button {
    max-width: 25px !important;
    width: 40px !important;
    height: auto !important;
    max-height: 25px;
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 5px;
    transition: .5s;
}
.preparo .cam div button:hover{
    transform: scale(1.1);
}
.preparo .cam div button img {
    max-width: inherit;
}

.preparo .cam .alias {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 14px;
    padding: 0px 5px;
    border-radius: 2px;
    line-height: 1.3;
    background-color: darkmagenta;
}

.preparo input  {
    padding: 10px;
    width: 100%;
    height: 60px;
    margin: 10px 0;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
}

.btn-vermelho {
    background: brown;
}
.btn-vermelho:hover {
    background: rgb(194, 61, 61);
}

.bar {
    position: fixed;
    right: -20rem;
    top: 0;
    width: 20rem;
    height: 100%;
    background-color: rgb(221, 221, 221);
    box-shadow: 2px 2px 6px 1px black;
    border-left: 1px solid #ccc;
    transition: .5s;
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.bar-active {
    right: 0;
}
.bar .header {
    height: 60px;
    border-bottom: 1px solid #ababab;
}
.bar .header label {
    color: #6c6c6c;
    font-size: 16px;
}
.bar .header a {
    cursor: pointer;
}
.bar .bar-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: auto;
}
.bar .bar-content .message {
    padding: 2px 3px;
    /* background: #cbcdc8; */
    border-radius: 2px;
    margin: 5px;
    font-family: sans-serif;
}
.bar .bar-content label {
    color: black;
    font-size: 14px;
    line-height: 10px;
}
.bar .bar-content label span {
    color: #6c6c6c;
    font-weight: 100;
}
.bar .bar-content p {
    margin: 0;
    font-size: 14px;
}
.bar .bar-footer {
    height: 50px;
    display: flex;
    box-shadow: 0px 0px 1px 0px #000;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}
.bar .bar-footer input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    font-size: 20px;
    box-shadow: none;
    font-size: 16px;
}
.bar .bar-footer a {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.bar .bar-footer img {
    max-height: 30px;
}

@media only screen and (min-width: 545px)  {
    .content {
        width: auto;
        height: auto;
        flex: auto;
    }
    .outher {
        flex: 16rem;
    }

    .outher:hover {
        border: 1px solid #fff;
    }

    .infocus .outher:hover {
        transform: scale(1.0);
    }
    .buttons-cam button:hover {
        transform: scale(1.2);
    }
}

@media only screen and (min-width: 720px)  {
    .preparo .cam, .preparo input, .preparo button  {
        width: 450px;
    }
    .preparo .cam video {
        width: 90%;
    }
    .outhers {
        flex-direction: row;
        align-content: stretch;
        justify-content: center;
    }
    .outher {
        flex:20rem;
        cursor: pointer;
    }
    .video-box {
        flex-direction: row;
    }
    .video-box .infocus {
        width: 60%;
        height: 100%;
        display: flex;
        flex: auto;
        justify-content: center;
        position: relative;
    }
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./assets/images/logo.png);
    background-size: 250px;
    background-repeat: no-repeat;
    background-position: center;
    background-color:  #322A53;
    z-index: 2;
    animation: zoom-in-zoom-out 5s ease-out infinite;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.3, 1.3);
    }
    100% {
        transform: scale(1, 1);
    }
}