@font-face {
    font-family: 'CaviarDream';
    src: url('/assets/fonts/CaviarDreams_Bold.ttf') format('truetype');
    /* Puedes agregar más formatos de fuente aquí si tu archivo de fuente tiene otros formatos */
}

@font-face {
    font-family: 'DragonBall';
    src: url('/assets/fonts/DragonBall.ttf') format('truetype');
    /* Puedes agregar más formatos de fuente aquí si tu archivo de fuente tiene otros formatos */
}

:root {
    --first-background: rgb(0, 0, 0);
    --second-background: rgb(236, 236, 236);
    --third-background: white;
    --fourth-background: #cea56c;
    --firs-textcolor: #00a99d;
    --second-textcolor: #cea56c;
}

.menu-lateral {
    display: none;
}

#checkbox2 {
    display: none;
}

.video-hero-banner {
    position: absolute;
    z-index: -2;
    width: 100%;
}

#video-desktop {
    display: block;
}

#video-movil {
    display: none;
}

/* Experimental */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.87);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'CaviarDream', sans-serif;
}

.loading-text {
    color: var(--fourth-background);
    text-align: center;
    font-size: 2em;
}

.line {
    opacity: 0;
    animation: fadeIn 2s forwards;
    transition: opacity 1s ease-in;
}

.line:nth-child(1) {
    animation-delay: 3s;
    transition: opacity 1s ease-in-out;
}

.line:nth-child(2) {
    animation-delay: 3s;
    transition: opacity 1s ease-in-out;
}

.line:nth-child(3) {
    animation-delay: 5s;
    transition: opacity 1s ease-in-out;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hidden {
    opacity: 0;
    transition: opacity 1s ease-in-out;


}

/* Experimental */

body {
    font-family: 'CaviarDream', sans-serif;
    margin: 0px;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 0px;
    background-color: var(--second-background);
}

body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgb(224, 224, 224);
}

header {
    width: 100%;
    background-color: var(--first-background);
    display: flex;
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
    position: fixed;
    box-shadow: 0px 0px 10px var(--fourth-background);
    z-index: 20;
}

.logo-area img {
    height: 40px;
    cursor: pointer;
    margin-right: 15px;
}

.main-nav {
    display: flex;
    flex-direction: row;
    width: 700px;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--second-background);
    font-size: 1.1em;
    transition: 0.5s;
}

.main-nav a:hover {
    color: var(--second-textcolor);
    transform: scale(1.1);
}

.social-network-nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-right: 15px;
}

.social-network-img {
    width: 20px;
    height: 20px;
    cursor: pointer;

}

.social-network-img path {
    fill: var(--second-background);
    transition: 0.4s;

}

.social-network-img:hover path {
    fill: var(--second-textcolor);
}

/* Area del banner */

.hero-banner {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: url(/assets/icons/redbg.webp);
    background-size: auto;
    background-repeat: repeat;
    background-position: center center;
}

.slogan-area {
    color: var(--third-background);
    font-size: 3em;
    margin-top: 300px;
    margin-left: 100px;
}

.slogan-title {
    margin: 0px;
}

.slogan-subtitle {
    margin: 0px;
}

.slogan-buttons-area {
    display: flex;
    flex-direction: row;
    margin-left: 100px;
    margin-top: 20px;
    gap: 10px;
}

.booknow-button {
    background-color: var(--fourth-background);

    background: linear-gradient(45deg, #88713f, #f8c78b);
    width: 150px;
    height: 40px;
    font-size: 1.3em;
    border-radius: 5px;
    text-align: center;
    border: none;
    color: black;
    cursor: pointer;
    transition: 1s;
}


.btn {
    --color: #cea56c;
    --color2: rgb(11, 30, 10);
    padding: 0.8em 1.75em;
    background-color: transparent;
    border-radius: 6px;
    border: .3px solid var(--color);
    transition: 1s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    font-size: 1em;
    font-weight: 600;
    color: var(--color);
}

.btn::after,
.btn::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    transform: skew(90deg) translate(-50%, -50%);
    position: absolute;
    inset: 50%;
    left: 25%;
    z-index: -1;
    transition: 1s ease-out;
    background-color: var(--color);
}

.btn::before {
    top: -50%;
    left: -25%;
    transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
    transition: 1s;
}

.btn:hover::before {
    transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
}

.btn:hover::after {
    transform: skew(45deg) translate(-50%, -50%);
}

.btn:hover {
    color: var(--color2);
}

.btn:active {
    filter: brightness(.7);
    transform: scale(.98);
}

