@import url("components/_common.css");
@import url("components/_shop-common.css");

.shop-head-description {
    font-size: 15px;
    font-weight: 300;
}

h2 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 26px;
    font-weight: 200;
    margin: 0px 0 25px 0;
    text-align: center;
}

.downloads-grid {
    margin-top: 105px;
    max-width: 1090px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    gap: 50px;
}

.grid-cont {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.08);
}

.grid-cont.flip {
    max-width: 77%;
}

.grid-cont > img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.grid-cont:hover .grid-desc-cont {
    visibility: visible;
    opacity: 1;
}

.grid-desc-cont {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    transition: all .3s;
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
}

.grid-desc-cont .dimensions {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
}

.grid-desc-cont .circle {
    display: block;
    margin-top: 17px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 100%;
}

/*---   Media Queries   ---*/

@media only screen and (max-width: 1180px) {
    .downloads-grid {
        margin-top: 70px;
        gap: 35px;
        max-width: 970px;
    }
}

@media only screen and (max-width: 1000px) {
    .downloads-grid {
        max-width: 100%;
    }
}

@media only screen and (max-width: 760px) {
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5.6vw;
    }
}

@media only screen and (max-width: 500px) {
    h2 {
        font-size: 22px;
    }

    .grid-desc-cont .circle {
        margin-top: 10px;
        width: 36px;
        height: 36px;
    }
}

