*{
    font-size: 62.5%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: sans-serif;
}
:root{
    --bg-color: #000134;
    --second-bg-color: #000250;
    --second-bg-color2: #050546;
    --text-color: #fff;
    --main-color: #00dddd;
    --btn-confi: lime;
    --btn-cancel: rgb(230, 50, 50);
    --modal-bg-transp: rgba(0, 0, 0, 0.5);
    --modal-borde: rgba(255, 255, 255, 0.5);
    --switch-w: 80px;
    --switch-h: 40px;
    --thumb-size: 40px;
    --icon-size: 48px
}
html{
    scroll-behavior: smooth;
}

body{
    background-color:var(--second-bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

section{
    margin: 7rem 0;
}

/*No traduce los Navegadores*/
.no-translate {
    translate: no;
}

/*Class Multiples*/
span{
    color:var(--main-color);
}

/*Titulos*/
.heading{
    font-size: 3rem;
    font-weight: 700;
}

.heading span {
    font-size: inherit;
    font-weight: 700;
}
h1{
    font-size: 4rem;
}
/*Subtitulos*/
h2{
    font-size: 2.6rem;
    font-weight: 700;
}

h2 span{
    font-size: inherit;
    font-weight: 700;
}

h3{
    font-size: 2.2rem;
    font-weight: 400;
}

h3 span{
    font-size: inherit;
    font-weight: 400;
}

h4{
    font-size: 1.8rem;
    font-weight: 400;
}

h4 span{
    font-size: inherit;
    font-weight: 400;
}

h5{
    font-size: 1.4rem;
    font-weight: 400;
}

h5 span{
    font-size: inherit;
    font-weight: 400;
}

h6{
    font-size: 1rem;
    font-weight: 400;
}

h6 span{
    font-size: inherit;
    font-weight: 400;
}

/*Texto extra*/
p {
    font-size: 1.4rem;
    text-align: left;
}

p span{
    font-size: inherit;
}

/* MODALS GENERAL */
.modals{
    margin: 2rem 0 0 0;
    padding: 0;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg-transp);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo de las redes*/
.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 2.5rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 2rem 1.5rem 2rem 0;
    transition: 0.3s ease;
}

.social-media a:hover{
    transform: scale(1.2) translateY(-8px);
    background-color: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--main-color);
}

/*Etilo de btn*/
.btn{
    display: inline-block;
    justify-content:space-between;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--bg-color);
    letter-spacing: 0.1rem;
    font-weight: 400;
    transition: 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn:hover{
    box-shadow: 0 0 1.6rem var(--main-color);
    color: var(--text-color);
}
/*Animacion de la imagen representativa*/
@keyframes borderAnimation {
    0%{
        border-radius: 51% 49% 48% 52% / 49% 49% 51% 51%;
    }
    35%{
        border-radius: 60% 40% 57% 43% / 40% 54% 46% 60%;
    }
    65%{
        border-radius: 67% 33% 68% 32% / 27% 70% 30% 73%;
    }
    100%{
        border-radius: 51% 49% 48% 52% / 49% 49% 51% 51%;
    }
}

