/* style.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 50px;
}

.video-thumbnail {
  width: 320px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
}

.video-thumbnail:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-thumbnail img {
  width: 100%;
  height: auto;
}

.video-thumbnail h3 {
  padding: 10px;
  font-size: 1.1em;
  color: #333;
  text-align: center;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  padding-top: 60px;
}

.modal-content {
  margin: 5% auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#videoFrame {
  width: 100%;
  height: 400px;
  border: none;
}