.skill-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 40rem;
}
.skill-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    top: -1rem;
    opacity: 0;
    width: 12rem;
    height: 12rem;
    background-color: var(--secondary);
    padding: 0;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0.2rem var(--accent),
        0.05rem 0.05rem var(--accent),
        0.1rem 0.1rem 0.5rem var(--accent);
    transition: height 0.5s, box-shadow 0.5s;
    animation: fade-in-down 0.75s ease-out forwards;
    .icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 0.1rem;
        width: 12rem;
        height: 12rem;
        position: absolute;
        top: 0;
        z-index: 3;
        img {
            object-fit: contain;
            margin-top: 1.2rem;
            height: 7rem;
            border-radius: 0.5rem;
        }
        .text {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 2rem;
            width: 80%;
            margin: 0;
            margin-bottom: 1.2rem;
            h2 {
                font-size: 1.75rem;
            }
        }
    }

    .expanded {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.1rem;
        align-items: center;
        margin: 0;
        opacity: 0;
        width: 100%;
        transition: opacity 0.5s ease-in;
        hr {
            width: 80%;
            margin: 0;
        }
        .level {
            display: flex;
            justify-content: space-around;
            gap: 0.25rem;
            align-items: center;
            width: 80%;
            height: 4rem;
            h2 {
                font-size: 3.25rem;
                margin: 0;
            }
            h3 {
                text-align: left;
                font-size: 1.2rem;
                margin: 0;
            }
        }
        .progress {
            width: 80%;
            height: 0.5rem;
            background-color: var(--quaternary);
            border-radius: 1rem;
            margin-bottom: 1.2rem;
            .current-progress {
                height: 100%;
                border-radius: inherit;
                div {
                    background-color: var(--accent);
                    border-radius: inherit;
                    height: 100%;
                    width: 0%;
                    box-shadow: 0 0 5rem 0.5rem var(--accent);
                    transition: width 0.5s 0.25s ease-out;
                }
            }
        }
    }
}
.skill-tile:hover {
    height: 17.5rem;
    box-shadow:
        inset 0 -0.1rem 0.2rem var(--accent),
        0 0.1rem var(--accent),
        0 0.2rem 0.5rem var(--accent);
    .expanded {
        opacity: 1;
    }
    .progress .current-progress div {
        width: 100%;
    }
}