body {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

h1 {
  text-align: center;
  margin: 20px 0;
  color: #066dff;
  font-size: 21px;
}


.youtube-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 182px;
  background: #000;
  cursor: pointer;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.youtube-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: none;
}

.youtube-container .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: url('https://www.tutoriales.webninjalab.com/img/boton-play-2.svg') center center / contain no-repeat;
}



.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.card-body {
  padding: 6px;
}

h2 {
  font-size: 0.9em !important;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: left;
}

.video-duration {
  font-size: 0.7em;
  color: #000;
  font-weight: bold;
  padding: 5px;
  background: #f1f1f1;
  border-radius: 6px;
}

.gallery {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  text-align: center;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: white;
  border: 1px solid #dadada;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  transition: transform 0.2s ease-in-out;
}

.card img {
  width: 100%;
  height: 147px;
  object-fit: cover;
  border-radius: 4px;
  object-position: top;
}

.card h2 {
  font-size: 1.2em;
  color: #111111;
  margin: 10px 0;
}

.card a {
  text-decoration: none;
  color: white;
  background-color: #066dff;
  padding: 10px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease-in-out;
  width: 90%;
}


.card a i {
  font-size: 1.2em;
}

.card a:hover {
  background-color: #6c3ecf;
}

.card:hover {
  transform: scale(1.05);
}

#load-more {
  margin: 20px auto;
  padding: 10px 20px;
  border: none;
  background-color: #066dff;
  color: white;
  font-size: 1em;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease-in-out;
}

#load-more i {
  font-size: 1.2em;
}

#load-more:hover {
  background-color: #6c3ecf;
}


.img-logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

      /* CSS */
.footer {
  text-align: center;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: none;
  margin-top: 20px;
}

.footer p {
  margin: 0;
}