* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('assets/call-of-duty-black-ops-6-1717943259180.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
} 

.image-container img {
    width: 200px;
    height: 120px;
    animation: bounce 2s infinite;
}

.btn {
    position: absolute;
    top : 40%;
    left : 50%;
    transform: translate(-40%, -50%);

    cursor: pointer;
}

@keyframes  bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.trailer-container {
    position: fixed;
    top : 50%;
    left : 50%;
    width: 90%;
    height: 100vh;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    opacity: 0;
    visibility: hidden;
    transition: all 2s;
}

.trailer-container video {
    width: 90%;
    height: 90%;
    border-radius: 10px;
}

.trailer-container.active {
    visibility: visible;
    opacity: 1;
}

.close-icon {
    position: absolute;
    color : #fff;
    font-size: 4rem;
    padding: 10px;
    font-weight: bold;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 999;
}