*{
margin: 0;
box-sizing: border-box;
font-family: 'Red Hat Display', sans-serif;
color: #ffeecd;
}

body{
  background-color: #1C201A;
}

.header {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(180deg, #121411 0%, rgba(34,34,34,0) 100%);
  color: #ffeecd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}

.logo {
margin-left: 20px;
}

.logo img {
  width: 80px;
}


.btn {
  padding: 10px 18px;
  background: #E01F43;
  color: #ffeecd;
  text-decoration: none;
  border-radius: 15px;
  transition: background 0.3s ease;
  font-size: 1.2rem;
  font-weight: bolder;
  margin-right: 20px;
}

.btn:hover {
  background: #aa1732;
}

/*footer*/
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1C201A;
  color: #fff;
  padding: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-block {
  flex: 1;
  min-width: 200px;
  padding: 10px;
}

.footer-block h3 {
  margin-bottom: 10px;
}

.footer-block a {
  color: #ffeecd;
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.center-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*HERO UNIT */
.hero {
  position: relative;
  height: 90vh;
  background: url("img/Bretonia/BRN_herou.webp") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  flex: 1;
}

/* Imágenes */
.hero-text {
  max-width: 45%;
}

.hero-logo {
  max-width: 30%;
}

.color-palette {
  display: flex;
  width: 100%;
  height: 60px;
}

.color-palette span {
  flex: 1;
}

/*SECCIÓN GIF*/
.gif-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-image: url(img/Bretonia/BRN_fondopubli.png);
  box-sizing: border-box;
  background-size: cover;
}

.gif-responsive {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Imagen superior */
.hero2 {
  width: 100%;
  display: block;
  object-fit: cover;
}

/*SECCIÓN LATAS*/
.latas-section {
  width: 100%;
background-image: url(img/Bretonia/BRN_fondolatas.png); 
  padding: 40px 20px;
  box-sizing: border-box;
  background-size: cover;
}


.latas-top {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}


.lata-1 {
  width: 100%;
  max-width: 400px; 
  height: auto;
  object-fit: contain;
}

.lata-2 {
  width: 100%;
  max-width: 500px; 
  height: auto;
  object-fit: contain;
}


.latas-bottom {
  display: flex;
  justify-content: center;
}

.lata-3 {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {

  .btn {
    margin-right: 0;
  }

  .hero{
    height: 50vh;
  }
    .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text {
    max-width: 80%;
    margin-bottom: 1.5rem;
  }
  .hero-logo {
    max-width: 30%;
  }

  .latas-top {
    flex-direction: column;
  }

  .lata-1,
  .lata-2,
  .lata-3 {
    max-width: 40%;
  }

}

  @media (max-width: 540px){
    .logo{
        margin-left: 0;
    }

    .logo img{
        width: 50px;
    }

    .btn{
        padding: 5px 10px;
    }

    .hero-logo{
        max-width: 40%;
    }

    .hero-text{
        max-width: 90%;
        margin-bottom: 0;
    }
  }
