@import url('https://fonts.cdnfonts.com/css/proxima-nova-2');

/* variables */
:root {
    --primary-color: aquamarine;
    --underline-color: #3a6493;
    --secondary-black: #0d081a;
    /* color --secondary-gray alternativo: #DEDEDE, #e3e8e8 */
    --secondary-gray: #F5F5F5;
    --footer: #1f252e;
    --footer-2: aquamarine;
    --body-bg: #000000;
    /* favorito por el momento #034d6c, no esta tan mal #2E86AB, #348AA7, #247BA0, #276FBF */
    --secondary-gray-blurred: #3333333c;
    --primary-color-blurred: #f84f0707;
    --primary-color-blurred-2: #dedede6b;
    --secondary-gray-blurred: #059d8e52;
    --secondary-gray-blurred-2: #9291a088;
    --bg-1: #04080f;
    --bg-2: #04080f;
    /* favorito por el momento #f8f5f5 */
    --bg-3: #04080f;
    --bg-4: #344251; /*2E4F4F, 193144 (probar), 333C48 (va ganando, creo), 313E49, 3b4446, 374349(me gusta bastante)*/
    --bg-5: #313732;
    --bg-6: #344251fa; /*061f1fe8, 393e46fa (original), 384251fa*/
    --letter-color: #C2C2C2;
    --letter-color-2: #FFFFFF;
    --high-light: aquamarine;
    --bg-card: #dedede34;
    --scroll: aquamarine;
    --hover-navbar: rgba(127, 255, 212, 0.404);
    --hover-btn: #7fffd421;
    --hover-btn-2: #fff;
    --hover-logo: #F4442E;
}



.logo-heading {
    margin: 0;
    display: flex;
    align-items: center;
    height: 3.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-size: 1.01rem;
    margin: 0;
    background-color: var(--bg-3);
    color: var(--letter-color);
    font-family: 'Vollkorn', serif;
}

h2 {
    color: var(--letter-color-2);
}

h3 {
    font-family: 'Proxima Nova', sans-serif;
    color: var(--primary-color);
}

p{
    font-family: 'Rubik', sans-serif;
    color: var(--letter-color);    
}

#principal p{
    max-width: 58ch;
}

#social p{
    font-family: 'Rubik', sans-serif;
    color: var(--letter-color-2);    
}

#sobre_mi p{
margin-top: 0; 
}

.high-light {
    color: var(--high-light);
}

.spann {
    color: var(--letter-color);
}

.humbi{
    color: #242222c7;
}

.high-light-2 {
    color: var(--letter-color-2);
}

.bg-1 {
    background-color: var(--bg-1);
}

.bg-2 {
    background-color: var(--bg-2);
}

.bg-3 {
    background-color: var(--bg-3);
}

#experiences {
    scroll-margin-top: 30px;
}

#sobre_mi {
    scroll-margin-top: 20px;
}

#social {
    scroll-margin-top: -45px;
}

#projects {
    scroll-margin-top: -45px;
}

#contacto {
    scroll-margin-top: -2.8px;
}

/* Tipo de letra */
.font-robot-700 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.font-robot-400 {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
}

.font-rubik-700 {
    font-family: 'Rubik', serif;
    font-weight: 700;
}

.font-rubik-400 {
    font-family: 'Rubik', serif;
    font-weight: 400;
}

.font-nova-700 {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

/* NAVBAR */
nav {
    height: 3.5rem;
    width: 100vw;
    background-color: var(--secondary-gray);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    position: fixed;
    z-index: 10;
    border-bottom-right-radius: 1px;
    border-bottom-left-radius: 1px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.25s cubic-bezier(0.645,0.045,0.355,1);
}

html body nav ul li a {
    color: var(--body-bg);
    font-weight: 700;
    font-size: 1rem;
}

/*logo*/
.logo {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    padding: 0vh 0vw;
    text-align: center;
    color: var(--body-bg);
    margin-right: 40vw;
    margin-left: 7vw;
    text-decoration: none;
    flex-shrink: 0;
    transition: 0.15s ease-in-out;
}

/* .logo::before {  
    transform: scaleX(0);
    transform-origin: bottom right;
}

.logo:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.logo::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    inset: 0 0 0 0;
    background: var(--hover-navbar);
    z-index: -1;
    transition: transform .4s ease;
} */

.logo img {
    height: 5rem;
    width: 5rem;
}

/*Styling Links*/
.nav-links {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: flex;
    list-style: none;
    width: 98vw;
    padding: 0 0.7vw;
    justify-content: space-evenly;
    align-items: center;
    text-transform: uppercase;
}

.nav-links.hidden {
    top: -100px; /* Oculta el menú fuera de la pantalla */
}

.nav-links li a {
    text-decoration: none;
    margin: 0 0.7vw;
}

.nav-links li a:hover {
    color: var(--body-bg);
}

.nav-links li {
    position: relative;
}

.nav-links li a::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: var(--underline-color);
    position: absolute;
    transition: all 0.35s ease;
    bottom: -3px;
}

