/*
PALETA DE COLORES:



MAGENTA DREAM:

#B7094C (cherry rose)
#A01A58 (dark raspberry)
#892B64 (royal plum)
#723C70 (velvet purple)
#5C4D7D (dusty grape)
#455E89 (dusk blue)
#2E6F95 (rich cerulean)
#1780A1 (cerulean)
#0091AD (pacific cyan)


    --color_personal1: #B7094C;
    --color_personal2: #A01A58;
    --color_personal3: #892B64;
    --color_informativo1: #723C70;
    --color_informativo2: #5C4D7D;
    --color_informativo3: #455E89;
    --color_profesional1: #2E6F95;
    --color_profesional2: #1780A1;
    --color_profesional3: #0091AD;

CONCRETE JUNGLE SHADES:

--color_personal1: #1E776D;
--color_personal2: #017365;
--color_personal3: #024C42;
--color_informativo1: #033933;
--color_informativo2: #141414;
--color_informativo3: #252525;
--color_profesional1: #333333;
--color_profesional2: #4F4F4F;
--color_profesional3: #696969;

Summer Beach Paradise:
--color_personal1: #CAF0F8;
--color_personal2: #ADE8F4;
--color_personal3: #90E0EF;
--color_informativo1: #48CAE4;
--color_informativo2: #00B4D8;
--color_informativo3: #0096C7;
--color_profesional1: #0077B6;
--color_profesional2: #023E8A;
--color_profesional3: #03045E;

*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* fuentes */

    --font-titulos-importantes: "Story Script", sans-serif;
    --font-items: "Oxanium", sans-serif;
    --font-texto-general: "Alumni Sans Pinstripe", sans-serif;

    /* colores */
    --color_personal1: #1E776D;
    --color_personal2: #006357;
    --color_personal3: #024C42;
    --color_informativo1: #033933;
    --color_informativo2: #141414;
    --color_informativo3: #252525;
    --color_profesional1: #333333;
    --color_profesional2: #4F4F4F;
    --color_profesional3: #696969;
}


html {
    height: 100%;
    background: var(--color_informativo3);
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    transition: .5s ease all;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
}


/* CONTENEDORES PRINCIPALES */

/*
.panel-lateral {
    background: var(--color_informativo2);
    color: #fff;
    font-family: var(--font-items);
    

    grid-area: aside;
    display: flex;
    flex-direction: column;
    z-index: 10;
    height: 100%;

    transition: .5s ease all;
}
*/

.cont_nav {
    background-color: var(--color_personal3);
    
    width: 100%;

    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.cont_main {
    background: var(--color_informativo3);
    
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
    padding: min(2rem, 2%);
    
    overflow-y:auto;
}






/* +++++++++++++++++++ NAV ++++++++++++++++++++++ */

.btn_home {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    outline:none;
    padding: min(1rem, 5%);

    color: #fff;
    font-family: var(--font-titulos-importantes);
    font-weight: 100;
    
    font-size: clamp(2.2rem, 2vw + 1.5rem, 5rem);


    z-index: 10;
    cursor: pointer;

    background: linear-gradient(
        45deg,
        var(--color_informativo1), var(--color_informativo2), var(--color_informativo3),
        var(--color_informativo2), var(--color_informativo1)
    );
    background-size: 600%;
    animation: animacion-btn-home 20s linear infinite;

    transition: .5s ease all;
}

/* Animación: Botón Home */



.btn_home:hover {
    background: linear-gradient(
        45deg,
        var(--color_personal1), var(--color_informativo1), var(--color_profesional3),
        var(--color_informativo1), var(--color_personal1)
    );
    background-size: 600%;
    animation: animacion-btn-home 10s linear infinite;

    text-shadow: 0 5px 20px #fff;
}

@keyframes animacion-btn-home {
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
}

#btn_mas-items {
    background: none;
    outline: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    display: none;
    cursor: pointer;
    transition: .5s ease all;
    padding: min(1rem, 3%);
}

#btn_mas-items:hover {
    text-shadow: 0 5px 20px #fff;
    transform: scale(1.1);
}

#btn_mas-items i {
    transition: .5s ease all;
}

