@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2? family= Alex+Brush & family= Poppins:wght@200;300;400;500;600;700;800 & display=swap' );

@import url('https://fonts.googleapis.com/css2?family=Calligraffitti&family=Poppins:wght@200;300;400;500;600;700;800&display=swap');




@media (max-width: 768px){
    .educacion-column {
        padding: 0 8px;
    }

    .educacion-content .content p {
        max-width: 100%;
        padding: 0;
    }
}
/**tablet**/
@media (min-width: 768px) and (max-width:990px){
   
}
/**escritorio**/
@media (max-width: 991px){
    
   
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins" , sans-serif;
    max-width: 100%;
    

}
:root {
    --bg-color: #fff7f1;
    --second-bg-color: #291814;
    --third-bg-color:#70382c;
    --text-color: #402e32;
    --main-color: #49C692;
    --secondary-color: #ffffff;
    

}

html{
    font-size: 62%;
    overflow-x: hidden;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    height: 70px;
    
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    z-index: 100;
}
.logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    align-items: center;
}

.logo img{
    height: 60px;
    margin-top: 0.5rem;
    align-items: center;
    margin-left: 0.1rem;
    padding: 0px;
    
}
.logo nombre {
    height: 50px
    
}




.navbar a {
    font-size: 1.5rem;
    color: var(--bg-color);
    font-weight: 500;
    margin-left: 2.5rem;
    width: 45px;
    height: 35px;
    
    
    
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    
    
}




/**ocultar checkbox**/
#menu-toggle {
    display: none;
}

/* Icono hamburguesa */
.menu-icon {
    font-size: 3.6rem;
    color: #ffffff;
    cursor: pointer;
    display: none;
}

.menu-icon span {
    color: #ffffff; /* blanco inicial */
    transition: 0.3s ease;
}

.menu-icon:hover span {
    color: var(--main-color);
}


.menu-toggle:checked ~ .menu-icon span{
    color: var(--main-color); /* tu verde */
   
}

.menu-toggle:checked .menu-icon span::before {
    content: "close";
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .menu-icon {
        display: block;
        z-index: 101;
        transition: 0.3s ease;
    }

    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        
        height: 100vh;
        background: black;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
.navbar a {
        margin: 2rem 0;
        font-size: 2rem;
    }

    /* AQUÍ ESTÁ LA MAGIA 👇 */
    #menu-toggle:checked ~ .navbar {
        right: 0;
    }
}







section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.inicio{
    display:flex;
    align-items: center;
    padding: 0 9%;
    background: url("/images/pexels-985235800-20368729.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    
    
}

.inicio-content{
    max-width: 60rem;
    overflow: auto;
    
    
}

.inicio-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px  black;
    color: var(--bg-color);
    
}

.inicio-content .text-animate {
    position: relative;
    width: 32.8rem;
}

.inicio-content .text-animate h3{
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--secondary-color);
   
    
}

.inicio-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
    overflow: auto;
    text-align: justify;
    padding-bottom: 50px;
    text-shadow: 1px 1px  black;
    color: #ffffff;
   
}
.content p{
    text-align: justify;
    
    
}
.inicio .inicio-content p{
   
}
.btn-box{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 4.4rem;
    margin-top: 5rem;
    
}

.btn-box .btn {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background:#62b3a8;
    border: .2rem solid #62b3a8;
    border-radius: .95rem;
    font-size: 1.6rem;
    line-height: 1.2;

    font-weight: 600;
    letter-spacing: .15rem;
    color: var(--bg-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    box-shadow: 2px 2px 3px #62b3a8;
    margin-bottom: 20px;
    text-align: center;
   
    
    
}

.btn-box .btn:hover{
    color: var(--main-color);
    
}

.btn-box .btn:nth-child(2) {
    background: transparent;
    background: var(--main-color);
    
}

.btn-box .btn:nth-child(2):hover{
    color: var(--bg-color);
    
}

.btn-box .btn:nth-child(2)::before {
    background: var(--main-color);
   
}

.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
    
}

.btn-box .btn:hover::before{
    width: 100%;
    
}

.inicio-social{
    position:absolute;
    bottom: 2rem;
    right: 2rem;
    left: 9%;
    z-index: 1000;
    width: 170px;
    display: flex;
    justify-content: space-between;
    
}

.inicio-social a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    
}

.inicio-social a:hover {
    color: var(--bg-color);
    

}

.inicio-social a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.inicio-social a:hover::before {
    width: 100%;
}

.inicio-imghover {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.inicio-imghover:hover {
    background-color: transparent;
    opacity: .0;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--third-bg-color-color);
    padding-bottom: 6rem;
    
}