/*ScrollBar diseño*/
::-webkit-scrollbar{
    background-color:var(--bg-color);
    width: 1rem;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    width: 5rem;
    border-radius: 0.5rem;
}
/*============================HEADER============================*/
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.logo{
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    background: -webkit-linear-gradient(#3b3bff , #00dddd, #fff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo:hover{
    background: #d3d3ff;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar {
    list-style: none;
    display: flex;
    gap: 1rem;
}
.navbar li a {
    color: var(--text-color);
    font-weight: 400;
}
.nav-btn{
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: transparent;
    color: var(--main-color);
    border: 0.2rem solid var(--main-color);
    border-radius: 4rem;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.nav-btn:hover{
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--main-color);
    transform:  scale(1.05);
}

/* Icono */
#menu-icon{
    display: block;
    font-size: 2.5rem;
}
.navbar{
    position: absolute;
    top: 100%;
    right: -100%;
    width: 25.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(1rem);
}
.navbar a{
    display: block;
    padding: 1.7rem;
    font-size: 2rem;
}
.navbar.active{
    right: 0;
}
/* Idioma Switch */
.lang-item {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lang-toggle {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}
.check {
    position: relative;
    width: var(--switch-w);
    height: var(--switch-h);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
}
.check:before {
    content: '';
    position: absolute;
    width: var(--switch-w);
    height: var(--switch-h);
    background-size: var(--icon-size) var(--icon-size);
    border-radius: var(--switch-h);
    background-image: url('assets/Skills/Lang/Es.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-color: #333;
    filter: grayscale(100%) brightness(0.6);
    top: 0;
    left: 0;
    transition: background-image 0.25s, filter 0.25s;
}
.check:checked:before {
    background-image: url('assets/Skills/Lang/En.png');
    background-position: left center;
    filter: grayscale(100%) brightness(0.6);
    background-color: #3b3bff;
}
.check:after {
    content: '';
    position: absolute;
    width: var(--thumb-size);
    height: var(--thumb-size);
    background-color: #fff;
    background-image: url('assets/Skills/Lang/En.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    box-sizing: border-box;
    top: 0;
    left: 0;
    transition: left 0.25s, border-color 0.25s, background-image 0.25s;
}
.check:checked:after {
    left: var(--thumb-size);
    background-image: url('assets/Skills/Lang/Es.png');
}

/*============================HOME SECTION============================*/
#home{
    scroll-margin-top: 7.5rem;
}
.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.home-text{
    padding-top: 2rem;
}
.home-content h1{
    line-height: 1.3;
    background: -webkit-linear-gradient(#5555ff , #00dddd, #fff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.typed-prefix{
    color: var(--text-color);
}
.home-img{
    padding-top: 2rem;
}
.home-img img{
    width: 200px;
    border: 3px solid var(--main-color);
    border-radius: 51% 49% 48% 52% / 49% 49% 51% 51%;
    animation: borderAnimation 4s linear infinite;
}
.home-cv {
    display: flex;
    justify-content: center;
}
.home-cv .btn{
    padding: 0.2rem 2rem;
    border-radius: 4rem;
    font-size: 1.6rem;
    font-weight: 700;
}

/*============================ ABOUT SECTION ============================*/
#about {
    scroll-margin-top: 7.5rem;
}
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
}
.about-me{
    text-align: left;
    margin: 1rem 1rem 0 1rem;
}
.about-content h3 {
    margin-bottom: 1.5rem;
}

/*=== STUDIES SECTION ===*/
.studies-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    width: 100%;
    padding: 0 2rem;
}

.studies-box {
    padding: 0 1rem;
}

