.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção do vídeo (16:9) */
    margin-bottom: 20px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
}
    .video-container h2 {
  position: absolute;
  top: 0;
  margin-bottom: auto;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-4 {
    padding-left: 15px;
    padding-right: 15px;
}

figure {
  margin: 0;
  padding: 15px;
  background-color: whitesmoke;
  border: 1px solid lightgrey;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  width: 250px; /* Definimos uma largura fixa menor para a imagem */
}

figcaption {
  margin-top: 10px;
  text-align: center;
}

.figure-container img {
  width: 100%;
  height: auto;
  border: 5px solid #2378aa;
  border-radius: 8px;
}

@media (max-width: 767.98px) {
  figure {
    float: none;
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
    width: 100%; /* A largura da imagem ocupará 100% da largura disponível em dispositivos móveis */
  }
}
