@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lugrasimo&display=swap');
/* Importa la fuente Playfair Display al inicio del archivo */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: hsla(287, 38%, 27%, 0.700);
    /*background-image: url(logofondo.webp);
    background-size: auto;*/
}

a {
    text-decoration: none;
}

.top-action {
    text-align: center;
    padding: 24px 0 12px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
}

.img-container img {
    max-width: 176px; /* Antes: 220px, ahora 220px * 0.8 = 176px */
    width: 80%;       /* Antes: 100%, ahora 80% */
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0);
    background: #ffffff00;
}

.perfil-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    color: white;
    /* Aplica la fuente Playfair Display solo al encabezado del perfil */
    font-family: 'Playfair Display', serif;
}

.box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100px; /* Ajusta según el alto de tus olas */
    overflow: hidden;
    z-index: 5;
    background: linear-gradient(to bottom, hsla(287, 38%, 27%, 0), #f0f4ff00 100%);
}

.single-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    background-size: 50% 80px;
    transform-origin: center bottom;
    animation: animate 18s linear infinite;
}

.single-box:nth-child(2) { animation-delay: 4s; }
.single-box:nth-child(3) { animation-delay: 8s; }

@keyframes animate {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

/*google fonds*/
/* Variable del css */
:root {
    /*colors*/
    /*color mode HSL (hue, saturation, lightness)*/
    --gradient-color: linear-gradient(90deg,hsl(0, 0%, 100%) 0%,hsl(56, 7%, 51%));
    --black-color: hsl(255, 15%, 6%);
    --reflection-color: hsla(48, 30%, 95%, .3);
    --body-color: hsl(48, 66%, 41%);
    /*font and ty´pgra´hy*/
    --body-font: "Lugrasimo", sans-serif;
    --normal-font-size: 1rem;
}

/*base*/

/*button*/
.container{
    height: auto;
    margin-inline: 1.5rem;
    display: grid;
    place-items: center;
    margin-bottom: 2.5rem; /* Espacio extra debajo */
}
.button{
    position: relative;
    display: inline-block;
    transition: transform 0.4s;
}

.button__content{
    position: relative;
    background: var(--gradient-color);
    padding: 1.25rem 3rem;
    border-radius: 4rem;
    border: 3px solid var(--black-color);
    color: var(--black-color);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    overflow: hidden;
}
.button__text{
    font-weight: 700;
}
.button__icon{
    font-size: 1.5rem;
}
.button__text,
.button__icon{
    position: relative;
    z-index: 2;
}
/*reflection shapes*/
.button__reflection-1,
.button__reflection-2{
    width: 8px;
    height: 120px;
    background-color: var(--reflection-color);
    rotate: 30deg;
    position: absolute;
    inset: 0;
    top: 0;
    left: -180%;
    margin: auto;
    transition: left 0.6s cubic-bezier(.2,.5,.2,1.2);
}
.button__reflection-1::after{
    content: '';
    width: 26px;
    height: 100%;
    background-color: var(--reflection-color);
    position: absolute;
    top: -1rem;
    left: 1.25rem;
}
.button__reflection-2::after{
    content: '';
    width: 40px;
    height: 100%;
    background-color: var(--reflection-color);
    position: absolute;
    top: -1rem;
    left: 0.8rem;
}
.button img{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s, opacity 0.5s;
}
.button__star-1{
    width: 20px;
    top: -14px;
    left: -16px;
    transform: rotate(48deg) scale(.1);
}
.button__star-2{
    width: 40px;
    right: -10px;
    top: -8px;
    transform: rotate(48deg) scale(.1);
}
.button__circle-1{
    top: -10px;
    left: 58px;
    width: 10px;
    transform: scale(.1);
}
.button__circle-2{
    bottom: -8px;
    right: 34px;
    width: 10px;
    transform: scale(.1);
}
.button__diamond{
    width: 18px;
    top: -18px;
    right: 62px;
    transform: scale(.1);
}
.button__triangle{
    width: 30px;
    bottom: -16px;
    left: 15px;
    transform: rotate(-48deg) scale(.1);
}

/*gradient shadow*/
.button__shadow{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-color);
    padding: 1.25rem 3rem;
    border-radius: 4rem;
    border: 3px solid var(--black-color);
    z-index: -1;
    transition: transform 0.4s;
}
/*view shadow gradient*/
.button:hover .button__shadow{
    transform: translateY(-5rem, .5rem);
}
/*move*/
.button:hover .button__reflection-1{
    left: 120%;
}
.button:hover .button__reflection-2{
    left: -70%;
}
/*view geometric shapes*/
.button:hover {
    transform: rotate(-4deg) scale(1.1);
}

.qr-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    background: #6c63ff;
    color: #fff;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 10;
}
.qr-modal {
    display: none;
    position: absolute;
    top: 40px;
    right: 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.close-qr {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 18px;
    color: #888;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.share-btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    background: #4caf50;
    color: #fff;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 10;
    margin-right: 50px;      /* Asegura que no tenga margen derecho extra */
    margin-left: 0px;   
}

/* Elimina la transición y el cambio de tamaño en hover de los botones del wrapper */
.wrapper .button {
    display: inline-block;
    height: 60px;
    width: 60px;
    text-decoration: none;
    margin: 0 5px;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
    /* transition: all 0.3s ease-out; */ /* Elimina o comenta esta línea */
}
.wrapper .button:hover {
    width: 60px; /* Evita que el botón se expanda al hacer hover */
}
.wrapper .button .icon {
    display: inline-block;
    height: 60px;
    width: 60px;
    text-align: center;
    border-radius: 50px;
    box-sizing: border-box;
    line-height: 60px;
    /* transition: all 0.3s ease-out; */ /* Elimina o comenta esta línea */
}
.wrapper .button .icon i {
    font-size: 25px;
    line-height: 60px;
    /* transition: all 0.3s ease-out; */ /* Elimina o comenta esta línea */
}
.wrapper .button span {
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    margin-left: 10px;
    /* transition: all 0.3s ease-out; */ /* Elimina o comenta esta línea */
}

/* Agrega espacio inferior al wrapper */
.wrapper {
    padding-bottom: 50px; /* Ajusta el valor según el espacio que necesites */
}