/*
Theme Name: Rapisarda Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Leonardo Cacopardo
Author URI: https://lcsviluppoweb.it
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.5.1.1740238089
Updated: 2025-02-22 15:28:09

*/

.video-container {
  position: relative;
  width: 100%;
  height: 500px; /* Altezza desiderata */
  overflow: hidden;
  z-index: 1;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2; /* Valore maggiore del video per posizionarlo sopra */
  color: #fff; /* Colore del testo */
  text-align: center;
  padding: 20px;
}

/* Per assicurarti che il poster funzioni correttamente */
video[poster] {
  object-fit: cover;
}

a#btn-areaRis {
    background-color: var(--contrast-2);
    color: var(--base-3);
    display: inline-flex;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid var(--base-2);
    border-radius: 5px;
    padding: 0.75rem 1.5rem
}

a#btn-areaRis:is(:hover,:focus) {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 3px 3px 5px 2px rgba(0,0,0,0.1)
}

.site-header a:hover{
	border-radius: 5px;
}

.background-video {
    filter: brightness(0.9) saturate(1.9) hue-rotate(350deg);
}

.main-navigation .menu > .menu-item > a::after {
        content: "";
        position: absolute;
        right: 0;
        left: 50%;
        bottom: 7px;
        -webkit-transform: translate3d(-50%,0,0);
        transform: translate3d(-50%,0,0);

        display: block;
        width: 0;
        height: 2px;

        background-color: currentColor;
        transition: 0.3s width ease;
    }
    .main-navigation .menu > .menu-item.current-menu-item > a::after,
    .main-navigation .menu > .menu-item.current_page_item > a::after,
    .main-navigation .menu > .menu-item.current-menu-ancestor > a::after,
    .main-navigation .menu > .menu-item > a:hover::after {
        width: 75%;
    }


/*
 * Classi per la tipografia fluida
 * Puoi applicare queste classi a qualsiasi elemento nel builder
 */

/* Classi per dimensioni del carattere */
.fs-sm {
    font-size: var(--fs-sm) !important;
}

.fs-base {
    font-size: var(--fs-base) !important;
}

.fs-h5 {
    font-size: var(--fs-h5) !important;
}

.fs-h4 {
    font-size: var(--fs-h4) !important;
}

.fs-h3 {
    font-size: var(--fs-h3) !important;
}

.fs-h2 {
    font-size: var(--fs-h2) !important;
}

.fs-h1 {
    font-size: var(--fs-h1) !important;
}

.fs-xxl {
    font-size: var(--fs-xxl) !important;
}