/*fonts*/
@font-face {
  font-family: 'Font 1';
  src: url('Anton-Regular.ttf');
}
@font-face {
  font-family: 'Font 2';
  src: url('doves.ttf');
}
@font-face {
  font-family: 'Font 3';
  src: url('FarAlone-yweqe.otf');
}
@font-face {
  font-family: 'Font 4';
  src: url('toast.ttf');
}

@font-face {
  font-family: 'Font 5';
  src: url('StayFoolish-w17Y2.otf');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 10px 0;
  margin-left: 10px;
}

.navbar-top {
  margin-bottom: 10px;
}

.home-link {
  font-size: 96px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  font-family: "font 2", sans-serif;
}

.home-link:hover{
  color: #04fa04;
}

.navbar-bottom {
  display: flex;
  gap: 20px;
}

.navbar-bottom a {
  color: #666;
  text-decoration: none;
  font-size: 2.8em;
  font-family: "Font 1", sans-serif;
}

.navbar-bottom a:hover {
  color: black;
}

body, html {
  margin: 0 auto;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffffff;
  display: block; 
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: auto;
}

.image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}
.content-container {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.content-container h1 {
  font-size: 2.5em;
  margin: 0.5em 0;
  font-family: "font 4", sans-serif;
}
.content-container p {
  font-size: 1.2em;
  margin: 0.5em 0;
  font-family: "font 1", sans-serif;
  color: #666;
}
.content-container #btn {
  font-size: 3em;
  font-family: "font 3", sans-serif;
  padding: 10px 30px;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.content-container #btn:hover {
color: #04fa04;
}


/*guarda bene questo sotto*/
.container2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.flex-container2 {
  display: flex;
  gap: 2rem;
}

.text-content2 {
  width: 50%;
}



.image-container2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
  .flex-container {
      flex-direction: column-reverse;
  }

  .text-content,
  .image-container {
      width: 100%;
  }
}
/*fine guardare bene*/

.dashed-line {
  border: none;          /* Rimuove il bordo predefinito */
  border-top: 2px dashed #000; /* Linea superiore tratteggiata */
  margin: 20px 0;       /* Margine sopra e sotto la linea */
}




.slide {
  min-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.nav-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #eee;
}

.nav-button.active {
  background: #333;
  color: white;
}

/* Popup Styles */


.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.popup-header {
  margin-bottom: 15px;
}

.popup-body {
  margin-bottom: 20px;
}

.popup-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.popup-button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-button.primary {
  background-color: #007bff;
  color: white;
}

.popup-button.secondary {
  background-color: #6c757d;
  color: white;
}

.popup-button:hover {
  opacity: 0.9;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}



.slide {
  min-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.nav-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #eee;
}

.nav-button.active {
  background: #333;
  color: white;
}

/* Popup Styles */

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.popup-header {
  margin-bottom: 15px;
}

.popup-body {
  margin-bottom: 20px;
}

.popup-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.popup-button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-button.primary {
  background-color: #007bff;
  color: white;
}

.popup-button.secondary {
  background-color: #6c757d;
  color: white;
}

.popup-button:hover {
  opacity: 0.9;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}



.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.popup #btn{
  padding-top: 1em;
}

.popup #btn:hover{
  color:#04fa04;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
  font-family: "Font 1", sans-serif;
}

.popup-content h2 {
  font-family: 'Font 4', sans-serif; /* Change font family for title */
  font-size: 24px; /* Customize font size for title */
  color: #333; /* Customize color for title */
}

.popup a {
  font-size: 3em;
  font-family: "font 3", sans-serif;
  padding: 10px 30px;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
 
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}



.popup-content p {
color: #666;
}
/*why container*/
.container-why {
  display: flex; /* Create a flex container */
  align-items: center; /* Vertically center content*/
  margin: 0 auto;
  padding-top: 1.6em;
}

.content-container-why,
.image-container-why {
  padding-top: 2em;
  flex: 1; /* Equal width for both columns */
}

.content-container-why {
  text-align: center;
  padding: 20px;
}

.content-container-why img {
  padding-top: 0.8em;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.content-container-why h1 {
  font-size: 2.5em;
  margin: 0.5em 0;
  font-family: "font 4", sans-serif;
}
.content-container-why p {
  font-size: 1.2em;
  margin: 0.5em 0;
  font-family: "font 1", sans-serif;
  color: #666;
}
.content-container-why #btn {
  font-size: 3em;
  font-family: "font 3", sans-serif;
  padding: 30px 30px;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.content-container-why #btn:hover {
  color: #04fa04
  }

