/*
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.7
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;
}


/* 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);
}