
@font-face {
    font-family: 'AnonymousProRegular';
    src: url('../fuente/AnonymousPro-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'AnonymousProBold';
    src: url('../fuente/AnonymousPro-Bold.ttf') format('truetype');
}
/* Estilos generales */
body {
    font-family: AnonymousProBold, sans-serif;
    background: linear-gradient(to right, #29323c, #485563);
}

/******************************************     ESTILOS GENERALES   ******************************************************/

body {
    background: #485563;
    background: -webkit-linear-gradient(to right, #29323c, #485563);
    background: linear-gradient(to right, #29323c, #485563);
    font-family: AnonymousProRegular;
    margin: 0;
}
/*Estilos boton Arriba*/
#botonArriba {
    display: none;
    position: fixed;
    bottom: 60px !important;
    right: 1rem;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(13, 100, 122);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
}

    #botonArriba:hover {
        background-color: #555;
    }

/*Estilos de cabezera - Menu de navegacion*/

header {
    background-image: radial-gradient( circle 1774px at -20.9% 107%, rgba(31,43,86,1) 0%, rgba(0,97,167,1) 100.3% );
}

    header ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    header li {
        float: left;
        margin-left: 5px;
    }

ul li a {
    color: aliceblue;
}

header li a:hover {
    color: bisque;
}

/*Estilo Titulo de Logeo*/
.title-UserLogin {
    color: gray;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
}

/*Estilos del Banner*/
#banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    #banner img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Contenedor principal */
.nombre-apellido-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Estilos comunes para nombre y profesión */
.lblNombre, .lblProfesion {
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    font-family: AnonymousProRegular;
    white-space: nowrap;
    line-height: 1.2;
}

/* Estilos específicos para el nombre */
.lblNombre {
    font-size: 7vw;
    font-weight: bold;
    color: gray;
}

/* Estilos específicos para la profesión */
.lblProfesion {
    font-size: 5vw;
    color: cornflowerblue;
    height: 1.2em;
    position: relative;
}

    /* Pseudo-elemento para mantener el espacio de la profesión */
    .lblProfesion::after {
        content: attr(data-profesion);
        visibility: hidden;
        height: 0;
        position: absolute;
        pointer-events: none;
    }

/* Media queries */
@media (min-width: 768px) {
    .lblNombre {
        font-size: 6vw;
    }

    .lblProfesion {
        font-size: 4.5vw;
    }
}

@media (min-width: 1200px) {
    .lblNombre {
        font-size: 6vw;
    }

    .lblProfesion {
        font-size: 3.5vw;
    }
}


/*Estilos de Seccion SOBRE MI*/

#sobre_mi {
    background-image: linear-gradient( 110.3deg, rgba(72,85,99,1) 8.8%, rgba(127,146,166,1) 95.1% );
}

    #sobre_mi .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #sobre_mi img {
        width: 200px;
        height: 200px;
        display: block;
        border-radius: 50%;
        margin-bottom: 50px;
        box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
        -webkit-box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
        -moz-box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
    }

    #sobre_mi h2 {
        font-size: 30px;
        text-align: center;
        letter-spacing: 10px;
        margin-bottom: 20px;
    }

    #sobre_mi p, h2 {
        font-family: AnonymousProRegular;
    }

    #sobre_mi p {
        text-align: justify;
        max-width: 800px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

@media (min-width: 768px) {
    #sobre_mi p {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    #sobre_mi p {
        padding: 0 60px;
    }
}
/*Estilos de Seccion Educacion*/

#educacion {
    justify-content: center;
    text-align: center;
    background-image: radial-gradient(circle 1774px at -20.9% 107%, rgba(31,43,86,1) 0%, rgba(0,97,167,1) 100.3%);
    padding: 30px 0;
}

    #educacion h2 {
        margin-bottom: 20px;
    }

    #educacion ul {
        width: 90%;
        max-width: 800px;
        margin: 0 auto;
    }

    #educacion li {
        justify-content: center;
        text-align: center;
        color: rgb(126, 141, 154);
        display: flex;
        align-items: center;
        padding: 10px 0;
        flex-wrap: wrap;
    }

        #educacion li span {
            flex: 1 1 60%;
            text-align: center;
        }

        #educacion li div {
            flex: 1 1 40%;
            display: flex;
            justify-content: center;
            gap: 10px;
        }

    #educacion p {
        font-size: small;
        text-align: center;
        color: #b6bbf0;
    }

#contenedorLenguajes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lenguaje-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(20% - 15px);
    margin-bottom: 15px;
}

.lenguaje-botones {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

#contenedorLenguajes img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .lenguaje-item {
        width: calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .lenguaje-item {
        width: calc(33.33% - 15px);
    }
}

@media (max-width: 768px) {
    .lenguaje-item {
        width: calc(33.33% - 15px);
    }
}

@media (max-width: 576px) {
    .lenguaje-item {
        width: calc(50% - 15px);
    }

    #educacion li {
        flex-direction: column;
    }

        #educacion li span, #educacion li div {
            flex: 1 1 100%;
            margin-bottom: 10px;
        }
}

/* Estilos para las imágenes de Soft Skills */
.lenguaje-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 5px;
    border-radius: 8px;
}

    .lenguaje-item img:hover {
        transform: translateY(-5px);
        box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
    }