.heading {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
    
    
}

span {
    color:var(--main-color);
    font-family:"Verdana", sans-serif;
    
    
}

.about h2 span{
    color: #2b2c0a;
    box-shadow: 2px 3px 5px 2px 1px #54573d;
    
    
    
}
.about-img {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-img img {
    width: 90%;
    
   
}

.about-img h3 {
    width: 150%;
    font-size: 2.2rem;
    text-shadow: 1px 1px 1px #a5a97e;
    padding-top: 5px;
    margin-top: 50%;
    margin-bottom: 25px;
    box-shadow: 2px 2px 2px 2px #B1B050;
    text-align: center;

    
   
}
.about-img p {
    font-size: 1.5rem;
    margin: .5rem 0 5rem;
    

}



.about-img .squar-spin {
    
    position: absolute;
    justify-content: center;
    align-items: center;
    
    top: 50%;
    left: 50%;
    
    transform: translate(-50, -50) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 5%;
    border-top: .2rem solid #4a4a2d;
    border-bottom: .2rem solid #4a4a2d;
    border-left: .2rem solid #7A7B1B;
    border-right: .2rem solid #7A7B1B;
}

.about .about-content h3{
    padding-top: 0px;
}
.about-content {
    text-align: center;
    color: #384B41;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    
    
    
}

.about-content img {
    position: relative;
    margin: 15px auto;
    width: 300px;
    height: auto;
    
    
    justify-content: center;
    align-items: center;
    
    
}


.about-content h3 {
    font-size: 2.2rem;
    text-shadow: 1px 1px 1px #a5a97e;
    padding-top: 25px;
    margin-top: 15px;
    margin-bottom:15px;
    box-shadow: 2px 2px 2px 2px #B1B050;
    text-align: center;
     overflow: auto;
    
    
}
.about-content h4 {
    font-size: 1.5rem;
    
    padding-top: 0%;
    margin-top: 0%;
    font-family: 'Franklin Gothic Medium', sans-serif;
    
    
}
.about-content p {
    font-size: 1.5rem;
    margin: 2rem 0 5rem;
    margin-bottom: -4rem;
    text-align: justify;
    line-height: 1.6;

   

}
.about .heading{
    color: #2E382A;
}

.btn-box.btns{
    display: inline-block;
    width: 15rem;
    
    
    
}

.btn-box.btns a::before {
    background: var(--second-bg-color);
    
}

.educacion {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-top: 0rem;
    color: #384B41;
    margin-top: 0%;
    
}
.educacion-column{
    
    padding-left: 10px;
    padding-right: 10px;
    padding-top:0%;
    
    overflow: visible;
    
}

.educacion-row {
    width: 100%;
    max-width: 900px;  /* 🔥 controla el ancho real */
    margin: 0 auto;    /* centra */
}

.educacion .educacion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.educacion-row .educacion-column p {
    
}


.educacion-column .title {
    font-size:2.5rem;
    margin: 1.5rem auto 0 auto;
    color: #ffffff;
    padding-top: 0px;
    width: 100%;
    height: auto;
    background-color: #09AD97;
    border-radius: 5px;
    text-align: center;
    box-shadow: -2px 2px 3px #62b3a8;
 }   

 .educacion .heading{
    padding-bottom:0%;
    margin-top: -3rem;
    margin-bottom: -1rem;
 }

.educacion-column .educacion-box {



}

.educacion-content .content {
    display: flex;
    flex-direction: column;
    align-items: center;

}
.educacion-box .educacion-content {
    position: relative;
    padding-left: 2rem;
    
}
.educacion-content .content .year {
    font-size: 1.5rem;
    color: var(--main-color);
    padding-bottom: .5rem;
}

.about .about-content .year {
    font-size: 1.5rem;
    padding: .4rem;
    font-family: "Verdana", sans-serif;
    color: #33472C;
    
    
}

.educacion-content .content .year i{
    padding-right: .5rem;
}

.educacion-content .content h3 {
    font-size: 2rem;
    padding-top: 2rem;
    text-align: center;
    
}

.educacion-content .content p {
    font-size: 1.5rem;
    padding-top: .2rem;
    padding-bottom: 10px;
    text-align:justify;
    margin: 0 auto;
    max-width: 700px;
    margin-bottom: -4rem;
    
}
.content{
    
}

.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding: 5rem;
}

.educacion-column .titles{
    font-size: 2.5rem;
    padding: 20px;
    text-align: center;
    
}
.contacts-box {
    font-size: 1.5rem;
    padding: 20px;
    position: relative;
    padding-left: 2rem;

}

