/* Contenedor padre */
.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  max-width: 100%;
}

.container {
  display: flex;
  width: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0 auto !important;
  gap: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.container iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 66.66%;
  height: 100%;
}

.elementos-container {
  display: flex;
  flex-direction: column;
  width: 33.33%;
}

.elementos-container button {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.elementos-container button:hover {
  background-color: #005177;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .container iframe {
    height: 300px;
  }

  .slideshow-container {
    height: auto !important;
  }
}

/* Estilos para los sliders (Uso de una plantilla) */
/* https://www.w3schools.com/howto/howto_js_slideshow.asp */

/* Contenedor padre */
.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  padding-top: 0px !important;
  max-width: none !important;
}

* {
  box-sizing: border-box;
}

.container .slideshow-container {
  height: auto !important;
}

.slideshow-container {
  max-width: 1000px;
  width: 100%;
  height: 500px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.mySlides {
  display: none;
}

.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;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.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;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Estilos form Galeria*/

.wrap form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wrap form input[type="text"],
.wrap form input[type="url"],
.wrap form textarea,
.wrap form input[type="submit"],
.wrap form .button {
  width: 400px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
