:root{
    --bg-color: rgb(3, 0, 30);
}

body {
    margin: 0;
    overflow: hidden;
    transition: .2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* height: 100vh; */
    background: var(--bg-color);
    padding: 20px;
}

h1 {
    position: relative;
    margin: 0 auto 20px;
    padding: 5px 40px;
    text-align: center;
    color: white;
    background-color: #468747;
    margin-bottom: 50px;
  }
  
  h1::before, h1::after {
    content: '';
    width: 80px;
    height: 100%;
    background-color: #347238;
  
    /* position ribbon ends behind and slightly lower */
    position: absolute;
    z-index: -1;
    top: 20px;
    
    /* clip ribbon end shape */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 50%);
  
    /* draw and position the folded ribbon bit */
    background-image: linear-gradient(45deg, transparent 50%, #225d29 50%);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: bottom right;
  }
  
  h1::before {
    left: -60px;
  }
  
  h1::after {
    right: -60px;
    transform: scaleX(-1); /* flip horizontally */
  }
  



.container {
    /* width: 70%; */
    width: 95%;
    padding: 20px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    border: 2px solid white;
}

/* Wrapper to enable smooth horizontal scroll */
.cards-wrapper {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    /* scroll-behavior: smooth; */
    white-space: nowrap;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.cards-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.card {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    background-color: #0c9eff69;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid white;
}

.card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media(max-width: 998px){
    .card{
        width: 120px;
        height: 120px;
    }
}

@media(max-width: 768px){
    .card{
        width: 100px;
        height: 100px;
    }
}