@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;300;400;600;800&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Work Sans',  -webkit-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

:root{    
    --primary-color: #0E1126;
    --primary-dark: #0D1E40;
    --primary-light: #144673;
    --secondary-color: #177DA6;
    --background-primary: #45A9BF;
    --text-primary-color: #e1f0f0;
    --text-secondary-color: #aeaeae;

    --font-primary: 'Work Sans', -webkit-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Righteous', 'Work Sans', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 17px;
    --line-height-base: 1.3;
}

html{
    /* me permite deslizar cuando hago clic en los links del menu */
    scroll-behavior: smooth;
}

/* Cursor personalizado */
/* Cursor personalizado */
body {
    cursor: default;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.cursor, cursor-dot {
    z-index: 9999;
}




/* MENU */
.contenedor-header{
    background: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.contenedor-header header .logo a{
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px); /* Responsive entre 28px y 36px */
    color: var(--primary-light);
    text-decoration: none;
}
.contenedor-header header ul{
    display: flex;
    list-style: none;
}
.contenedor-header header nav ul li a{
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(14px, 2vw, 16px); /* Responsive entre 14px y 16px */
    color: var(--text-secondary-color);
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}
.contenedor-header header nav ul li a:hover{
    color: var(--background-primary);
}
.nav-responsive{
    background-color: var(--secondary-color);
    color: var(--text-secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
/* SECCION I N I C I O */
.inicio {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.8), rgba(14, 17, 38, 1));
    height: 100vh;
    color: var(--text-primary-color);
    display: flex;
    align-items: center;
}

.inicio .contenido-banner {
    padding: 20px;
    background-color: var(--primary-color);
    max-width: 350px;
    margin: 60px auto 0; 
    text-align: center;
    border-radius: 40px;
}

.inicio .contenido-banner img{
    margin-top: 40px;
    border: 10px solid var(--primary-light);
    display: block;
    width: 80%;
    margin: auto;
    border-radius: 100%;
}
.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: clamp(32px, 6vw, 42px); 
    font-family: var(--font-heading);
}
.inicio .contenido-banner h2{
    font-size: 15px;
    font-weight: normal;
}
.inicio .contenido-banner h{
    font-size: 15px;
    font-weight: normal;
}
.inicio .contenido-banner .redes a{
    color: var(--text-primary-color);
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--text-primary-color);
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}
.inicio .contenido-banner .redes a:hover{
    background-color: var(--secondary-color);
}
.sobremi{
    /* background-color: var(--primary-color); */
    background: linear-gradient(to top, rgba(14, 17, 38, 0.8), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 130px;
}


.sobremi .contenido-seccion{
    max-width: 1100px;
    margin: auto;
    line-height: 1.8; /* Interlineado moderado (1.6 veces el tamaño de fuente) */
    margin-bottom: 1em; /* Espacio después del párrafo */
}

.sobremi h2{
    font-size: clamp(36px, 6vw, 48px); /* Responsive entre 36px y 48px */
    font-family: var(--font-heading);
    text-align: left;
    padding: 20px 0;
    margin-bottom: 1em;
}
.sobremi .contenido-seccion p{
    font-family: var(--font-primary);
    font-size: clamp(16px, 2.5vw, 18px); /* Responsive entre 16px y 18px */
    line-height: 1.5;
    margin-bottom: 20px;
}
.sobremi .contenido-seccion p span{
    color: var(--secondary-color);
    font-weight: bold;
}
.sobremi .fila{
    display: flex;
}
.sobremi .fila .col
{
    width: 100%;
}
.sobremi .fila .col h3{
    font-size: clamp(24px, 4vw, 30px); /* Responsive entre 24px y 30px */
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 25px;
}
.sobremi .fila .col ul{
    list-style: none;
}
.sobremi .fila .col ul li{
    margin: 8px 0;
}
.sobremi .fila .col ul li strong{
    display: inline-block;
    color: var(--secondary-color);
    width: 130px;
}
.sobremi .fila .col ul li span{
    background-color: var(--secondary-color);
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}
.sobremi .fila .col h4 {
    padding: 10px;
    border-radius: 8px;
    font-size: clamp(20px, 3vw, 24px); /* Responsive entre 20px y 24px */
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 10px 0;
    color: var(--text-primary-color);
    display: inline-block;
}
.sobremi .fila .col .contenedor-intereses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    text-align: center;
}

