@import url("style.css");
.error-image {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    width: 50%; /* Ajusta el tamaño según tus necesidades */
  }
  
.portafolio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: calc(100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: linear-gradient(45deg, rgba(31, 31, 31, 0.7819502801120448) 62%, rgba(4, 13, 18, 1) 100%), url("../images/portafolio_fondo.jpeg");
    background-size: cover;
    padding-top: 9rem;
}

.portafolio__title {
    text-align: center;
    font-size: 3em;
    font-family: "Press Start 2P", system-ui;
    color: var(--bg-color);
}

.portafolio__container {
    padding: 2rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 90%;
    flex-wrap: wrap;
    gap: 2rem;
}

.portafolio__card {
    display: flex;
    width: 33rem;
    height: auto;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    min-width: 30rem;
    gap: 1rem;
    box-shadow: -20px 12px 3px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--second-color);
}

.portafolio__card h3 {
    font-size: 1.5em;
    font-family: "Press Start 2P", system-ui;
    color: var(--bg-color);
    margin-bottom: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.btn__data{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px;
    gap: 10px;
}

.data__caja{
    background: #dddada;
    border: none;
    width: 6rem;
    height: 4rem;
    border-radius: 15%;
}

.data__icon{
    font-size: 2.5rem;

}

.active__filter{
    border: 2.5px solid var(--second-color);
}
.img__container {
    width: 33rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 12px 12px 0 12px;
}

.card__img {
    width: 100%;
    height: 150px;
    transition: var(--transition);
    border-radius: 14px;
}

.portafolio__card:hover .card__img {
    transform: scale(1.2);
  }

.btn__container {
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.card__btn {
    color: var(--bg-color);
    background-color: var(--second-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-color);
    font-size: 1rem;
    width: 135px;
    text-align: center;
    transition: .4s ease-in-out;
    font-family: "Press Start 2P", system-ui;
}

.card__btn:hover {
    background: var(--text-gradient);
}

.portafolio__icons{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.icon__caja{
    padding: 0.5rem;
    background: #7d7d7d;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 3px 1px #000000e3;
    border: 1.5px solid var(--secundary-color);
}

.iconify__icon{
    font-size: 1.6rem;
}
.btn__caja{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1.5rem;
    padding-top: 2rem;
}
@media screen and (max-width:768px){
    .portafolio{
        padding-top: 9rem ;
        height: auto;
    }
}

@media screen and (max-width: 412px) {
    .data__caja{
        width: 3rem;
    height: 3rem;
    }
    .data__icon{
        font-size: 2rem;
        justify-content: center;
    }
}