.nav-links li a:hover::before {
    width: 100%;
}

/*Styling Hamburger Icon*/
.hamburger div {
    width: 30px;
    height: 3px;
    background: var(--body-bg);
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
}

/* for screen above 1200px */
@media screen and (max-width: 1199px) {
    html body nav ul li a {
        font-size: 1.0rem;
    }

    .logo {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 1.3rem;
        margin-right: 39vw;
        margin-left: 6vw;
    }

    .padded-y {
        padding-top: 0vh;
        padding-bottom: 21vh;
    }
}

/*Stying for small screens*/
@media screen and (max-width: 800px) {
    nav {
        position: fixed;
        z-index: 10;
    }

    .hamburger {
        display: block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }

    .nav-links {
        position: fixed;
        background: var(--secondary-gray);
        height: 102.5vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
        top: -2vh;
    }

    .nav-links.open {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1400px at 90% -10%);
        pointer-events: all;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links li:nth-child(1) {
        transition: all 0.5s ease 0.2s;
    }

    .nav-links li:nth-child(2) {
        transition: all 0.5s ease 0.4s;
    }

    .nav-links li:nth-child(3) {
        transition: all 0.5s ease 0.6s;
    }

    .nav-links li:nth-child(4) {
        transition: all 0.5s ease 0.7s;
    }

    .nav-links li:nth-child(5) {
        transition: all 0.5s ease 0.8s;
    }

    .nav-links li:nth-child(6) {
        transition: all 0.5s ease 0.9s;
        margin: 0;
    }

    .nav-links li:nth-child(7) {
        transition: all 0.5s ease 1s;
        margin: 0;
    }

    li.fade {
        opacity: 1;
    }
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    transition: all 0.7s ease;
    width: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* hero section */

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    background-color: var(--bg-3);
    padding: 0px 30px 0px 30px;
    justify-content: center;
}

.anti-hero {
    position: relative;
    z-index: 1;
    display: flex;
    background-color: var(--bg-1);
    padding: 20px 20px 0px 20px;
    justify-content: center;
}

.hero .hero-content {
    height: 100vh;
    width: 1200px;
    display: flex;
    flex-direction: row;
}

.hero .hero-content_project {
    padding-top: 20vh;
    padding-bottom: 1vh;
    width: 1200px;
    display: flex;
    flex-direction: row;
}

.hero h1 {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 3.125rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
}

.hero p {
    font-family: 'Rubik', sans-serif;
    color: var(--letter-color);
}

.hero h3 {
    font-family: 'Rubik', sans-serif;
    color: var(--high-light);
}

.hero_p {
    margin-top: 2em;
}

.hero_color_2 {
    color: var(--secondary-gray-blurred-2);
}

.hero_color_1 {
    color: var(--letter-color-3)
}

.hero_center{
    display: flex;
    justify-content: left;
}

.left {
    height: fit-content;
    width: 55%;
    padding-left: 1%;
    align-self: center;
    flex-shrink: 0;
}

#principal .left {
    height: fit-content;
    /* width: 65%; */
    align-self: center;
    flex-shrink: 0;
}

#sobre_mi .left {
    height: fit-content;
    width: 45%;
    padding-left: 1%;
    align-self: center;
    flex-shrink: 0;
}

.right {
    height: fit-content;
    width: 45%;
    align-self: center;
    flex-shrink: 1;
}

.responsive-image {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 90%;
    height: auto;
    border-radius: 40px;
    float: right;
    scale: 110%;
    z-index: -1;
}

.responsive-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* aquí puedes ajustar el color y la opacidad del fondo semi oscuro */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 60px;
}

.responsive-image:hover:before {
    opacity: 1;
}

.responsive-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 60px;
}

.btn {
    font-family: 'Poppins', sans-serif;
    /* background-color: var(--primary-color); */
    color: var(--white-bg);
    border: none;
    padding: 15px 30px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    /* box-shadow: 10px 10px 10px -1px rgba(250, 117, 9, 0.15),
        -5px -5px 10px -1px rgba(150, 19, 19, 0.7); */
    transition: all 0.2s ease-in-out;
}

#contacto .btn {
    font-family: 'Poppins', sans-serif;
    background-color: #07bba900;
    color: var(--letter-color-2);
    border: none;
    padding: 15px 30px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    /* box-shadow: 10px 10px 10px -1px rgba(250, 117, 9, 0.15),
        -5px -5px 10px -1px rgba(150, 19, 19, 0.7); */
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: var(--hover-btn);
    border: 1px solid var(--primary-color);
    color: var(--letter-color-2);
}

#contacto .btn:hover {
    background-color: var(--hover-btn);
    border: 1px solid var(--primary-color);
    color: var(--letter-color-2);
}