.education {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Cards comunes */
.edu-item, .course-item {
    background-color: var(--bg-color);
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 0 0.5rem var(--main-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.edu-item:hover, .course-item:hover {
    border: 1px solid var(--main-color);
    transform: translateY(-5px) scale(1.03);
}
.edu-item i{
    font-size: 3rem;
    margin: 1rem;
}

/* Cursos */
.courses {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course-item {
    align-items: center;
}

.youtube-icon {
    font-size: 2rem;
    color: orange;
    margin-left: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.course-item:hover .youtube-icon {
    transform: scale(1.2);
    color: red;
}


/*--- Modal Studie ---*/
.modal-studie {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 800;
}

.modal-studie--show {
    opacity: 1;
    visibility: visible;
}

/* Contenedor principal */
.modal-container-studie {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 0 2rem var(--modal-borde);
    padding: 1rem;
    gap: 1rem;
    text-align: center;
}

/* Título del modal */
.modal-title-studie {
    color: var(--main-color);
}

/* Descripción del modal */
.modal-descrip-studie {
    color: var(--text-color);
    text-align: left;
}

/* Botones generales del modal */
.btn-text {
    display: none;
    margin-left: 0.5rem;
    font-size: 1rem;
}
.modal-actions-studie a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    margin: 0 1rem;
    transition: 0.3s ease;
}

.modal-foto-studie {
    background: #6F42C1;
    color: var(--bg-color);
}
.modal-foto-studie:hover {
    box-shadow: 0 0 1.6rem #6F42C1;
    color: var(--text-color);
}

.modal-link-studie {
    background: #22ce4a;
    color: var(--bg-color);
}
.modal-link-studie:hover {
    box-shadow: 0 0 1.6rem #22ce4a;
    color: var(--text-color);
}

.modal-close-studie {
    background: var(--btn-cancel);
    color: var(--bg-color);
}
.modal-close-studie:hover {
    box-shadow: 0 0 1.6rem var(--btn-cancel);
    color: var(--text-color);
}

.modal-container-studie i {
    font-size: 1.6rem;
}


/*============================SKILLS============================*/
#skills{
    scroll-margin-top: 7.5rem;
}

.skills{
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.skills i{
    color: var(--main-color);
    font-size: 2.6rem;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 2rem;
    justify-items: center;
}

.skills-box {
    background-color: var(--bg-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 0.5rem var(--main-color);
    transition: transform 0.3s ease;
    margin: 0 auto;
    width: 100%;
}

.skills-box h4 {
    color: var(--main-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.skills-lenguaje {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.language-skill {
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    margin: 0.5rem 0;
}
.language-skill .level {
    font-weight: bold;
    color: var(--main-color);
}
.lang-level {
    font-size: 1.4rem;
    color: var(--main-color);
    margin-top: 0.5rem;
}
.media {
    text-align: center;
    transition: transform 0.3s ease;
}

.media img {
    width: 70px;
    height: 70px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.media h5 {
    color: var(--text-color);
    font-weight: bold;
}

.effect img{
    border-radius: 1rem;
    box-shadow: 0 0 0.5rem var(--main-color);
}

.effect:hover img {
    transform: scale(1.2);
    cursor: pointer;
    box-shadow: 0 0 0.5rem var(--btn-confi);
}

/*--- Modal Skill ---<<<<<<<<<<<<<<<<<Falta<<<<<<<<<<<<<<*/
.modal-skills {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 700;
}

.modal-skills--show {
    opacity: 1;
    visibility: visible;
}

/* Contenedor principal */
.modal-container-skills {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 0 2rem var(--modal-borde);
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
}

/* Contenido */
.modal-content-skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Título */
.modal-title-skills {
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
}

/* Descripción */
.modal-descrip-skills {
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
    font-weight: 400;
}

/* Botón cerrar */
.modal-close-skills {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-cancel);
    color: var(--bg-color);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.8rem 1rem;
    border-radius: 2rem;
    margin: 0 7rem;
    transition: all 0.3s ease;
}

.modal-close-skills:hover {
    box-shadow: 0 0 1.6rem var(--btn-cancel);
    color: var(--text-color);
}

/* Íconos */
.modal-container-skills i {
    font-size: 2rem;
    margin-right: 0.5rem;
}


/*============================PROYECTS===========================Cambiar=*/
#proyects{
    scroll-margin-top: 7.5rem;
}

.proyects {
    align-items: center;
    text-align: center;
}

.portfolio-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-items: center;
    margin: 2rem 1rem 1rem 1rem;
}
.row {
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 0.5rem var(--main-color);
    border: 1px solid var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.row:hover{
    border: 1px solid var(--main-color);
    color: var(--text-color);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 200px;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-container img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botones de navegación */
.carousel label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel label:hover {
    background: rgb(0, 0, 0);
    color: var(--main-color);
}

.prev {
    font-size: 1.5rem;
    left: 1rem;
}
.next {
    font-size: 1.5rem;
    right: 1rem;
}

/* General */
.type{
    position: absolute;
    background: rgb(0, 0, 0);
    color: var(--text-color);
    border-radius: 20%;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.type i {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-color);
    pointer-events: none;
}
.type .tooltip {
    visibility: hidden;
    background-color: #000000;
    color: var(--text-color);
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.2rem;
    white-space: nowrap;
}
.type:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.tooltip{
    padding: 0 6px;
}

/* Tipo de Proyecto */
.type-app {
    top: 5%;
    left: 90%;
}
.type-app .tooltip {
    right: 3.5rem;
}
/* Colores según el tipo */
.web {
    background-color: #007BFF;
}
.desktop {
    background-color: #6f42c1;
}
.mobile {
    background-color: #28a745;
}
.api {
    background-color: #fd7e14;
}
.erp {
    background-color: #17a2b8;
}
.automation {
    background-color: #ffc107;
}

/* Estado del proyecto */
.type-status {
    top: 75%;
    left: 3%;
}
.type-status .tooltip {
    left: 3.5rem;
}
/* Color segun el estado */
.production {
    background-color: #28a745; /* verde - en producción */
}
.personal {
    background-color: #6c757d; /* gris - personal o local */
}
.academic{
    background-color: #002185;  /* Azul universitario */
}
.prototype {
    background-color: #ffc107; /* amarillo - prototipo */
}
.testing {
    background-color: #fd7e14; /* naranja - en pruebas */
}
.legacy {
    background-color: #dc3545; /* rojo - legado / obsoleto */
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0;
}

.main h4 {
    margin: 10px;
    color: var(--main-color);
}

.main p {
    flex-grow: 1;
}

.portfolio-skills {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.tech-stack img {
    width: 30px;
    margin: 0 0.5rem;
}

.link-portfolio a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--main-color);
    transition: 0.3s ease;
}

.link-portfolio a:hover {
    transform: scale(1.2) translateY(-8px);
    background-color: var(--main-color);
    color: var(--text-color);
}

/*============================CONTACT============================*/
#contact{
    scroll-margin-top: 7.5rem;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 1.5rem 5rem 1.5rem;
}

.contact-content{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.contact-perfil {
    flex: 1;
    text-align: center;
}

.social-contatc a{
    margin: 1rem 1.5rem 1rem 0;
}

.contact-perfil img {
    width: 180px;
    margin-bottom: 1rem;
    border: 3px solid var(--main-color);
    border-radius: 51% 49% 48% 52% / 49% 49% 51% 51%;
    animation: borderAnimation 3s linear infinite;
}

.contact-Form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-Form .input-box {
    display: flex;
    gap: 1rem;
}

.contact-Form input,
.contact-Form textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1.4rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: 0.3s;
    border-radius: 1rem;
    box-shadow: 0 0 5px var(--main-color);
}

.contact-Form input:focus,
.contact-Form textarea:focus {
    border: 1px solid var(--main-color);
}

.contact-Form textarea {
    resize: none;
    height: 150px;
}

.warning{
    font-size: 1.4rem;
    color: var(--main-color);
    padding: 0.5rem 1rem;
}

/* Botón deshabilitado */
#send-btn.disabled {
    background: gray;
    color: rgb(175, 175, 175);
    cursor: not-allowed;
    box-shadow: none;
}

/* Botón habilitado */
#send-btn.enabled {
    background: var(--main-color);
    color: var(--bg-color);
    cursor: pointer;
    box-shadow: 0 0 1rem var(--main-color);
}

#send-btn.enabled:hover {
    background: var(--main-color);
    color: var(--text-color);
}

/*== Modal Captcha ==*/
.modal-captcha {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.modal-captcha--show {
    opacity: 1;
    visibility: visible;
}

.modal-container-captcha {
    background: var(--bg-color);
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 0 2rem var(--modal-borde);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.modal-title-captcha {
    font-weight: 700;
    color: var(--main-color);
    margin: 0;
}

/*== Recaptcha ==*/
.modal-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.85);
    transform-origin: center;
}

/*== Acciones ==*/
.modal-actions-captcha {
    display: flex;
    justify-content: center;
}

/*== Botón deshabilitado ==*/
#captcha-submit-btn.disabled {
    background: gray;
    color: rgb(175, 175, 175);
    cursor: not-allowed;
    box-shadow: none;
    border-radius: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

/*== Botón habilitado ==*/
#captcha-submit-btn.enabled {
    background: var(--btn-confi);
    color: var(--bg-color);
    cursor: pointer;
    box-shadow: 0 0 1rem var(--btn-confi);
    border-radius: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

#captcha-submit-btn.enabled:hover {
    background: var(--btn-confi);
    color: var(--text-color);
}

/*=== Modal Captcha ===*/
.modal-check {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1200;
}

.modal-check--show {
    opacity: 1;
    visibility: visible;
}

.modal-container-check {
    background: var(--bg-color);
    width: 90%;
    max-width: 350px;
    border-radius: 2rem;
    box-shadow: 0 0 2rem var(--modal-borde);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.modal-title-check {
    color: var(--main-color);
    text-align: center;
}

.modal-icono-check i{
    font-size: 8rem;
    margin: 1rem 0;
}

.ico1 {
    color: var(--btn-confi);
}

.ico2 {
    color: var(--btn-cancel);
}

.close-modal-check {
    background: var(--btn-cancel);
    color: var(--bg-color);
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.close-modal-check:hover {
    box-shadow: 0 0 1.6rem var(--btn-cancel);
    color: var(--text-color);
}

/*============================FOOTER============================*/
.footer {
    display:flex;
    flex-direction: column;
    bottom: 0;
    width: 100%;
    background-color: var(--bg-color);
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.copyright{
    font-size: 1rem;
    color: var(--text-color);
}
.end-web{
    justify-content: space-between;
    margin-top: 1.3rem;
}
.end-web img{
    width: 13px;
}

/*=========================== MEDIAS ================================*/
/* 512 */
@media (min-width: 425px) and (max-width: 599px) {
    /*Titulos*/
    .heading{
        font-size: 3.4rem;
        font-weight: 700;
    }
    h1{
        font-size: 4rem;
    }
    /*Subtitulos*/
    h2{
        font-size: 3rem;
        font-weight: 700;
    }
    h3{
        font-size: 2.6rem;
        font-weight: 700;
    }
    h4{
        font-size: 2.2rem;
    }
    h5{
        font-size: 1.8rem;
    }
    h6{
        font-size: 1.4rem;
    }
    /*Texto extra*/
    p {
        font-size: 1.8rem;
        text-align: left;
    }
    /* Logo de las redes*/
    .social-media a{
        width: 3.5rem;
        height: 3.5rem;
        font-size: 2.5rem;
    }
    /*=====HEADER=====*/
    header{
        padding: 1.5rem 5%;
    }
    .logo{
        font-size: 2.3rem;
    }
    #menu-icon{
        font-size: 4rem;
    }
    .navbar a{
        padding: 1.7rem;
        font-size: 2.5rem;
    }
    .nav-btn{
        font-size: 1.5rem;
    }
    /*=====HOME SECTION=====*/
    .home-img img{
        width: 240px;
    }
    .home-cv .btn{
        font-size: 2rem;
    }
    /*=====ABOUT SECTION=====*/
    /*Modal Studie*/
    .modal-actions-studie a {
        width: 5rem;
        height: 5rem;
        font-size: 3.4rem
    }
    .modal-container-studie i {
        font-size: 3rem;
    }
    /*=====SKILLS=====*/
    /*Modal Skills*/
    .modal-container-skills i {
        font-size: 2.6rem;
    }
    .modal-close-skills{
        font-size: 2rem;
    }
    /*=====PROYECTS=====*/
    .row {
        max-width: 400px;
    }
    .type i{
        font-size: 2rem;
    }
    .type .tooltip{
        font-size: 1.6rem;
    }
    .type-app .tooltip {
        right: 4rem;
    }
    .type-status .tooltip {
        left: 4rem;
    }
    .tech-stack img {
        width: 40px;
    }
    .link-portfolio a {
        width: 5rem;
        height: 5rem;
        font-size: 3rem;
    }
    /*=====CONTACT=====*/
    .contact-perfil img {
        width: 200px;
        margin-bottom: 1rem;
    }
    .contact-Form{
        margin: 0 2rem;
    }
    .contact-Form input,
    .contact-Form textarea {
        font-size: 1.8rem;
    }
    .warning{
        font-size: 1.5rem;
    }
    /*---Recapcha---*/
    #captcha-submit-btn.disabled {
        font-size: 2rem;
    }
    #captcha-submit-btn.enabled {
        font-size: 2rem;
    }
    /*---Check---*/
    .modal-icono-check i{
        font-size: 10rem;
    }
    .close-modal-check {
        font-size: 2rem;
    }
    .copyright{
        font-size: 1.4rem;
    }
    .end-web img{
        width: 20px;
    }
}


/* Escribir el codigo con un tamaño de 684 */
@media (min-width: 600px) and (max-width: 788px){
    /*Titulos*/
    .heading{
        font-size: 4rem;
        font-weight: 700;
    }
    .heading span{
        font-weight: 700;
    }
    h1{
        font-size: 4.6rem;
    }
    /*Subtitulos*/
    h2 span{
        font-weight: 700;
    }
    h3 span{
        font-weight: 700;
    }
    h4 span{
        font-weight: 700;
    }
    h5 span{
        font-weight: 700;
    }
    /*Subtitulos*/
    h2{
        font-size: 3.6rem;
        font-weight: 700;
    }
    h3{
        font-size: 2.6rem;
        font-weight: 700;
    }
    h4{
        font-size: 2.2rem;
        font-weight: bold;
    }
    h5{
        font-size: 1.8rem;
    }
    h6{
        font-size: 1.4rem;
    }
    /*Texto extra*/
    p {
        font-size: 1.8rem;
        text-align: left;
    }
    /* Logo de las redes*/
    .social-media a{
        width: 4rem;
        height: 4rem;
        font-size: 3rem;
    }
    /*=====HEADER=====*/
    header{
        padding: 1.5rem 5%;
    }
    .logo{
        font-size: 3rem;
    }
    #menu-icon{
        font-size: 4rem;
    }
    .navbar a{
        padding: 1.7rem;
        font-size: 2.2rem;
    }
    .nav-btn{
        font-size: 2rem;
    }
    /*=====HOME SECTION=====*/
    .home-img img{
        width: 280px;
    }
    .home-cv .btn{
        font-size: 2rem;
    }
    /*=====ABOUT SECTION=====*/
    .about-me{
        text-align: left;
        margin: 1rem 3rem 0 3rem;
    }
    .about-me h3{
        font-size: 3rem;
    }
    .about-me p{
        font-size: 2rem;
    }
    /*Modal Studie*/
    .modal-container-studie h3{
        font-size: 3rem;
    }
    .modal-container-studie p{
        font-size: 2rem;
    }
    .modal-actions-studie a {
        width: 4rem;
        height: 4rem;
        font-size: 3rem
    }
    .modal-container-studie i {
        font-size: 3rem;
    }
    /*=====SKILLS=====*/
    .skills-content{
        grid-template-columns: repeat(2,1fr);
    }
    /*Modal Skills*/
    .modal-title-skills{
        font-size: 3rem;
    }
    .modal-descrip-skills{
        font-size: 2rem;
    }
    .modal-container-skills i {
        font-size: 2.6rem;
    }
    .modal-close-skills{
        font-size: 2rem;
    }
    /*=====PROYECTS=====*/
    .portfolio-content{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    .row{
        max-width: 400px;
    }
    .main h4{
        font-size: 3rem;
    }
    .main p{
        font-size: 2.2rem;
    }
    .type i{
        font-size: 2rem;
    }
    .type .tooltip{
        font-size: 1.6rem;
    }
    .type-app .tooltip {
        right: 4.5rem;
    }
    .type-status .tooltip {
        left: 4.5rem;
    }
    .tech-stack img {
        width: 40px;
    }
    .link-portfolio a {
        width: 4rem;
        height: 4rem;
        font-size: 4rem;
    }
    /*=====CONTACT=====*/
    .contact-perfil img {
        width: 220px;
        margin-bottom: 1rem;
    }
    .contact-Form{
        margin: 0 2.5rem;
    }
    .contact-Form input,
    .contact-Form textarea {
        font-size: 2.4rem;
    }
    .warning{
        font-size: 1.8rem;
    }
    .contact-Form .btn{
        font-size: 2.2rem;
    }
    /*---Recapcha---*/
    #captcha-submit-btn.disabled {
        font-size: 2rem;
    }
    #captcha-submit-btn.enabled {
        font-size: 2rem;
    }
    /*---Check---*/
    .modal-icono-check i{
        font-size: 10rem;
    }
    .close-modal-check {
        font-size: 2rem;
    }
    .copyright{
        font-size: 1.8rem;
    }
    .end-web img{
        width: 30px;
    }
}

