@charset "utf-8";

@media screen and (min-width: 1024px) {
    main {
        width: 60vw;
        margin: auto;
        padding-bottom: 30px;
    }
    
    section.levels {
        display: grid;
        grid-template-columns: repeat(3, auto);
        grid-template-rows: auto;
        align-items: stretch;
        gap: 15px;
    }

    section.levels h2 {
        grid-column: 1 / 4;
    }

    section.levels article {
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    section.levels article:hover {
        transform: translateY(-15px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
      }

    section.levels article img {
        border-radius: 10px 10px 0px 0px;
    }
}