a.btn {
    color: var(--letter-color-2);
    text-decoration: none;
}

.believe {
    padding-left: 30px;
    width: 200px;
    font-weight: 100;
    font-size: medium;
}

.center {
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1050px) {
    .hero h1 {
        font-family: 'Proxima Nova', sans-serif;
        font-size: 3.2rem;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 0;
        letter-spacing: -1px;
        line-height: 56px;
    }

    .hero_p {
        margin-top: 2em;
    }
}

@media screen and (max-width: 1050px) {
    .logo-heading {
        margin: 0;
        display: flex;
        align-items: center;
        height: 3.25rem;
    }

    nav {
        height: 3.25rem;
        width: 100vw;
        background-color: var(--secondary-gray);
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
        display: flex;
        position: fixed;
        z-index: 10;
        border-bottom-right-radius: 1px;
        border-bottom-left-radius: 1px;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        transition: 0.25s cubic-bezier(0.645,0.045,0.355,1);
    }

    .hero .hero-content {
        height: auto;
        margin-top: 13vh;
        margin-bottom: 12vh;
        display: flex;
        flex-direction: column-reverse;
    }

    .hero_center{
        display: flex;
        justify-content: center;
    }

    .left {
        width: 68%;
    }

    .right {
        width: 600px;
        padding-bottom: 2rem;
    }

    .responsive-image {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 62%;
        height: auto;
        padding: 5px 0;
        border-radius: 60px;
        float: none;
        scale: 115%;
    }

    .logo {
        margin-right: 24vw;
    }

    .padded-y {
        padding-top: 0vh;
        padding-bottom: 0vh;
    }
}

@media screen and (max-width: 1050px) {
    #principal .hero {
        padding: 0 0;
    }

    .left {
        width: none;
    }

    #hero .right {
        width: 540px;
        padding-bottom: 2rem;
    }

    .right {
        width: 800px;
        padding-bottom: 4vw;
    }

    #experiences .hide{
        opacity: 0.0;
        margin: inherit;
    }
    
    .hero h1 {
        font-family: 'Proxima Nova', sans-serif;
        font-size: 3em;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 0;
        letter-spacing: -1px;
    }
}

@media screen and (max-width: 800px) {
    #principal .left {
        height: fit-content;
        width: 90%;
        align-self: center;
        flex-shrink: 0;
    }

    .responsive-image {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 64%;
        height: auto;
        padding: 5px 0;
        border-radius: 60px;
        float: none;
        scale: 120%;
    }
    .right {
        width: 95%;
        padding-bottom: 4vw;
    }
}

@media screen and (max-width: 780px) {
    .hero_p {
        margin-top: 25px;
    }
    .left {
    width: 70%;
    }
}

@media screen and (max-width: 700px) {
    .right {
        width: 100%;
        padding-bottom: 4vw;
    }
    .hero h1 {
        font-size: 2.5em;
    }
}

/* @media screen and (max-width: 780px) {
    .left {
    width: 80%;
    }
}

@media screen and (max-width: 680px) {
    .left {
    width: 90%;
    }
} */


@media screen and (max-width: 480px) {
    #principal .hero {
        padding: 0 0;
    }

    .hero h3 {
        font-family: 'Rubik', sans-serif;
        color: var(--high-light);
        max-width: 20ch;
        font-size: 0.95em;
    }

    .responsive-image {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 76%;
        height: auto;
        border-radius: 40px;
        float: none;
        scale: 115%;
        padding-top: 10px;
    }

    .hero h1 {
        font-family: 'Proxima Nova', sans-serif;
        font-size: 2.2em;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 0;
    }

    .left {
        width: 90%;
    }

    .right {
        width: 94%;
        padding-bottom: 4vw;
    }
}

@media screen and (max-width: 420px) {
    #principal h1 {
        font-size: 1.8em;
    }
    .hero_p {
        margin-top: 2em;
    }
}

@media screen and (max-width: 380px) {
    .believe {
        width: fit-content;
    }
    .believe {
        padding-left: 6vw;
        width: 200px;
        font-weight: 100;
        font-size: medium;
    }
}

@media screen and (max-width: 370px) {
    #principal h1 {
        font-size: 1.8em;
        letter-spacing: -1px;
    }
    .hero_p {
        margin-top: 2em;
    }
}

@media screen and (max-width: 350px) {
    .hero h3 {
        max-width: 14.5ch;
        font-size: 0.95em;
    }
}

@media screen and (max-width: 340px) {
    .hero .hero-content {
        width: 280px;
    }
    #principal h1 {
        font-size: 1.6em;
    }
}

@media screen and (max-width: 290px) {
    #principal h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    .anti-hero {
        position: relative;
        z-index: 1;
        display: flex;
        background-color: var(--bg-1);
        padding: 20px 10px 10px 10px;
        justify-content: center;
    }

}

