:root{
    --primary-color-transparent: #ffffff20;
}


video{
    opacity: 0;
}

/* TODO: estas clase se le va agregar cuando el video ya este cargado */
.video-loaded {
    opacity: 1 !important;
    transition: opacity 1s;
}

.load-message-container-loaded{
   opacity: 0;
    transition: opacity 1s; 
}

.load-message-container{
    position: absolute;
    inset: 0;
    margin: auto;
    background-color: #121212;
    padding: 82px 26px 42px 26px;
    border-radius: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: max-content;
}

.svg-container {
    border: 10px solid var(--primary-color-transparent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-container svg path {
    fill: var(--primary-color-transparent) !important;
}


.load-message-container section{
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.section-load{
    height: 120px;
    /* border: 1px solid var(--primary-color-transparent); */
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: end;
}

.section-load span{
    background-color: var(--primary-color-transparent);
    min-height: 12px;
    min-width: 32px;
    border-radius: 6px;
}

.section-load span:nth-child(1) {
    animation: bar-load 2s infinite linear 0.2s;
}

.section-load span:nth-child(2) {
    animation: bar-load 2s infinite linear 0.4s;
}

.section-load span:nth-child(3) {
    animation: bar-load 2s infinite linear 0.6s;
}

.section-load span:nth-child(4) {
    animation: bar-load 2s infinite linear 0.8s;
}

.section-load span:nth-child(5) {
    animation: bar-load 2s infinite linear 1s;
}

.load-message-container section span {
    font-size: 18px;
    font-weight: 500;
}

@keyframes bar-load {
    0% {
        height: 0%;
    }
    50% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}

@media screen and (width <= 520px) {
    .section-load{
        height: 80px;
    }

    .section-load span{
        min-width: 24px;
    }
}

@media screen and (width <= 428px) {
    .section-load span{
        min-width: 20px;
    }
}

@media screen and (width <= 348px) {
    .section-load{
        gap: 10px;
    }
}

/* ! Aquí van a ir todas la mediquerys y ajustes para usar el video cargando en la landing page
    solo tienes que agregar una clase que modifique posicionamientos, esas clases se los das a los
    contenedores que tengan la clase load-message-container
*/

.load-community{
    margin-bottom: 0 !important;
    position: relative;
    margin-top: 40px;
}

.load-main{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    inset: none !important;
    margin: 0 !important;
    margin-top: 20px;
}

@media screen and (width <= 644px) {
    /* TODO: clase el video principal del video */
    .load-main{
        top: 38%;
    }
}

@media screen and (width <= 520px) {
    .load-main{
        padding: 42px 26px;
        top: 42%;
    }
}