@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Smooch+Sans:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rajdhani", sans-serif;
    text-decoration: none;
}

body{
    width: 100%;
    min-height: 100vh;
    color: #fff;
    background: #424753;;
}

.portfolio{
    width: 100%;
    padding: 30px 8%;
    background-image: linear-gradient(120deg, #292c33, #424753);
}

.portfolio .section-head{
    max-width: 246px;
    margin: 0 auto 25px;
    text-align: center;
}

.section-head h1{
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    border-bottom: 1px solid #626772;
    letter-spacing: 1px;
}

.section-head h2{
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    padding-top: 4px;
    letter-spacing: 1px;
}

.section-head h2 span{
    color: #eb9955;
}

.button-group{
    text-align: center;
    margin-bottom: 40px;
}

.button-group .button{
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background-image: linear-gradient(240deg, #292c33, #424753);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.4s;
    border: 1px solid #292c33;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.button-group .button.active{
    border: 1px solid #485558;
    color: #eb9955;
    background-image: linear-gradient(120deg, #292c33, #424753);
}

.button-group .button:hover{
    border: 1px solid #485558;
    color: #eb9955;
    background-image: linear-gradient(120deg, #292c33, #424753);
}

div.gallery{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

div.gallery .item{
    position: relative;
    margin: 4px;
    width: calc(33.33% - 8px);
    overflow: hidden;
    cursor: default;
}

.item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: 0.3s;
}

.item .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}

.item:hover .overlay{
    opacity: 1;
}

.item .overlay h3{
    width: 90%;
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    padding-bottom: 10px;
    border-bottom: 1px solid #343841;
}

.item .overlay h4{
    font-size: 18px;
    font-weight: 300;
    color: #eb9955;
    padding-top: 10px;
    padding-bottom: 10px;
}

.item .overlay p{
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    padding-bottom: 6px;
}

/* links iconos */
.item .links{
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 16px;
}

.item .links a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    line-height: 50px;
    bottom: 50px;
    left: 50px;
    color: #fff;
    border-radius: 50px;
    border: 1px solid #626772;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
}

.item .links a:hover{
    color: #eb9955;
    border: 1px solid #eb9955;
    transition: all .3s ease-in-out;
}

/* boton
.item .overlay a{
    display: inline-block;
    padding: 6px 12px;
    background-image: linear-gradient(120deg, #292c33, #424753);
    color: #fff;
    border: 1px solid #292c33;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

.item .overlay a:hover{
    background-image: linear-gradient(240deg, #292c33, #424753);
    color: #eb9955;
    border: 1px solid #485558;
}*/

/* footer */
.redes{
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 20px;
    background-image: linear-gradient(240deg, #292c33, #424753);
}

.btn-redes{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    line-height: 50px;
    bottom: 50px;
    left: 50px;
    color: #fff;
    border-radius: 50px;
    border: 1px solid #626772;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
}

.btn-redes span{
    font-weight: 700;
}

.btn-redes:hover{
    color: #eb9955;
    border: 1px solid #eb9955;
    transition: all .3s ease-in-out;
}

@media(max-width: 1024px){
    div.gallery .item{
        width: calc(50% - 8px);
    }
}

@media(max-width: 600px){
    div.gallery .item{
        width: 100%;
        margin: 4px;
    }
}

@media screen and (max-width: 768px) {
	.item .links {
		display: none;
	}
}