/* Skills */

#experiences ul{
    padding: 0 0 0 8px;
    font-family: 'Rubik', sans-serif;
}

#experiences h3 {
    text-align: left;
    margin-bottom: 0px;
}

#experience p{
    margin-top: 15px;
}

.content {
    width: 1050px;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: -webkit-center;
    padding-left: 3vw;
    padding-right: 3vw;
}

.row-direction {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.vert-pad {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
}

.padded {
    padding: 0vh 10px;
}

.orange {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding-right: 25px;
    transition: all 0.2s ease;
}

.orange:hover {
    color: var(--hover-btn-2)
}

.card {
    background-color: var(--white-bg);
    box-shadow: 0 1px 2px #ddd;
    border: solid 1px #ddd;
    border-radius: 10px;
    padding: 20px 30px;
    border: none;
    box-shadow: inset 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
        inset -10px -10px 10px -1px rgba(255, 255, 255, 0.7);
    margin: 15px
}

.padded-y {
    padding-top: 0vh;
    padding-bottom: 0vh;
}

@media screen and (max-width: 1200px) {
    .content {
        width: 915px;
    }
}

@media screen and (max-width: 1050px) {
    .row-direction {
        display: flex;
        flex-direction: column;
    }

    .padded {
        padding: 3vh 3vh;
    }

    .content {
        width: 570px;
    }

    .row-1050px {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .responsive-image-social {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: none;
        width: 30%;
        height: auto;
        padding-left: 3%;
        padding-right: 3%;
        border-radius: 10px;
    }

    .row-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .padded-y {
        padding-top: 0vh;
        padding-bottom: 10vh;
    }

    .padded-top {
        padding-top: 5.5vh;
    }
}

@media screen and (max-width: 500px) {
    #social .row-1050px {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* about me */
.padded-y-about {
    margin-top: 6vh;
    margin-bottom: 0vh;
}

.row-about {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.about-intro {
    border-left: 3px solid var(--letter-color);
    padding-left: 2.2em;
    margin-bottom: 1em;
}

.number-style-g {
    color: var(--primary-color);
    padding-right: 2.16%;
}

.responsive-image-about {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 85%;
    height: auto;
    padding-left: 0%;
    padding-right: 0%;
    border-radius: 4px;
    float: right;
}

.margin-0-top {
    margin-top: 0;
}

.margin-title-about {
    margin: 0 0 20px 0;
}

.responsive-image-about::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color-blurred);
}

.tabla {
    display: flex;
    flex-wrap: wrap;
    color: var(--primary-color)
}

.celda {
    flex-basis: calc(100% / 3);
    padding: 5px;
    box-sizing: border-box;
}

.celda ul {
    list-style-type: disclosure-closed;
    margin: 0;
    padding-left: 20px;
}

@media screen and (max-width: 600px) {
    .celda {
        flex-basis: calc(100% / 2);
    }
    body {
        font-size: 0.95rem;
    }
    .about-intro {
        padding-left: 1.2em;
        margin-bottom: 1em;
    }
    #contacto .btn {
        font-size: 0.95em;
    }
}

@media screen and (max-width: 1050px) {
    .row-about {
        flex-direction: column;
    }

    .responsive-image-about {
        max-width: 470px;
        height: auto;
        float: none;
    }

    .about-intro {
        margin-bottom: 5em;
    }

    .padded-y-about {
        margin-top: 10vw;
    }

    #sobre_mi .left {
        width: 550px;
    }
    .about-intro {
        padding-left: 1.5em
    }
}

@media screen and (max-width: 600px) {
    #sobre_mi .left {
        width: 100%;
    }
    .responsive-image-about {
        max-width: 85%;
        height: auto;
        float: none;
    }
}

@media screen and (max-width: 480px) {
    .about-intro {
        margin-bottom: 3em;
    }
}

@media screen and (max-width: 438px) {
    #sobre_mi .hero {
        padding-right: 12%;
    }

    .responsive-image-about {
        max-width: 95%;
        height: auto;
        float: none;
    }

}

@media screen and (max-width: 420px) {
    .orange {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
        padding-right: 25px;
        transition: all 0.2s ease;
    }
}

@media screen and (max-width: 410px) {
    .orange {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
        padding-right: 15px;
        transition: all 0.2s ease;
    }
}

@media screen and (max-width: 400px) {
    .orange {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
        padding-right: 10px;
        transition: all 0.2s ease;
    }
}

@media screen and (max-width: 250px) {
    .orange {
        padding-right: 10px;
    }
}

@media screen and (max-width: 390px) {
    .row-column-btn {
        display: flex;
        flex-direction: column;
        width: 93%;
    }

    #sobre_mi .orange {
        padding-bottom: 20px;
        padding-top: 30px;
    }
}

@media screen and (max-width: 290px) {
    body {
        font-size: 0.87rem;
    }
}

