h1 {
    margin-bottom: 40px;
}

.listing-logo {
    height: 100px;
    margin-bottom: 60px;
}

.title-underline::after {
    background-color: var(--brand-color);
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 40px;
    row-gap: 40px;
    justify-content: space-evenly;
}

.product-listing {
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid rgb(255, 255, 255, 0);
    transition: 100ms ease-in-out;
    flex-basis: 400px;
    flex-grow: 0;
}

.product-listing > * {
    display: block;
    justify-self: center;
    text-align: center;
}

.product-listing>img {
    display: block;
    max-width: 90%;
    object-fit: fill;
    max-height: 200px;
    border-radius: 4px;
    transition: 500ms ease-in-out;
    margin-bottom: 20px;
}


.product-description {
    margin-bottom: 8px;
}
.product-description:last-child {
    margin-bottom: 20px;
}


.product-text-container {
    flex-basis: 400px;
    flex-grow: 1;
    margin-left: 20px;
}

.product-title {
    font-size: 3rem;
    line-height: calc(3rem * 1.2);
    font-weight: 800;
    margin: 0;
}
.product-title:not(:has(+.product-sub-title)) {
    margin-bottom: 16px;
}

.product-sub-title {
    font-size: 2rem;
    line-height: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-listing:hover {
    border-color: grey;
    background-color: #FAFAFA;
}


.download-button,
.product-form-button {
    display: block;
    background-color: #FFFFFF;
    width: fit-content;
    border-radius: 2px;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 6px 0px;
    transition: 100ms ease-in-out;
    border: 1px solid lightgrey;
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.2);
    text-transform: uppercase;
    margin-bottom: 18px;
    width: 180px;
    text-align: center;
    cursor: pointer;
}

.download-button:hover,
.product-form-button:hover {
    background-color: #EEEEEE;
}

.download-button > img {
    height: 18px;
    display: inline;
    vertical-align: text-bottom;
    margin-left: 2px;
    margin-right: 4px;
}

:is(.product-form-button, .download-button):hover {
    background-color: #EEEEEE;
}


.image-icon-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
    column-gap: 4px;
    row-gap: 4px;
}


@media only screen and (max-width: 950px) {

    .product-listing {
        flex-basis: 300px;
    }

    .product-title {
        font-size: 2.6rem;
    }
    .product-sub-title {
        font-size: 1.8rem;
    }

    .download-button, .product-form-button {
        font-size: 1.4rem;
        width: 160px;
    }
}