/*Alexrivera.vegas—neilmclean.com—portfolio code*/
/*Video Player Class*/
/*Copyright 2024 Estebagel*/

/* General styles for the video container */
.video-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;

  }
  
  /* Horizontal layout for desktop */
  @media screen and (min-width: 768px) {
  .video-gallery {
  
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow-x: auto;

  }
  
  .video-container {
  flex: 0 0 auto;
  width: 1030px;
  height: 100%;
  padding: 10px;

  }
  
  .video-wrapper {
  height: 100%;
  }
  
  .elementor-shortcode {
  height: 100%;
  }
  }
  
  /* Vertical layout for mobile */
  @media screen and (max-width: 767px) {
  .video-gallery {
  flex-direction: column;
  align-items: center;
  }
  
  .video-container {
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  }

  .video-title {
    padding-left: 10px;
    }
    
    .video-description {
      padding-left: 15px;

    }
  }
  
  /* Responsive Video Player */
  .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 100%;
  background: #000;
  cursor: pointer;
  z-index: 1;
  transition: 0.2s all;
  }
  
  .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  }
  
  /* Video title and description */
  .video-title {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  }
  
  .video-description {
  font-size: 1.1em;
  line-height: 1.6;
  }
  
  /* Basic Responsiveness */
  @media (max-width: 768px) {

  .video-title {
  font-size: 1.8em;
  }
  
  .video-description {
  font-size: 1em;
  }
  }