/* Global Styles */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
  }
  
  h1, h2 {
    margin: 0;
  }
  
  /* App Container */
  .app-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 20px;
    overflow: hidden;
    margin: 10px;
    margin-top: 10em;
  }
  
  header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  header h1 {
    font-size: 28px;
    color: #2C3E50;
  }
  
  header p {
    font-size: 14px;
    color: #666;
  }
  
  /* Controls Section */
  .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .form-group {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
  }
  
  input, select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .radio-group {
    display: flex;
    justify-content: space-between;
  }
  
  .radio-group label {
    font-size: 14px;
  }
  
  .buttons {
    width: 100%;
    display: flex;
    gap: 10px;
    font-size: 1rem;
  }
  
  button {
    flex: auto;
    padding: 10px 15px;
    border-radius: 25px;
    border: none;
    font-size: auto;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    
  }

  
  #generateButton {
    background: linear-gradient(to right, #FB1D71, #FC8591);
    color: white;
  }
  
  #generateButton:hover {
    background: linear-gradient(to right, #e71a69, #dd727d);
  }
  
  #copyButton {
    background: linear-gradient(to right, #521E60, #A64C83);
    color: white;
  }
  
  #copyButton:hover {
    background: linear-gradient(to right, #451951, #914273);
  }
  
  #downloadButton {
    background: linear-gradient(to right, #FB3C01, #FC900B);
    color: white;
  }
  
  #downloadButton:hover {
    background: linear-gradient(to right, #e53904, #e8840a);
    
  }
  
  /* Output Section */
  .output-section {
    margin-top: 20px;
  }
  
  .output-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .output {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-height: 50px;
  }
  
  .output div {
    background: #F5F5F5;
    color: #222222;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 20px;
    white-space: nowrap;
  }
  


  /* Footer styling */
#footer {
  
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 5px;
  background-color: #f8f9fa;
  color: #333;
  font-size: 16px;
  border-top: 1px solid #ddd;
  margin-top: 10em;
}


#footer a {
  color: #007bff;
  text-decoration: none;
  margin: 0 10px;
}

#footer a:hover {
  text-decoration: underline;
}

  /* Footer */
  #footer {
      font-size: 16px;
  }

  #footer a {
      margin: 5px;
  }



/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  min-height: 100vh;
  margin-top: 10em;
}



.nav{
  background-color:white!important;
  background:white!important;
}
.bg-light{
background:white!important;
}
.navbar-brand{
margin-left: 8px;
color: #000000;
}
.nav-link{
color: #000000;
}

.navbar-brand {
  margin-left: 15%;
}
.navbar-nav {
  margin: 0 auto;
  margin-left: 25%;
}
.navbar-nav .nav-item {
  margin-right: 5px;
}
.flex-row {
  margin-right: 18%;
}
.navbar-toggler {
  margin-right: 5px;
}
.navbar-text {
  margin-right: 15%;
}


.tools-menu-mobile {
  display: none;
}
@media screen and (max-width: 720px) {
  .ytthumb {
    width: 100%;
  }
  .inputdiv{
    width: 90%;
  }
  #navbarButtonsExample {
    margin-left: 50% !important;
  }
  .nav-item {
    height: 1px;
    margin-bottom: 30px;
    margin-right: auto;
    margin-top: 10px;
    background-color: #fff;
  }
  
  .navbar-brand {
    margin-right: 0 auto;
    margin-left: 3%;
    }
    #navbarNav{
        margin-right: 0%;
    }
    .ytdthumb {
        width: 90%;
    }
    .data-div{
        font-size: 3vw;
    }
    
    .tools-menu-desktop {
    display: none;
    }
    .navbar {
        margin-right: 1%;
    }
    .nav-link {
        margin-left: 70%;
    }
    .flex-row {
        margin-left: 66%;
    }
    .tools-menu-mobile {
    display: inline;
        margin-right: auto;
        margin-left: 0;
    }
    
    
    
  .dropdown-menu {
    left: 50%;
    transform: translateX(-40%);
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    width: 100% !important;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dropdown-item {
    white-space: normal;
    word-wrap: break-word;
  }

  .navbar-collapse {
    background-color: #fff; /* optional for better contrast */
    z-index: 9999;
  }
}



