@font-face {
    font-family: 'Nexa';
    src: url('../fonts/nexa-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa';
    src: url('../fonts/Nexa-Heavy.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Nexa';
    src: url('../fonts/Nexa-ExtraLight.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}
body{
    font-family: "Nexa", sans-serif;
    color: #292929;
}
.button{
    background:none;
    border: none;
    background-color: #227827;
    color: #ffff;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.title{
    font-size: 1.8em;
    text-align: center;
    position: relative;
    margin: 60px 0;
}
.social_media{
    display: flex;
    width: 90%;
    max-width: 600px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.social_media li {
    list-style: none;
    padding: 20px;
}
.social_media li a img{
    width: 30px;
    height: 30px;
}
.ig_container{
    width: 100%;
    display: flex;
    box-sizing: border-box;
    max-height: 500px;
    align-items: flex-start;
    justify-content: center;
    overflow:hidden;
    padding:20px;
}
.instagram{
    width: 100%;
    max-width: 1000px;
    height: 1000px;
    overflow-y: hidden ; /* Hide vertical scrollbar */
    overflow-x: hidden ; /* Hide horizontal scrollbar */
}
.brands_container{
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}
.brands{
    width: 700px;
    height: 60px; /* Ajusta según sea necesario */
    overflow: hidden;
    position: relative; /* Asegura que el posicionamiento relativo de la imagen funcione correctamente */ 
}
.brands_img {
    position: absolute;
    top: 0;
    left: 0;
    animation: panearImagen 15s linear infinite;
}


.gallery {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1px;
    justify-content: center;
    align-items: center;
    padding: 60px 10px;
  }
  
  .image {
    height: 300px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
  
  .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .image img:hover {
    transform: scale(1.1);
  }
  .footer{
    background-color: #292929;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    font-family: sans-serif;
 }
 .sonargroup{
    color: #fff;
 }
@keyframes panearImagen {
    from {
      left: 100%;
    }
    to {
      left: -150%;
    }
}
@media only screen and (min-width: 500px) {
    .ig_container{
        max-height: 700px;
    }
}
@media only screen and (min-width: 700px) {
    .ig_container{
        max-height: 800px;
    }
}
@media only screen and (min-width: 900px) {
    .ig_container{
        max-height: 950px;
    }
}