/* Add here all your CSS customizations */

/* MOBILE */

/* Basic CSS reset for buttons */
button {
  cursor: pointer;
  border: none;
  padding: 10px 20px;
  margin: 5px;
}

/* Styling for the cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: white;
  border-top: 1px solid #ccc;
  text-align: center;
  padding: 20px;
  box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
  z-index: 1000; /* High z-index to ensure it is above other content */
}

/* Styling for non-interactive background */
.body-darken {
  pointer-events: none;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-banner {
      height: 33%; /* One third of the screen on mobile */
  }
}

@media (min-width: 769px) {
  .cookie-banner {
      height: 20%; /* One fifth of the screen on desktop */
  }
}


@media only screen and (max-width: 767px) {
  .full-width-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 43% !important;
    /* One third of the screen height */
    background-color: #000;
    /* Banner color changed to black */
    color: #c2c1c1;
    /* Text color changed to white */
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    /* Center items horizontally */
    justify-content: center;
    /* Center items vertically */
    z-index: 1001;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px !important;
    letter-spacing: -0.6px;
    padding-left: 20px !important;
    padding-right: 20px !important; 
  }

  .banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px !important;
    font-weight: bold;
    color: #f8f5f5 !important;
    
  }
.footer-text-gold {
  font-size: 8px;
}
.margin-footer {
  margin-bottom: 0px !important;
}

.margin-footer-top {
  margin-top: 15px !important;
}

.footer-line {
  line-height: 30px;
}

.home-img {
  margin-bottom: 15px !important;
}
.cg-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-top: 0;
  
  font-size: 31px !important;
  color: black;
  line-height: 3.14286rem;
  letter-spacing: -1.6px;
  margin-bottom: 2px !important;
  letter-spacing: 0.5pt;
}

.cg-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
   color: black;
    font-size:17px !important;

    line-height: 1.64286rem;
    margin-bottom: 16px;
    letter-spacing: -0.6px;
}
.cg-text {
  font-size: 14px !important;
    
    line-height: 24px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
}

.cg-quote {
      font-style: italic !important;
    font-weight: 700 !important;
    color: black;
    line-height: 24px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.form {
  font-size: 16px !important;
  margin-bottom: 2px !important;
}


}

.margin-footer {
  margin-bottom: 40px;
}

.margin-footer-top {
  margin-top: 25px;
}

.footer-line {
  line-height: 30px;
}

.underline {
  text-decoration: underline;
}

.page-not {
  font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 150px;
    font-size: 80px;
    color: #bc9b6a !important;
    line-height: 110px;
    letter-spacing: -1.6px;
    margin-bottom: 50px;
    letter-spacing: 0.5pt;
}
.page-not2 {
    color: #fff;
    display: block;
    font-size: 50px !important;
    font-weight: 250 !important;
    line-height: 50px !important;
}
.txt:hover {
    text-decoration: underline;
    
}

.centerDiv{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.cg-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0;
    
    font-size: 41px;
    color: black;
    line-height: 3.14286rem;
    letter-spacing: -1.6px;
    margin-bottom: 17px;
    letter-spacing: 0.5pt;
}

.cg-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
   color: black;
    font-size:20px;

    line-height: 1.64286rem;
    margin-bottom: 16px;
    letter-spacing: -0.6px;
}
.form {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
   color: black;
    font-size:20px;
    line-height: 1.64286rem;
    letter-spacing: -0.6px;
}

.cg-text {
  font-size: 16px ;
    
    line-height: 30px ;
    letter-spacing: 0.35px ;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 ;
}

.cg-quote {
      font-style: italic ;
    font-weight: 700 ;
    color: black;
    line-height: 30px ;
    padding-left: 5% ;
    padding-right: 5% ;
}

#header .header-nav.header-nav-links.cose nav > ul li:hover > a {
		color: red;
	}

.lang-color {
  color: #bc9b6a !important;
}

.navbar-style {
    color: #fff;
    display: block;
    font-size: 18px;
    font-size: 1.14286rem !important;
    font-weight: 250 !important;
}

.line-h {
  line-height: 30px !important;
}

.welcome {
    font-family: 'Montserrat', sans-serif !important;
   color: black;
    font-size: 2.57143rem;
  font-weight: 700;
    line-height: 3.14286rem;
    letter-spacing: -1.6px;
    /* margin-bottom: 17px; */
    }

.home-img {
  margin-bottom: 50px;
}

.navbar{
/*   z-index should be above .close-navbar-toggler */
  z-index:2;
}
.close-navbar-toggler{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  z-index:1;
  cursor:pointer;
}
.close-navbar-toggler.collapsed{
  z-index:-1;
}


.font-weight-bold-minus {
    font-weight: 500 !important;
}

.small-footer {
    margin-top: 25px;
    height: 150px;
    width: 100% !important;
}

.google-map {
        background: #E5E3DF;
        height: 341px !important;
}

.title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 19px;
    padding-top: 30px;
    padding-left: 5%;
    padding-right: 5%;
}






.flip-card {
  /* background-color: transparent; */
  width: 360px;
  height: 360px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1.4s;
  transform-style: preserve-3d;

}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  /* background-color: #bbb; */
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: #0d90d1;
  color: white;
  transform: rotateY(180deg);
  width: 100%;
  height: 100%;

}