/* Social-proof */
#social h5{
    text-align: center;
    color: var(--letter-color);
}

#social p{
    text-align: center;
}

.card-social {
    background-color: var(--bg-4);
    border-radius: 4px;
    padding: 20px 30px;
    border: none;
    /* box-shadow: 5px 5px 10px -1px var(--bg-card); */
    margin: 0 15px;
    width: -webkit-fill-available;
}

.responsive-image-social {
    position: relative;
    display: block;
    margin: 25px auto;
    max-width: 70%;
    height: auto;
    padding-left: 0%;
    padding-right: 3%;
    border-radius: 10px;
}

#social h3{
    font-family: 'Vollkorn', serif;
    margin: 25px 0 2px;
    text-align: center;
    font-size: 1.05em;
}

#social h5{
    margin-top: 0px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.9em;
}

#social p{
    margin: 20px 0;
    font-size: 1.1em;
    max-width: 25ch;
}

@media screen and (max-width: 1050px) {
    #social h3{
        margin: 20px 0 2px;
    }
    .card-social {
        /* box-shadow: 5px 5px 10px -1px var(--bg-card); */
        margin: 15px;
    }
}

@media screen and (max-width: 500px) {
    .card-social {
        background-color: var(--bg-4);
        border-radius: 4px;
        padding: 20px 20px;
        border: none;
        /* box-shadow: 5px 5px 10px -1px var(--bg-card); */
        margin: 9px 0;
        width: 85vw;
    }
    #social .responsive-image-social {
        position: relative;
        display: block;
        margin: 20px auto 20px auto;
        max-width: 70%;
        height: auto;
        padding-left: 0%;
        padding-right: 0%;
        border-radius: 6px;
        width: 170px;
    }
    #experiences .responsive-image-social {
        position: relative;
        display: block;
        margin: auto 10px auto 10px;
        max-width: 70%;
        height: auto;
        padding-left: 0%;
        padding-right: 0%;
        border-radius: 10px;
        width: 105px;
    }
}

@media screen and (max-width: 400px) {
    .card-social {
        padding: 20px 15px;
    }
}

@media screen and (max-width: 300px) {
    #experiences .responsive-image-social {
        position: relative;
        display: block;
        margin: auto 10px auto 10px;
        max-width: 70%;
        height: auto;
        padding-left: 0%;
        padding-right: 0%;
        border-radius: 10px;
        width: 82px;
    }
    .card-social {
        width: 80vw;
    }
    #principal h1 {
        font-size: 1.55em;
    }
    h2 {
        font-size: 1.2em;
    }
    .hero h3 {
        font-size: 0.89em;
    }
}

/* Email */

#email .hero {
    position: relative;
    z-index: 1;
    display: flex;
    background-color: var(--bg-3);
    padding: 40px 25px;
    justify-content: center;
}

#email .responsive-image {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 95%;
    height: auto;
    padding-left: 3%;
    padding-right: 3%;
    border-radius: 40px;
    float: center;
    scale: 110%;
}

@media screen and (max-width: 1050px) {
    #email .responsive-image {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 65%;
        height: auto;
        padding-left: 3%;
        padding-right: 3%;
        border-radius: 40px;
        float: center;
        scale: 110%;
    }
    #email .hero {
        padding: 40px 0px;
    }
}

@media screen and (max-width: 480px) {
    #email h1{
        font-size: 1.8em;
        text-align: center;
    }
    
    #email p{
        text-align: center;
    }

    #email .responsive-image {
        position: relative;
        display: block;
        margin: 6px auto;
        max-width: 70%;
        height: auto;
        padding-left: 3%;
        padding-right: 3%;
        border-radius: 40px;
        float: none;
        scale: 115%;
    }
}

@media screen and (max-width: 290px) {
    #email .hero {
        position: relative;
        z-index: 1;
        display: flex;
        background-color: var(--bg-3);
        padding: 40px 0px;
        justify-content: center;
    }
}

#contacto .left {
    height: fit-content;
    width: 50%;
    align-self: center;
    flex-shrink: 0;
}

.row-email {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.padded-y-email {
    padding: 4.8vh 0 12vh;
    margin-top: 2.5em;
}

.contact-form input {
    font-family: 'Rubik', sans-serif;
    border: none;
    height: 30px;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    width: calc(100% - 20px);
    /* box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
        -10px -10px 10px -1px rgba(255, 255, 255, 0.7); */
}

.contact-form textarea {
    font-family: 'Rubik', sans-serif;
    border: none;
    height: 100px;
    padding: 15px 10px;
    resize: none;
    border-radius: 5px;
    margin-bottom: 15px;
    width: calc(100% - 20px);
    /* box-shadow: 10px 10px 10px -1px rgba(10, 99, 169, 0.16),
        -10px -10px 10px -1px rgba(255, 255, 255, 0.7); */
}

.full-width {
    width: 100%;
    color: var(--body-bg);
}

@media screen and (max-width: 1050px) {
    #contacto .left {
        height: fit-content;
        width: 570px;
        align-self: center;
        flex-shrink: 0;
    }

    .row-email {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .padded-y-email {
        padding: 0vh 0;
        padding-bottom: 10vh;
    }
}

@media screen and (max-width: 650px) {
    #contacto .content {
        width: 95%;
    }

    #contacto .left {
        width: 95%;
    }
}

