﻿.section__videoImagecomponent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: var(--section-desktop-padding);
}

.videoImage-Cardscontainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.videoImage__videoImageCard {
    display: flex;
    width: 700px;
    max-width: 100%;
    flex-direction: column;
}

.videoImage__image-container {
    position: relative;
    width: 700px;
    height: 100%;
    display: inline-block;
}

.image__videoImageCards {
    width: 100%;
    height: 100%;
    display:block;
}

.playIcon__videoImageCard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:1
}

    .playIcon__videoImageCard:hover {
        cursor: pointer;
    }

.content-container__videoImagecards {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.text-container__videoImageCard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}


    .text-container__videoImageCard ul {
        padding-right: 18px;
    }


.button-container__videoImageCards {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    padding: 24px 0;
}

.top {
    top: 0;
}

.center {
    top: 50%;
    transform: translate(-50%, -50%);
}

.bottom {
    bottom: 0;
}



.videoImage-button {
    border-radius: 5px;
    width: 327px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

    .popupWrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
    }

.popupBackground {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
}

.popupContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 993px;
    max-height: 555px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}


@media screen and (max-width:768px) {

    .section__videoImagecomponent {
        padding: var(--section-mobile-padding);    
    }

    .videoImage-Cardscontainer {
        padding: 0px 50px; 
    }
 
    .videoImage__image-container {
        width: 100%;
    }


    .videoImage-button {
        width: unset;
        height: 40px;
    }
    .button-container__videoImageCards {
        padding: 24px 19px;
        width: 100%;
    }

    .video-container {
        max-width: 306px;
        max-height: 179px;
    }

}
