

.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    column-gap: 2.5rem;
    row-gap: 10rem;
    max-width: 80%;
    margin-top: 3rem;

}

.web-grid__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;

}

.web-grid__img {
    border: 0.0625rem solid #333;
    background-color: #EEE;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
}

.web-grid__img a{
    width: 100%;
}

.web-grid__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.web-grid__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex-grow: 1;
}

.web-grid__title {
    font-size: 2.2rem;
    color: #fffff8;
    font-weight: 300;
    line-height: 1.3;
    padding-top: 2.1rem
}

.web-grid__txt {
    font-size: 1.7rem;
    color: #9e9e9e;
    margin-top: 0;
    flex-grow: 1;
}

.web-grid__skills {
    font-size: 1.3rem;
    color: #d0c59b;
    padding-top: 4.1rem;
    justify-self: end;
}

.web-grid__btn-box {
    padding-top: 2rem;
}

.web-grid__btn-buy {
    display: inline-block;
    color: #000000;
    background-color: #fffff8;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.125rem;
    text-align: center;
    font-weight: 700;
    width: 100%;
}

a.web-grid__btn-buy:hover {
    color: #000000;
}

.web-grid__btn-buy.disabled {
    display: inline-block;
    background-color: #8d8d8d;
    color: #6e6e6e;
    cursor: default;
}

.web-grid__btn-buy.disabled:hover {
    color: #6e6e6e;
    cursor: default;
}

.view-web {
    flex-grow: 0;
    border: 0.0625rem solid #d0c59b;
    font-size: 1.8rem;
    color: #d0c59b;
    padding: 0.7rem 2.5rem;
    background-color: #222;
    border-radius: 0.0625rem;
}


/* MODAL */
/* .modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.open {
  pointer-events: all;
  opacity: 1;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(0.25rem);
}

.modal-img {
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  border-radius: 0.5rem;
}

.modal.open .modal-img {
  transform: scale(1);
} */

@media screen and (max-width: 80rem) {

    .web-grid {

        max-width: 100%;

    }
}