/* Footer */

#footer h3 {
margin-top: 0;
}

.footer {
    padding: 50px 0 0 0;
    background-color: var(--footer);
    color: #fff;
}

.footer-2 {
    background-color: var(--footer-2);
}

.social-links {
    margin-top: 20px;
}

.social {
    background-color: var(--primary-color);
    padding: 5px;
    border-radius: 60px;
    transition: 0.2s ease-in-out;
}

.social:hover{
    background-color: var(--hover-btn-2);
}

.feedback-social {
    background-color: var(--primary-color);
    padding: 5px 5px;
    border-radius: 60px;
    margin: 0 5px;
    vertical-align: -webkit-baseline-middle;
    transition: 0.2s ease-in-out;
}

.feedback-social:hover{
    background-color: var(--hover-btn-2);
}

.social-links a {
    margin: 0 12px;
}

#footer img {
    scale: 115%;
}

.made-with {
    color: var(--letter-color-2);
}

.row-social {
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}

/* 
.decoration-g{
    display: flex;
    justify-content: center;
    text-align: center;
    justify-content: space-between;
    width: 80%;
    list-style: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}

.decoration{
    text-decoration: none;
    color: var(--white-bg);
    list-style: none;

} */

/* Projects Section */
.padded-project {
    padding: 10vh 0 3vh 0;
}

.padded-contact {
    padding: 5vh 0 3vh 0;
}

.padded-y-projects {
    padding-top: none;
    padding-bottom: 0vh;
}

.responsive-image-projects {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    padding-top: 50px;
    padding-right: 20px;
    padding-left: none;
    padding-right: none;
    scale: 150%;
}

.responsive-image-projects-2 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    padding-top: 65px;
    padding-right: 15px;
    padding-left: none;
    padding-right: none;
    scale: 210%;
}

.responsive-image-projects-3 {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    padding-top: 55px;
    padding-right: 312px;
    padding-left: none;
    padding-right: none;
    scale: 172%;
}

#projects .item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 4vh auto;
    margin-bottom: 6em;
    /* gap: 2rem; */
}

#projects .item:nth-of-type(even) {
    flex-direction: row-reverse;
}

#projects .item .left-2 {
    flex: 1;
}

#projects .item .right-2 {
    margin-left: -150px;
    flex: 1;
    background-color: var(--bg-6);
    padding: 2.3rem 2.5rem 55px;
    border-radius: 1.5px;
    box-shadow: 0px 0px 20px #00000028;
    z-index: 2;
}

#projects .item:nth-of-type(even) .right-2 {
    margin-left: 0;
}

#projects .item:nth-of-type(even) .left-2 {
    margin-left: -150px;
}

#projects .item .left-2 .img {
    height: 485px;
    overflow: hidden;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 0px 0px 0px rgba(10, 99, 169, 0.16),
    -10px -10px 10px -1px #666e732f;
    position: relative;
}

#projects .item .left-2 .img::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary-color-blurred);
}

#projects .item .left-2 .img img {
    object-fit: cover;
    transition: 0.3s ease transform;
}

#projects .item:hover .left-2 .img img {
    transform: scale(1.1);
    z-index: 1;
}

#projects .item .right-2 .project-title {
    font-size: 1.8em;
    font-family: 'Roboto Slab', serif;
    margin-bottom: 1rem;
}

/* #projects .item .right-2 .project-sub-title {
    margin-bottom: 2rem;
} */

#projects .item .right-2 .project-desc {
    color: var(--letter-color);
    margin-bottom: 2.5rem;
}

#projects .item .right-2 .external-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: calc(0.6em - 4px) calc(1.6em - 4px);
}

#projects .item .right-2 .external-link svg {
    width: 25px;
}

@media only screen and (max-width: 1050px) {
    .padded-project {
        padding: 12vh 10px 3vh;
    }
    
    .padded-y-projects {
        padding-top: none;
    }

    #projects .container {
        width: 90%;
        margin: 0 auto;
        max-width: 550px;
    }

    #projects .item {
        flex-direction: column;
        margin-bottom: 5em;
    }

    #projects .item .left-2 {
        width: 100%;
    }

    #projects .item .right-2 {
        margin-left: 0;
        width: 89.8%;
        margin-top: -150px;
    }

    #projects .item:nth-of-type(even) {
        flex-direction: column;
    }

    #projects .item:nth-of-type(even) .left-2 {
        margin-left: 0;
    }

    .row-social {
        display: flex;
        flex-direction: row;
        margin-bottom: 20px;
    }

    #projects .item .left-2 .img {
        height: 440px;
    }
}