/* mobile */
@media (min-device-width: 320px) {
    .flip-card-1 {
  /* background-color: transparent; */
  width: 305px;
  height: 305px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
 .title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 15px;
    padding-top: 10px;
    padding-left: 5%;
    padding-right: 5%;
}
.logo-dynamic{
    width: 100px;
}
.maps-footer {
    width: 100% !important;
}
.eventi {
    font-size: 1.3em;
    font-weight: 550;
    line-height: 28px;
    margin: 0 0 32px 0;
}
.img-size {
  width: 100px;
  margin-left: 20px; 
}

#header.header-effect-shrink .header-container {
	max-height: 80px !important;
}
.mobile {
    display: inline;
}
.cg-text-contact {
  font-size: 13px !important;
    /* font-size: 1rem !important; */
    line-height: 22px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
}

.title-mobile {
  font-size: 38px;
}

.checkbox {
  font-size: 12px !important;
}

.small-checkbox input[type="checkbox"] {
  /* Adjust scale as needed; smaller numbers make it smaller */
  transform: scale(0.85);
  /* Optional: Adjust alignment if necessary */
  vertical-align: middle;
  margin-bottom: 3px;
}
}

@media (min-width:481px) {
    .flip-card-2 {
  /* background-color: transparent; */
  width: 305px;
  height: 305px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.logo-dynamic{
    width: 100px;
}
.maps-footer {
    width: 100% !important;
}
.cg-text-contact {
  font-size: 13px !important;
    /* font-size: 1rem !important; */
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 38px;
}
}

@media (min-width:641px) {
.logo-dynamic{
    width: 120px;
}
.maps-footer {
    width: 100% !important;
}
#header.header-effect-shrink .header-container {
	max-height: 80px !important;
}
.mobile {
    display: inline;
}
.cg-text-contact {
  font-size: 13px !important;
    /* font-size: 1rem !important; */
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 41px;
}
}


/* ipad */
@media only screen and (min-device-width: 768px){
      .flip-card-3 {
  /* background-color: transparent; */
  width: 230px;
  height: 230px;
  
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
 .title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 11px;
    padding-top: 10px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.7em;
}
.logo-dynamic{
    width: 150px;
}
.eventi {
    font-size: 1.6em;
    font-weight: 550;
    line-height: 28px;
    margin: 0 0 32px 0;
}
.cg-text-contact {
  font-size: 13px !important;
    /* font-size: 1rem !important; */
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 41px;
}
}


@media (min-width:961px) {
    .flip-card-4 {
  /* background-color: transparent; */
  width: 305px;
  height: 305px;
  
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 11px;
    padding-top: 10px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.7em;
}
.logo-dynamic{
    width: 180px;
}
.eventi {
    font-size: 1.6em;
    font-weight: 550;
    line-height: 28px;
    margin: 0 0 32px 0;
}
.img-size {
  width: 150px;
  margin-left: 0px;
}
.cg-text-contact {
  font-size: 13px !important;
    /* font-size: 1rem !important; */
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 41px;
}
}


@media (min-width:1024px) {
       .flip-card-5 {
  /* background-color: transparent; */
  width: 320px;
  height: 320px;
  
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 15px;
    padding-top: 10px;
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.7em;
}
.logo-dynamic{
    width: 180px;
}
.maps-footer {
    width: 360px;
}
.eventi {
    font-size: 1.7em;
    font-weight: 550;
    line-height: 28px;
    margin: 0 0 32px 0;
}
.img-size {
  width: 150px;
  margin-left: 0px;
}
.cg-text-contact {
  /* font-size: 13px !important; */
    font-size: 1rem !important;
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 41px;
}
}

@media (min-width:1200px) {
         .flip-card-6 {
  /* background-color: transparent; */
  width: 360px;
  height: 360px;
  
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
.title-card {
    color: white;
    font-weight: 500;
    letter-spacing: -.05em;
    font-size: 17px;
    padding-top: 30px;
    padding-left: 5%;
    padding-right: 5%;
}
.logo-dynamic{
    width: 180px;
}
.maps-footer {
    width: 360px;
}
.eventi {
    font-size: 1.7em;
    font-weight: 550;
    line-height: 28px;
    margin: 0 0 32px 0;
}
.img-size {
  width: 150px;
  margin-left: 0px;
}
#header.header-effect-shrink .header-container {
	max-height: 100px !important;
}
.title-mobile {
  font-size: 41px;
}
}

@media (min-width: 1170px){
.nav-size {
    max-width: 1170px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
#header.header-effect-shrink .header-container {
	max-height: 100px !important;
}
.cg-text-contact {
  /* font-size: 13px !important; */
    font-size: 1rem !important;
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
}

@media (min-width: 970px){
.nav-size {
    max-width: 1130px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
#header.header-effect-shrink .header-container {
	max-height: 100px !important;
}
.cg-text-contact {
  /* font-size: 13px !important; */
    font-size: 1rem !important;
    line-height: 30px !important;
    letter-spacing: 0.35px !important;
    margin: 0 0 14px;
    word-break: break-word;
    font-weight: 20 !important;
 
}
.title-mobile {
  font-size: 41px;
}
}