/* FOR JS */
/* video gallery */
.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 1s ease-in forwards;
  }
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  /* iframe:hover {
    transform: scale(1.05);
  } */
  
  .video-grid .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
  }
  
  .video-grid .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background-color: #f0f0f0; /* Light grey background as placeholder */
}

.video-wrapper::before {
  content: 'Loading...';
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-large;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
  }

  .video-wrapper:hover {
    transform: scale(1.05);
    animation-delay: 0.5s;
  }

.video-category {
    padding: 10px;
    background-color: #f0f0f0;
    text-align: center;
    font-size: 14px;
  }

  .sorting-controls {
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    gap: 10px;
  }

  .Category {
    margin-top: auto;
    margin-bottom: auto;
    font-weight: 700;
    font-size: large;
  }
  
  #category-select {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 5px;
  }
  
 /* .sortButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    font: inherit;
    border-radius: 5px;
  }

 .sortButton:hover {
    background-color: red;
    color: white;
 }

 .sortButton:active {
    background-color: black;
    color:white;
 } */

 .sortButton {
  padding: 10px 20px;
  font: inherit;
  font-weight: 500;
  border: 2px solid black;
  border-radius: 5px;
  /* margin: 0 0 15px 5px; */
  box-shadow: 5px 5px grey ;
  text-decoration: none;
}

.sortButton:hover {
  background-color: rgb(119, 255, 119);
}

.sortButton:active {
  box-shadow: none;
}

/*  */

.portfolio-btn {
    font-size: 0.8em;
    max-width: 100px;
    flex-shrink: 2;
    margin: 0;   
}

.clients {
    display: flex;
    gap: 5px;
    margin-top: 1.5rem;
}

.client-btn {
    border: 2px solid black;
    background-color: white;
    text-decoration: none;
}

.client-btn:visited {
    text-decoration: none;
    color: black;
}

.title {
    margin: 0;
    left: 10px;
}

.clients {
    border: 5px solid white;
    margin-bottom: 10px;
    color: white;
    overflow-x: scroll;
}

.client-title {
    position: sticky;
    left: 0;
    background-color: #1C6E8C;
}

.client-name {
    font-weight: 500;
    color: black;
    border: 2px solid black;
    background-color: aliceblue;
    text-align: center;
    height: 90px;
    margin: auto;
    vertical-align: middle;
    padding: 0 5px;
}

/* .client-name:hover {
    cursor: pointer;
} */