* {
  font-family: Arial, sans-serif !important;
}

html,
body,
.button-one {
  font-weight: 400;
  margin: 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  font-size: 24px;
  margin: 8px 0;
  padding: 0 10px;
}

h2 {
  margin-bottom: 0px;
  text-transform: uppercase;
  font-size: 18px;
}

#dropdownMenu {
  min-width: 250px;
  position: absolute;
  display: none;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  right: 5vw;
}

.title-iscriviti,
.title-convenienza,
.title-strumenti {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 18px !important;
}

p {
  margin-top: 5px !important;
  margin-bottom: 0px;
  color: #6a6a6a;
  font-size: 16px;
  line-height: 2;
}

[style*="word-wrap: break-word;"] {
  line-height: 35px;
}

span {
  color: #6a6a6a;
}

ul {
  padding-left: 20px;
  line-height: 30px;
}

.footerNew-column-custom a {
  color: #757575 !important;
  text-decoration: none;
  transition: color 0.1s ease-in-out;
}

.footerNew-column-custom a:hover {
  color: black !important;
}

#searchButton:active {
  background-color: #c1130c;
  transform: scale(0.95);
}

.dropdown-menu {
  display: none;
  position: absolute;
  z-index: 10000;
  top: 100%;
  left: 0;
}

.dropdown-menu.show {
  display: block;
}

.img-fluid.rounded-start {
  width: 26px !important;
  height: 26px !important;
  white-space: nowrap;
}

a[href="#"] img[src="https://k-kasas.com/img/logo/k-kasas_black.svg"]
{
  height: 30px;
  transition: all 0.3s ease;
}

@media (max-width: 500px) {
  a[href="#"] img[src="https://k-kasas.com/img/logo/k-kasas_black.svg"]
  {
    content: url("https://k-kasas.com/img/logo/k-kasas_b.svg");
    height: 25px;
  }
}

/* ========================================
EFFETTO ZOOM IMMAGINI
======================================== */
#immagine1,
#immagine2,
#immagine3,
#immagine4 {
  position: relative;
  overflow: hidden;
  border: none;
}

#immagine1 img,
#immagine2 img,
#immagine3 img,
#immagine4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  aspect-ratio: 16/9;
}

#immagine1::before,
#immagine2::before,
#immagine3::before,
#immagine4::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}

#immagine1:hover img,
#immagine2:hover img,
#immagine3:hover img,
#immagine4:hover img {
  transform: scale(1.1);
}

/* ========================================
EFFETTO ZOOM IMMAGINI
======================================== */

/* ========================================
SCACCHIERA SOTTO I 1200PX
======================================== */
.container {
  display: flex;
  flex-direction: column;
  margin: 5rem auto 0;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.grid {
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 100%;
}
.grid a {
  margin: 15px 0px;
  letter-spacing: 0.035rem;
  border-radius: 50px !important;
  min-width: 180px;
  background-color: #6a6a6a;
  color: white;
  border: none;
  cursor: pointer;
  padding: 16px !important;
  font-size: 14px;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  margin-left: auto;
  height: fit-content !important;
  text-align: center;
}

.card-title.fw-bold {
  line-height: 1;
}

.image-container,
.text-container {
  flex: 1;
  max-width: 48%;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.text-container {
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
}

.grid:nth-child(odd) .image-container {
  order: 2;
}

.grid:nth-child(odd) .text-container {
  order: 1;
}

.grid:nth-child(even) .text-container {
  order: 2;
}

.grid:nth-child(even) .image-container {
  order: 1;
}

@media (max-width: 1200px) {
  .grid {
    flex-direction: column;
  }

  #immagine1,
  #testo1,
  #immagine2,
  #testo2,
  #immagine3,
  #testo3,
  #immagine4,
  #testo4 {
    max-width: 100% !important;
  }

  #testo1,
  #testo2,
  #testo3,
  #testo4 {
    order: 1;
  }

  #immagine1,
  #immagine2,
  #immagine3,
  #immagine4 {
    order: 2;
  }
}

/* ========================================
EFFETTO INGRANDIMENTO ICONE
======================================== */
#unique-buyPackageBtn,
#unique-viewServicesBtn {
  transition: transform 0.01s ease-in, box-shadow 0.01s ease-in;
  border-radius: 50px;
  height: 40px;
  width: 40px;
  transform: scale(1.026);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#unique-buyPackageBtn:hover,
#unique-viewServicesBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
footerNew
======================================== */

#custom-footerNew {
  box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.36), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  margin-top: 100px;
}

#custom-footerNew {
  background-color: #f9f9f9;
  padding: 20px 0;
}

.footerNew-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footerNew-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footerNew-col {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  min-width: 200px;
  padding: 26px 0px 26px 0px;
  box-sizing: border-box;
  text-align: left;
}

#footer-row-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  line-height: 26px;
  width: 80%;
}

.footerNew-column-custom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerNew-column-custom ul li {
  margin-bottom: 5px;
}

#footerNew-row-kasas {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* .footerNew-column-custom a {
    color: #333;
} */

.footerNew-column-custom a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footerNew-col {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    text-align: center;
    border-right: none;
  }

  .footerNew-column-custom h2 {
    text-align: center;
  }

  .footerNew-row > .footerNew-col:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .footerNew-col {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
    border-right: none;
  }

  .footerNew-column-custom h2 {
    text-align: center;
  }
}
