﻿figure {
    position: relative;
    max-width: 100%;
    text-align:center;
   
}
    figure:hover {
        cursor: pointer;
    }

.worksheet-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Six columns */
    grid-gap: 10px; /* Space between images */
}

.worksheet-grid-item {
    max-width: 100%; /* Make sure images don't exceed container width */
    height: auto; /* Keep aspect ratio */
}

/* Make worksheet grid adaptive to smaller screens*/
@media (max-width: 768px) {
    .worksheet-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pdf-icon {
    height: 60px;
    width: 60px;
}

.cool-grow-link {
    text-align: center;
    display: inline-block;
    animation-name: cool-grow-link-animation;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes cool-grow-link-animation {
    from {
        color: orangered;
        transform: scale(1);
    }

    to {
        color: blue;
        transform: scale(1.5);
    }
}