.hidden{
    display:none;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 150,
        'GRAD' 0
}

body{
    margin:0;
    padding:0;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    font-family: "Poppins", Arial, sans-serif;

    color: rgba(0, 0, 0, 0.8);
}

body > *{
    transition:all .3s;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 400;
    font-family: "Lora", serif;
}

h1 span, h2 span, h3 span, h4 span, h5 span, .h1 span, .h2 span, .h3 span, .h4 span, .h5 span {
    background: #fdcb6e;
}

a{
    transition: color 0.4s;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.8) !important;
}

a:hover{
    color: rgba(18, 18, 17, 0.8) !important;
}

.mtb-200{ margin-top:200px; margin-bottom:200px; }
.handwrite{
  font-family: "Monsieur La Doulaise", cursive;
  font-weight: 400;
  font-style: normal;
}

.font-size-bigger{
    font-size:3.5em;
}

.navbar .navbar-brand{
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar li a, .navbar .navbar-brand{
    color:#efefef !important;;
}

.navbar li a:hover{
    color: #dad8d8 !important;;
}

/* Stato navbar dopo lo scroll */
.navbar.scrolled {
  background: white;
  color: black !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled li a, .navbar.scrolled .navbar-brand{
    color:#000000 !important;
}

.navbar.scrolled li a:hover{
    color: #666666 !important;
}

.fullheight{
    height:100vh;
}

.flex-column{
    display:flex; flex-direction:column; justify-content:space-between
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.giovanni-gb{
    background: #000000 url('../images/giovanni.webp') center/cover no-repeat;
}

.black-bg{
    background-color: #000000;
}

#home-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Testo centrato sopra */
#home-section h1 {
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
    z-index: 2; /* sopra ai box */
    font-size: 20vw;
    text-transform: uppercase;
    width: 100%;
    text-align: center !important;
    font-family: "Barlow Condensed", Arial, sans-serif !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    background: transparent;
}

.fullheight {
    display: flex;
    height: 100vh;
}

.boxes {
    flex: 1;
    height: 100vh;
}

.ftco-section {
    padding: 7em 0;
    position: relative;
}

.ftco-intro{
    padding-bottom:0px;
}

.ftco-intro h2 {
    font-size: 60px;
}

.mt-200{
    margin-top:200px;
}

.icons-list{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.icons-big span{
    font-size:7em;
    color:#fdcb6e;
}

.no-gutters > .col, .no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}
.ftco-animate {
    opacity: 0;
    visibility: hidden;
}
.align-self-stretch {
    -ms-flex-item-align: stretch !important;
    -ms-grid-row-align: stretch !important;
    align-self: stretch !important;
}

.services-list{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top:200px;
}

.services {
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 80px 25px;
    margin-bottom:30px;
    text-align:center;
}

.media.services {
  padding: 30px 20px;
  transition: background 0.3s ease, color 0.3s ease;
  width:30%;
  max-width: 30%;
}

/* Alternanza: dispari → bianco, pari → nero */
.media.services:nth-of-type(odd) {
  background-color: #fff;
  color: #000 !important;
  
  strong, a{
    color: #000 !important;
  }
}

.media.services:nth-of-type(even) {
  background-color: #000;
  color: #fff !important;
  
  strong, a{
    color: #fff !important;
  }
  
  h3{
      color:#fff !important;
  }
}

/* Se vuoi che anche le icone si adattino */
.media.services .material-symbols-outlined {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

/* Adatta colore dell’icona in base allo sfondo */
.media.services:nth-of-type(odd) .material-symbols-outlined {
  color: #000;
}

.media.services:nth-of-type(even) .material-symbols-outlined {
  color: #fff;
}

.media.services:nth-of-type(odd):hover, .media.services:nth-of-type(odd):focus, .media.services:nth-of-type(even):hover, .media.services:nth-of-type(even):focus {
    background: #fdcb6e !important;
    color: #000000 !important;
    
    h3{
        color:#000 !important;
    }
    
    .material-symbols-outlined{
        color: #000000 !important;
    }
}