* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    background-image: url(../img/video/graveyard.png);
    background-size: cover;
    display: flex;
    background-color: antiquewhite;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Added to stack items vertically */
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: fantasy;
}

.container {
    width: 100%;
    border-left: 1px solid;
    border-right: 1px solid;

}

h1 {
    margin-bottom: 20px; 
    text-align: center;
    font-size: 2em;
    color: #333;
    animation: fadeInOut 2s infinite;
}
@keyframes fadeInOut {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

.games {
    display: flex;
    justify-content: center;
    align-items: center;
}

.games > div {
    padding: 0 20px;
    flex: 1; /* Added to make the divs flexible */
}

img {
    width: 300px; /* Set images to fill their containers */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Added transition for smooth animation */
}

img:hover {
    transform: scale(1.1); /* Scale up the image slightly on hover */
}
@media only screen and (max-width: 768px)  {
    img {
        width: 100%; /* Set images to fill their containers */
        height: auto; /* Maintain aspect ratio */
        transition: transform 0.3s ease; /* Added transition for smooth animation */
    }
}