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

html {
    font-size: 60%;
    overflow-x: hidden;
    /* overflow-y: hidden; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #1C1C1C;
    --bg-color-second: #2F2F2F;

    --hl-1-color: #87CEEB;
    --hl-2-color: #77DD77;
    --hl-5-color: #FDFD96;
    --hl-3-color: #C9A0DC;
    --hl-4-color: #FFB347;

    --md-1-color: #87CEEB;
    --md-2-color: #77DD77;
    --md-5-color: #FDFD96;
    --md-3-color: #C9A0DC;
    --md-4-color: #FFB347;
    
    --bg-color-light: #FFF0F5;
    --bg-color-second-light: #FFFFFF;

    --hl-1-color-light: #87CEEB;
    --hl-2-color-light: #32CD32;
    --hl-5-color-light: #FFD700;
    --hl-3-color-light: #BA55D3;
    --hl-4-color-light: #FF8C00;

    --md-1-color-light: #87CEEB;
    --md-2-color-light: #32CD32;
    --md-5-color-light: #FFD700;
    --md-3-color-light: #BA55D3;
    --md-4-color-light: #FF8C00; 
}

body {
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
}

main {
    width: 100vw;
    height: 100vh;
}

section {
    min-width: 100vw;
    min-height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10rem 20% 10rem;
}

.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    gap: 10px;
    color: white;
}

.hl1 {
    color: var(--hl-1-color);
}

.hl2 {
    color: var(--hl-2-color);
}

.hl3 {
    color: var(--hl-3-color);
}

.hl5 {
    color: var(--hl-5-color)
}

.hl4 {
    color: var(--hl-4-color);
}

.md1 {
    background: var(--md-1-color);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.md2 {
    background: var(--md-2-color);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.md5 {
    background: var(--md-5-color);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.md3 {
    background: var(--md-3-color);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.md4 {
    background: var(--md-4-color);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.shake {
    animation: shake 1s ease-in-out;
}

@keyframes shake {
    0% { 
        transform: rotate(0deg); 
    } 25% { 
        transform: rotate(15deg); 
    } 50% { 
        transform: rotate(0deg); 
    } 75% { 
        transform: rotate(-15deg); 
    } 100% { 
        transform: rotate(0deg); 
    }
}

header {
    position: fixed;
    width: 100%;
    bottom: 20px;
    margin-bottom: 80px;
    background: var(--bg-color);
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: 15px;
    border: 2px solid #444;
    width: fit-content;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease-in-out;
}

header nav ul li {
    position: relative;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #444;
    transition: background-color color 0.3s;
}

header nav ul li a ion-icon {
    transform: scale(2);
}

header nav ul li .op1:hover, header nav ul li .op1.active {
    background-color: #FFD1DC;
    color: var(--bg-color);
}

header nav ul li .op2:hover, header nav ul li .op2.active {
    background-color: #87CEEB;
    color: var(--bg-color);
}

header nav ul li .op3:hover, header nav ul li .op3.active {
    background-color: #77DD77;
    color: var(--bg-color);
}

header nav ul li .op4:hover, header nav ul li .op4.active {
    background-color: #FDFD96;
    color: var(--bg-color);
}

header nav ul li .op5:hover, header nav ul li .op5.active {
    background-color: #C9A0DC;
    color: var(--bg-color);
}

header nav ul li .op6:hover, header nav ul li .op6.active {
    background-color: #FFB347;
    color: var(--bg-color);
}

header nav ul li span {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transition: opacity 0.3s;
}

header nav ul li:hover span {
    visibility: visible;
    opacity: 1;
}

header.anim1 {
    animation: anim1 1.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header.anim2 {
    animation: anim2 1.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header.anim3 {
    animation: anim3 1.3s;
    transition: all 0.3s;
}

@keyframes anim1 {
    0% {
        bottom: 20px;
        transform: rotate(0deg);
    } 100% {
        top: 20px;
        transform: rotate(360deg);
    }
}

@keyframes anim2 {
    0% {
        top: 20px;
        transform: rotate(0deg);
    } 100% {
        bottom: 20px;
        transform: rotate(360deg);
    }
}

/* NEW HEADER */
header.header {
    left: 40px;
    top: 50%;
    transform: translateY(-50%); 
    border: none;
}

header.header nav ul {
    flex-direction: column;
}

header.header nav ul li {
    margin: 10px 0;
}

header.header nav ul li span {
    left: 85px;
    top: 50%;
    transform: translateY(-50%);
}

header.header nav ul li span.active {
    visibility: visible;
    opacity: 1;
}

.home .all-home .main-content {
    position: relative;
    background: var(--bg-color-second);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 2.3rem;
    box-shadow: 0 0 50px var(--bg-color-second);
    border-radius: 0.8rem;
    background: var(--bg-color-second);
    padding: 4rem 8rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 3;
}

.all-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.hover-content, .up-c-h, .down-c-h {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.project-card {
    width: 15rem;
    height: 22rem;
    border-radius: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.up-c-h.active {
    margin-bottom: -30px;
    gap: 12rem;
}   

.down-c-h.active {
    margin-top: -30px;
    gap: 25rem;
}

.card-1 {
    top: -30rem;
    left: -15rem;
    /* background: #90d2ec; */
    background: transparent;
    transform: rotate(-13deg);
    transition: all 0.3s ease-in-out;
}

.card-2 {
    top: -12rem;
    left: 0;
    /* background: #84d884; */
    background: transparent;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.card-3 {
    top: -10rem;
    left: 15rem;
    /* background: #C9A0DC; */
    background: transparent;
    transform: rotate(15deg);
    transition: all 0.3s ease-in-out;
}

.card-4 {
    top: 22rem;
    left: -10rem;
    background: #ffbe63;
    transform: rotate(-15deg);
    transition: all 0.3s ease-in-out;
}

.card-5 {
    top: 22rem;
    left: 10rem;
    background: #FDFD96;
    transform: rotate(15deg);
    transition: all 0.3s ease-in-out;
}

.card-1:hover {
    box-shadow: 0 0 50px #90d2ec;
    transform: rotate(-13deg) scale(1.1);
}

.card-2:hover {
    box-shadow: 0 0 50px #84d884;
    transform: rotate(0deg) scale(1.1);
}

.card-3:hover {
    box-shadow: 0 0 50px #C9A0DC;
    transform: rotate(15deg) scale(1.1);
}

.card-4:hover {
    box-shadow: 0 0 50px #ffbe63;
    transform: rotate(-15deg) scale(1.1);
}

.card-5:hover {
    box-shadow: 0 0 50px #FDFD96;
    transform: rotate(15deg) scale(1.1);
}

.home .all-home .main-content.active {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease-in-out;
}

.up-c-h, .down-c-h {
    display: none;
    transition: all 0.3s ease-in-out;
}

.up-c-h.active, .down-c-h.active {
    display: flex;
    transition: all 0.3s ease-in-out;
    animation: project-cards-anim 0.5s ease-in-out;
}

@keyframes project-cards-anim {
    0% {
        transform: scale(0.7);
    } 25% {
        transform: scale(1.15);
    } 50% {
        transform: scale(1);
    } 75% {
        transform: scale(1.08);
    } 100% {
        transform: scale(1);
    }
}

.particle-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.profile {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background: var(--bg-color-second);
    padding: 20px;
    border-radius: 10px;
    gap: 15px;
}

.profile-img {
    border-radius: 10px;
    width: 150px;
    height: 150px;
    margin-right: 20px;
    border: 3px solid #f0f0f0;
}

.intro {
    flex-grow: 1;
}

.intro h1 {
    margin: 0 0 10px;
    font-size: 2.4em;
    color: #87CEEB;
}

.intro p {
    font-size: 1.8rem;
    color: white;
}

.tags {
    margin-top: 15px;
}

.tag {
    background: #87CEEB;
    color: var(--bg-color);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.5rem;
}

.section-about, .section-experience {
    margin-bottom: 60px;
    background: var(--bg-color-second);
    padding: 20px;
    border-radius: 10px;
}

.section-about h2, .section-experience h2 {
    border-bottom: 3px solid #87CEEB;
    padding-bottom: 10px;
    color: #87CEEB;
    font-size: 2.4em;
}

.section-about p, .section-experience p {
    font-size: 1.8rem;
    color: white;
}

.job {
    margin-bottom: 20px;
}

.job h3 {
    font-size: 1.8rem;
    /* text-decoration: underline; */
    color: #87CEEB;
    margin-top: 5px;
    margin-bottom: 10px;
}

.job-date {
    font-style: italic;
    color: gray;
    margin-top: 10px;
}

.services-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.first-service, .second-service, .third-service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.first-service .flex-column, .second-service .flex-column, .third-service .flex-column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    border: 2px solid silver;
    border-radius: 32px;
}

.first-service .flex-column img, .second-service .flex-column img, .third-service .flex-column img {
    width: 40%;
    height: 120%;
    border-radius: 32px;
}

.first-service .flex-column .service-text h2 {
    border-bottom: 3px solid #9b59b6;
    padding-bottom: 4px;
    color: #9b59b6;
    width: 100%;
    font-size: 2.4em;
}

.second-service .flex-column .service-text h2 {
    border-bottom: 3px solid rgb(219, 109, 50);
    padding-bottom: 4px;
    color: rgb(219, 109, 50);
    width: 100%;
    font-size: 2.4em;
}

.third-service .flex-column .service-text h2 {
    border-bottom: 3px solid #16A7B3;
    padding-bottom: 4px;
    color: #16A7B3;
    width: 100%;
    font-size: 2.4em;
}

.service-description {
    font-size: 1.8rem;
    color: white;
}

.btn, .box-btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: white;
    box-shadow: 0 0 15px white;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.btn:hover, .box-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px white;
}

.services-container div .btn {
    position: relative;
    left: 0%;
    transform: translateX(-0%);
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    margin-bottom: 3rem;
    text-align: center;
}

.contact form .input-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact form .input-box input, .contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: white;
    background: transparent;
    border-radius: 0.8rem;
    border: 2px solid #FFB347;
    margin: 1rem 0;
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
}

.contact form .input-box input, .contact form textarea {
    box-shadow: none;
    transition: 0.2s ease;
}

.contact form .input-box input:focus, .contact form textarea:focus {
    box-shadow: 0 0 15px #FFB347;
}

.config {
    display: none;
    transition: all 0.3s ease-in-out;
}

.wheel ion-icon {
    display: none;
    transition: all 0.3s ease-in-out;
}

.wheel {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.wheel ion-icon.active {
    display: block;
    font-size: 3.2rem;
    color: white;
    transition: all 0.3s ease-in-out;
}

.config.active {
    position: fixed;
    top: 40px;
    right: 100px;
    width: fit-content;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    border-radius: 10px;
    background: var(--bg-color-second);
    border: 2px solid silver;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    margin-right: -3rem;
}

.tl.active {
    top: 90px;
    animation: tlActive 1s ease;
    transition: all 0.3s ease-in-out;
}

@keyframes tlActive {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.theme {
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    cursor: pointer;
    background: transparent;
    border: 2px solid silver;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease-in-out;
}

.theme:hover {
    transform: scale(1.1);
    text-shadow: 0 0 25px white;
}

.theme i, .language-container ion-icon {
    font-size: 2rem;
    color: white;
}

.theme.active {
    display: block;
}

.language-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: 2px solid silver;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease-in-out;
}

.language-container:hover {
    transform: scale(1.1);
    text-shadow: 0 0 25px white;
}

.language.active {
    display: block;
    font-size: 1.7rem;
    color: white;
}

.language {
    display: none;
}

.projects .h2 {
    color: white;
}

.header {
    display: block;
}

.tl.active {
    margin-right: 5px;
    top: 40px;
}

.project-card a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-card a h2 {
    color: black;
}

/* .project-card a img {
    width: 80%;
    height: auto;
} */

.project-card a img {
    width: 17rem;
    height: auto;
}



.section-about div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    left: 0%;
    transform: translateX(-50%);
    margin-left: 50%;
}

.social-media {
    width: 5.625rem;
    height: 5.625rem;
    background: #87CEEB;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.social-media i {
    font-size: 2rem;
    color: black;
}

.social-media:hover > i {
    scale: 1.2;
    color: #f1f1f1;
}

.social-media::before {
    background: var(--i);
    content: "";
    position: absolute;
    width: 130%;
    height: 130%;
    left: -110%;
    top: 80%;
    border-radius: 5px;
    transform: rotate(45deg);
}

.social-media:hover::before {
    animation: social-media 0.7s forwards;
    border-radius: 0px;
}

@keyframes social-media {
    50% {
        left: 10%;
        top: -40%;
    } 100% {
        left: -15%;
        top: -15%;
    }
}

.pad {
    box-shadow: 0 0 50px var(--bg-color-second);
    border-radius: 0.8rem;
    background: var(--bg-color-second);
    padding: 4rem 4rem;
    z-index: 3;
}

.mobile-header {
    display: none;
}

.no-mobile {
    visibility: 1;
}

.mobile {
    display: none;
}

.projects h2 {
    margin-bottom: 6rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.box {
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box:hover img {
    transform: scale(1.1);
}

.info-pr {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.box:hover .info-pr {
    opacity: 1;
}

.info-pr h4 {
    font-size: 2.7rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #77DD77;
}

.info-pr p {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.box-buttons, .buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.box-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 3rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    color: black;
    text-decoration: none;
}

.box-btn:hover {
    filter: brightness(1.1);
}

.skills .container {
    background: var(--bg-color-second);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 100%;
    margin: auto;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.skills .container .row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    flex-wrap: wrap;
    gap: 1.8rem;
}

.skills .container .bar {
    padding: 10px;
    border-radius: 1rem;
    background: #797948;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.skills .container .bar:hover {
    box-shadow: 0 4px 10px #FDFD96;
    transform: scale(1.03);
}

.skills .container .bar .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.skills .container .bar span {
    font-size: 2rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.bar img {
    width: 10rem;
    height: 10rem;
}

.escalar {
    transform: scale(0.6);
    margin-top: -10px;
}

.cog-wheel-container:hover .cog-wheel {
    animation: rotateWheelConf 1s ease-out;
    transition: all .3s ease;
}

.cog-wheel-container .cog-wheel {
    animation: rotateWheelReverse 1s ease-out;
    transition: all .3s ease;
}

@keyframes rotateWheelConf {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-270deg);
    }
}

@keyframes rotateWheelReverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

.cog-wheel-container:hover .x.active {
    animation: xAnimation .3s ease-in-out;
    transition: all .3s ease;
}

@keyframes xAnimation {
    0% {
        transform: scale(1) rotate(-0deg);
    } 25% {
        transform: scale(1.15) rotate(-45deg);
    } 50% {
        transform: scale(0.85) rotate(-90);
    } 75% {
        transform: scale(1.15) rotate(-135deg);
    } 100% {
        transform: scale(1) rotate(-180deg);
    }
}

.button-more {
    width: 100%;
    /* background: aqua; */
}

.animate-on-scroll.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-right.hidden {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll-left.hidden {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-input.hidden {
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 0.7s ease-out, rotate 0.7s ease-out;
}

.animate-on-scroll-input.visible {
    opacity: 1;
    transform: rotate(0deg);
    animation: contactInputs .3s ease-out;
}

@keyframes contactInputs {
    0% {
        transform: rotate(-8deg);
    } 33% {
        transform: rotate(0deg);
    } 66% {
        transform: rotate(8deg);
    } 100% {
        transform: rotate(0deg);
    }
}

.animate-on-scroll-flip.hidden {
    opacity: 0;
    transform: perspective(800px) rotateY(90deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-on-scroll-flip.visible {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) scale(1);
}

.animate-on-scroll-flip.visible .bar {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: flipCascada 0.6s forwards;
}

.animate-on-scroll-flip.visible .bar:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll-flip.visible .bar:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll-flip.visible .bar:nth-child(3) { animation-delay: 0.3s; }
.animate-on-scroll-flip.visible .bar:nth-child(4) { animation-delay: 0.4s; }
.animate-on-scroll-flip.visible .bar:nth-child(5) { animation-delay: 0.5s; }
.animate-on-scroll-flip.visible .bar:nth-child(6) { animation-delay: 0.6s; }
.animate-on-scroll-flip.visible .bar:nth-child(7) { animation-delay: 0.7s; }
.animate-on-scroll-flip.visible .bar:nth-child(8) { animation-delay: 0.8s; }
.animate-on-scroll-flip.visible .bar:nth-child(9) { animation-delay: 0.9s; }
.animate-on-scroll-flip.visible .bar:nth-child(10) { animation-delay: 1s; }

@keyframes flipCascada {
    from {
        opacity: 0;
        transform: perspective(800px) rotateY(90deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: perspective(800px) rotateY(0) scale(1);
    }
}