.nav_item {
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: min(1.5rem, 5%) min(3rem, 3%);

}

.nav_item h3 {
    transition: .5s ease all;
    color: #fff;

    z-index: 5;

    font-family: var(--font-items);
    font-size: clamp(0.8rem, 1vw + 0.8rem, 3rem);
    text-align: center;
}

.nav_item:hover h3 {
    text-shadow: 0 5px 20px #fff;
    transform: scale(1.1);
}



/* +++++++++++++++ NAV SECUNDARIO ++++++++++++++ */

.cont_nav-secundario {
    display: none;
    flex-direction: row;
    justify-content: space-around;

    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;


    background: var(--color_personal3);

    transition: .5s ease all;
}

.cont_nav-secundario.visible {
    max-height: 5rem;
    opacity: 1;
}

/* ########## SECCION HOME ###########*/

.cont_main.home {
    background: radial-gradient(
        farthest-corner at 90% 90%,
        var(--color_informativo1) 0%,
        var(--color_informativo2) 80%
    );
}

.seccion_presentacion {
    width: 85%;
    color: #fff;
    font-family: var(--font-titulos-importantes);
    font-size: 8rem;
    padding: 2rem;
}

.home_cont-titulos {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 50%;
    /*border: 1px solid red;*/
    padding: 1rem;
}
/*
@media (max-width: 2000px) {
    .home_cont-titulos {
        width: 100%;
    }
}
*/
.seccion_presentacion h1 {
    width: 100%;
    font-size: calc(2rem + 4vw);
    text-align: center;
    position: absolute;
    right: 0;
    top: 25%;
    transform: translateY(-50%);
    /*border: 2px solid blue;*/
}

.seccion_presentacion h2 {
    width: 100%;
    font-size: calc(2rem + 3vw);
    text-align: center;
    position: absolute;
    right: 0;
    top: 75%;
    transform: translateY(-50%);
}
/*
.seccion_presentacion p {
    font-size: 0.4em;
}
*/
.home_cont-img-fondo {
    /*border: 1px solid yellow;*/
    width: 80%;
    position: absolute;
    left: 0;
    bottom: 0;
}

#home_escritorio-fondo {
    /*border: 1px solid blue;*/
    width: 100%;
    /*max-height: 100%;*/
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
}

/* ########## SECCION SOBRE MI ########## */

.seccion_sobre-mi {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 0.5rem;
}

.box_sobre-mi {
    background-color: var(--color_informativo1);
    max-width: max(22.5rem, 85%);
    border-radius: 25px;
    padding: min(2rem, 5%);
    position: relative;
}

.seccion_sobre-mi img {
    width: max(12rem, 30%);
    float: left;
    border-radius: 50%;

    
    shape-outside: circle(50% at 10% 10%);
    transform: translate(-40%, -40%);
}

.seccion_sobre-mi p {
    font-family: var(--font-texto-general);
    color: #fff;
    font-size: clamp(1.4rem, 1rem + 2vw, 2.8rem);
}


/* ################ SECCION HABILIDADES ##################*/

/* DISEÑOS GENERALES */

.seccion_habilidades {
    display: flex;
    flex-flow: row wrap;
    gap: min(1rem, 2%);
    padding: min(1rem, 2%);
    width: 100%;
    height: 100%;
}

.seccion_habilidades img {
    transition: .5s ease all;
}

.box_habilidades {
    background: var(--color_profesional1);
    flex: 1;
    min-width: min(18rem, 100%);
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: min(1rem, 5%);

    overflow: hidden;
    
    position: relative;

    font-family: var(--font-texto-general);

    color: #fff;

    border-radius: 25px;
    padding: min(1.5rem, 6%);

    transition: .5s ease all;
}


.img_logos_habil {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%) scale(180%);

    max-height: 70%;
    opacity: 0;
}

.img_logos_habil.verde {

    opacity: 1;
}

.box_habilidades h5 {
    font-size: clamp(2.5rem, 2rem + 1vw, 4rem);
    position: absolute;
    top: 20%;
    left: 50%;

    transform: translate(-50%, -50%);
    transition: .5s ease all;

    width: 100%;
    text-align: center;
}