.sobremi .fila .col .contenedor-intereses .interes{
    width: clamp(120px, 20vw, 150px); /* Responsive width */
    height: clamp(70px, 12vw, 80px); /* Responsive height */
    background-color: var(--primary-dark);
    border-radius: 18px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
    font-family: var(--font-primary);
    font-size: clamp(12px, 2vw, 14px); /* Responsive font size */
    text-align: center;
}

.sobremi .fila .col .contenedor-intereses .interes:hover{
    background-color: var(--secondary-color);
}


.sobremi button {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--text-primary-color);
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: clamp(8px, 2vw, 10px) clamp(18px, 4vw, 22px); /* Responsive padding */
    font-size: clamp(14px, 2.5vw, 16px); /* Responsive font size */
    font-family: var(--font-primary);
    color: var(--text-primary-color);
    position: relative;
    z-index: 10;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sobremi button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color); /* Color de fondo al hacer hover - azul oscuro */
    z-index: -1;
    transition: width 0.3s ease; /* Transición más rápida */
    border-radius: 3px; /* Para que coincida con el botón */
}

.sobremi button:hover {
    color: white; /* Color del texto al hacer hover */
    border-color: var(--text-primary-color); /* Color del borde al hacer hover */
}

.sobremi button:hover .overlay {
    width: 100%;
}

.sobremi button a {
    color: inherit; /* Hereda el color del botón */
    text-decoration: none;
}

.sobremi button i {
    margin-right: 8px; /* Espacio entre el icono y el texto */
}


/* SECCION PORTFOLIO */

/* SECCION PORTFOLIO - NUEVO DISEÑO */
.portfolio {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.8), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 50px 20px;
}

.portfolio .contenido-seccion {
    max-width: 1100px;
    margin: auto;
    line-height: 1.6;
}

.portfolio h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.project-card {
    background-color: rgba(69, 169, 191, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary-color);
    font-family: 'Righteous';
}

.project-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--background-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: white;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Design */


/* Tablets */
@media screen and (max-width: 768px) {
    :root {
        --font-size-base: 15px;
    }
    
    .sobremi {
        padding: clamp(60px, 15vw, 130px);
    }
    
    .sobremi .contenido-seccion p {
        font-size: clamp(15px, 3vw, 17px);
        line-height: 1.7;
    }
    
    .sobremi .fila .col .contenedor-intereses .interes {
        margin: 0 10px 10px 0;
        font-size: clamp(11px, 2.5vw, 13px);
    }
}

/* Móviles */
@media screen and (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }
    
    .contenedor-header header {
        padding: 12px 15px;
    }
    
    .contenedor-header header .logo a {
        font-size: clamp(24px, 6vw, 30px);
    }
    
    .sobremi {
        padding: clamp(40px, 12vw, 80px) clamp(15px, 4vw, 25px);
    }
    
    .sobremi h2 {
        font-size: clamp(28px, 8vw, 36px);
        text-align: center; /* Centrar en móvil */
    }
    
    .sobremi .contenido-seccion p {
        font-size: clamp(14px, 3.5vw, 16px);
        line-height: 1.6;
        text-align: justify;
    }
    
    .sobremi .fila .col h3 {
        font-size: clamp(20px, 6vw, 26px);
    }
    
    .sobremi .fila .col .contenedor-intereses {
        justify-content: center;
    }
    
    .sobremi .fila .col .contenedor-intereses .interes {
        width: clamp(100px, 25vw, 130px);
        height: clamp(60px, 15vw, 70px);
        margin: 0 5px 10px 0;
        font-size: clamp(10px, 3vw, 12px);
    }
    
    .sobremi button {
        padding: clamp(6px, 2vw, 8px) clamp(15px, 5vw, 18px);
        font-size: clamp(13px, 3vw, 15px);
        margin: 15px auto;
    }
}