/* and (max-width: 999px) */
@media (min-width: 789px){
    Section.about{
        margin: 7rem 4rem;
    }
    Section.proyects{
        margin: 7rem 2rem;
    }
    Section.skills{
        margin: 7rem 5rem;
    }
    .heading span{
        font-weight: 700;
    }
    h1{
        font-size: 6rem;
    }
    /*Subtitulos*/
    h2 span{
        font-weight: 700;
    }
    h3 span{
        font-weight: 700;
    }
    h4 span{
        font-weight: 700;
    }
    h5 span{
        font-weight: 700;
    }
    /*Titulos*/
    .heading{
        font-size: 4rem;
        font-weight: 700;
    }
    /*Subtitulos*/
    h2{
        font-size: 3.6rem;
        font-weight: 700;
    }
    h3{
        font-size: 2.6rem;
        font-weight: 700;
    }
    h4{
        font-size: 2.2rem;
        font-weight: 700;
    }
    h5{
        font-size: 1.8rem;
    }
    h6{
        font-size: 1.4rem;
    }
    /*Texto extra*/
    p {
        font-size: 1.8rem;
        text-align: left;
    }
    /* Logo de las redes*/
    .social-media a{
        width: 4rem;
        height: 4rem;
        font-size: 3rem;
    }
    /*======HEADER=====*/
    header{
        padding: 1.5rem 3%;
    }
    #menu-icon {
        display: none;
    }
    .navbar {
        position: static;
        flex-direction: row;
        background: transparent;
        min-height: auto;
        width: auto;
        gap: 4rem;
        align-items: center;
        backdrop-filter: none;
        transition: none;
    }
    .logo{
        font-size: 3rem;
    }
    .navbar {
        padding-left: 3rem;
    }
    .navbar a {
        padding: 0;
        font-size: 1.8rem;
        font-weight: 500;
    }
    .nav-btn{
        font-size: 2rem;
    }
    .navbar a:hover {
        color: var(--main-color);
        border-bottom: 3px solid var(--main-color);
    }
    .lang-toggle {
        justify-content: center;
    }
    .lang-item a:hover{
        color: none;
        border-bottom: 0;
    }

    /*=====HOME SECTION=====*/
    .home {
        flex-direction: row;
        gap: 1rem;
        padding: 4rem 2rem;
    }
    .home-img {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .home-img img {
        max-width: 320px;
        width: 100%;
    }
    .home-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 1rem;
    }
    .home-text{
        margin-bottom: 0;
        text-align: left;
    }
    .home-cv {
        padding-left: 6rem;
    }
    .home-cv .btn{
        font-size: 2rem;
    }
    /*=====ABOUT SECTION=====*/
    .about-me{
        text-align: left;
        padding: 2rem 7rem;
    }
    .studies-content{
        padding:2rem 3rem;
    }
    /*Modal Studie*/
    .modal-container-studie{
        padding: 2rem;
    }
    .modal-actions-studie{
        padding-top: 1.5rem;
    }
    .modal-actions-studie a {
        width: auto;
        padding: 10px;
    }
    .modal-container-studie i{
        font-size: 1.8rem;
    }
    .btn-text {
        display: inline;
        color:var(--text-color);
        font-size: 1.6rem;
    }
    
    /*=====SKILLS=====*/
    .skills{
        align-items: center;
        text-align: center;
    }
    .skills-content{
        grid-template-columns: repeat(2,1fr);
        gap: 3rem;
    }
    .skills-box{
        max-width: 600px;
    }
    /*Modal Skills*/
    .modal-container-skills i {
        font-size: 1.6rem;
    }
    .modal-close-skills{
        font-size: 1.8rem;
    }
    /*=====PROYECTS=====*/
    .portfolio-content{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    .row{
        max-width: 400px;
    }
    .type i{
        font-size: 2rem;
    }
    .type .tooltip{
        font-size: 1.6rem;
    }
    .type-app .tooltip {
        right: 4.5rem;
    }
    .type-status .tooltip {
        left: 4.5rem;
    }
    .tech-stack img {
        width: 4rem;
    }
    .link-portfolio a {
        width: 4rem;
        height: 4rem;
        font-size: 3rem;
    }
    /*=====CONTACT=====*/
    .contact-content{
        grid-template-columns: 40% 60%;
        margin: 1rem 5rem;
    }
    .contact-perfil{
        padding-top: 5rem;
    }
    .contact-perfil img {
        width: 240px;
        margin-bottom: 1rem;
    }
    .contact-Form{
        margin: 0;
    }
    .contact-Form input,
    .contact-Form textarea {
        font-size: 1.8rem;
    }
    .contact-Form .btn{
        font-size:  1.8rem;
    }
    /*---Recapcha---*/
    #captcha-submit-btn.disabled {
        font-size: 2rem;
    }
    #captcha-submit-btn.enabled {
        font-size: 2rem;
    }
    /*---Check---*/
    .modal-icono-check i{
        font-size: 10rem;
    }
    .close-modal-check {
        font-size: 2rem;
    }
    .copyright{
        font-size: 1.6rem;
    }
    .end-web img{
        width: 25px;
    }
}
