@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Red Hat Display;
}

:root {
    --max-width: 1000px;
    --min-width: 300px;
    --optimus-width: 100vw;

    --primary-color: #68429c;
    --secondary-color: rgb(206, 174, 231);
    --tertiary-color: #ffffff;

    --title-color: var(--primary-color);
    --subtitle-color: var(--secondary-color);
    --paragraph-color: #f3f5ff;

    --primary-background-color: #eeeeee;
    --secondary-background-color: hsl(from var(--primary-background-color) h s calc(l + 5));
    --tertiary-background-color: hsl(from var(--primary-background-color) h s calc(l + 10));

    --border-color: hsl(from var(--primary-background-color) h s calc(l + 18));
}

#petals-canvas {
    opacity: 0.3;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;    /* detrás de todo */
    pointer-events: none;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    min-height: 100%;
    width: 100%;
    background: #fefbff;
}

a,
button {
    font-size: 1.1rem;
    text-decoration: none;
}

.ubication__btn {
    width: 100%;
    outline: none;
    border: none;
    cursor: pointer;
    
    background: linear-gradient(to bottom left, var(--primary-color), hsl(from var(--primary-color)h s calc(l + 10)));

    min-width: 180px;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    color: var(--tertiary-color);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 1;

    box-shadow: 0 3px 4px 1px rgb(215, 189, 236);
}



.ubication__btn.show {
    opacity: 1;
    transform: translateY(0);
}

.ubication__btn:hover {
    box-shadow: 0 0 8px var(--primary-color);
}

.hero,
.section-container,
.footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 6rem 0;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    height: 100%;
    mask-image: linear-gradient(black 80%, transparent);
}

.hero-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    display: inline-block;
    width: 110%;
    background: var(--primary-color);
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    font-family: Birthstone;
    font-size: 4.6rem;
    line-height: 4.2rem;
    font-weight: normal;
    text-shadow: 0 0 25px var(--primary-color);
    text-align: center;
    z-index: 1;
}

.btn-music {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.btn-music .bar {
    width: 7px;
    height: 20px;
    background: var(--primary-color);
    /* cámbialo según tu diseño */
    border-radius: 2px;
    animation: equalizer 0.6s infinite;
    animation-play-state: paused;
    /* por defecto quieto */
}

.btn-music .bar:nth-child(1) {
    animation-delay: 0s;
}

.btn-music .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-music .bar:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes equalizer {

    0%,
    100% {
        height: 12px;
    }

    50% {
        height: 24px;
    }
}

.btn-music.active .bar {
    animation-play-state: running;
    /* cuando está activo, se mueven */
}


.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 1rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
}

.section-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    padding: 3rem 2rem;
    max-width: var(--max-width);
}

.section-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    /* background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.25)); */
    padding: 1rem;
    border-radius: 4px;
}

.section__title {
    font-family: Birthstone;
    color: var(--primary-color);
    font-size: 3.6rem;
    font-weight: normal;
    text-align: center;
    line-height: 3.55rem;
}

.section-text p {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.ornament {
    width: 100%;
}

.button {
    width: 100%;
    outline: none;
    border: none;
    cursor: pointer;

    background: linear-gradient(to bottom left, var(--primary-color), hsl(from var(--primary-color)h s calc(l + 10)));

    min-width: 180px;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    color: var(--tertiary-color);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;

    box-shadow: 0 3px 4px 1px rgb(215, 189, 236);
}

.button.show {
    opacity: 1;
    transform: translateY(0);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 8px var(--primary-color);
}

.section-content h2,
.section-content p {
    display: block;
}

.section-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    padding-bottom: 2rem;
    justify-content: space-around;
    background-size: cover;
    background-position: center;
}

.section-data-container .section-content .text-content {
    height: 100%;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.data-container__text {
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
}

.section-data__date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 2rem;
}

.date {
    color: var(--primary-color);
    font-size: 3.2rem;
    font-weight: normal;
    font-family: Birthstone;
}

.date1{
    color: var(--primary-color);
    font-weight: normal;
    font-family: Birthstone;
    font-size: 2rem;
}

.full-calendar {
    width: 90%;
    display: flex;
    justify-content: space-around;
    margin-block: 1rem;
}

.disable-day {
    opacity: 0.5;
}

.the_day {
    position: relative;
    display: flex;
}

.birrete-icon {
    top: 50%;
    left: 50%;
    rotate: -15deg;
    translate: -50% -50%;
    position: absolute;
    display: block;
    z-index: -1;
    width: 35px;
    content-visibility: auto;
}

.the_day p:first-child {
    opacity: 0;
}

.day-numbers-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.counter-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

#faltan__text {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    font-weight: normal;
}

#counter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
}

.time-box {
    background: linear-gradient(to bottom left, var(--primary-color), hsl(from var(--primary-color) h s calc(l + 20)));
    width: 60px;
    border-radius: 5px;
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 4px 1px rgb(215, 189, 236);
}

.time-number {
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--tertiary-color);
}

