* {box-sizing:border-box}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #f2f2f2;
  text-align: center;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header a {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

header a:hover {
  background-color: #555;
  cursor: pointer;
}

header img {
  margin-right: 10px;
  width: 100%;
  max-width: 200px;
}

.titulo {
  margin-top: 20px;
}

h1 {
  color: #333;
  font-size: 36px;
  margin-bottom: 10px;
}

section {
  text-align: center;
  padding: 50px;
}

h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 20px;
}

.promocion img,
.concurso img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 10px;
}

.promocion p,
.concurso p {
  font-size: 16px;
  text-align: center;
}

.promociones::before,
.concursos::before {
  content: attr(data-title);
  display: block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 24px;
  margin-bottom: 20px;
  width: 100%;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  background-color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
  }

  header img {
    margin-bottom: 20px;
    max-width: 100%;
  }

  .titulo {
    margin-top: 0;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 30px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 20px;
  }

  .promocion img,
  .concurso img {
    max-width: 100%;
  }

  .promocion p,
  .concurso p {
    font-size: 14px;
  }
}