.booknow-button:hover {
    transform: scale(1.05);
}

.booknow-button:active {
    transform: translate(2px, 2px);
    transition-duration: .3s;
}

.contactus-button {
    border: 2px solid var(--firs-textcolor);
    background-color: transparent;
    width: 150px;
    height: 40px;
    font-size: 1.3em;
    border-radius: 5px;
    text-align: center;
    color: var(--firs-textcolor);
    transition: 0.7s;
    cursor: pointer;
}

.contactus-button:hover {
    background-color: var(--firs-textcolor);
    color: white;
    transform: scale(1.05);

}

.contactus-button:active {
    transform: translate(1px, 1px);
    transition-duration: .3s;
}


/* Area de la info de la Dra */
.dra-info {
    display: flex;
    flex-direction: row;
    background-color: white;
    justify-content: space-around;
    align-items: center;
}

.dra-info-img {
    width: 500px;
    z-index: 1;
    filter: drop-shadow(5px 0px 7px rgb(122, 122, 122));
    transition: 0.4s ease-in-out;

}

.dra-info-img:hover {
    transform: scale(1.02);
}


.dra-info-text {
    display: flex;
    flex-direction: column;
    width: 45%;
}

.dra-info-title {
    font-size: 3em;
    background: linear-gradient(45deg, #917844, #e8b77d);
    font-weight: bold;
    /* Usamos el valor "-webkit-background-clip: text" para hacer que el degradado se aplique dentro del texto */
    /* "-webkit-text-fill-color: transparent" se usa para hacer que el color del texto sea transparente para que el degradado sea visible */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 0 transparent;
}

.dra-info-text p {
    text-align: justify;
}

.more-about-btn {
    border: 2px solid var(--second-textcolor);
    background-color: transparent;
    width: 350px;
    height: 40px;
    font-size: 1.3em;
    border-radius: 5px;
    text-align: center;
    color: var(--second-textcolor);
    margin-top: 20px;
    margin-bottom: 40px;
    transition: 0.s;
    cursor: pointer;
}

.more-about-btn:hover {
    background-color: var(--second-textcolor);

    background: linear-gradient(45deg, #aa8c4c, #e8b77d);
    color: rgb(0, 0, 0);
    transform: scale(1.03);
}



/* Area de tratamientos */

.treatments-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background-color: var(--first-background);
    padding-bottom: 20px;
}

.treatments-area-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 10px 100px;
    text-align: center;

}

.treatments-carousel {
    position: relative;
    width: 1100px;
    /* Ajusta el ancho según sea necesario */
    margin: 0 auto;
    overflow: hidden;
}

.treatments-carousel-container {
    display: flex;
}

.treatments-carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 0 0 33.33%;
    /* Mostrar 3 elementos a la vez */
    max-width: 33.33%;
    padding: 5px 5px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
}


.treatment-svg-img {
    width: 100px;
    height: auto;
    transition: 0.5s;

}

.treatment-svg-img:hover {
    transform: scale(1.07);
}

.treatment-svg-img path {
    fill: var(--second-textcolor);
}

.treatments-carousel-item span {
    font-size: 1.5em;
    color: var(--second-textcolor)
}

.treatments-arrow {
    position: absolute;
    font-weight: bold;
    font-size: 2em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
}

.treatments-arrow-left {
    left: 0;
}

.treatments-arrow-right {
    right: 0;
}

.mrt-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.more-treatments-btn {
    border: 2px solid var(--second-textcolor);
    background-color: transparent;
    width: 350px;
    height: 40px;
    font-size: 1.3em;
    border-radius: 5px;
    text-align: center;
    color: var(--second-textcolor);
    transition: 0.5s;
    cursor: pointer;
}

.more-treatments-btn:hover {
    background-color: var(--second-textcolor);
    color: rgb(0, 0, 0);
    transform: scale(1.03);
}


.btn-shine {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background: linear-gradient(45deg, #aa8c4c, #e8b77d);
    ;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    outline: none;
    overflow: hidden;
    cursor: pointer;
}



.btn-shine:hover {
    transform: scale(1.02);
}



.btn-shine:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.btn-shine::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 0, 0, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}


/* Area de testimonios */


.success-stories-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 100px;
}

