body{
    background: #E3F5F3;
    font-family: "museo-sans", sans-serif;
    color: #000000;
    font-weight: 300;
}

/* width: 90%;
    max-width: 418px; */

.vh-100{
    height: 100vh;
}
p{
    font-size: 1.125rem;
    line-height: 1.5625rem;
}

.btn{
    border-radius: 4px;
    padding: 18px 24px;
    font-size: 24px;
    line-height: 100%;
    font-weight: 700;
    display: inline-block;
}

.btn-primary{
    background: #F24B18;
    border: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}
.btn-primary:hover{
    background: #FF6C3F;
    border: none;
}
.btn-next:after{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' viewBox='0 0 8 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.590027 11.08L5.17003 6.5L0.590027 1.91L2.00003 0.5L8.00003 6.5L2.00003 12.5L0.590027 11.08Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: 8px 8px;
    background-position: center center;
    width: 19px;
    height: 19px;
    margin-left: 10px;
}

/* PORTADA */
header{
    padding-top: 17px;
    padding-bottom: 32px;
}
header:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
}
header.scrolled:before{
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

header .navbar-brand{
    padding: 0;
}
header .navbar-brand img{
    width: 90px;
}
header .navbar-toggler{
    border: none;
    padding: 0;
}
header .navbar-toggler:active,
header .navbar-toggler:focus{
    box-shadow: none;
}

header .navbar-nav{
    gap: 17px;
}

header .nav-item{
    margin: 0 12px;
}
header .nav-link{
    font-size: 1rem;
    font-weight: 900;
    color: #000000;
    opacity: 1;
    position: relative;
}
header .nav-link:after{
    content: '';
    width: 100%;
    height: 6px;
    background: #F24B18;
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}
header .nav-link.active:after,
header .nav-link:hover:after{
    opacity: 1;
}

.page-portada main{
    display: flex;
}
@media (min-width: 992px) {
    .page-portada main{
        min-height: calc(100vh - 147.02px);
    }
}
.page-portada main .container-fluid{
    display: flex;
    flex-direction: column;
 }
 @media (min-width: 992px) {
    .page-portada main .container-fluid{
        min-height: calc(100vh - 147.02px);
    }
 }
.page-portada main .container-fluid .row{
    position: relative;
}
.page-portada main .container-fluid .row .col-10{
    z-index: 5;
}
.page-portada .logo-campaign{
    width: 90%;
    max-width: 418px;
    margin-top: 50px;
}
.page-portada h2{
    font-size: 1.125rem;
    font-weight: 900;
    margin-top: 15px;
}
@media (min-width: 576px) {
    .page-portada h2{
                font-size: 1.6rem;
        margin-top: 33px;
    }
}
.page-portada h2 span:nth-child(1){
    color: #F24B18;
}
.page-portada h2 span:nth-child(2){
    color: #6CCCFF;
}
.page-portada h2 span:nth-child(3){
    color: #02BF57;
}
.page-portada .date{
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 0px;
    position: relative;
}
.page-portada .date:before{
    content: '';
    width: 3px;
    height: 28px;
    background: #F24B18;
    display: inline-block;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 992px) {
    .page-portada .date:before{
        width: 4px;
        height: 46px;
    }
}
.page-portada .date span{
    text-align: center;
    font-family: "din-condensed", sans-serif;
    font-weight: 400;
    font-size: 2.0625rem;
    line-height: 1.5rem;
    color: #F24B18;
}
.page-portada .date span small{
    font-size: 1rem;
    display: block;
}
@media (min-width: 576px) {
    .page-portada .date span{
        font-size: 2.8875rem; /* 2.0625rem * 1.4 */
        line-height: 2.1rem;  /* 1.5rem * 1.4 */
    }
    .page-portada .date span small{
        font-size: 1.4rem;    /* 1rem * 1.4 */
    }
}
@media (min-width: 768px) {
    .page-portada .date span{
        font-size: 3rem; 
        line-height: 2.5rem; 
    }
    .page-portada .date span small{
        font-size: 1.4rem;   
    }
}

.page-portada p{
    font-size: 13px;
    line-height: 20px;
}
.page-portada .btn-primary{
    margin-bottom: 20px;
}
@media (min-width: 1200px) {
    .page-portada .btn-primary{
        margin-bottom: 122px;
    }
}


.bg-stuff{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.bg-stuff .toroides-left,
.bg-stuff .toroides-right{
    width: 30%;
}
.bg-stuff .toroides-left{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.bg-stuff .toroides-right{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.personajes-bottom{
    text-align: center;
    position: relative;
    margin-top: auto; /* Esto hace que se pegue al bottom */
}

.personaje-left{
    display: none;
}

.personaje-right{
    position: relative;
    bottom: 0;
    right: 0;
    width: 166px;
    z-index: 1;
}

.ovalo-right{
    width: 100px;
    position: absolute;
    bottom: 150px;
    right: 50%;
    z-index: 0;
    transform: rotate(180deg) translateX(-100%);
}

@media (min-width: 992px){
    .personajes-bottom{
        margin-top: auto; /* Mantiene el auto para el sticky effect */
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0 30px;
        height: 150px;
    }
    
    .personaje-left{
        display: block;
        width: 40%;
        max-width: 390px;
    }
    
    .personaje-right{
        width: 28%;
        max-width: 273px;
    }
    
    .ovalo-right{
        width: 164px;
        bottom: 60%;
        right: -14px;
        transform: rotate(0);
    }
}
@media (min-width: 1200px){
    .personajes-bottom{
        height: 30px;
    }
}
.cerebro-left{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -130px;
    margin-top: -145px;
    width: 85px;
}
@media (min-width: 576px) {
    .cerebro-left{
        margin-left: -200px;
        margin-top: -200px;
    }
}
@media (min-width: 768px) {
    .cerebro-left{
        margin-left: -290px;
        margin-top: -230px;
        width: 200px;
    }
}
@media (min-width: 992px) {
    .cerebro-left{
        display: block;
        margin-left: -344px;
        margin-top: -68px;
        width: 252px;
    }
}

.mano-left{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -170px;
    margin-top: 135px;
    width: 51px;
}
@media (min-width: 576px) {
    .mano-left{
        margin-left: -250px;
        margin-top: 200px;
    }
}
@media (min-width: 768px) {
    .mano-left{
        margin-left: -280px;
        margin-top: 230px;
        width: initial;
    }
}
@media (min-width: 992px) {
    .mano-left{
        margin-left: -432px;
        margin-top: 62px;
        width: 134px;
    }
}
.circulo-left{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: -150px;
    margin-top: -130px;
    width: 24px;
}
@media (min-width: 576px) {
    .circulo-left{
        margin-left: -215px;
        margin-top: -180px;
    }
}
@media (min-width: 768px) {
    .circulo-left{
        width: initial;
    }
}
@media (min-width: 992px) {
    .circulo-left{
        margin-left: -316px;
        margin-top: 47px;
        width: 58px;
    }
}

.tablet-right,
.ampolleta-right,
.shape-right{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

.tablet-right{
    width: 80px;
    margin-right: -130px;
    margin-top: -160px;
}
@media (min-width: 576px) {
    .tablet-right{
        margin-right: -200px;
        margin-top: -200px;
    }
}
@media (min-width: 768px) {
    .tablet-right{
        margin-right: -310px;
        margin-top: -220px;
        width: 150px;
    }
}
@media (min-width: 992px) {
    .tablet-right{
        width: 260px;
        margin-right: -374px;
        margin-top: -9px;
    }
}
.ampolleta-right{
    margin-right: -160px;
    margin-top: 138px;
    width: 28px;
}
@media (min-width: 992px) {
    .ampolleta-right{
        width: 92px;
        margin-right: -391px;
        margin-top: 128px;
    }
}
.shape-right{
    margin-right: -150px;
    margin-top: -92px;
    width: 26px;
}
@media (min-width: 992px) {
    .shape-right{
        width: 92px;
        margin-right: -440px;
        margin-top: -88px;
    }
}



/* Animación de balanceo 3D tablet-right */
@keyframes swing-tablet-3d {
    0% { transform: translate(50%, -50%) perspective(1000px) rotateX(0deg); }
    33% { transform: translate(50%, -50%) perspective(1000px) rotateX(-12deg); }
    66% { transform: translate(50%, -50%) perspective(1000px) rotateX(12deg); }
    100% { transform: translate(50%, -50%) perspective(1000px) rotateX(0deg); }
}

.tablet-right {
    animation: swing-tablet-3d 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center bottom;
    animation-delay: 0.5s;
}

/* Animación tada para ampolleta-right */
@keyframes tada {
    0% { transform: translate(50%, -50%) scale(1); }
    10%, 20% { transform: translate(50%, -50%) scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: translate(50%, -50%) scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: translate(50%, -50%) scale(1.1) rotate(-3deg); }
    100% { transform: translate(50%, -50%) scale(1) rotate(0deg); }
}

.ampolleta-right {
    animation: tada 1s ease forwards;
    animation-delay: 1s;
}

/* Rotación infinita para circulo-left */
@keyframes rotate-infinite {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.circulo-left {
    animation: rotate-infinite 8s linear infinite;
}

/* Animación hello para mano-left */
@keyframes hello-wave {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(20deg); }
    50% { transform: translate(-50%, -50%) rotate(-10deg); }
    75% { transform: translate(-50%, -50%) rotate(20deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

.mano-left {
    animation: hello-wave 0.6s ease-in-out forwards;
    transform-origin: center bottom;
    animation-delay: 1.5s;
}

/* Animación headShake para cerebro-left */
@keyframes head-shake {
    0% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    6.5% { transform: translate(-50%, -50%) rotateX(-25deg) rotateY(0deg); }
    18.5% { transform: translate(-50%, -50%) rotateX(20deg) rotateY(0deg); }
    31.5% { transform: translate(-50%, -50%) rotateX(-18deg) rotateY(0deg); }
    43.5% { transform: translate(-50%, -50%) rotateX(15deg) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
}

.cerebro-left {
    animation: head-shake 1.5s ease-in-out forwards;
    animation-delay: 2s;
}

.btn-close{
    opacity: 1;
    background: none;
    padding: 0;
    margin: 0;
    margin-left: auto;
    width: auto;
    height: auto;
}
.offcanvas{
    max-width: 70%;
}
.offcanvas-header{
    padding-top: 32px;
}
/* Responsive offcanvas behavior */
@media (min-width: 992px) {
    .offcanvas-end {
        transform: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .offcanvas-header {
        padding-top: initial !important;
        display: none !important;
    }
    
    .offcanvas-body {
        padding: 0 !important;
        flex-grow: 0 !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

/* SOBRE EL FESTIVAL */
.banner-top{
    width: 100%;
    height: 135px;
    background: #F24B18;
    display: block;
}
.detalle-intro{
    background: rgba(241, 254, 252, 1);
    padding: 80px 0 75px;
}
.detalle-intro h1{
    color: #F24B18;
    font-weight: 300;
    max-width: 485px;
    display: block;
    font-size: 53px;
}
.detalle-intro h1 small{
    max-width: 400px;
    display: block;
    font-size: 30px;
}
.detalle-intro h1 strong{
    font-weight: 800;
}
.detalle-intro h2{
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
}
.detalle-intro .bajada{
    font-weight: 800;
    font-size: 24px;
    line-height: 1.5rem;
    color: #000000;
    display: block;
}
.detalle-intro .bajada span:nth-child(1){
    color: #F24B18;
}
.detalle-intro .bajada span:nth-child(2){
    color: #6CCCFF;
}
.detalle-intro .bajada span:nth-child(3){
    color: #02BF57;
}
.detalle-intro p{
    font-weight: 300;
    font-size: 14px;
}
.detalle-cuerpo{
    background: rgba(227, 245, 243, 1);
        padding: 80px 0 0;
        position: relative;
}
.detalle-cuerpo .container{
    position: relative;
    z-index: 1;
}
.detalle-cuerpo p{
    font-weight: 300;
    font-size: 14px;
}
.detalle-cuerpo .bg-shape{
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
    width: 200px;
}
.detalle-cuerpo .bg-shape-left{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 50%;
    max-width: 513px;
}
/*FOOTER*/
footer{
    background: #F24B18;
    padding: 35px 0 30px;
    color: #fff;
}
footer a{
    color: #fff;
}
footer .copyright{
    margin-top: 12px;
}
footer p{
    color: #fff;
}
footer p strong{
    font-weight: 900;
}

.divisor{
    width: 160px;
    height: 130px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='214' height='175' viewBox='0 0 214 175' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_21_17971)'%3E%3Cpath d='M254.132 175H66.8801C30.0076 175 0 144.939 0 108C0 71.0614 30.0076 41 66.8801 41H254.132C291.005 41 321 71.0614 321 108C321 144.939 291.005 175 254.132 175ZM66.8801 94.6C59.5031 94.6 53.5041 100.61 53.5041 108C53.5041 115.39 59.5031 121.4 66.8801 121.4H254.132C261.497 121.4 267.508 115.39 267.508 108C267.508 100.61 261.509 94.6 254.132 94.6H66.8801Z' fill='%2302BF57'/%3E%3C/g%3E%3Cg clip-path='url(%23clip1_21_17971)'%3E%3Cpath d='M37.993 0L41.5849 14.3818L49.2281 1.70347L48.4206 16.5041L59.4607 6.64633L54.3374 20.5534L67.786 14.3957L58.8064 26.1665L73.4662 24.2535L61.4237 32.8547L76 35.354L61.9667 40.0176L75.1508 46.7198L60.3656 47.027L71.002 57.3316L56.7877 53.2405L63.9157 66.226L51.5391 58.1275L54.5323 72.6489L45.0793 61.2412L43.6732 76L37.993 62.3164L32.3129 76L30.9207 61.2412L21.4677 72.6489L24.4609 58.1275L12.0843 66.226L19.2123 53.2405L4.99798 57.3316L15.6344 47.027L0.84924 46.7198L14.0333 40.0176L0 35.354L14.5763 32.8547L2.5338 24.2535L17.1936 26.1665L8.20004 14.3957L21.6487 20.5534L16.5393 6.64633L27.5655 16.5041L26.7719 1.70347L34.4151 14.3818L37.993 0Z' fill='%23F24B18'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_21_17971'%3E%3Crect width='321' height='134' fill='white' transform='translate(0 41)'/%3E%3C/clipPath%3E%3CclipPath id='clip1_21_17971'%3E%3Crect width='76' height='76' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-size: cover;
}