/* Extra pequeños (menos de 360px) */
@media screen and (max-width: 360px) {
    .sobremi .contenido-seccion p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .sobremi .fila .col .contenedor-intereses .interes {
        width: 90px;
        height: 55px;
        font-size: 10px;
        margin: 0 3px 8px 0;
    }
}

/* 14. CORREGIR RESPONSIVE EXISTENTE */
@media screen and (max-width:700px){
    .sobremi .fila{
        display: block;
    }
    .sobremi .fila .col{
        width: 100%; /* Cambiar de fit-content a 100% */
        margin-bottom: 20px; /* Agregar espacio entre columnas */
    }
}



@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .portfolio h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 20px;
    }
    
    .project-content p {
        font-size: 15px;
    }
}

/* SECCION CONTACTO - VERSIÓN ACTUALIZADA */
.contacto {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.8), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 130px 20px;
    min-height: 100vh; /* Ajusta la altura para evitar superposición con el footer */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto .contenido-seccion {
    max-width: 800px; /* Reducido para mejor proporción */
    margin: 0 auto;
    width: 100%;
}

.contacto h2 {
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.contacto h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    margin: 20px auto; /* Espacio entre el título y la línea */
}

.form-container {
    background-color: rgba(69, 169, 191, 0.1);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contacto input, 
.contacto textarea,
.contacto button {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary-color);
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Asegura que padding no afecte el ancho */
}

.contacto input:focus, 
.contacto textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.contacto textarea {
    resize: none; /* Elimina la capacidad de redimensionar */
    height: 200px; /* Altura fija */
    overflow-y: auto; /* Permite scroll si el contenido excede */
}

.contacto button {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--text-primary-color);
    margin: 10px 0 0;
    font-size: 18px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.contacto button .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
    transition: width 0.3s ease;
    border-radius: 3px; /* Para que coincida con el botón */
}

.contacto button:hover {
    color: white; 
    border-color: var(--text-primary-color);
}

