/*
Theme Name: Blank Full
Theme URI: 
Author: Xavier Soler | Entorno Digital SAU
Author URI: 
Description: Tema para Entorno digital
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blankfull
Tags: grid-layout, wide-blocks, full-site-editing, full-width-template, 
*/


/* Styles shared with block editor are located in "assets/css/shared.css" */

strong {
    font-weight: 700;
}



header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 1;
}

.home header.wp-block-template-part {
    position: fixed;
    width: 100%;
}


@media screen and (min-width: 601px) {
    .home:not(.background-header) header.wp-block-template-part a:not(:hover) {
        color: #FFF !important;
    }


    .home:not(.background-header) header.wp-block-template-part ul.wp-block-navigation-submenu a:not(:hover) {
        color: #000 !important;
    }
}

.background-header header.wp-block-template-part {
    background-color: rgba(255, 255, 255, 0.6);
}

.home:not(.background-header) header.wp-block-template-part .wp-block-site-logo img {
    filter: url(#white-duotone);
}

/* ANIMATIONS */

.has-animations [class*="animation--init"] :where(h1, h2, h3, h4, h5, h6, li, p, .wp-block-buttons) {
    opacity: 0;
    transform: translateY(1em);
}


.has-animations .animation--end :where(h1, h2, h3, h4, h5, h6, li, p, .wp-block-buttons) {
    opacity: 1;
    transition: all 0.6s ease;
    transform: translateY(0);
}


.has-animations .animation--end :where(p) {
    transition-delay: 0.4s;
}

.has-animations .animation--end :where(.wp-block-buttons) {
    transition-delay: 0.8s;
}

/* Media query for mobile */
@media screen and (min-width: 601px) {
    .only-mobile {
        display: none !important
    }
}

@media screen and (max-width: 600px) {
    .no-mobile {
        display: none !important
    }
}


/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background-color: var(--wp--preset--color--base-2);
    color: var(--wp--preset--color--accent);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show-button {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--wp--preset--color--base);
    transform: translateY(-3px);
}


.banner {
    align-items: stretch !important;
}

.banner-inner-wrapper {
    height: 100%;
}


.foto-video-wrapper {
    position: relative;
}

.video-massatge {
    position: absolute;
    width: 10em;
    height: 10em;
    overflow: hidden;
    border-radius: 1em;
    left: -2em;
    bottom: -2em;
}

.foto-massatge {
    position: absolute;
    bottom: 0;

}


@media screen and (max-width: 601px) {
    .wp-block-media-text>.wp-block-media-text__content {
        padding: 0 var(--wp--style--block-gap);
    }
}

.home .logo-wrapper,
.home .wp-block-site-title {
    display: none !important;
}

.sombra-blanca {
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
}

.seccio-header figure {
    border-radius: 1em;
    overflow: hidden;
}