* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 20px;
    margin-bottom: 100px;
    margin-top: 60px;
}

.section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.section .front-heading {
    width: 100%;
    text-align: left;
    margin: 60px 0 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.1em;
    font-weight: 400;
    padding: 5px 10px;
}

.game {
    margin: 20px;
    text-align: center;
    width: calc(25% - 40px);
    position: relative;
    overflow: hidden;
}

.game img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.game h2 {
    color: black;
    margin-top: 8px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 400;
}

footer {
    border-top: 1px solid #eee;
    padding: 30px;
    text-align: center;
}

footer a {
    margin: 0 20px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.footer-bottom, 
.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-bottom a i,
.footer-top a i {
    margin-right: 7px;
    color: #acbbfd;
}

.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

.video-grid iframe {
    flex: 0 0 auto;
    width: 300px; /* Adjust this width as needed */
    height: 168.75px; /* 16:9 aspect ratio */
}

.video-grid::-webkit-scrollbar {
    height: 5px;
}

.video-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.video-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.youtube-link-container {
   display: block;
   width: 100%;
   margin-bottom: 20px;
}

#youtubekanal {
    text-decoration: underline;
    font-size: 1em;
}

@media (max-width: 1200px) {
    .game, .video-grid .video {
        width: calc(33.33% - 40px);
    }
}

@media (max-width: 992px) {
    .game, .video-grid .video {
        width: calc(50% - 40px);
    }
}

@media (max-width: 576px) {
    .game, .video-grid .video {
        width: calc(100% - 40px);
    }
}