@media only screen and (max-width: 480px) {
    #projects .item .left-2 .img {
        height: 400px;
        overflow: hidden;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0px 0px 0px 0px rgba(10, 99, 169, 0.16), 0px -10px 10px -1px #666e732f;
        position: relative;
    }

    .responsive-image-projects-3 {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        padding-top: 55px;
        padding-right: 230px;
        padding-left: none;
        padding-right: none;
        scale: 172%;
    }

    #projects .item .right-2 {
        padding: 1.2rem 2rem 55px;
    }

    #sobre_mi .left {
        padding-left: 0%;
    }
}

@media only screen and (max-width: 450px) {
    #projects .item .right-2 .buttons {
        flex-direction: column;
    }

    #projects .item .right-2 .buttons a {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 395px) {
    #projects .item .right-2 {
        width: 85%;
    }
}

@media only screen and (max-width: 340px) {
    #projects .item .right-2 {
        width: 79%;
    }
}

@media screen and (max-width: 290px) {
    .responsive-image-projects {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        padding-top: 50px;
        padding-right: 20px;
        padding-left: none;
        padding-right: none;
        scale: 170%;
    }
    
    .responsive-image-projects-2 {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        padding-top: 50px;
        padding-right: 15px;
        padding-left: none;
        padding-right: none;
        scale: 220%;
    }
    
    .responsive-image-projects-3 {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        padding-top: 52px;
        padding-right: 200px;
        padding-left: none;
        padding-right: none;
        scale: 172%;
    }

    #projects .item .right-2 .project-title {
        font-size: 2.5em;
        font-family: 'Montserrat';
        margin-bottom: 1rem;
    }

    #projects .item .right-2 .project-sub-title {
        font-size: 1.6em;
        margin-bottom: 2rem;
    }
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1100px;
}

/* project section */
.topic-center{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.topic-container {
    padding-top: 30px;
    padding-left: 0vw;
    padding-right: 0vw;
    padding-bottom: 0px;
}

#topic h1 {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 3.125rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: -1px;
}

#topic p {
    font-family: 'Rubik', sans-serif;
    color: var(--letter-color);
}

#project1 h2{
    color: var(--primary-color);
}

#project2 h2{
    color: var(--primary-color);
}

#project3 h2{
    color: var(--primary-color);
}

#topic h3 {
    font-family: 'Rubik', sans-serif;
    color: var(--high-light);
}

#topic h5 {
    color: var(--letter-color);
}

.column_project {
    display: flex;
    background-color: var(--bg-2);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.content_project {
    width: 935px;
    padding-bottom: 10vh;
    padding-left: 13.5vw;
    padding-right: 13.5vw;
    padding-top: 4.5vh;
}

.content_project h1 {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
}

.responsive-image_proj1 {
    position: relative;
    display: block;
    margin: 0 0;
    padding-top: 0px;
    max-width: 40vw;
    height: auto;
    float: center;
}

.responsive-image-proj1 {
    position: relative;
    display: block;
    margin: 0 auto 30px auto;
    max-width: 95%;
    height: auto;
    border-radius: 40px;
    float: center;
}

.responsive-image-proj1:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* aquí puedes ajustar el color y la opacidad del fondo semi oscuro */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 60px;
}

.hero .hero-content-proj1 {
    height: 30vh;
    width: 1650px;
    display: flex;
    flex-direction: column-reverse;
}

@media screen and (max-width: 1050px) {
    .responsive-image-proj1 {
        border-radius: 40px;
        scale: 115%;
        margin-top: 40px;
        max-width: 85%;
    }

    .hero .hero-content-proj1 {
        height: auto;
        margin-top: 12vh;
        margin-bottom: -3vh;
        display: flex;
        flex-direction: column-reverse;
    }
    
    .scrolldown {
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    .topic-container {
        padding-top: 100px;
        width: 935px;
        padding-left: 8vw;
        padding-right: 8vw;
        padding-bottom: 5px;
    }
    .content_project {
        width: 935px;
        padding-bottom: 10vh;
        padding-left: 5vw;
        padding-right: 5vw;
    }
    #topic h1 {
        font-family: 'Proxima Nova', sans-serif;
        font-size: 2.4em;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 0;
    }
}

.scrolldown {
    --color: var(--primary-color); /* Utiliza la variable --background-color como el color de borde */
    --sizeX: 30px;
    --sizeY: 45px;
    position: absolute;
    top: 75vh; /* Ajusta la posición vertical según tus necesidades */
    left: 50%; /* Ajusta la posición horizontal según tus necesidades */
    transform: translateX(-50%); /* Centra horizontalmente el elemento */
    width: var(--sizeX);
    height: var(--sizeY);
    border: calc(var(--sizeX) / 10) solid var(--primary-color-blurred-2);
    border-radius: 50px;
    box-sizing: border-box;
    margin-bottom: 16px;
    z-index: 8; /* Asegura que el elemento esté en el frente */
}

