 /* * {
     border: 1px solid red !important;
 } */

 html,
 body {
     overflow-x: hidden;
 }

 a {
     text-decoration: none;
 }

 .titolo-stagioni {
     color: #333;
     align-self: center;
     justify-self: center;
     font-size: 60px;
     font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
     padding-top: 40px;
     text-align: center;
 }

 body {
     background-color: #eaf7e6;
 }

 #home-estate p {
     line-height: 2;
     padding-left: 50px;
     padding-right: 50px;
     font-size: larger;
     font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
 }

 .header {
     display: flex;
     justify-content: space-between;
     position: fixed;
     left: 0;
     height: 80px;
     width: 100%;
     background: transparent;
     transition: background-color 0.3s ease, box-shadow 0.3s ease;
     z-index: 2000;
     margin: 0;
     padding-top: 20px;

 }

 .logo {
     width: auto;
     height: 120px;
     border-radius: 20px;
     justify-content: left;
     position: relative;
     /* inizialmente relative */
     z-index: 10;
     margin-left: 20px;
 }

 .header.scrolled {
     background-color: #eaf7e6;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
 }

 .header.scrolled .logo {
     height: 70px;
     border-radius: 10px;
     margin-top: -15px;
 }

 .elenco.scrolled+.logo,
 .elenco.scrolled .logo,
 .logo.scrolled {
     background-color: #E6F7F1;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     left: 10px;
     z-index: 2000;
 }

 .menu {
     padding: 10px;
     border-radius: 20px;
     width: 150px;
     transition: max-height 0.3s ease, opacity 0.3s ease;
     overflow: hidden;
     max-height: 0;
     opacity: 0;
     display: flex;
     flex-direction: column;
     position: absolute;
     color: #333;

 }

 .nobg a,
 .nobg button {
     color: #333;
 }

 .menu.show {
     max-height: 500px;
     opacity: 1;
     display: flex;
     background-color: #eaf7e6
 }

 .menu a {
     display: block;
     margin: 5px 0;
     text-decoration: none;
     color: #1c7528;
 }

 .menu a:hover {
     display: block;
     margin: 5px 0;
     text-decoration: none;
     color: rgba(51, 51, 51, 0.7);
     transform: scale(1.05);
 }

 .dropbtn {
     background: none;
     border: none;
     font-size: large;
     font-weight: 700;
     transition: color 0.5s ease, transform 0.3s ease;
     outline: none !important;
     color: #ffffff;
     -webkit-text-stroke: 0px;
     font-weight: normal;
 }


 .dropbtn:hover {
     color: rgb(203, 23, 23);
     transform: scale(1.05);

 }

 .header.scrolled .dropbtn {
     color: #1c7528;
 }

 .header.scrolled .dropbtn a {
     color: #1c7528;
 }


 .header.scrolled .dropbtn:hover {
     color: rgb(203, 23, 23);
 }

 .box.bg {
     background: url(/imgs/ValleDiGares/18.jpg);
     background-size: cover;
     background-position: center;
 }

 .box {
     display: flex;
     position: relative;
     width: 100%;
     clear: both;
     background: url(/imgs/ValleDiGares/18.jpg);
     background-size: cover;
     background-position: center;
     height: 650px;
     justify-content: center;
 }



 .scritte-header {
     display: flex;
     justify-content: center;
     align-content: center;
 }


 h2 {
     color: #1c7528;
     align-items: center;
     text-align: center;
     padding-bottom: 20px;
     font-size: xx-large;
     padding-top: 80px;
     font-family: Verdana, Geneva, Tahoma, sans-serif;
     font-weight: 600;
     line-height: 1.8;
     font-size: xx-large;
 }

 .contenuto h3 {
     font-size: 2rem;
     margin-bottom: 10px;
     text-align: center;
 }

 .contenuto p {
     line-height: 1.6;
 }

 .tag-container {
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 20px;
     padding: 20px;
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     margin-top: auto;
 }

 .hamburger {
     display: none;
     flex-direction: column;
     justify-content: space-around;
     width: 30px;
     height: 22px;
     cursor: pointer;
     z-index: 3000;
     margin-right: 20px;
     box-sizing: border-box;

 }

 .hamburger span {
     display: block;
     height: 3px;
     width: 100%;
     background: white;
     border-radius: 2px;
     transition: 0.3s ease;
 }

 /* X animation */
 .hamburger.active span:nth-child(1) {
     transform: rotate(45deg) translateY(10px);
     top: 0;
 }

 .hamburger.active span:nth-child(2) {
     opacity: 0;
 }

 .hamburger.active span:nth-child(3) {
     transform: rotate(-45deg) translateY(-10px);
     top: 0;
 }



 @media (max-width: 900px) {




     .elenco {
         position: fixed;
         top: 0;
         left: -100%;
         flex-direction: column;
         background-color: #eaf7e6;
         width: 100%;
         height: 100vh;
         padding: 80px 20px 20px;
         transition: left 0.3s ease-in-out;
         z-index: 2500;
     }

     .elenco.show {
         left: 0;
     }

     .dropbtn {
         color: #1c7528 !important;
         font-size: 18px;
         padding: 5px 0;
         text-align: left;
         width: 100%;
         border-bottom: 1px solid rgba(0, 0, 0, 0.1);
     }

     .hamburger {
         display: flex;
     }

     .logo-link.hide {
         display: none;
     }

     .menu {
         position: static;
         max-height: 0;
         overflow: hidden;
         opacity: 0;
         transition: max-height 0.3s ease, opacity 0.3s ease;
         display: flex;
         flex-direction: column;
     }

     .menu.show {
         max-height: 500px;
         opacity: 1;
     }

     .menu a {
         padding: 10px 0;
         border-bottom: 1px solid rgba(0, 0, 0, 0.1);
     }
 }

 @media (max-width: 650px) {
     .logo {
         width: auto;
         height: 90px;
         border-radius: 15px;
         justify-content: left;
         position: relative;
         z-index: 10;
         margin-left: 20px;
     }
 }