@import url('https://fonts.googleapis.com/css2?family=Saira+Semi+Condensed:wght@300;400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    font-family: "Saira Semi Condensed", sans-serif;
    color: #fff;
    background: linear-gradient(130deg,rgba(27, 42, 56, 1) 0%, rgba(51, 76, 99, 1) 100%);
}

a{
    text-decoration: none;
}

.titulos{
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: hsla(0, 0%, 0%, 0.6);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.titulos h1{
    font-size: 32px;
    font-weight: 300;
    color: #d7f7e7;
    padding-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #2a363b;
}

.titulos h1:hover{
    color: #fff;
}

.titulos h2{
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 6px;
}

.titulos h2 span{
    margin-right: -6px;
}

.gallery{
    height: 100%;
    padding: 1rem;
}

.gallery__images{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.gallery__card{
    width: 300px;
    height: 300px;
    display: block;
    position: relative;
    box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
}

.gallery__card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery__card .overlay{
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.card__info{
    display: flex;
    text-align: center;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    cursor: default;
    transition: all .4s ease-in-out;
}

.card__info h3{
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 2px;
    border-bottom: 1px solid #2a363b;
}

.card__info h4{
    font-size: 20px;
    font-weight: 300;
    color: #9da3a5;
}

.card__info p{
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gallery__card:hover .overlay{
    opacity: 1;
    pointer-events: unset;
}

.gallery__card:hover .card__info{
    opacity: 1;
    pointer-events: unset;
}

.categorias .filter-items.active{
    color: #A7E7C2;
}

.gallery__card.hide{
    display: none;
}

.gallery__card.show{
    animation: fadeIn .5s ease;
}

/*boton_nav*/
.boton_nav{
    padding: 3rem 0;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
}

.boton_nav i{
    padding: 0 10px;
}

.boton_nav .btn-nav{
    border: 1px solid #28445e;
    border-radius: 40px;
    padding: 10px 20px 10px 20px;
    margin: 10px;
    color: #d7f7e7;
    background-color: #1a2d3f;
    box-shadow: 3px 3px 3px 0 rgba(6, 6, 6, 0.6);
}

.boton_nav .btn-nav:hover{
    border: 1px solid #375b7c;
    color: #fff;
    background: linear-gradient(130deg,rgba(27, 42, 56, 1) 0%, rgba(51, 76, 99, 1) 100%);
}

/* plataformas */
.projects__contenedor{
    display: grid;
    justify-content: center;
}

.projects__disponible-links{
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.projects__skills-links{
    width: 300px;
    height: 50px;
    background-color: #fff;
    padding-inline: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .75rem;
    border-radius: 3rem;
    margin-bottom: 1.2rem;
}

.projects__skill-link{
    margin-top: .5rem;
    height: 1.7rem;
    transition: transform .4s;
}

.projects__skill-link:hover{
    transform: translateY(-.25rem);
}

/* footer */
footer{
    background-color: hsla(0, 0%, 0%, 0.6);
    padding: 12px;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.redes{
    gap: 20px;
    padding: 16px;
}

.redes a{
    color: #A7E7C2;
}

.redes a:hover{
    color: #fff;
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


/*boton modal*/
.boton-modal label{
    display: inline-block;
    padding: 12px;
    background-color: #A7E7C2;
    color: #000;
    border-radius: 4px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 300ms ease;
}

.boton-modal label:hover{
    background-color: #fff;
}

/*ventana modal*/
#btn-modal{
    display: none;
}

.container-modal{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background-color: hsla(0, 0%, 0%, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#btn-modal:checked ~ .container-modal{
    display: flex;
}

.content-modal{
    width: 100%;
    max-width: 340px;
    position: relative;
}

.content-modal .btn-cerrar{
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: flex-end;
    margin-top: -25px;
}
.content-modal .btn-cerrar label{
    width: 30px;
    background-color: #A7E7C2;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #000;
    border-radius: 6px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal .btn-cerrar label:hover{
    background-color: #fff;
}
.cerrar-modal{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0; left: 0;
    z-index: -1;
}