#logo img {
  height: 100px;
  width: auto;
}

#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

#popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33.33%;
  background-color: #fff;
  padding: 20px;
}

#close-button {
  position: absolute;
  top: -20px;
  right: -20px;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.img-popup {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  #popup-content {
    padding: 10px;
    width: 80%;
  }

  #popup-content img {
    max-width: 100%;
    height: auto;
    margin: 0;
    border: none;
  }
}

@media screen and (min-width: 1440px) {
  .last-4 {
    transform: translate(-150px, -10px) !important;
  }
  .last-3 {
    transform: translateX(100px);
  }
  .last-1 {
    transform: translateX(100px);
  }
  .mid-photo-1 {
    transform: translate(-150px, 20px) !important;
  }
  .product-photo,
  .product-photo-2 {
    transform: scale(1.2) !important;
  }
  .map-cavas{
    padding-left: 600px !important;
    padding-right: 600px !important;
  }
}
.product-photo,
.product-photo-2 {
  border-radius: 10px;
}

.last-container {
  padding-bottom: 50px !important;
}

.last-card {
  transform: translateY(-25px) !important;
}

.last-astucci-card {
  transform: translateY(-25px) !important;
}

@media screen and (max-width: 991px) {
  body{
    overflow-x: hidden !important;
  }
  .last-1{
   width: 560px !important;
  }
  .black-logo, .white-logo{
    transform: scale(1) !important;
  }
}

@media screen and (min-width: 992px) {
  .title-absolute_1{
    margin-left: 30px;
  }
}

.info-section{
  margin-top: 50px;
}

.container-trasformazioni{
    margin-top: 100px !important;
}

.min-img{
  min-height: 250px !important;
}

.button-border input{
  transform: translateY(-14px);
}

.foto-astucci{
  width: 545px !important;
  height: 365px !important;
  object-fit: cover !important;
}


@media screen and (min-width: 1080px) {
.para-1, .para-2, .para-3{
    transform: translateY(-70px);
  }
 .last-para-fsc{
  transform: translateY(-21px);
 }
 .mid-para-fsc, .first-para-fsc{
  margin-top: 50px;
 }
 .fsc{
  text-align: center;
  }
}


@media screen and (min-width: 992px) and (max-width: 1079px) {
  .fsc{
    text-align: center;
  }
}


@media screen and (max-width: 991px) {
  .fsc{
    margin-top: 20px;
  }
}


.hero-img-cata{
  background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./images/2h-media-NmSPbe0bDtc-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-img-bro{
  background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./images/mockup-free-Ue7ttHJXf2o-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-img-big{
  background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./images/nick-adams-yTWq8n3-4k0-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-img-folder{
  background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./images/elena-pechenkina-QI5yTHJ10xc-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-img-bugia{
  background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('./images/mockup-free-9D28hFzycrU-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .clients-table {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .clients-table li {
      width: 100%;
      text-align: center;
  }

  .clients-table li a {
      display: block;
      width: 100%;
  }

  .clients-table img {
      max-width: 80%; /* Per evitare immagini troppo grandi */
      height: auto;
  }
}
