.video-link{
    position: relative;
}

.video-name{
    position: absolute;
    left: 32px;
    bottom: 32px;
    display: flex;
    gap: 1rem;
    align-items: center;
    z-index: 2;
}

.play-button{
    height: 40px;
    width: 40px;
    transition: transform 0.5s ease-out;
}

.video-link:hover .play-button{
    transform: scale3d(1.1, 1.1, 1.1);
}

.video-name .video-name--title{
    font-weight: 600;
    font-size: clamp(16px, 2vw , 18px);
    line-height: 26px;
    color: var(--white);
}
.video-onclick{
    max-width: 642px;
    width: 100%;
    height: 100%;
}
.video-onclick img{
    width: 100%;
    max-height: 396px;
    border-radius: 20px;
}

.drop-image-shadow{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 57.78%, rgba(0, 0, 0, 0.64) 100%);
    border-radius: 20px;
}

.popup-video_click{
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    width: 1308px;
}

.popup-video_click .popup_flexbox{
    display: flex;
    gap: 48px;
}

.popup_content__flex{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}

.iframe-video, .iframe-video iframe{
    border-radius: 8px;
}
.iframe-video.loading{
    background: #0000001e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup__title{
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #333338;
}

.popup__text{
font-weight: 400;
font-size: 15px;
line-height: 24px;
color: #555558;
}

.popup_content__text{
    max-width: 261px;
}



/* ANIMATION LOAD */
.bouncing-dots {
    display: flex;
    justify-content: space-between;
    width: 60px;
}
.dot {
    width: 15px;
    height: 15px;
    background-color: #00000011;
    border-radius: 50%;
    animation: bounce 0.8s infinite;
}
.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


.popup-video_click .close-popup{
  position: absolute;
  top: 20px;
  right: 20px;
}

.popup-video_click .close-popup:hover{
  cursor: pointer;
}

.popup-video_click .close-popup:hover svg path{
  fill: #3761E9;
}


@media screen and (max-width: 1350px) {
    .video-onclick img{
        width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 20px;
        object-fit: cover;
    }
}

@media screen and (max-width: 1308px) {
    .popup-video_click{
        width: 100%;
        .popup_flexbox{
            flex-direction: column;
        }
    }

    .popup_flexbox .iframe-video{
        height: 484px !important;
        width: 100% !important;
    }
    .popup_flexbox .iframe-video iframe{
        width: 100% !important;
         height: 491px !important;
    }
    .popup_content__text{
        max-width: 100%;
    }
    .popup_content__flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    }
}

@media screen and (max-width: 1024px) {
  .video-onclick{
    max-width: 100%;
  }
  .video-onclick img{
        width: 100%;
        max-height: 560px;
        height: 100%;
        border-radius: 20px;
        object-fit: cover;
    }
}

@media screen and (max-width: 960px) {
    .popup-video_click{
        width: 100%;
        .popup_flexbox{
            flex-direction: column;
        }
    }
    .popup_flexbox .iframe-video{
        height: 405px !important;
        width: 100% !important;
    }
    .popup_flexbox .iframe-video iframe{
        width: 100% !important;
        height: 412px !important;
    }
    .popup_content__text{
        max-width: 100%;
    }
    .popup_content__flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    }
}

@media screen and (max-width: 800px) {
    .popup-video_click{
        display: block;
        width: 100%;
        height: 100vh;
        padding: 64px 24px 24px 24px;
        border-radius: 0;
        .popup_flexbox{
            flex-direction: column;
        }
    }
    .popup_flexbox .iframe-video{
        height: 405px !important;
        width: 100% !important;
    }
    .popup_flexbox .iframe-video iframe{
        width: 100% !important;
        height: 412px !important;
    }

   .popup_content__text{
        max-width: 100%;
    }
    .popup_content__flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    }
    .video-name{
        position: absolute;
        left: 24px;
        bottom: 24px;
    }
}
@media screen and (max-width: 600px) {
    .popup-video_click{
        display: block;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        position: fixed;
        left: 0;
        top: 0px;
        .popup_flexbox{
            flex-direction: column;
        }
    }
    .popup_flexbox .iframe-video{
        height: 199px !important;
        width: 100% !important;
    }
    .popup_flexbox .iframe-video iframe{
        width: 100% !important;
        height: 199px !important;
    }

   .popup_content__text{
        max-width: 100%;
    }
    .popup_content__flex{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }

    .popup_content__flex{
        align-items: normal;
    }

    
}

@media screen and (min-width: 344px) and (max-width: 430px) {
    .video-name .video-name--title{
        max-width: 60%;
    }
}


@-moz-document url-prefix() {
    .video-name{
        position: absolute;
        left: 32px;
        bottom: 0;
        top: calc(32px + 8px);
        display: flex;
        gap: 1rem;
        align-items: center;
        z-index: 2;
    }
    .video-name--title{
        display: none;
    }
}