section .gallery .aga{
    margin: 0 !important;
    min-height: 100vh;
    background: #000;
    font-family: 'Montserrat';
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery{
    margin: 0 !important;
    justify-self: center;
}
.aga{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    transform: skew(5deg);
}
.container .aga{
    justify-content: center;
    align-items: center;
    text-align: center;
}
.aga .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 75vmin;
    position: relative;
    border-radius: 10%;
}

.aga .card .card__head {
    color: white;
    background: #08114b;
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1em;
    white-space: nowrap;
}
.aga .card:hover {
    flex-grow: 10;
}
.aga .card:hover img {

    filter: saturate(100%);
    position: relative;
}
.aga .card:hover .card__head {
    text-align: center;
    top: calc(100% - 2em);
    color: white;
    background: #08114b;
    font-size: 2em;
    transform: rotate(0deg) skew(-5deg);
}
.aga .card img {
    filter: grayscale(20%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;

}
.aga .card:not(:nth-child(5)) {
    margin-right: 1em;
}

.card .secret-button{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #555;
    font-size: 16px;
    padding: 12px 24px;
    z-index: 1;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.card:hover .card-img{
    filter: blur(10px);
    filter: brightness(1.4);

}

.card:hover .secret-button{
    display:flex;
}

.mdi-36px {
    font-size: 39px;
    margin-right:10px;
}


.custom-gallery{
    align-items: center;
    display: flex;
    justify-content: center;
}


.custom-card{
    display: grid;
    border-radius: 20%;
    border-color: transparent;
    color: transparent;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:20px;
    margin-bottom: 20px;
}
.card-img-overlay{
    border: none;
    border-radius: 20px;
    color: transparent;
}


.card-img{
    border-radius: 20%;
}


.games-header{
    font-family: 'Montserrat';
    font-size: 64px;
    font-weight: 900;
}