@import url("https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ROOT VARIABLES */
:root {
  --body-font: "Kanit", sans-serif;
  --title-font: "Goldman", sans-serif;
  --colore-verde: #243e63;
  --colore-grigio: #243e63;
  --colore-bianco: #f5bb47;
  --colore-nero: #f5bb47;
  --body-size: 1rem;
  --h1-font-size: ;
  --h2-font-size: ;
  --h3-font-size: ;
  --h4-font-size: ;
  --h5-font-size: ;
  --h6-font-size: ;

  --h1-font-size-responsive: ;
  --h2-font-size-responsive: ;
  --h5-font-size-responsive: ;
  --h6-font-size-responsive: ;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* PAGINA CORTESIA */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--body-font);
  color: white;
  overflow-x: hidden;
  overflow-y: auto;
}

h1 {
  font-family: var(--title-font);
  font-size: 5rem;
}

h4 {
  font-family: var(--title-font);
  font-size: 2.5rem;
}

.paragrafo {
  font-size: 1.5rem;
}

.logo {
  width: 100%;
  height: auto;
}

.hero {
  background: url("../ebike-ledro-img/hero-di-cortesia.webp") no-repeat center
    center/cover;
  height: 100vh;
  position: relative;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 20px;
  max-width: 990px;
}

.navbar {
  background-color: transparent !important;
}

.dropdown-toggle::after {
  margin-left: 8px;
}

@keyframes onda {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.row .custom-btn {
  animation: onda 2s ease-in-out infinite;
  display: inline-block;
}

.row .col-6:nth-child(1) .custom-btn {
  animation-delay: 0s;
}
.row .col-6:nth-child(2) .custom-btn {
  animation-delay: 0.2s;
}
.row .col-6:nth-child(3) .custom-btn {
  animation-delay: 0.4s;
}
.row .col-6:nth-child(4) .custom-btn {
  animation-delay: 0.6s;
}

.custom-btn {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 2rem;
  color: white;
  padding: 10px 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-btn i {
  font-size: 1.2rem;
}
.custom-btn:hover {
  background-color: white;
  color: black;
}

/* Responsive font sizes */
@media (max-width: 992px) {
  h1 {
    font-size: 3.5rem;
  }

  h4 {
    font-size: 2rem;
  }

  .paragrafo {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  .paragrafo {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .logo {
    width: 200px;
    height: auto;
  }

  h1 {
    font-size: 3rem;
  }

  h4 {
    font-size: 2rem;
  }

  .paragrafo {
    font-size: 1rem;
  }

  .custom-btn {
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 2.5rem;
  }

  h4 {
    font-size: 1.3rem;
  }

  .paragrafo {
    font-size: 0.95rem;
  }

  .custom-btn {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}
