.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    margin: 0;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, sans-serif;
    height: 500px;
    overflow: hidden;
}

.image-container {
    width: 1000px;
    height: 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.animated-image {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
    animation: shake 1s infinite alternate;
    cursor: pointer;
}



.animated-image:nth-child(1) {
    animation: shake 1s infinite alternate 0s;
}

.animated-image:nth-child(2) {
    animation: shake 1s infinite alternate 0.2s;
}

.animated-image:nth-child(3) {
    animation: shake 1s infinite alternate 0.4s;
}

.animated-image:nth-child(4) {
    animation: shake 1s infinite alternate 0.6s;
}

.animated-image:nth-child(5) {
    animation: shake 1s infinite alternate 0s;
}

.animated-image:nth-child(6) {
    animation: shake 1s infinite alternate 0.2s;
}

.animated-image:nth-child(7) {
    animation: shake 1s infinite alternate 0.4s;
}

@keyframes shake {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(10px);
    }
}

.animated-image:hover {
    transform: scale(1.2);
    animation-play-state: paused;
    z-index: 800;
}

.image1 {
    width: 175px;
    height: auto;
    position: absolute;
    top: 1%;
    right: 17%;
}

.image2 {
    width: 165px;
    height: auto;
    position: absolute;
    top: 34%;
    right: 10%;
}

.image3 {
    width: 185px;
    height: auto;
    position: absolute;
    top: 1%;
    left: 14%;
}

.image4 {
    width: 165px;
    height: auto;
    position: absolute;
    top: 37%;
    left: 6%;
}

.image5 {
    width: 170px;
    height: auto;
    position: absolute;
    top: 66%;
    left: 19%;
}

.image6 {
    width: 165px;
    height: auto;
    position: absolute;
    top: 68%;
    right: 16%;
}

.image7 {
    width: 230px;
    height: auto;
    position: absolute;
    top: 21%;
}


.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 900;
    flex-direction: column;
}

.video_popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 900;
    flex-direction: column;
}

.details1 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details2 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details3 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details4 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details5 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details6 {
    position: absolute;
    display: none;
    right: 11%;
    bottom: 14%;
    object-fit: cover;
    width: 300px;
    height: 100px;
}
.details_image {
    width: 80%;
}

.popup-content {

    padding: 20px;
    border-radius: 8px;
    flex-direction: column;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-background {
    background-size: cover;
    width: 85%;
    height: auto;
    border-radius: 8px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.video_content {
    padding: 20px;
    border-radius: 8px;
    flex-direction: column;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

.video_background {
    background-size: cover;
    width: 80%;
    height: auto;
    border-radius: 8px;
}

.video_source {
    position: absolute;
    width: 53%;
    left: 23%;
}