@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined&icon_names=arrow_drop_down,arrow_drop_up,arrow_left,arrow_right,first_page,help,last_page,pause_circle,play_circle,refresh,stop_circle&display=block");
@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');

#vivi-modal-background{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    backdrop-filter:blur(10px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
#vivi-modal-background *{
    margin:0;
    padding:0;
    outline:none;
    box-sizing:border-box;
}
#vivi-close{
    position:fixed;
    top:20px;
    right:20px;
    background:none;
    border:none;
    filter:invert(1);
    cursor:pointer;
}
#vivi-modal{
    width:100%;
    max-width:1320px;
    height:100%;
    max-height:680px;
    background:#fff;
    display:flex;
    position:relative;
    border-radius:10px;
    overflow:hidden;
    border:1px solid #fff;
}
#vivi-loading{
    position:absolute;
    width:200px;
    height:100px;
    left:calc(50% - 100px);
    top:calc(50% - 50px);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    display:none;
}
#vivi-loading a{
    font-size:11px;
    text-align:center;
}
#vivi-loading img{
    width:64px;
    height:64px;
}
#vivi-canvas{
    display:flex;
    position:relative;
    width:100%;
    height:100%;
}
#vivi-container{
    flex:1;
    position:relative;
}
#vivi-stage{
    flex:1;
    height:100%;
    overflow:hidden;
    border-right:1px solid rgba(0,0,0,0.3);
}
#vivi-stage img{
    width:100%;
    height:100%;
    object-fit:cover;
}
#vivi-sidebar{
    width:300px;
    background:#ccc;
    display:flex;
    flex-direction:column;
}
#vivi-text{
    background:#f4f4f4;
    padding:20px 20px;
    color:#333;
    height:calc(100% - 300px);
    overflow-y:auto;
    overflow-x:hidden;
}
#vivi-text *{
    font-family:'Parkinsans', sans-serif;
}
#vivi-text h1{
    font-size:18px;
}
#vivi-text .vivi-text-box{
    padding:20px 0px 0px 0px;
}
#vivi-text .vivi-text-box p{
    padding:10px 0px 10px 0px;
}
#vivi-libras{
    position:relative;
    height:300px;
    padding:10px;
    background:#333333;
}
#vivi-libras video{
    width:100%;
    height:100%;
    border-radius:20px;
}


#vivi-toolbar{
    position:absolute;
    bottom:0;
    width:100%;
    height:100px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    padding:0px 20px 20px 20px;
}
#vivi-toolbar-center{
    position:absolute;
    width:200px;
    height:100px;
    overflow: hidden;
    bottom:3px;
    left:calc(50% - 100px);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
}
#vivi-arrow-circle{
    position: relative;
    width:100px;
    height:100px;
    border-radius:100px;
    background:rgba(47,58,78,1);
    box-shadow:2px 2px 5px rgba(0,0,0,0.2);
}
#vivi-arrow-circle button{
    width:25px;
    height:25px;
    display:flex;
    align-items: center;
    justify-content: center;
    background:none;
    border:none;
    color:#fff;
    border-radius:25px;
    cursor:pointer;
}
#vivi-up-button{
    position: absolute;
    top:5px;
    left:37.5px;
}
#vivi-down-button{
    position: absolute;
    bottom:5px;
    left:37.5px;
}
#vivi-left-button{
    position: absolute;
    left:5px;
    top:37.5px;
}
#vivi-right-button{
    position: absolute;
    right:5px;
    top:37.5px;
}
#vivi-circle-inner{
    position:absolute;
    background:rgba(87,98,118,0.9);
    border-radius:25px;
    width:25px;
    height:25px;
    left:calc(50% - 12.5px);
    top:calc(50% - 12.5px);
    box-shadow:inset 2px 2px 5px rgba(0,0,0,0.4);
}
#vivi-back-button, #vivi-next-button, #vivi-stop-button, #vivi-help-button, #vivi-rewind-button{
    width:40px;
    height:40px;
    border-radius:40px;
    border:none;
    background:rgba(47,58,78,1);
    color:#fff;
    box-shadow:2px 2px 5px rgba(0,0,0,0.2);
    cursor:pointer;
    display:flex;
    align-items: center;
    justify-content: center;
}
#vivi-buttons-right-position{
    display:flex;
    gap:5px;
}

#vivi-stop-button #pause-icon{
    display:block;
}
#vivi-stop-button #play-icon{
    display:none;
}
#vivi-stop-button.paused #pause-icon{
    display:none;
}
#vivi-stop-button.paused #play-icon{
    display:block;
}

#vivi-playback-rate{
    position:absolute;
    bottom:20px;
    padding:0px 20px;
    width:280px;
    display:flex;
    justify-content:space-between;
    display:none;
}
#vivi-playback-rate button{
    font-size:10px;
    background:none;
    border:none;
    color:#fff;
    text-transform:uppercase;
    cursor:pointer;
    text-shadow:1px 1px 0px rgba(0,0,0,0.5);
}
