main h1, main h2 {
    text-align: center;
    margin-bottom: 1rem;
}

section {
    margin-bottom: 2rem;
}

section ul {
    list-style-position: inside;
    padding-left: 1.5rem;
    margin: 0;
}

section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--bg);
    background-color: var(--link);
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
    margin: 1.5rem auto;

    &:hover {
        background-color: var(--link-hover);
        box-shadow: 0 2px 6px oklch(0 0 0 / 0.2);

    }
}

.mid {
    text-align: center;
}

section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 auto;
}

.lijn {
    height: 3px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--link), var(--link-hover));
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 40em) {

    main h1,
    main h2 {
        text-align: left;
    }

    .mid {
        text-align: left;
    }

    .btn {
        margin: 1.5rem 0;
    }

    main > section:first-of-type {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    main > section:first-of-type h2 {
        grid-column: 1 / -1;
    }

    main > section:first-of-type img {
        grid-column: 2;
        grid-row: 2 / 4;
    }

    main > section:last-of-type {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    main > section:last-of-type > h2 {
        grid-column: 1 / -1;
    }

    main > section:last-of-type > section {
        margin-bottom: 0;
    }
}