.scrolldown::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--scroll);
    border-radius: 100%;
    animation: scrolldown-anim 2s infinite;
    box-sizing: border-box;
    box-shadow: 0px -5px 3px 1px #00e1ff30;;
}

@keyframes scrolldown-anim {
    0% {
        opacity: 0;
        height: 6px;
    }

    40% {
        opacity: 1;
        height: 10px;
    }

    80% {
        transform: translate(0, 20px);
        height: 10px;
        opacity: 0;
    }

    100% {
        height: 3px;
        opacity: 0;
    }
}

.chevrons {
    padding: 6px 0 0 0;
    margin-left: -3px;
    margin-top: 48px;
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevrondown {
    margin-top: -6px;
    position: relative;
    border: solid var(--scroll);
    border-width: 0 3px 3px 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
    animation: pulse 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
    animation: pulse 500ms ease infinite alternate 250ms;
}

@keyframes pulse {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

/* animation reveal */

.reveal{
    position: relative;
    transform: translateY(70px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0, 0, 0.32, 0.96);

}

.reveal.active{
    position: relative;
    transform: translateY(0px);
    opacity: 1;
}

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

.text-align-justify{
    text-align: justify;
}

.cover{
    width: auto;
    height: 55vh;
    background-color: black;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
.cover img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    padding-top: 0;
    scale: 1.01;
}

.cen{
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-51%, -40%); 
    color: white;
}

.content_project_hero {
    width: 935px;
}

/* @media only screen and (max-width: 1286px) {
    .cen{
        position: absolute;
        top: 35%;
        left: 13.5%;
        right: 13.5%;
        transform: none;
    }
} */

@media only screen and (max-width: 1280px) {
    .cen {
        position: absolute;
        top: 50%;
        left: 13.5vw;
        transform: translate(0%, -40%);
        padding-right: 13.5vw;
    }
    .content_project_hero {
        width: auto;
        max-width: 935px;
    }
}

@media only screen and (max-width: 1050px) {
    .cover img {
        width: 100vw;
    }
}

@media only screen and (max-width: 450px) {
    .cen{
        position: absolute;
        top: 28%;
        left: 7vw;
        right: 7vw;
        transform: none;
        padding-right: 0;
    }

    #project3 .cen{
        position: absolute;
        top: 22%;
        left: 7vw;
        right: 7vw;
        transform: none;
    }

    .cover{
        width: auto;
        height: 75vh;
        background-color: black;
        overflow: hidden;
        position: relative;
        display: inline-block;
    }
    .cover img {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        object-position: center;
        opacity: 0.25;
        padding-top: 0;
    }
    #topic h1 {
        font-family: 'Proxima Nova', sans-serif;
        font-size: 3em;
        font-weight: 700;
        margin-bottom: 0;
        margin-top: 0;
        letter-spacing: -1px;
    }
}

@media only screen and (max-width: 250px) {
    .cover{
        width: auto;
        height: 75vh;
        background-color: black;
        overflow: hidden;
        position: relative;
        display: inline-block;
    }
}

#project1 .btn:hover {
    background-color: var(--hover-btn);
    border: 1px solid var(--hover-btn);
    color: var(--letter-color-2);
}

#project1 a.btn {
    color: var(--letter-color-2);
    text-decoration: none;
    display: flex;
}

#project2 a.btn {
    color: var(--letter-color-2);
    text-decoration: none;
    display: flex;
}

#project3 a.btn {
    color: var(--letter-color-2);
    text-decoration: none;
    display: flex;
}

#project2 .cover img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    scale: 1.01;
}

#project3 .cover img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    opacity: 0.23;
    scale: 1.01;
}

/* .imagen-de-presentacion {
    position: relative;
    width: 100vw;
    height: 400px;
    overflow: hidden;
}

.imagen-de-presentacion img {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: auto;
    object-fit: cover;
    background-color: var(--letter-color-2);
}

@media only screen and (max-width: 600px) {
    .imagen-de-presentacion img {
        width: 160%;
    }
    .responsive-image_proj1 {
        max-width: 80vw;
    }
}
@media only screen and (max-width: 490px) {
    .imagen-de-presentacion img {
        width: 200%;
    }
}
@media only screen and (max-width: 400px) {
    .imagen-de-presentacion img {
        width: 250%;
    }
}
@media only screen and (max-width: 300px) {
    .imagen-de-presentacion img {
        width: 300%;
    }
}
@media only screen and (max-width: 250px) {
    .imagen-de-presentacion img {
        width: 350%;
    }
}

h5{
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
} */