.success-stories-panel h1 {
    font-size: 3em;
    background: linear-gradient(45deg, #917844, #e8b77d);
    font-weight: bold;
    /* Usamos el valor "-webkit-background-clip: text" para hacer que el degradado se aplique dentro del texto */
    /* "-webkit-text-fill-color: transparent" se usa para hacer que el color del texto sea transparente para que el degradado sea visible */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0px;
}

.success-stories-panel p {
    text-align: center;
}


.success-carousel {
    position: relative;
    width: 1100px;
    /* Ajusta el ancho según sea necesario */
    margin: 0 auto;
    overflow: hidden;
}

.success-carousel-container {
    display: flex;
}

.success-carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 0 0 33.33%;
    /* Mostrar 3 elementos a la vez */
    max-width: 33.33%;
    padding: 5px 5px;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}


.success-svg-img {
    width: 100px;
    height: auto;
}

.success-svg-img path {
    fill: var(--second-textcolor);
}

.success-carousel-item span {
    font-size: 1.5em;
    color: var(--second-textcolor)
}

.success-arrow {
    position: absolute;
    font-weight: bold;
    font-size: 2em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--fourth-background);
}

.success-arrow-left {
    left: 0;
}

.success-arrow-right {
    right: 0;
}

.success-carousel-img {
    width: 250px;
    height: 250px;
    border-radius: 10px;

}

.success-carousel-img-cover {
    display: flex;
    opacity: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: white;
    width: 250px;
    height: 250px;
    background-color: #91794473;
    border-radius: 10px;
    position: absolute;
    transition: 0.25s ease-in;
}

.success-carousel-img-cover:hover {
    opacity: 1;
}

.more-success-btn {
    border: 2px solid var(--second-textcolor);
    background-color: transparent;
    width: 350px;
    height: 40px;
    font-size: 1.3em;
    border-radius: 5px;
    text-align: center;
    color: var(--second-textcolor);
    transition: 0.6s;
    cursor: pointer;
}

.more-success-btn:hover {
    background-color: var(--second-textcolor);

    background: linear-gradient(45deg, #917844, #e8b77d);
    color: rgb(0, 0, 0);
    transform: scale(1.03);
}

/* Area del footer */

footer {
    display: flex;
    flex-direction: column;
    background-color: var(--first-background);
    color: var(--firs-textcolor);
    padding: 30px 150px 5px 150px;
}

.first-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 20px;
}

.logo-area-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;

}

.logo-area-footer .isotipo {
    width: 70px;
}

.logo-area-footer .logotipo {
    width: 250px;
}

.info-item {
    color: var(--second-textcolor);
    cursor: pointer;
    transition: 0.6s;
}

.info-item:hover {
    color: white;
}

.footer-snv {
    justify-content: center;
}

.footer-snv path {
    fill: var(--fourth-background);
}

.legal-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 25px;
}

.legal-info div {
    width: 200px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    cursor: pointer;
    transition: 0.6s;
}

.legal-info div:hover {
    color: white;

}

.legal-info .center-div {
    border-right: 2px solid var(--second-textcolor);
    border-left: 2px solid var(--second-textcolor);
}

.copyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: var(--second-textcolor);
}

.quantum-name {
    cursor: pointer;
    font-weight: bolder;
    transition: 0.6s;

}

.quantum-name:hover {
    color: white;
}



/* Las redes sociales */

.talk-to-us-btn {
    position: fixed;
    top: 90%;
    right: 2%;
    z-index: 4;
}

.card svg {
    height: 25px;
}

.card svg path {
    fill: white;
}


.card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--first-background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    height: 50px;
    width: 250px;
    border: 2px solid var(--fourth-background);
    border-radius: 5px;
}

.card::before,
.card::after {
    position: absolute;
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
    transition: 0.25s linear;
    z-index: 1;
}

.card::before {
    content: "";
    left: 0;
    justify-content: flex-end;
    background-color: #4d60b6;
    background: linear-gradient(80deg, #917844, #e8b77d);
}

.card::after {
    content: "";
    right: 0;
    justify-content: flex-start;
    background-color: #4453a6;
    background: linear-gradient(80deg, #e8b77d, #917844);
}

.card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card:hover span {
    opacity: 0;
    z-index: -3;
}

.card:hover::before {
    opacity: 0.5;
    transform: translateY(-100%);
}

.card:hover::after {
    opacity: 0.5;
    transform: translateY(100%);
}

.card span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: whitesmoke;
    font-family: 'Fira Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 2;
}

.card .social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
    color: var(--first-background);
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
}

.card .social-link svg {
    text-shadow: 1px 1px rgba(31, 74, 121, 0.7);
    transform: scale(1);
}

.card .social-link:hover {
    background-color: var(--second-background);
    transform: scale(1.2)
}

.card .social-link:hover path {
    fill: var(--fourth-background);
}


