.resume,
.projects, 
.contact{
    display: none;
}

.resume > h1{
    font-size: 32px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 1vh;
    background: linear-gradient(135deg, #52dee5 10%, #fafafa 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.resume .div, .contact .div{
    width: 45px;
    height: 5px;
    border-radius: 2px;
    background: #52dee5;
    margin: 3.5vh 0 4.5vh 0;
    animation: expandAccent 0.6s ease both;
}

/*---------------------resume----------------------*/

.resume .education, .resume .experience{
    width: 100%;
    display: flex; 
    gap: 2vw;
}
.resume .education div:first-child, .resume .experience div:first-child{
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.resume .education div:first-child ion-icon, 
.resume .experience div:first-child ion-icon{
    padding: 13px 14px;
    font-size: 18px;
    color: #52dee5;
    border-radius: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
.resume .education div:first-child .point,
.resume .experience div:first-child .point{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #52dee5;
    border: 4px solid rgba(47, 58, 61, 0.9);
}
.resume .education div:first-child .line1,
.resume .education div:first-child .line2,
.resume .education div:first-child .line3 {
    width: 1px;
    flex: 1;
    min-height: 20px;
    background: rgba(214, 214, 214, 0.1);
}
/*-----------------last child-------------------*/
.resume .education div:last-child > div,
.resume .experience div:last-child > div {
    margin-top: 2.5vh;
    padding: 18px 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resume .education div:last-child > div:hover,
.resume .experience div:last-child > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(82, 222, 229, 0.12);
}
.resume .education div:last-child h1,
.resume .experience div:last-child h1{
    font-size: 24px;
    font-weight: 700;
    margin: 1vh 0 3.8vh 0;
    color: #52dee5;
}
.resume .education div:last-child h2,
.resume .experience div:last-child h2{
    font-size: 15px;
    font-weight: 700;
    line-height: 32px;
}
.resume .education div:last-child span,
.resume .experience div:last-child span{
    color: #52dee5;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
}
.resume .education div:last-child p,
.resume .experience div:last-child p{
    font-size: 15px;
    font-weight: 300;
    line-height: 24px;
    color: #d6d6d6;
}

.resume .experience div:last-child ul {
    margin-top: 8px;
}
.resume .experience div:last-child li {
    font-size: 14px;
    font-weight: 300;
    line-height: 26px;
    color: rgba(214, 214, 214, 0.75);
    padding-left: 12px;
    border-left: 2px solid rgba(82, 222, 229, 0.35);
    margin: 4px 0;
}

/*--------------------------*/
.resume .experience{
    margin-top: 5vh;

}
.resume .experience > div:first-child .line1,
.resume .experience > div:first-child .line2,
.resume .experience > div:first-child .line3 {
    width: 1px;
    flex: 1;
    min-height: 20px;
    background: rgba(214, 214, 214, 0.1);
}

.resume .experience > div:last-child .div2{
    margin: 3vh 0;
}

.resume .experience > div:last-child p span{
    color: #d6d6d6;
    font-weight: bold;
}

/*----------------------Resume CV-------------------------*/
.resume > div:last-child{
    margin: 12vh 0 8vh 0;
    display: flex;
    justify-content: center;
}
.resume > div:last-child a{
    gap: 5px;
    display: flex;
    color: #52dee5;
    font-size: 16px;
    font-weight: 400;
    padding: 2.5vh 4vw;
    border-radius: 10px;
    justify-content: center; 
    background: #323233;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 0% 100%, #303033 20%, #38393a 40%, #3b3c41 100%);
    filter: drop-shadow(0 0 1em #000000aa);
    transition: transform 0.5s;
}

.resume > div:last-child a:hover{
    transition: 0.5s;
    filter: drop-shadow(0 0 1em #52dee5);
    transform: scale(1.05);
}

.resume > div:last-child a ion-icon{
    color: #52dee5;
    font-size: 20px;
    font-weight: 400;
}

@media (max-width: 900px) and (min-width: 480px){
    .resume > div:last-child{
        margin: 8vh 0 4vh 0;
        display: flex;
        justify-content: center;
    }
    .resume > div:last-child a{
        padding: 2.5vh 15vw;
    }
}


@media (max-width: 480px){
    .resume .menu{
        left: 0;
        right: 0;
        gap: 3vw;
        bottom: 0;
        top: auto;
        width: 100%;
        margin: auto;
        display: flex;
        position: fixed;
        justify-content: center;
        backdrop-filter: blur(8px);
        border-radius: 12px 12px 0 0;
        background: rgba(255, 255, 255, 0.05);
    }
    .resume .menu a{
        padding: 19px 0;
        font-size: 11px;
        color: rgba(214, 214, 214, 0.8);
    }
    /*------------------------.resume------------------------*/
    .resume > h1, .projects > h1, .contact > h1{
        font-size: 24px;
        font-weight: 700;
        line-height: 20px;
        margin-top: 0vh;
    }
    .resume .div, .projects .div, .contact .div{
        width: 32px;
        height: 3px;
        border-radius: 2px;
        margin: 1.5vh 0 4vh 0;
    }
    
    /*---------------------resume----------------------*/
    .resume .education, .resume .experience{
        gap: 3.5vw;
    }
    .resume .education div:first-child ion-icon, 
    .resume .experience div:first-child ion-icon{
        padding: 10px 11px;
        font-size: 16px;
        font-weight: 400;
        border-radius: 10px;
    }
    .resume .education div:first-child .point,
    .resume .experience div:first-child .point{
        width: 12px;
        height: 12px;
        border: 3px solid rgba(53, 53, 53, 0.9);
    }
    .resume .education div:first-child .line1{
        height: 3.5vh;
    }
    .resume .education div:first-child .line2{
        height: 13vh;
        height: calc(2vh + 14px * 3 + 22px * 2);
    }
    /*-----------------last child-------------------*/
    .resume .education div:last-child > div{
        margin-top: 2vh;
    }
    .resume .education div:last-child h1,
    .resume .experience div:last-child h1{
        font-size: 18px;
        margin: 0.5vh 0 3vh 0;
    }
    .resume .education div:last-child h2,
    .resume .experience div:last-child h2{
        font-size: 14px;
        line-height: 28px;
    }
    .resume .experience div:last-child div .h2{
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }

    .resume .education div:last-child span,
    .resume .experience div:last-child span{
        font-size: 14px;
        line-height: 22px;
    }
    .resume .education div:last-child p,
    .resume .experience div:last-child p{
        font-size: 14px;
        line-height: 22px;
    }
}
/*-------------------------------------------------------------------------------------------------*/
/* Ajustes para la sección de experiencia en diferentes tamaños de pantalla */

.resume .experience {
    margin-top: 5vh;
}

/* Configuración para la primera línea de conexión en la experiencia */
.resume .experience > div:first-child .line1 {
    height: calc(4vh + 16px - 13px);
    height: 5.5vh;
}

/* Configuración para la segunda línea de conexión en la experiencia */
.resume .experience > div:first-child .line2 {
    height: 32.8vh;
}

/* Configuración para la tercera línea de conexión en la experiencia */
.resume .experience > div:first-child .line3 {
    width: 1px;
    height: 24vh;
    height: calc(2vh + 14px * 4 + 22px * 5 + 2px);
    background: rgba(214, 214, 214, 0.1);
}

/* Estilos para el último elemento dentro de la sección de experiencia */
.resume .experience > div:last-child .div2 {
    margin: 3vh 0;
}

/* Estilos para el texto dentro del último elemento de la sección de experiencia */
.resume .experience > div:last-child p span {
    color: #d6d6d6;
    font-weight: bold;
}

/* Configuración para el botón de descarga en la sección de resumen */
.resume > div:last-child {
    margin: 8vh 0 2vh 0;
    display: flex;
    justify-content: center;
}

/* Estilos para el botón de descarga en la sección de resumen */
.resume > div:last-child a {
    gap: 5px;
    display: flex;
    width: 100%;
    color: #52dee5;
    font-size: 16px;
    font-weight: 500;
    padding: 2vh 3vw;
    border-radius: 18px;
    margin: 0vh 5vw;
    justify-content: center;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos para el icono dentro del botón de descarga */
.resume > div:last-child a ion-icon {
    color: #52dee5;
    font-size: 20px;
    font-weight: 400;
}

@media (max-width: 400px) {
    /* Ajustes para dispositivos con ancho máximo de 400px */
    .resume .experience > div:first-child .line3 {
        width: 1px;
        height: 24vh;
        height: calc(2vh + 14px * 6 + 22px * 5 - 6px);
        background: rgba(214, 214, 214, 0.1);
    }
}

@media (max-width: 372px) {
    /* Ajustes para dispositivos con ancho máximo de 372px */
    .resume .education div:first-child .line1 {
        height: 3.5vh;
    }
    .resume .education div:first-child .line2 {
        height: 13vh;
        height: calc(2vh + 14px * 3 + 22px * 2);
    }
    /* Configuración para el último elemento de la sección de experiencia en dispositivos muy pequeños */
    .resume .experience > div:first-child .line1 {
        height: calc(4vh + 16px - 13px);
        height: 3.5vh;
    }
    .resume .experience > div:first-child .line2 {
        height: 12.8vh;
        height: calc(2vh + 14px * 3 + 22px * 3 - 11px);
    }
    .resume .experience > div:first-child .line3 {
        width: 1px;
        height: 24vh;
        height: calc(2vh + 14px * 6 + 22px * 6 + 8px );
        background: rgba(214, 214, 214, 0.1);
    }
}
