html {
    width: 100%;
}

body {
    font-family: Helvetica;
    color:#000000;
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    margin: 0; 
}
    
.div {
    background-color: #ffffff;
    flex-grow: 1; 
    position: relative;
    width: 100%; 
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #000000;
}

a:hover {
    color:#ff3399;
    font-style: bold;
}

.menu {
    height: 80px;
    position: sticky;
    top: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    z-index: 1000;
    margin: 0;
}


.navbar {
    flex-direction: row;
    position: static;
    padding: 0;
    margin-right: 5%;
    justify-content: flex-end;
    gap: 10px;
}

.navbar a {
    color: #000000;
    background-color: transparent;
    font-size: 30px;
    padding: 10px 0;
}

.navbar a:hover {
    color: #ff3399;
}

.espacio {
    font-size: 1.75vw;
}

.logo {
    width: 15vw;
    height: auto;
    object-fit: cover;
    margin-left: 5vw;
    margin-top: auto;
    margin-bottom: auto;
}

.hamburger {
    display: none;
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(1);
    }
}



/*LINKS Y FOOTER*/
/* Links */

.links {
    display: flex;
    justify-content: space-between;
    padding: 20px 10vw;
}

.column {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 28pt;
    font-weight: bold;
    margin-bottom: 10px;
}

.line {
    width: 100%;
    height: 4px;
    margin: 0;
    margin-top: 10px;
    background-color: #000000;
    border: none;
}

.link-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.link-columns .column {
    width: 45%;
}

.link-columns .column ul {
    list-style: none;
    padding: 0;
    font-size: 20pt;
    line-height: 2;
}

.link-columns .column:nth-child(2) {
    text-align: right;
}



/*FOOTER*/

.footer {
    background-color: #ff3399;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}

.logo-2 {
    height: 120px;
    width: auto;
    margin-top: 30px;
    margin-bottom: 0px;
}

.texto-footer {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin-top: 0px;
    
}


.d-erechos {
    margin-left: 5vw;
    margin-right: 5vw;
}

.politicas {
    margin-left: 5vw;
    margin-right: 5vw;
}

.politicas a {
    color: #ffffff; 
    text-decoration: none; 
}

.politicas a:hover {
    color: #000000;
} 


@media (max-width: 1260px){
    .links {
        padding: 20px 8vw;
    }
    
    .link-columns {
        gap: 2vw;
    }
    .title {
        font-size: 2em;
    }

    .link-columns .column ul {
        font-size: 1.6em;
    }

}


@media (max-width: 1050px) {
    .navbar a {
        font-size: 2.85vw;
        padding: 10px 0;
    }
    .espacio {
        font-size: 0.25vw;
    }


    /*LINKS*/
    
    .links {
        padding: 20px 5vw;
    }



    /*FOOTER*/

    .logo-2 {
        height: auto;
        width: 37vw;
    }
    .texto-footer {
        font-size: 1.20em;
        flex-direction: column;
    }
    .d-erechos {
        margin-left: 0;
        margin-right: 0;
    }
    
    .politicas {
        margin-left: 0;
        margin-right: 0;
    }
    


}

@media (max-width: 950px){
    .title {
        font-size: 1.8em;
    }

    .link-columns .column ul {
        font-size: 1.4em;
    }
}

@media (max-width: 825px){
    .title {
        font-size: 1.65em;
    }

    .link-columns .column ul {
        font-size: 1.25em;
    }
}


@media (max-width: 767px) {
    
    .navbar {
        display: none; /* Oculta el menú en versión móvil por defecto */
        flex-direction: column; /* Los enlaces estarán en una columna */
        background-color: #ff3399; /* Fondo rosado */
        position: fixed; /* El menú será fijo */
        top: 80px; /* Posicionado debajo de la barra de navegación */
        left: 0;
        width: 100vw;
        height: 85vh;
        padding: 20px 0;
        z-index: 999;
        justify-content: center;
    }

    .navbar a {
        font-size: 18pt;
        font-weight: 400;
        color: #ffffff; /* Color blanco para los enlaces en móvil */
        text-align: center;
        width: 100%;
        padding: 1.25vw;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .logo {
        width: 35vw;
        height: auto;
        object-fit: cover;
        margin-left: 5vw;
        margin-top: auto;
        margin-bottom: auto;
    }

    .espacio {
        font-size: 32pt;
    }

    

    .navbar a:hover {
        text-decoration: underline;
        color: #ffffff;
    }

    .hamburger {
        display: flex; /* Mostrar el botón de hamburguesa en pantallas pequeñas */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin-right: 5vw;
        gap: 5px;
        position: sticky;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #000000;
        transition: all 0.3s ease;
    }

    /* Mostrar el menú cuando la clase 'active' esté presente */
    .navbar.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(1);
        }
    }


    /*Links*/
    .links {
        flex-direction: column;
        margin-right: 2vw;
        margin-left: 2vw;
    }
    .title {
        font-size: 2em;
    }

    .link-columns .column ul {
        font-size: 1.6em;
    }


    

    /*FOOTER*/
    .logo-2 {
        height: auto;
        width: 45vw;
    }

    .texto-footer {
        font-size: 1em;
    }
}