.box_habilidades:hover .img_logos_habil {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.box_habilidades:hover .img_logos_habil.verde {
    opacity: 0;
}

.box_habilidades:hover h5 {
    top: 90%;
}

.box_habilidades:hover {
    background: var(--color_informativo1);
}

.box_habilidades h5 {
    font-style: italic;
    z-index: 5;
}

/* ######################### SECCION PROYECTOS ###########################*/

.seccion_proyectos {
    display: flex;
    flex-flow: row wrap;
    height: 100%;
    width: 100%;
    gap: 1rem;
}



.box_proyecto {
    /*border: 2px solid blue;*/
    min-height: 100%;
    min-width: 19rem;
    flex: 1;
    border-radius: 15px;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: min(2rem, 5%);
}

.box_proyecto a {
    text-decoration: none;
    color: var(--color_personal1);
    font-weight: 800;
    transition: .3s ease color, .3s ease text-shadow;
}

.box_proyecto a:hover {
    color: #fff;
    text-shadow: 0px 0px 6px #fff;
}

/* efecto de sombra superior e inferior */
.box_proyecto::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        #000 1%, 
        rgba(0, 0, 0, 0.8) 10%, 
        rgba(0, 0, 0, 0.3) 25%, 
        rgba(0, 0, 0, 0.3) 75%,
        rgba(0, 0, 0, 0.8) 90%,
        #000 99%);

    transition: .5s ease all;
}

.box_proyecto h4 {
    position: relative;
    font-size: clamp(1rem, 1rem + 1.5vw, 5rem);
    color: #fff;
    font-family: var(--font-items);
    text-align:center;

    z-index: 5;
}

.box_proyecto.gta {
    background-image: 
        
        url('./img/proy_gta.png');
    background-size: cover;
}

.box_proyecto.bingo-maker {
    background-image: 
        
        url('./img/proy_bingo-maker.png');
    background-size: cover;
}

.box_proyecto.memotest {
    background-image: 
        
        url('./img/proy_memotest.png');
    background-size: cover;
}

.box_proyecto .wrapper_tecnologias {
    width: 100%;
    height: 15%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: min(2rem, 5%);
    z-index: 5;
}

.wrapper_tecnologias .wrapper_logo-nombre {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.wrapper_tecnologias .wrapper_logo-nombre img {
    max-height: 70%;
    object-fit: contain;
}

.wrapper_tecnologias .wrapper_logo-nombre span {
    color: #fff;
    font-family: var(--font-items);
    text-align: center;
    font-size: clamp(0.8rem, 0.8rem + 0.4vw, 3rem);
}

/* ----- elementos de hover ----- */

/* fondo verde que aparece en hover */
.box_proyecto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color_informativo2);

    pointer-events: none;
    opacity: 0;
    transition: opacity .5s ease;
}


.box_proyecto:hover::before {
    opacity: 0.85;
}

.box_proyecto p {
    color: #fff;
    font-family: var(--font-texto-general);
    font-size: calc(1.2rem + 0.8vw);
    z-index: 5;

    opacity: 0;
    transition: .5s ease opacity;
}

.box_proyecto:hover p {

    opacity: 1;
}

.box_proyecto .wrapper_botones {
    z-index: 5;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: min(1.5rem, 10%);


    opacity: 0;
    transition: .5s ease opacity;
}

.box_proyecto:hover .wrapper_botones {
    opacity: 1;
}

.box_proyecto .wrapper_botones a {
    background: var(--color_personal1);
    border-radius: 25px;
    font-family: var(--font-items);
    font-weight: 600;
    font-size: calc(0.8rem + 1vw);
    color: #fff;
    text-decoration: none;

    padding: min(1rem, 5%);
    cursor: pointer;
    transition: .5s ease all;
}

.box_proyecto .wrapper_botones a:hover {
    background: var(--color_profesional3);
    color: #000;
    filter: drop-shadow(0 0 10px #fff);
    
    
}



.box_proyecto.gta:hover {
    background-image: url('./img/proy_gta_blur.png');
}

.box_proyecto.bingo-maker:hover {
    background-image: url('./img/proy_bingo-maker_blur.png');
}

.box_proyecto.memotest:hover {
    background-image: url('./img/proy_memotest_blur.png');
}

/* ######################## SECCION CURRICULUM ############################*/

.seccion_curriculum {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color_profesional1);
    padding: min(1rem, 4%);
    border-radius: 25px;
}