/*target*/
.target{
  padding-top: 3em;
  
  font-size: 2.5em;
  margin: 0 auto;
  font-family: "font 1", sans-serif;
  color: #666;
}

.container-target {
  display: flex;
  flex-wrap: nowrap; /* Ensure the images don't wrap */
  width: 100%;
  padding: 10px;
  overflow-x: auto; /* Allow horizontal scroll on small screens */
  margin: 0 auto;
  margin-top: 1em;
}

.container-target img {
  flex: 1 0 20%; /* Maintain five images in a row */
  max-width: 100%;
  height: auto;
  padding: 5px;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.container-target::-webkit-scrollbar {
  width: 10px;
  background-color: transparent; /* Adjust as needed */
}

.container-target::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 10px;
}

.container-target::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.target-h1:hover{
  color:black;
}

#btn-final-home {
  font-size: 3em;
  font-family: "font 3", sans-serif;
  padding-top: 1em;
  padding-bottom: 0.5em;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  text-align: center; /* Added centering */
}

#btn-final-home:hover {
  color: #04fa04
  }

.unique a{
  font-size: 1.5em;
  font-family: "font 3", sans-serif;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  text-align: center; /* Added centering */
  padding-top: 1em;
  padding-bottom: 1em;
}

.unique a:hover{
    color: #04fa04
}

/*footer*/
#footer {
  font-family: "font 2", sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 40px;
  padding-top: 0.8em;
}

#footer a:hover{
  color: black;
}


.social-icons {
  margin-top: 20px; /* Adjust the value as needed */
  display: flex;
  justify-content: center; /* Center the icons horizontally */
  align-items: center; /* Vertically center the icons */
}

.social-icons a {
  font-family: "font 1", sans-serif;
  margin: 0 10px; /* Adjust spacing between icons */
  color: #666;
  font-size: 40px;
}

.social-icons a:hover {
  color: black;
}

.unique {
  font-size: 2.5em;
  margin: 0.5em 0;
  font-family: "font 4", sans-serif;
  color: black;
  justify-content: center;
  text-align: center;
}

#footer a {
  text-decoration: none;
  cursor: pointer; /* Optional: To change cursor on hover */
  color: #04fa04;
}

/* Basic Gallery Styles */
.gallery {
  display: grid;
  gap: 10px;
  padding-top: 2em;
}

/*about*/
.container-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.image-section-about {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
}

.image-section-about img {
  width: 100%;
  height: auto;
}
.image-section-faq img{
  padding-top: 1em;
text-align: center;
width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}




.caption-about {
  margin-top: 1rem;
  text-align: center;
  font-family: "font 2", sans-serif;
  font-size: 3em;
}

.text-section-about {
    justify-self: center;
    align-self: center;
    
  }

  .text-section-about h1{
    font-family: "font 2", sans-serif;
    font-size: 2.5em;
  }

  .text-section-about p{
    font-family: "font 1", sans-serif;
    font-size: 1.5em;
    color: #666;
  }

  .container-faq{
    padding: 2em;
    padding-left: 10px;
    padding-right: 10px;
  }
/*toggle faq*/

.faq-section {
  padding-top: 2em;
  text-align: center;
}

.faq-question {
  padding-top: 2em;
  margin-bottom: 20px;
  cursor: pointer;

}

.answer {
  display: none;
  padding-top: 1em;
}

.answer.show {
  display: block;
}

.question{
font-family: "font 2", sans-serif;
font-size: 3em;
}

.answer{
  font-family: "font 1", sans-serif;
  font-size: 1.6em;
  color: #666;
  }

.image-section-faq img{
  padding-top: 1em;
text-align: center;
width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.caption-faq{
  padding-top: 0.5em;
  text-align: center;
  font-family: "font 4", sans-serif;
  font-size: 4em;
}
/* Desktop Layout - Rows with 8, 6, and 4 images */
@media (min-width: 1200px) {
  .gallery-row:nth-child(3n-2) { /* Every first row of three */
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-flow: dense;
  }
  .gallery-row:nth-child(3n-1) { /* Every second row of three */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
  }
  .gallery-row:nth-child(3n) { /* Every third row of three */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
  }
  #footer{
    font-size: 56px;
  }
}

