/*  */
* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: auto auto;
    background-color: blue;
}

.container {
    width: 1920px;
    height: 1080px;
    position: relative;
    z-index: 0;
}

.logo {
    position: absolute;
    top: 5%;
    right: 5%;
   
    height: 60px;
    z-index: 999;
    animation: animate 4s ease-in-out infinite;
}

.overall_bg {display: block; width: 100%; height: 100%; background-color: #fff;}

/*  @keyframes animate {
   0%,
   100% {
    transform: translateX(0px);
   }

   50% {
    transform: translateX(15px);
   }
  }*/

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg {
    position: absolute;
    width: 680px;
    height: 840px;
    top: 21px;
    left: 240px;
    background-color: bisque;
    overflow: hidden;
}

.bg ul {
    display: grid;
    grid-auto-flow: row dense;
	grid-template-columns: repeat(10,auto);
    grid-template-rows: repeat(12,auto);
    width: 680px;
    height: 840px;
    gap: 1px 1px;
}

.empty img{ 
    display: none;
}
.bg ul li {
    min-height: 38px;
}

.bg ul li:nth-child(19) {
    grid-column-start: 9;
    grid-row-start: 2;
    grid-row-end: 4;
 min-height: 83px;
}

.bg ul li:nth-child(26) {
grid-column-start: 6;
grid-column-end: 8;    
}
.bg ul li:nth-child(46) {
    grid-column-start: 6;
    grid-column-end: 8;
    grid-row-start: 5;
    grid-row-end: 7;
    min-height: 83px;
}
.bg ul li:nth-child(51) {
    grid-row-start: 6;
    grid-row-end: 8;
     min-height: 83px;
}
.bg ul li:nth-child(59) {
    grid-column-start: 9;
    grid-column-end: 11;
    grid-row-start: 6;

}

.bg ul li:nth-child(75) {
    grid-column-start: 5;
    grid-column-end: 7;
    grid-row-start: 8;
    grid-row-end: 10;
 min-height: 83px;
}
.bg ul li:nth-child(79) {
    grid-column-start: 9;
    grid-column-end: 11;
    grid-row-start: 8;
    grid-row-end: 10;
 min-height: 83px;
}
.bg ul li:nth-child(101) {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 11;
    grid-row-end: 13;
     min-height: 83px;
}
.bg ul li:nth-child(119) {
    grid-column-start: 9;
    grid-row-start: 11;
    grid-row-end: 13;
    min-height: 83px;

}


/* hiệu ứng */
/*
.bg ul li:nth-child(14) img {
    animation: animate2 3s ease-in-out infinite;
}
*/
.bg ul li.effect_1 img {
	z-index: 999;
    animation: animate2 3s ease-in-out infinite;
}

@keyframes animate2 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/*
.bg ul li:nth-child(74) img {
    animation: animate2 4s ease-in-out infinite;
}
*/
.bg ul li.effect_2 img {
	z-index: 999;
    animation: animate2 4s ease-in-out infinite;
}

@keyframes animate2 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* .bg ul li:nth-child(78) img {
    animation: animate2 2s ease-in-out infinite;
} */

@keyframes animate2 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* .bg ul li:nth-child(43) img {
    animation: animate3 5s ease-in-out infinite;
} */
.bg ul li.effect_3 img {
	z-index: 999;
    animation: animate3 5s ease-in-out infinite;
}

@keyframes animate3 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/*
.bg ul li:nth-child(49) img {
    animation: animate5 5s ease-in-out infinite;
}
*/
.bg ul li.effect_4 img {
	z-index: 999;
    animation: animate4 5s ease-in-out infinite;
}

@keyframes animate4 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/*
.bg ul li:nth-child(91) img {
    animation: animate4 8s ease-in-out infinite;
}
*/
.bg ul li.effect_5 img {
	z-index: 999;
    animation: animate5 8s ease-in-out infinite;
}

@keyframes animate5 {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.bg ul li.effect_6 img {
	z-index: 888;
    animation: animate6 10s ease-in-out infinite;
}
@keyframes animate6 {
    0%   {
        filter: brightness(50%);
        filter: contrast(50%);
        filter: sepia(50%);
        -webkit-filter: brightness(50%);
        -webkit-filter: contrast(50%);
    }
    50%  {
        filter: brightness(200%);
        filter: contrast(200%);
        filter: sepia(200%);
        -webkit-filter: brightness(200%);
        -webkit-filter: contrast(200%);
    }
    100% {
        filter: brightness(100%);
        filter: contrast(100%);
        filter: sepia(100%);
        -webkit-filter: brightness(100%);
        -webkit-filter: contrast(100%);
    }
}

.bg ul li.effect_7 img {
	z-index: 888;
    animation: animate7 14s ease-in-out infinite;
    animation-delay: 2s;
}
@keyframes animate7 {
  0% {
    transform: rotate3d(0,0,0,360deg)
  }
  30% {
    transform: rotate3d(1,1,1,360deg)
  }
  100% {
    transform: rotate3d(1,1,1,360deg)
  }
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bg_overlay {
    position: absolute;
    top: 0;
    width: 1920px;
    height: 1080px;
    margin: auto auto;
    z-index: 0;
}

.video {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    mix-blend-mode: screen;
    z-index: 1;
}

.video video {
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}



@media only screen and (max-width : 1900px) {
	.container {zoom: 74%;}
	
}

@media only screen and (max-width : 1200px) {
	.container {zoom: 60%;}
	
}

@media only screen and (max-width : 1000px) {
	.container {zoom: 50%;}
	
}

@media only screen and (max-width : 768px) {
	.container {zoom: 40%;}
	
}
