.listing-logo {
    height: 80px;
    margin-bottom: 20px;
}

.product-listing {
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    align-items: center;
    margin: 40px 0px;
    border: 2px solid rgb(255, 255, 255, 0);
    transition: 100ms ease-in-out;
}
.product-listing:hover {
    border-color: grey;
    background-color: #FAFAFA;
}
.product-listing > img {
    display: block;
    width: 300px;
    filter: drop-shadow(0px 0px 2px rgb(0, 0, 0, 0.2));
    transition: 500ms ease-in-out;
}
.product-listing:hover > img {
    transform: scale(104%);
}
.product-text-container {
    flex-basis: 400px;
    flex-grow: 1;
}
.product-title {
    font-size: 2rem;
    line-height: calc(2rem * 1.4);
    font-weight: 800;
    margin: 0;
}

.product-sub-title {
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.4);
    font-weight: 800;
    margin: 0;
}
.product-description {
    margin-top: 16px;
    margin-bottom: 20px;
}

.product-specs {
    margin-bottom: 24px;
}

.product-specs :is(td, th) {
    
    text-align: left;
    width: 220px;
}

.product-specs th {
    font-weight: 500;
    padding-left: 4px;
}

.product-specs tr {
    display: block;
    margin: 10px 0px;
}
.product-specs tr::after {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0) 80%);
    content: "";
    display: block;
    border-radius: 4px;
}

.download-button, .product-form-button {
    display: block;
    background-color: #FFFFFF;
    width: fit-content;
    border-radius: 2px;
    font-size: 1.4rem;
    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: 160px;
    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;
}



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

    .listing-logo {
        height: 60px;
    }


    .product-listing img {
        width: 260px;
    }

    .product-title, .product-sub-title, .product-description {
        text-align: center;
        display: block;
    }

    .product-title {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.4);
    }
    .product-sub-title {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.4);
    }

    .product-specs, .product-specs tbody {
        width: 100%;
        display: block;
    }


    .product-specs tr {
        width: 100%;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-specs tr:after {
        background: linear-gradient(to right, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.3) 50%, rgb(0 0 0 / 0) 100%);
    }

    .product-specs th {
        width: 250px;
        flex-basis: 50%;
        text-align: center;
    }
    .product-specs td {
        width: 70px;
        flex-basis: 50%;
        text-align: center;
    }
    .product-specs :is(td, th) {
        font-size: 1.4rem;
        display: block;
    }

    .resource-links {
        display: flex;
        justify-content: center;
    }

    .download-button {
        font-size: 1.2rem;
        width: 140px;
    }

    .product-form-button {
        justify-self: center;
        font-size: 1.2rem;
        width: 140px;
    }
}