/* Estilos para pantallas más pequeñas (tabletas y móviles) */
@media only screen and (max-width: 768px) {

    /* *{
    border: 2px solid red;
} */
    body,
    html {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header {
        width: 100%;
        justify-content: end;
    }

    .main-nav {
        display: none;
    }

    #social-network-nav-b {
        display: none;
    }

    #redes-section-b {
        display: flex;
        flex-direction: row;
    }

    .hero-banner {
        width: auto;
        height: 70vh;
        padding: 4%;
    }

    .video-hero-banner {
        position: absolute;
        z-index: -2;
        width: 100%;
    }

    #video-desktop {
        display: none;
    }

    #video-movil {
        display: block;
    }

    .slogan-area {
        margin: 0px;
        margin-top: 70%;
    }

    .slogan-title {
        font-size: 1em;
    }

    .slogan-buttons-area {
        margin-left: 0;
    }

    .contactus-button {
        color: #00ffee;
        background-color: #00a99e5e;
        font-size:1.1em;
    }
    .booknow-button{
        font-size:1.1em;
    }

    .dra-info {
        flex-direction: column-reverse;
        padding-bottom: 20px;
    }

    .dra-info-img-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .dra-info-img {
        width: 90%;
    }

    .dra-info-text {
        width: 85%;
    }

    .dra-info-title {
        font-size: 2.6em;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }


    .treatments-area-titles {
        padding: 4%;
    }

    .treatments-carousel {
        display: none;
    }

    .success-stories-panel {
        padding: 4%;
    }

    .success-stories-panel h1 {
        font-size: 1.8em;
        text-align: center;
    }

    .success-carousel {
        display: none;
    }

    footer {
        padding: 4%;
        padding-bottom: 120px;
    }

    .first-section {
        flex-direction: column;
    }

    .legal-info {
        font-size: 0.7em;
    }

    .copyright {
        font-size: 0.7em;
    }

    .talk-to-us-btn {
        width: fit-content;
        right: 10px;
    }

    /* MENÚ LATERAL */
    .menu-lateral {
        position: fixed;
        width: 70vw;
        height: 100vh;


        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translate(-71vw);
        z-index: 21;
        background-color: var(--first-background);
        border-right: 1px solid var(--fourth-background);
        transition: 1s;
    }

    .items-menu-lateral {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 15px;
        padding-bottom: 20px;

        border-bottom: 2px solid var(--fourth-background);

    }

    .titulos-menu-lateral {
        width: 250px;
        color: white;
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 2px solid var(--fourth-background);

    }

    /* Header del menu lateral */

    .header-menu-lateral {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 2px solid var(--first-background);
        padding: 15px 0px;
    }

    .logo-menu-lateral {
        width: 70%;

    }

    /* Hasta aqui el header del menu lateral */

    .redes-section {
        display: flex;
        flex-direction: row;
        gap: 30px;
        justify-content: center;
    }

    .redes-section a {
        text-decoration: none;
        color: white;
        font-size: 1.1em;
        transition: 0.5s;
    }

    .redes-section a:hover {
        color: var(--fourth-background);
        transform: scale(1.1);
    }

    .social-network-nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        margin-right: 15px;
    }

    .social-network-img {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .social-network-img path {
        fill: white;
        transition: 0.4s;
    }

    .social-network-img:hover path {
        fill: var(--second-textcolor);
    }

    /* El boton de apertura y cerrado */
    #checkbox2 {
        display: none;
    }

    .toggle2 {
        position: fixed;
        z-index: 22;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition-duration: .5s;
        top: 15px;
        left: 15px;
    }

    .bars {
        width: 100%;
        height: 6px;
        background-color: var(--fourth-background);
        border-radius: 6px;
    }

    #bar5 {
        transition-duration: .8s;
    }

    #bar4,
    #bar6 {
        width: 80%;
    }

    #checkbox2:checked+.toggle2 .bars {
        position: absolute;
        transition-duration: .5s;
    }

    #checkbox2:checked+.toggle2 #bar5 {
        transform: scaleX(0);
        transition-duration: .5s;
    }

    #checkbox2:checked+.toggle2 #bar4 {
        width: 100%;
        transform: rotate(45deg);
        transition-duration: .5s;
    }

    #checkbox2:checked+.toggle2 #bar6 {
        width: 100%;
        transform: rotate(-45deg);
        transition-duration: .5s;
    }

    #checkbox2:checked+.toggle2 {
        transition-duration: .5s;
        transform: rotate(180deg);
    }

    /* fin del Boton de apertura y cerrado */
    /* MENÚ LATERAL */
}