.time-label {
    color: var(--tertiary-color);
    font-size: 1.2rem;
}

.section-ubications {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    justify-content: space-around;
}

.section-ubications .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    width: 100%;
    color: var(--primary-color);
    text-align: center;
    gap: 0.5rem;
}

.ubication-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
    color: var(--primary-color);
}

.ubication__btn {
    text-align: center;
    color: white;
}

.number {
    font-size: 6rem;
    align-self: end;
}

.section-dresscode {
    background-image: url();
    background-position: top;
    background-size: cover;
}

.header-ilustration,
.activities-ilustration {
    width: 150px;
}

.dresscode-ilustration{
    width: 110px;
}

.fork {
    rotate: 75deg;
}

.section-dresscode .section-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.section-dresscode .section-text p {
    font-size: 1.1rem;
    margin-top: 0;
}

.dresscode-gender-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
}

.dresscode-gender-container{

  div{

  display: flex;
  gap: 0.5rem;
  text-align: left;
  align-items: center;
  }

  #clothes1, #clothes2{
    font-size: 15px; 
  }
}

.reserved-colors {
    display: flex;
    gap: 0.5rem;
}

.reseved__color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(24, 24, 24, 0.2);
}

.reseved__color1 {
    background-image: url('assets/lilac\ fabric.png');
    background-size: cover;
}

.reseved__color2 {
    background-image: url('assets/purple\ fabric.png');
    background-size: cover;
}

.reseved__color3 {
    background-color: #dbd2ab;
    border: 2px solid hsl(from var(--primary-color) h s calc(l + 20));
}

.section-gallery {
    background-image: url();
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
}

.bg-img {
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
    /* salen un poco movidos */
    animation: fadeMove 2s ease forwards;
    /* animación de entrada */
}

/* Animación de entrada */
@keyframes fadeMove {
    to {
        opacity: 0.4;
        /* o el valor que quieras */
        transform: translateY(0);
    }
}