@media (max-width: 825px){
    .title {
        font-size: 1.6em;
    }

    .link-columns .column ul {
        font-size: 1.2em;
    }
}

@media (max-width: 435px){
    .title {
        font-size: 1.5em;
    }

    .link-columns .column ul {
        font-size: 1.1em;
    }
}


/*hasta aqui el codigo responsive*/


.hero {
    height: 90%vh;
    position: relative;
    width: 100%;
    padding: 20px 0;

}

.sobre-mi {
    height: auto; 
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%; 
    padding: 10px 0; 
    text-align: center; 
    overflow: hidden; 
    white-space: nowrap; 
    position: relative; 
}

.nombre {
    font-size: 88pt;
    margin-top: 40px;
    margin-bottom: 5px;
    font-weight: 400;
    display: inline-block;
    position: relative;
    transition: left 0.025s linear; 
}


@keyframes scrollText {
    0% {
        transform: translateX(0); 
    }
    100% {
        transform: translateX(-100%); 
    }
}

.presentacion {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    padding: 20px; 
    width: 70%;
    margin: 10px auto;
}


.texto-hero {
    width: 60%; 
    text-align: left; 
}

.texto-hero h2 {
    font-size: 44pt;
    font-weight: 700;
    margin-bottom: 10px;;
}

.texto-hero p {
    font-size: 16pt; 
    font-weight: 400;
    line-height: 1.2; 
}

.imagen-hero {
    width: 20%; 
    text-align: right; 
}

.foto-hero {
    width: 100%; 
    height: auto; 
    object-fit: cover;
}

/*index*/

.texto-hero-index {
    width: 60%; 
    text-align: left; 
}

.texto-hero-index h2 {
    font-size: 44pt; 
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.texto-hero-index p {
    font-size: 16pt; 
    font-weight: 400;
    line-height: 1.2; 
}

.imagen-hero-index {
    width: 25%; 
    text-align: right; 
}

.disciplinas {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.disciplina {
    width: 45%; 
    text-align: left;
}

/*proyectos*/
.texto-hero-proyectos h2 {
    font-size: 44pt;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.texto-hero-proyectos p {
    font-size: 16pt;
    font-weight: 400;
    line-height: 1.2;
}

/*mantenimiento*/
.imagen-hero-mantenimiento {
    width: 30%; 
    text-align: right; 
}

.foto-hero-mantenimiento {
    width: 100%; 
    height: auto; 
    object-fit: cover;
}



.text-wrapper-4 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    margin-top: -2.00px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    width: fit-content;
}

.texto-2 {
    font-size: 28px;
    font-weight: 400;
    left: 63px;
    letter-spacing: 0;
    line-height: normal;
    position: absolute;
    top: 135px;
    width: 508px;
}

.img {
    height: 2px;
    left: 63px;
    position: absolute;
    top: 21px;
    width: 1158px;
}

.titulo-2 {
    font-size: 44px;
    font-weight: 400;
    left: 63px;
    letter-spacing: 0;
    line-height: 64px;
    position: absolute;
    top: 54px;
    white-space: nowrap;
    width: 253px;
}


.scroll {
    width: 80%; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
    margin-top: 40px;
}

.comentario1 {
    font-size: 24px;
    font-weight: 400;
}

.comentario2 {
    font-size: 24px;
    font-weight: 400;
}




.contenido {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

