.about {
    padding-top: 5rem;
    padding-inline: 1.5rem;
    max-width: 1280px;
    margin-inline: auto;
}

.about__title {
    font-size: var(--text-3xl);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about__item {
    padding: 1.5rem 2rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    background-color: var(--clr-light);
}

.about__item-icon {
    display: block;
    margin-bottom: 0.5rem;
    width: 2rem;
    height: 2rem;
    color: var(--clr-primary);
}

.about__btn {
    text-decoration: none;
    width: fit-content;
    display: block;
    background-color: var(--clr-primary);
    color: var(--clr-light);
    padding: 0.6em 2em;
    border-radius: 4px;
    font-size: var(--text-lg);
    margin-top: 2rem;
    margin-inline: auto;
    transition: background-color 0.3s, translate 200ms;
}
.about__btn:hover {
    background-color: var(--clr-primary--darker);
}
.about__btn:active {
    translate: 0 5px;
}

@media (width >= 678px) {
    .about {
        padding-top: 8rem;
    }
    .about__title {
        font-size: var(--text-4xl);
        margin-bottom: 2.5rem;
    }
    .about__item {
        min-width: 250px;
    }
    .about__item-icon {
        width: 3rem;
        height: 3rem;
    }
    .about__item-text {
        font-size: var(--text-lg);
    }
    .about__btn {
        margin-top: 2.5rem;
    }
}

@media (width >= 1024px) {
    .about {
        padding-top: 9rem;
    }
    .about-wrapper {
        gap: 2rem;
    }
    .about__title {
        margin-bottom: 3rem;
    }
    .about__item {
        min-width: 300px;
    }
    .about__btn {
        padding: 0.6em 2.5em;
        font-size: var(--text-xl);
        margin-top: 3rem;
    }
}