.bg-img1 {
    opacity: 0.5;
    width: 50%;
    left: -90px;
    bottom: -10px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img2 {
    width: 50%;
    top: 10px;
    right: -100px;
    opacity: 0.2;
    animation-delay: 1s;
    /* un poco más de retraso */
    animation-name: fadeMove, float;
    animation-duration: 2s, 8s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

/* Flotado infinito */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.bg-img3 {
    opacity: 1;
    width: 40%;
    bottom: 80px;
    rotate: 5deg;
    left: 200px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img4 {
    opacity: 1;
    width: 60%;
    bottom: 30px;
    rotate: 0deg;
    left: -100px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img5 {
    opacity: 0.5;
    width: 50%;
    bottom: -90px;
    rotate: 25deg;
    left: -90px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img6 {
    opacity: 0.5;
    width: 50%;
    rotate: -55deg;
    bottom: -100px;
    right: -180px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img7 {
    opacity: 0.2;
    width: 60%;
    rotate: -10deg;
    top: 10px;
    right: -100px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.bg-img8 {
    opacity: 0.5;
    width: 50%;
    top: 10%;
    rotate: 50deg;
    left: -180px;
    animation-delay: 0.5s;
    /* aparece con retraso */
    animation-name: fadeMove, float;
    /* entrada + flotado */
    animation-duration: 2s, 6s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.section-gallery .section-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

/* .section-gallery-text {
  width: 100%;
} */

.gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-imgs {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-imgs::-webkit-scrollbar {
    display: none;
}

.gallery-imgs img {
    flex: 0 0 100%;
    /* cada imagen ocupa exactamente 1 “pantalla” */
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.arrow {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    user-select: none;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.arrow i {
    font-size: 1.2rem;
    color: white;
}

.gallery-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 5%;
    translate: -50%;
}


.gallery-controls__inputs {
    display: flex;
    gap: 0.5rem;
}

.gallery-controls__inputs input {
    display: none;
}

.gallery-controls__inputs label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: gray;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.gallery-controls__inputs input:checked+label {
    background: var(--primary-color);
}

.arrow {
    display: none;
}

.section-activities {
    background-position: center;
    background-size: cover;

}

.section-confirm {
    background: linear-gradient(to top, var(--secondary-color), #fefbff);
    /* background-image: url();
    background-position: bottom;
    background-size: cover; */
}

.cupos-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--tertiary-color);
    font-size: 1rem;
    background: var(--secondary-color);
    border-radius: 5px;
    padding-inline: 0.8rem;
    padding-block: 0.25rem;
    background: linear-gradient(to bottom left, var(--primary-color), hsl(from var(--primary-color) h s calc(l - 20)));
}

.cupos {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--tertiary-color);
}

.section-confirm .section-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.confirm-content-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ticket-img {
    width: 30px;
}

.confirm-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    background: linear-gradient(to bottom left, var(--primary-color), var(--secondary-color));
    box-shadow: 0 3px 8px 1px rgb(63, 63, 63);;
}

.container-radio-btns-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    background: white;
    width: 100%;
    padding-block: 1rem;
    border-radius: 5px;
}

.radio-btns-title {
    opacity: 0.75;
}

.radio-btns-container {
    border-radius: 5px;
    padding: 0rem 1rem 0rem 2rem;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-btns-container input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    margin-left: 0.4rem;
    margin-right: 1rem;
}

.radio-btns-container input[type="radio"]:checked {
    background: rgb(137, 196, 235);
}


.confirm-form input,
.confirm-form textarea,
.confirm-form select,
.confirm-form .form-button {
    width: 100%;
}

.confirm-form .form-button {
    box-shadow: none;
}

.confirm-form input,
.confirm-form select,
.confirm-form textarea {
    height: 2rem;
    padding: 0.5rem;
    border-radius: 4px;
    outline: none;
    border: none;
}

.confirm-form textarea {
    height: 5rem;
    resize: none;
    overflow: auto;
}

.section-content {
    transition: all 0.3s ease;
    transform: translateY(200px);
    opacity: 0;
}

.section-content.show {
    transform: translateY(0);
    opacity: 1;
}

.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;

    padding: 1.5rem;
    background: white;
    color: black;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.footer>* {
    font-family: Poppins;
    font-size: 0.9rem;
}

.footer.show {
    transform: translateY(0);
    opacity: 1;
}

.footer img {
    width: 100px;
}

.footer__button {
    background: var(--secondary-color);
    padding: 0.5rem 1rem;
    width: 120px;
    display: block;
    text-align: center;
    color: var(--tertiary-color);
    border-radius: 4px;
}

/* Modal */

.modal-overlay {
    width: 100vw;
    height: 100vh;
    background: rgba(189, 159, 223, 0.8);
    position: fixed;

    display: flex;
    justify-content: center;
    align-items: center;
}

.open-modal{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    width: 90vw;
    gap: 1.5rem;
    height: auto;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;

    .section__title{
        font-size: 2.2rem;
        line-height: 1.8rem;
        text-wrap: balance;
    }
}

.modal {
    background: hsl(from rgb(255, 253, 245)h s calc(l + 5));
    width: 90vw;
    max-width: 400px;
    border-radius: 4px;
    padding: 1rem;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: relative;

    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.subtitle-modal {
    color: var(--primary-color);
}

.modal.show {
    opacity: 1;
    transform: translateY(0);
}

.modal button {
    width: auto;
}

.modal-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.method-container img {
    width: 100%;
    max-width: 150px;
}

.copy__btn {
    border: none;
    outline: none;
    background: var(--primary-background-color);
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy__btn:hover {
    transform: translateY(-3px);
}

.account-number-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.modal-dresscode {
    height: 70vh;
    max-height: 600px;
}

.dresscode-context {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pinterest__btn {
    border: none;
    padding: 0.5rem;
    width: 35px;
    height: 35px;
    background: rgb(231, 11, 44);
    color: white;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pinterest__btn:hover {
    transform: translateY(-3px);
    background: rgb(233, 29, 59);
}

.ri-pinterest-fill {
    font-size: 1.5rem;
}

.dresscode-imgs-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.dresscode-imgs-container img {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100%;
    aspect-ratio: 3/4;
    background: black;
    border-radius: 4px;
}

.activities-container {
    width: 100%;
    height: 380px;
    padding: 1rem;
    overflow-y: scroll;
    display: grid;
    grid-template-columns: 1px 1fr;
    grid-template-areas:
        "line activitie1"
        "line activitie2"
        "line activitie3"
        "line activitie4";
    gap: 1rem;
    position: relative;
}

.time-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, var(--primary-color) 10%, var(--primary-color) 90%, transparent);
    grid-area: line;
}

.circle {
    width: 10px;
    height: 10px;
    background: linear-gradient(to top right, var(--primary-color), hsl(from var(--primary-color)h s calc(l + 30)));
    border-radius: 50%;
    position: absolute;
    left: 12px;
}

.activitie {
    padding: 1rem;
    background: hsl(from rgb(255, 253, 245)h s calc(l - 2));
    display: flex;
    color: white;
    border-radius: 6px;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    transition: all 0.3s ease;
    opacity: 1;
}

/* .activitie.show{
  opacity: 1;
} */

.activitie1 {
    grid-area: activitie1;
}

.activitie2 {
    grid-area: activitie2;
}

.activitie3 {
    grid-area: activitie3;
}

.activitie4 {
    grid-area: activitie4;
}

.button-close-modal-x {
    display: none;
}

.end-msg {
    color: var(--primary-color);
    font-family: Birthstone;
    font-weight: normal;
    font-size: 3rem;
}

.main-overlay {
    display: none;
}


@media (width >=768px) {

    .hero,
    .section-container,
    .footer {
        display: none;
    }

    .main-overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: white;
        color: var(--primary-color);
    }

    .main-overlay i {
        font-size: 2rem;
    }

    .main-overlay img {
        width: 100px;
    }

}

.oculto {
    display: none;
}

#confirm-msg {
    display: none;
}

/* Fondo oscuro semitransparente */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none; /* oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Spinner */
.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
