* {
    margin: 0px;
    padding: 0px;
}

@font-face {
    font-family: 'Forma DJR';
    src: url('../fonts/FormaDJRVariable-.woff2') format('woff2'),
         url('../fonts/FormaDJRVariable-.woff') format('woff'),
         url('/fonts/FormaDJRVariable-VF-Testing.ttf') format('truetype');
    font-weight: 100 900; /* Para soportar variabilidad */
    font-style: normal;
}

@font-face {
    font-family: 'Decorya DEMO';
    src: url('../fonts/DecoryaDEMO-Regular.woff2') format('woff2'),
         url('../fonts/DecoryaDEMO-Regular.woff2') format('woff'),
         url('../fonts/Decorya\ DEMO.ttf') format('truetype');
    font-weight: 100 900; /* Para soportar variabilidad */
    font-style: normal;
}

body {
    font-family: 'Forma DJR', sans-serif;
}


/* Top Bar */
.fa-brands {
    font-size: 25px;
}

.top-bar {
    background: #a7e6fb;
    color: white;
    font-size: 14px;
    padding: 5px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 999;
}

/* Sub-header (Menú) */
.sub-header {
    background: transparent;
    padding: 10px 0;

    position: fixed;
    top: 200px;
    width: 100%;
    z-index: 998;
}

/* Contenedor centrado */
.container-boxed {
    max-width: 1100px;
    margin: 0 auto;
}

/* Botón Menú Hamburguesa */
.navbar-toggler {
    border: none;
    font-size: 24px;
    background: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.show-on-mobile {
    display: none;
}

/* Botón SÚMATE AL CAMBIO */
.button-53 {
    background-color: #a7e6fb;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    position: relative;
    font-family: 'Forma DJR,sans-serif';
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-53:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-53:hover {
    background-color: #FF5470;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-53:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #FF6B6B;
        transform: rotate(2deg);
    }

    100% {
        background-color: #3DD1E7;
        transform: rotate(-2deg);
    }
}

.button-53.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}


/* Botón SÚMATE AL CAMBIO */
.button-54 {
    background-color: #eedf93;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-54:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-54:hover {
    background-color: #FF6B6B;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-54:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #ceff6b;
        transform: rotate(2deg);
    }

    100% {
        background-color: #3DD1E7;
        transform: rotate(-2deg);
    }
}

.button-54.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}

/* Botón SÚMATE AL CAMBIO */
.button-55 {
    background-color: #a7e6fb;
    border: 0 solid #e5eaeb;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-55:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-55:hover {
    background-color: #b36bff;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(-2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-55:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #ceff6b;
        transform: rotate(2deg);
    }

    100% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }
}

.button-55.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}

/* Botón SÚMATE AL CAMBIO */
.button-56 {
    background-color: #FF5470;
    border: 0 solid #e5eaeb;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-56:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-56:hover {
    background-color: #b36bff;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-56:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #ceff6b;
        transform: rotate(2deg);
    }

    100% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }
}

.button-56.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}

/* Botón SÚMATE AL CAMBIO */
.button-57 {
    background-color: #7be73d;
    border: 0 solid #e5eaeb;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-57:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-57:hover {
    background-color: #b36bff;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(-2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-56:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #ceff6b;
        transform: rotate(2deg);
    }

    100% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }
}

.button-57.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}


/* Botón SÚMATE AL CAMBIO */
.button-58 {
    background-color: #d5c5e6;
    border: 0 solid #e5eaeb;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    max-width: 460px;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-58:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.button-58:hover {
    background-color: #b36bff;
    /* Cambia el color de fondo al pasar el mouse */
    transform: rotate(2deg);
    /* Cambia la rotación al pasar el mouse */
}

.button-58:hover:after {
    bottom: 2px;
    left: 2px;
}

/* Animación para cambiar entre positivo y negativo */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #ceff6b;
        transform: rotate(2deg);
    }

    100% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }
}

.button-58.animated {
    animation: pulse 2s infinite;
    /* Aplica la animación */
}

/* Redes Sociales con Efecto */
.wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.wrapper ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.wrapper ul li {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #D8E2DC;
    transition: all 0.5s ease;
}

.wrapper ul li .fa {
    color: #D8E2DC;
    font-size: 24px;
    transition: all 0.5s ease;
}

/* Efecto Iluminado */
.wrapper ul li:hover {
    box-shadow: 0 0 15px;
}

.wrapper ul li:hover.facebook {
    border-color: #a7e6fb;
    box-shadow: 0 0 15px #a7e6fb;
}

.wrapper ul li:hover .fa-facebook {
    color: #a7e6fb;
}

.wrapper ul li:hover.youtube {
    border-color: #FF0000;
    box-shadow: 0 0 15px #FF0000;
}

.wrapper ul li:hover .fa-youtube {
    color: #FF0000;
}

.wrapper ul li:hover.linkedin {
    border-color: #a7e6fb;
    box-shadow: 0 0 15px #a7e6fb;
}

.wrapper ul li:hover .fa-linkedin {
    color: #a7e6fb;
}

.wrapper ul li:hover.instagram {
    border-color: #bc2a8d;
    box-shadow: 0 0 15px #bc2a8d;
}