#btn-about {
  font-size: 5em;
  font-family: "font 3", sans-serif;
  padding-top: 1em;
  padding-bottom: 1em;
  background-color: none;
  color: black;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  text-align: center; /* Added centering */
}

#btn-about:hover {
  color: #04fa04
  }

.take-part{
  text-align: center;
}

/* Per dispositivi più piccoli */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
    .container-about {
      grid-template-columns: 1fr;
    }
    .container-faq {
      grid-template-columns: 1fr;
    }
}


/* Tablet Layout - Rows with 4 images */
@media (min-width: 768px) and (max-width: 1199px) {
  .gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }
}

/* Mobile Layout - Rows with 2 images */
@media (max-width: 767px) {
  .gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }
  
  .social-icons a{
    font-size: 20px; /* Adjust the value as needed */
  } 
#footer{
  font-size: 40px;
}
  .target{
    padding-top: 3em;
    font-size: 2.5em;
    margin: 0 auto;
    font-family: "font 1", sans-serif;
    color: #666;
  }
  .question{
    font-family: "font 2", sans-serif;
    font-size: 2em;
    }
    
    .answer{
      font-family: "font 1", sans-serif;
      font-size: 1.6em;
      }
}

.gallery-item {
  width: 100%;
  height: auto;
}


@media (min-width: 900px) {
  .container-why image{
    margin: 0 auto;
  }
  .container-why img {
    width: 100%;
    height: auto;
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .navbar {
    align-items: center;
  }
  .container {
      flex-direction: column;
      height: auto;
  }
  .content-container {
      text-align: center;
  }
  .content-container h1 {
      font-size: 2.4em;
  }
  .content-container p {
      font-size: 1em;
  }
  .content-container #btn {
      font-size: 3em;
      padding: 30px 30px;
  }


  

    .contentDiv h1 {
      font-size: 2em;
  }

  .popup a {
    font-size: 3em;
    padding: 8px 20px;
}
.container-why img {
  width: 100%;
  height: auto;
  margin: 0;
}
.container-why {
  flex-direction: column; /* Stack content vertically */

}
.content-container-why h1 {
  font-size: 2.4em;
}
.content-container-why p {
  font-size: 1em;
}
.content-container-why #btn {
  font-size: 3em;
  padding: 30px 30px;
}
.target {
  font-size: 2em;
  margin: 0px 1em;
  justify-content: center;
  font-family: "font 1", sans-serif;
  text-align: center;
}

}
@media (max-width: 480px) {
  .navbar {
    align-items: center;
  }

  .navbar-top a{
    font-size: 4.8em;
  }

  .content-container h1 {
      font-size: 1.5em;
  }
  .content-container p {
      font-size: 0.9em;
  }
  .content-container #btn {
      font-size: 3em;
      padding: 30px 30px;
  }
  .contentDiv h1 {
    font-size: 1.5em;
}
.popup a {
  font-size: 2em;
  padding: 6px 15px;
  text-align: center;
}
.container-why img {
  width: 100%;
  height: auto;
  margin: 0;
}
.container-why {
  flex-direction: column; /* Stack content vertically */
}
.content-container-why h1 {
  font-size: 2.4em;
}
.content-container-why p {
  font-size: 0.9em;
}
.content-container-why #btn {
  font-size: 3em;
  padding: 30px 30px;
}
/*target*/
.target h1{
  font-size: 2em;
  margin: auto 0;
  font-family: "font 1", sans-serif;
}
}

.parent-container {
  text-align: center;
}

.logo {
  display: inline-block; /* Optional, ensures proper behavior */
}

#neon-colored {
  color: #04fa04;
}

/* Add these styles to your style.css file */

.carousel-container {
  max-width: 1850px;
  margin: 0 auto;
  padding: 20px;
}

.carousel-slide {
  padding: 0 10px;
}

.carousel-slide img {
  width: 600px;
  height: 400px;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 1800px) {
  .carousel-container {
      max-width: 1250px;
  }
  .carousel .slick-slide {
      display: flex;
      justify-content: center;
  }
}

@media (max-width: 1200px) {
  .carousel-container {
      max-width: 620px;
  }
  .carousel-slide img {
      width: 100%;
      max-width: 600px;
      height: auto;
  }
}

/* Slick carousel navigation styles */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

.slick-dots {
  bottom: -30px;
}

.slick-dots li button:before {
  font-size: 12px;
}

.slick-prev, 
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

.slick-dots {
  bottom: -30px;
}

.slick-dots li button:before {
  font-size: 12px;
}