.contacts-box .input-field{
    max-width: 400px;
    margin: 0 auto;
}
button {
    top: 0;
    left: 0;
    width:100;
    height: 100;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;

}
.skills{
    text-align: justify;
    
    background: url("/images/fondofinal3.png") no-repeat;
    background-color: #fff7f1;
    background-size:auto;
    background-position:center;
}  

.skills p {
    font-size: 1.5rem;
    padding-top: .3rem;
    padding-right:5px;
    padding: 0 10px;
    width: 100%;
    text-shadow: 0px 0px  black;
     box-sizing: border-box;
}

.skills .skills-content p {
    font-size: 1.5rem;
    padding-top: .5rem;
    width: 100%;
    padding: 0;
   
    
}
.skills .titles {
    padding-top: .8rem;
    box-shadow: 2px 2px 2px 2px #9BB0A5;
    text-align:center;
    width: 95%;
    height: auto;
    font-size: 1.5rem;
    
    color: #49C692;
    text-shadow: 2px 2px 2px #121413;
    display: flex;
    margin: 1.5rem 0 0rem 1rem;
    padding-bottom: 0px;
    border-radius: 5px;
    
    
}
.otros{
    text-align: justify;
    
    background: url("/images/fondofinal3.png") no-repeat;
    background-color:var(--bg-color);
    background-size:auto;
    background-position:center;
  }

.otros p {
    font-size: 1.5rem;
    padding-top: .3rem;
    padding: 0;
    width: 100%;
    text-shadow: 0px 0px  black;
    color: var(--second-bg-color-color);
}

.skills .skills-content p {
    font-size: 1.5rem;
    padding-top: .5rem;
    width: 100%;
    padding: 0;
    
    }

.educacion-column .titles{
    color: var(--main-color)
}

.skills-content p{
    margin-bottom: -2rem ;
    color: var(--second-bg-color);
}

.educacion-column img {
    display: block;
    margin: 20px auto; /* centra horizontal */
    width: 300px;
    height: auto; /* 🔥 importante para que no se deforme */
}

.otros .educacion-column .titles {
    font-size:2.5rem;
    margin:  1.5rem auto 0 auto;
    color: #ffffff;
    padding-top: 0px;
    width: 100%;
    height: auto;
    background-color: var(--second-bg-color);
    border-radius: 5px;
    text-align: center;
    box-shadow: -2px 2px 3px #9a7d57;
    display: block;
    padding: 10px;
 }   


.articles{
    text-align: justify;
    
    background: url("/images/fondofinal3.png") no-repeat;
    background-color:var(--bg-color);
    background-size:auto;
    background-position:center;
  }

.articles p {
    font-size: 1.5rem;
    padding-top: .3rem;
    padding: 0;
    width: 100%;
    text-shadow: 0px 0px  black;
    color: var(--second-bg-color-color);
}
.articles .educacion-column .titles{
    color: var(--second-bg-color-color)
}

footer{
border-style: solid;

border-radius: 10px;
padding-bottom:1rem;
padding-top: 1rem;
text-align: center center;
margin-top:5rem;
overflow:auto;
font-size:small;
grid-template-columns: auto auto;
margin: auto;
display: block;
}

footer img{
    width:5rem;
    margin-right: 5rem;
    
    display: block;
    float:left;
    padding: 10px;
    justify-content:center;
    align-items: center;
    
    grid-template-columns: auto auto;
    
    
    
}

footer p{
    text-align: center;
    
}
footer h5{
    text-align: center;
    color:#384B41;
    
    padding-right: 50px;
    padding-left: 10px;
    

    
    
}
footer h5 span{
    
    color:#1a2a21;
    font-size: 1.3rem;
    
    
}
.centro {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    
    border-radius: 15px;
    

}
img{
    transition: all 0.5s linear;
    
    
}

img:hover{
    transform: scale(0.9);
}

.video-container {
    width: 100%;
    height: 400px; /* o 400px o lo que quieras */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: -5px 5px 10px rgba(0,0,0,0.5);
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-top: 0px;
        
    
    
}


video {
    padding-top: 20px;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    
}

button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #49C692;
    color: white;
    border-radius: 8px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
}

.video-container button {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

button:hover {
    background-color: #2e9e75;
}

.medio{
    padding-top: 0px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    
    margin: auto;
    display: block;
    border-radius: 10px ;
    box-shadow: -3px 3px 3px 2px #402e32;
    
    
    
}
audio{
    padding-top: 5px;
    width: 80%;
    height: 0px;
    margin: auto;
    display: block;
    color: transparent;
    opacity: 0%;
    background-color: black;

