/* Reset default margin and padding */


body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Play', sans-serif;
}

/* Container for videos */
#videos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  display: flex;
  /* Use flexbox for responsive layout */
  flex-wrap: wrap;
  /* Wrap videos to next line on smaller screens */
  justify-content: center;
  /* Center videos horizontally */
}

/* Individual video iframes */
iframe {
  width: calc(25% - 40px);
  /* Calculate width with margin included */
  height: 155px;
  /* Set fixed height for videos */
  margin: 10px;
  /* Add margin to separate videos */
  border: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* On hover, scale up the video slightly */
iframe:hover {
  transform: scale(1.05);
}

/* Media query for responsiveness */
@media screen and (max-width: 1200px) {
  #videos-container {
    padding: 10px;
    /* Reduce padding on smaller screens */
  }

  iframe {
    width: calc(33.33% - 20px);
    /* Adjust width for medium-sized screens */
  }
}

@media screen and (max-width: 768px) {
  iframe {
    width: calc(50% - 20px);
    /* Adjust width for smaller screens */
  }
}

@media screen and (max-width: 480px) {
  iframe {
    width: calc(85% - 20px);
    /* Adjust width for mobile screens */
  }
}