.main-border {
    display: flex;
    padding: 50px;

    background-image: linear-gradient(to bottom right,
    rgb(221, 199, 245),
    rgb(246, 200, 178),
    rgb(240, 225, 236),
    rgb(250, 135, 134));
}
main {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 50px 0;
}
main a {
    width: max(15vw, 230px);
    height: 100%;
    border-bottom: 1px solid var(--border-color-unfocused);
    transition: 0.5s;
}
main a:hover {
    border-bottom: 1px solid var(--border-color);
}
main img {
    aspect-ratio: 1/1;
    width: max(15vw, 230px);
    object-fit: cover;
}
main div {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    background-color: transparent;
    height: 50%;
    margin: 60px 0;
    text-align: center;
}
main h2 {
    font-weight: 100;
}

@media screen and (max-width: 1150px) {
    .main-border {
        padding: 50px 5%;
    }
    main {
        flex-direction: column;
        row-gap: 20px;
        padding: 10px;
    }
    main a {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    main div {
        width: 100%;
    }
}
@media screen and (max-width: 640px) {
    main a {
        flex-direction: column;
        align-items: center;
    }
}