/* Estilos para las cards de proyectos */
    #proyectos {
        background-image: linear-gradient( 110.3deg, rgba(72,85,99,1) 8.8%, rgba(127,146,166,1) 95.1% );
    }

        #proyectos h2 {
            text-align: center;
            letter-spacing: 10px;
            color: #333;
        }

    /* Estilos actualizados para las cards */
    .proyecto-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        cursor: pointer;
        max-width: 300px; /* Card más compacta */
        margin: 0 auto;
    }

        .proyecto-card:hover {
            transform: translateY(-5px);
            box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
        }

    .proyecto-imagen {
        position: relative;
        padding-top: 75%; /* Proporción 4:3 */
    }

        .proyecto-imagen img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .proyecto-content {
        padding: 0.5rem; /* Reducido de 1rem */
    }

        .proyecto-content h3 {
            color: #333; /* Color más oscuro */
            font-size: 1rem; /* Reducido de 1.1rem */
            margin-bottom: 0.25rem; /* Reducido de 0.5rem */
            text-align: center;
        }

    .proyecto-actions {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    /* Estilos para el modal */
    .modal-content {
        background: linear-gradient(to right, #29323c, #485563);
        color: #b6bbf0;
    }

    .modal-header {
        background: rgba(255, 255, 255, 0.1);
    }

    .modal-title {
        color: #fff;
    }

    .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

    .proyecto-modal-imagen {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        width: 100%;
        height: auto;
    }

    .proyecto-descripcion {
        margin: 1.5rem 0;
        color: #fff;
        line-height: 1.6;
    }

    /* Ajustes responsive */
    @media (max-width: 768px) {
        .proyecto-card {
            max-width: 250px;
        }
    }

/*Estilos sobre Proyectos
#proyectos {
    background-image: linear-gradient( 110.3deg, rgba(72,85,99,1) 8.8%, rgba(127,146,166,1) 95.1% );
}

    #proyectos h2 {
        text-align:center;
        letter-spacing: 10px;
    }

#contenedorProyectos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    #contenedorProyectos div {
        width: 300px;
        height: 200px;
        margin: 20px;
    }

    #contenedorProyectos img {
        width: 90%;
        height: 90%;
        margin-top: 10px;
        border-radius: 10px 10px;
        box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
        -webkit-box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
        -moz-box-shadow: -3px 5px 50px 4px rgba(122, 190, 230, 0.75);
    }

        #contenedorProyectos img:hover {
            box-shadow: -3px 5px 50px 4px rgba(132, 239, 108, 0.75);
            -webkit-box-shadow: -3px 5px 50px 4px rgba(132, 239, 108, 0.75);
            -moz-box-shadow: -3px 5px 50px 4px rgba(132, 239, 108, 0.75);
        }
*/


/* Estilos para la sección de contacto */
#contacto {
    background-image: radial-gradient( circle 1774px at -20.9% 107%, rgba(31,43,86,1) 0%, rgba(0,97,167,1) 100.3% );
    color: #62657E;
}

    #contacto h2 {
        
        letter-spacing: 10px;
        margin-bottom: 50px;
        text-align: center;
    }

    #contenedorFormulario {
        max-width: 600px;
        margin: auto;
        background-color: rgba(255, 255, 255, 0.1);
        border: 3px solid #62657E;
        border-radius: 20px;
        padding: 30px;
    }

    #formularioDeContacto .form-control {
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid #62657E;
        color: #fff;
    }

    #formularioDeContacto label {
        color: #b6bbf0;
    }

    #formularioDeContacto textarea {
        height: 100px;
        resize: none;
    }

    #formularioDeContacto button {
    
        letter-spacing: 5px;
        padding: 10px 30px;
        background-image: linear-gradient( 109.6deg, rgba(33,103,43,1) 11.3%, rgba(117,162,61,1) 91.1% );
        border: none;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #formularioDeContacto button:hover {
        background-image: linear-gradient( 109.6deg, rgba(117,162,61,1) 11.3%, rgba(33,103,43,1) 91.1% );
    }

@media (max-width: 576px) {
    #contenedorFormulario {
        padding: 20px;
    }

    #formularioDeContacto .col-form-label {
        text-align: left;
        margin-bottom: 5px;
    }

    #formularioDeContacto .col-sm-9 {
        width: 100%;
    }
}

/*Estilos seccion de Footer*/


#footer {
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
    background-image: linear-gradient(110.3deg, rgba(72,85,99,1) 8.8%, rgba(127,146,166,1) 95.1%);
}

#contenedorFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

    #contenedorFooter div {
        flex: 0 0 auto;
    }

    #contenedorFooter img {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
    }

        #contenedorFooter img:hover {
            transform: scale(1.1);
        }

#footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}

@media (max-width: 576px) {
    #contenedorFooter {
        gap: 1.5rem;
    }

        #contenedorFooter img {
            width: 35px;
            height: 35px;
        }
}


/*Estilos modal*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #e6f2ff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #4a90e2;
    border-radius: 8px;
    width: auto;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
    color: #4a90e2;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align:center;
}

    .close:hover,
    .close:focus {
        color: #2a6496;
        text-decoration: none;
    }

#mensajeModalTexto {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
    text-align: center;
}

