* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body, html {
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
    background-color: black;
  }
  
  header {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .input-group-append:hover{
    cursor: pointer;
  }
 
  

  
  main {
    color: #e0e0e0;
    padding: 2rem;
    min-height: 100vh;
  }
  
  .text-center h1 {
    font-size: 5vw; /* Responsive font size */
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  
  .input-group {
    max-width: 100%;
    margin: 1rem auto;
  }
  
  .input-group .form-control {
    font-size: 16px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    background-color: #2b2b2b;
    color: #e0e0e0;
  }
  
  .input-group .input-group-append .input-group-text {
    background-color: #333333;
    border: none;
    border-radius: 0 4px 4px 0;
  }
  
  .output {
    width: 100%;
    max-width: 800px; /* Limit the max-width */
    height: auto;
    background-color: #000000;
    border-radius: 20px;
    border: 0.5px solid rgb(76, 73, 73);
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .output .Selectall {
    display: flex;
    justify-content: end;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
  }
  
  #copyallbutton {
    color: #ffffff;
    padding: 10px;
  }
  
  .output .image {
    width: 100%;
    color: white;
    display: flex;
    max-height: 350px;
    overflow-y: auto;
    align-items: center;
    flex-direction: column;
}
#thumnail_link::placeholder {
  color: white;
  opacity: 0.5;
}
#youtube_url::placeholder {
  color: white;
  opacity: 0.5;
}
  
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
  }
  
  .spinner-border {
    width: 3rem;
    height: 3rem;
  }
  
  .tag-container {
    width: 100%;
    display: grid;
    gap: 10px;
    padding: 10px;
  }
  
  .tag {
    background-color: #141212;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    margin: 5px 0px 2px 0px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  
  .tag button {
    background: #007bff;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
  }
  
  .tag button:hover {
    background: #0056b3;
  }
  
  /* Media Queries for additional responsiveness */
  @media (max-width: 768px) {
    .text-center h1 {
        font-size: 7vw; /* Smaller font for smaller screens */
    }
  
    .input-group {
        width: 90%;
    }
  
    .output {
        padding: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
  
    #copyallbutton {
        font-size: 0.8rem;
        padding: 8px;
    }
  }