.contacto button:hover .overlay {
    width: 100%;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .contacto {
        padding: 60px 15px;
    }
    
    .contacto h2 {
        font-size: 36px;
        padding-bottom: 30px;
    }
    
    .form-container {
        padding: 30px;
    }
    
    .contacto textarea {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .contacto h2 {
        font-size: 32px;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .contacto input, 
    .contacto textarea,
    .contacto button {
        padding: 12px;
        margin-bottom: 20px;
        font-size: 16px;
    }
    
    .contacto textarea {
        height: 150px;
    }
}

/* ESTILOS PARA PÁGINAS DE ESTADO (CONFIRMACIÓN/ERROR) */
.mensaje-confirmacion,
.mensaje-error {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.8), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 50px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.send-section {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.9), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.send-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(69, 169, 191, 0.08);
    border-radius: 10px;
    border-top: 4px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.send-container h2 {
    font-size: 36px;
    font-family: 'Righteous';
    margin-bottom: 20px;
    color: var(--primary-light);
}
.send-seccion
{
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(69, 169, 191, 0.1);
    border-radius: 10px;
    border-top: 4px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



.send-container h2
{
    font-size: 36px;
    font-family: 'Righteous';
    margin-bottom: 30px;
    color: var(--primary-light);
    line-height: 1.4;
}

.send-container p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.error-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.error-button:hover {
    background-color: rgba(231, 76, 60, 0.2);
    color: white;
}

.boton-volver {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--prilightmary-ligt);
    color: var(--light-color);
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.boton-volver:hover {
    color: var(--background-primary);
    color: white;
}

.boton-volver:hover::before {
    width: 100%;
}

.boton-volver {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--text-primary-color);
    color: var(--text-primary-color);
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.boton-volver::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-light);
    transition: width 0.5s ease;
    z-index: -1;
}

.boton-volver:hover {
    color: var(--background-primary);
}

.boton-volver:hover::before {
    width: 100%;
}

/* Error message specific styles */
.mensaje-error .contenido-seccion {
    border-top: 4px solid #e74c3c;
}

/* Confirmation message specific styles */
.mensaje-confirmacion .contenido-seccion {
    border-top: 4px solid #2ecc71;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .mensaje-confirmacion h2,
    .mensaje-error h2 {
        font-size: 30px;
    }
    
    .mensaje-confirmacion .contenido-seccion,
    .mensaje-error .contenido-seccion {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .mensaje-confirmacion h2,
    .mensaje-error h2 {
        font-size: 26px;
    }
    
    .mensaje-confirmacion p,
    .mensaje-error p {
        font-size: 16px;
    }
    
    .boton-volver {
        padding: 10px 25px;
    }
}

/* Icons for messages */
.icono {
    font-size: 60px;
    margin-bottom: 20px;
}

.mensaje-confirmacion .icono {
    color: #2ecc71;
}

.mensaje-error .icono {
    color: #e74c3c;
}
/* ERROR PAGE STYLES */
.error-section {
    background: linear-gradient(to top, rgba(14, 17, 38, 0.9), rgba(14, 17, 38, 1));
    color: var(--text-primary-color);
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(69, 169, 191, 0.08);
    border-radius: 10px;
    border-top: 4px solid #e74c3c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.error-container h2 {
    font-size: 36px;
    font-family: 'Righteous';
    margin-bottom: 20px;
    color: var(--primary-light);
}

.error-container p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.error-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.error-button:hover {
    background-color: rgba(231, 76, 60, 0.2);
    color: white;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .error-container {
        padding: 30px;
    }
    
    .error-container h2 {
        font-size: 30px;
    }
    
    .error-container p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .error-container {
        padding: 25px 20px;
    }
    
    .error-container h2 {
        font-size: 26px;
    }
    
    .error-button {
        padding: 10px 25px;
    }
}

footer{
    background-color: var(--primary-color);
    color: var(--text-primary-color);
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
}
footer .redes{
    margin-bottom: 20px;
}
footer .redes a{
    color: var(--text-primary-color);
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--text-primary-color);
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
}
footer .redes a:hover{
    background-color: var(--secondary-color);
}

footer .arriba{
    display: block;
    width: 50px;
    height: 50px;
    background-color: var(--background-primary);
    color: var(--text-primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
}
/* SECCION RESPONSIVE */
@media screen and (max-width:980px){
    nav{
        display: none;
    }
    .nav-responsive{
        display: block;
    }
    nav.responsive{
        display: block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: var(--primary-color);
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;
    }
    nav.responsive ul li{
        border-bottom: 1px solid var(--text-secondary-color);
        padding: 10px 0;
    }
}
/* Tablets y pantallas medianas (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .contacto {
        padding: 100px 30px;
        min-height: 100vh;
    }
}
@media screen and (max-width:700px){
    /* .sobremi .fila{
        display: block;
    }
    .sobremi .fila .col{
        width: fit-content;
    } */

    /* .skills .fila{
        display: block;
    }
    .skills .fila .col{
        width: 100%;
    }
    .skills .fila .col .barra-skill{
        width: 100%;
    } */

    .curriculum .fila{
        display: block;
    }
    .curriculum .fila .col{
        width: 90%;
    }
    .curriculum .fila .derecha{
        margin-left: 20px;
        margin-right: 20px;
    }

    .portfolio .galeria{
        display: block;
        width: 60%;
        margin: auto;
    }
    .portfolio .galeria .proyecto{
        max-width: 100%;
    }
    .portfolio .galeria .proyecto img{
        width: 100%;
        /* Ajusta la altura */
        
    }
    .contacto .fila{
        display: block;
    }
    .contacto .fila .col{
        width: 100%;
    }
}