.wrapper ul li:hover .fa-instagram {
    color: #bc2a8d;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }

    /* Sub-header (Menú) */
    .sub-header {
        background: #ffffff;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 330px;
        width: 100%;
        z-index: 998;
    }

    .comic-text,
    .comic-video {
        transform: rotate(0);
    }

    .comic-text::before,
    .comic-video::before {
        display: none;
    }

}

/* Secciones */
section {
    height: 600px;
    /* Cada sección mide 400px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sección 1: Hero Banner */
#section1 {
    background: linear-gradient(135deg, #9ddfe0, #a7e6fb);
    color: #000000;
}

/* Sección 2: Globos */
#section2 {
    background: linear-gradient(135deg, #ff9d9d, #ff6b6b);
    color: #ffffff;
}

/* Sección 3: Aviones de papel */
#section3 {
    background: linear-gradient(135deg, #7be73d, #a7e6fb);
    color: #000000;
}

/* Sección 4: Corazones */
#section4 {
    background: linear-gradient(135deg, #FF5470, #ff6b6b);
    color: #ffffff;
}

/* Sección 5: Cierre */
#section5 {
    background: linear-gradient(135deg, #d5c5e6, #a7e6fb);
    color: #ffffff;
}

/* Objetos animados */
.balloon,
.paper-plane,
.heart {
    position: absolute;
    animation: float 6s infinite ease-in-out;
}

.balloon {
    width: 100px;
    height: auto;
}

.paper-plane {
    width: 180px;
    height: auto;
}

.heart {
    width: 60px;
    height: auto;
}

/* Efecto de paralaje */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 80vh;

    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
    padding: 20px;
    margin-top: 200px;
    /* Ajuste para no solapar con el header */
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/homebanner.png') no-repeat center center/cover; 
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    transform: rotate(-2deg);
    animation: float 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    transform: rotate(2deg);
    animation: float 3s ease-in-out infinite;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Posicionamiento de objetos */
#section2 .balloon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

#section2 .balloon:nth-child(2) {
    top: 30%;
    left: 70%;
    animation-delay: 2s;
}

#section3 .paper-plane:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 1s;
}

#section3 .paper-plane:nth-child(2) {
    top: 50%;
    left: 80%;
    animation-delay: 3s;
}

#section4 .heart:nth-child(1) {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

#section4 .heart:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

/* Galería de Videos */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.video-info {
    padding: 15px;
    text-align: center;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Sección de Texto y Video */
.comic-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

    width: 100%;
    margin: 0 auto;
}

/* Columna de Texto */
.comic-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    position: relative;
    transform: rotate(-2deg);
}

.comic-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 15px;
    z-index: -1;
    transform: rotate(2deg);
}

.comic-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #a7e6fb;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.comic-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Columna de Video */
.comic-video {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    margin: 10px;
    position: relative;
    transform: rotate(2deg);
}

.comic-video iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comic-video::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 15px;
    z-index: -1;
    transform: rotate(-2deg);
}

.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    transform: rotate(-2deg);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 15px;
    z-index: -1;
    transform: rotate(2deg);
}

/* Título del Formulario */
.form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #3DD1E7;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* Campos del Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #a7e6fb;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    background-color: #f8f9fa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
    outline: none;
}

/* Botón de Envío */
.form-container button {
    background-color: #a7e6fb;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: #000000;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    text-align: center;
    text-decoration: none #000000 solid;
    width: 100%;
    cursor: pointer;
    transform: rotate(-2deg);
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.form-container button::after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    transition: bottom 0.3s ease, left 0.3s ease;
}

.form-container button:hover {
    background-color: #FF6B6B;
    transform: rotate(2deg);
}

.form-container button:hover::after {
    bottom: 2px;
    left: 2px;
}

.texto-seamos{
    font-family: "Decorya DEMO", sans-serif;
}
/* Animación para el botón */
@keyframes pulse {
    0% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }

    50% {
        background-color: #FF6B6B;
        transform: rotate(2deg);
    }

    100% {
        background-color: #a7e6fb;
        transform: rotate(-2deg);
    }
}

.form-container button.animated {
    animation: pulse 2s infinite;
}

 /* Styles for the intro GIF */
 .intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff; /* Puedes cambiar el color de fondo */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: openFromCenter 2s ease-out forwards;
    clip-path: circle(0% at 50% 50%);
}

/* Animación que abre desde el centro */
@keyframes openFromCenter {
    0% {
        clip-path: circle(0% at 50% 50%);
    }
    100% {
        clip-path: circle(150% at 50% 50%);
    }
}


/* Styles for the main content */
.main-content {
    opacity: 0;
    transition: opacity 1s ease-in;
}

@media (max-width: 768px) {
    .gif-header {
        display: none !important;
    }
    .header .row {
        flex-direction: column;
        gap: 20px;
    }

    .header .col-md-3 {
        width: 100%;
        max-width: 100%;
    }

    .order-mobile-1 {
        order: 1;
    }

    .order-mobile-2 {
        order: 2;
    }

    .order-mobile-3 {
        order: 3;
    }

    .button-53 {
        margin-top: 10px;
    }
}

.logo-animated {
    animation: float-comic 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes float-comic {
    0% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(-2deg);
    }
}