.seccion_curriculum iframe {
    border: none;
    width: 100%;
    flex: 1;

    border-radius: 10px;
}

.seccion_curriculum .wrapper_botones {
    height: min-content;
    padding: min(2rem, 5%);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 1rem;

}

.seccion_curriculum .wrapper_botones a {
    text-decoration: none;
    background: var(--color_personal1);
    color: #fff;
    font-family: var(--font-items);
    font-size: clamp(1rem, 1rem + 1vw, 3rem);

    border-radius: 25px;
    padding: min(1rem, 4%) min(2rem, 6%);
    text-align: center;

    transition: .5s ease all;
}

.seccion_curriculum .wrapper_botones a:hover {
    background: var(--color_profesional3);
    color: #000;
    filter: drop-shadow(0 0 10px #fff);
}

/* ################ SECCION CONTACTO ##################*/

.seccion_contacto {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: min(5rem, 5%);
}

.box_contacto {
    max-width: max(120rem, 90%);
    background: var(--color_profesional1);
    padding: min(2rem, 5%);
    border-radius: 25px;

    display: flex;
    flex-direction: column;
    gap: calc(0.5rem + 1.5vw);
}

.box_contacto p {
    font-family: var(--font-texto-general);
    color: #fff;
    font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem);
}

.div_email {
    background: var(--color_personal3);
    padding: 1rem;
    border-radius: 20px;
}

.div_email img {
    max-width: 100%;
}

.wrapper_boton-copiar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn_copiar-email {
    background: var(--color_personal1);
    border-radius: 10px;
    padding: 1rem;
    border: none;
    cursor: pointer;

    color: #fff;
    font-family: var(--font-items);
    font-size: calc(1rem + 1vw);

    transition: .5s ease all;
}

.btn_copiar-email:hover {
    background: var(--color_profesional3);
    color: #000;
    filter: drop-shadow(0 0 10px #fff);
}

.wrapper_boton-copiar .mensaje-exito {
    font-family: var(--font-texto-general);
    color: #08b308;
    font-size: calc(0.8rem + 2vw);
    font-weight: 800;
    opacity: 0;
    pointer-events: none;

    transition: .5s ease all;
}

.mensaje-exito.visible {
    opacity: 1;
}
/* ------------------ EFECTO DE SECCIÓN SELECCIONADA ------------------ */

.seleccionada {
    position: relative;
    
    background: linear-gradient(to right, 
        var(--color_informativo1), var(--color_personal1), var(--color_informativo1));
    
    animation: animacion-seccion-seleccionada 10s linear infinite;

    background-size: 400%;
}

@keyframes animacion-seccion-seleccionada {
    0% {background-position: 0 0;}
    50% {background-position: 200% 0;}
    100% {background-position: 0 0;}
}

.seleccionada:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, var(--color_personal3) 5%, 
        rgba(0, 0, 0, 0) 20%, 
        rgba(0, 0, 0, 0) 80%, 
        var(--color_personal3) 95%);
}


/* ------------------ EFECTO DE TRANSICION ------------------ */

.transicion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: var(--color_informativo1);
    transition: .5s ease all;
}

.oculto {
    opacity: 0;
    height: 0;
    pointer-events: none;
    padding: 0;
}

/* ####################### MEDIA QUERIES ####################### */


@media (max-width: 768px) {

    #btn_mas-items {
        display: block;
    }

    .cont_nav .nav_contacto {
        display: none;
    }

    .cont_nav .nav_curriculum {
        display: none;
    }

    .cont_nav-secundario {
        display: flex;
    }

    .cont_info-secundario .nav_contacto {
        display: block;
    }

    .cont_info-secundario .nav_curriculum {
        display: block;
    }
}

@media (max-width: 500px) {
    .cont_nav .nav_proyectos {
        display: none;
    }

    .cont_info-secundario .nav_proyectos {
        display: block;
    }

}

@media (max-width: 320px) {
    .img_logos_hcj {
        max-width: 40%;
    }
}