:root{
    --v-background-color: black;
    --v-controls-black: #111111;
    --v-controls-bg: rgba(0, 0, 0, 0.25);
}
#v-player{
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;

    position: relative;
    cursor: pointer;
    display: flex;
    margin-top: 1rem;
    background-color: var(--v-background-color);
}
@media screen and (min-width: 1200px) {
    #v-player{
        width: 80%;
    }
}
@media screen and (max-width: 1200px) {
    #v-player{
        width: 100%;
        border-radius: 1rem;
        overflow: hidden;
    }
}
#v-player, #v-player *{
    user-select: none;
}
#v-muted{
    position: absolute;
    max-height: 90%;
    inset: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    pointer-events: none;
    gap: 0.5rem;
}
#v-muted img{
    height: 50%;
    object-fit: contain;
}
#v-muted span{
    text-wrap: nowrap;
    text-align: center;
    font-size: 1.5rem;
}
#v-muted>*{
    background-color: var(--v-controls-bg);
    border: 1px solid #8080805c;
}
#yt{
    padding: 4% 10%;
    border-radius: 0.5rem;
}
#yt i {
    width: 1.5rem;
}
#vol{
    position: absolute;
    top: 2%;
    right: 2%;
    width: calc(1.5rem + 2vw);
    aspect-ratio: 1;
    padding: 1%;
    border-radius: 50%;
}
#v-controls{
    position: absolute; inset: 0; top: unset;
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    align-items: center;
    opacity: 0;
    transition: all 0.5s;
    pointer-events: none;
}
#v-controls.visible{
    opacity: 1;
}
#v-controls button{
    opacity: 0.7;
    transition: all 0.25s;
    aspect-ratio: 1;
    border-radius: 0.25rem;
    pointer-events: all;
    border: 0;
    background-color: transparent;
}
#v-controls button:hover{
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--v-controls-bg) !important;
}
#v-controls i{
    width: 2rem !important;
}
/* ICONS */
.icon-mask {
    background-color: var(--accent-color);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
}

#v-icon{
    opacity: 0;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    pointer-events: none;
    transition: all 0.25s ease-in;
    background-color: var(--v-controls-bg);
    place-content: center;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
}
#v-icon.paused{
    opacity: 0.7;
}
#v-icon i{
    width: 60%;
    background-color: white;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url('./v-icons/v-pause.svg');
    -webkit-mask-image: url('./v-icons/v-pause.svg');
}
#v-icon.paused i{
    mask-image: url('./v-icons/v-play.svg');
    -webkit-mask-image: url('./v-icons/v-play.svg');
    transform: translateX(10%);
}
.icon-play{
    background-color: white;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url('./v-icons/v-play.svg');
    -webkit-mask-image: url('./v-icons/v-play.svg');
}
.icon-pause{
    background-color: white;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url('./v-icons/v-pause.svg');
    -webkit-mask-image: url('./v-icons/v-pause.svg');
}
.icon-expand{
    background-color: white;
    mask-image: url('./v-icons/v-expand.svg');
    -webkit-mask-image: url('./v-icons/v-expand.svg');
}
.icon-compress{
    background-color: white;
    mask-image: url('./v-icons/v-compress.svg');
    -webkit-mask-image: url('./v-icons/v-compress.svg');
}

