/* Core stuff */
p {
    font-size: 2rem;
}

/* Download button styles */
/* Common */
.container-flex {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: flex-start;
}

.stackable-title, .stackable-item, .stackable-desc {
    margin: 1.5rem;
}

/* For stackable single row style */
.stackable-container {
    display: flex;
    flex-direction: column;

    margin: 0 2rem;
}

.stackable-item {
    margin: 1.5rem 0;
}

.stackable-title {
    text-align: center;
    white-space: pre-line;

    width: 30rem;
}

.stackable-desc {
    display: block;
    flex: 1;
    text-align: left;
}

/* For grid-like style */
.grid-container {
    display: block;
}

.grid-row {
    align-items: center;
    justify-content: center;

    gap: 2rem;
    margin: 2rem;
}

/* Button Style */
.dl-button {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border: 2px solid var(--baby-blue);
    border-radius: 1rem;

    padding: 1rem;
    width: 9rem;
    height: 9rem;

    text-align: center;
    background: var(--midnight-blue);
}

.dl-button.animated {
    width: 13rem;
    height: 13rem;
    transition: transform 0.2s ease, font-size 0.5s ease, width 0.2s ease, height 0.2s ease;
}

.dl-button.animated:hover {
    width: 15rem;
    height: 15rem;
}

.dl-button.animated:hover figcaption{
    font-size: 1.75rem;
}

.dl-button.animated:hover img{
    width: 4rem;
    height: 4rem;
}

.dl-button figure {
    margin: 0;
}

.dl-button img {
    object-fit: contain;
    width: 3.2rem;
    height: 3.2rem;
}

.dl-button figcaption {
    color: white;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}