
/* Add a background color to the page */
body {
    background-color: #202020;
    scroll-behavior: auto;
}

  #recaptitle {
    width: 100%;
    transform: scale(40%);
    position: relative;
    top: 0;
    left: 0;
  }

  #recaptitle-small {
    width: 100%;
    transform: scale(20%);
    position: relative;
    top: 0;
    left: 0;
    margin-top: -5%;
  }

  .ragey {
    display: block;
    margin: 0 auto;
    padding-top: 100px;
    }

  #clips-container {
    display: flex;
    flex-wrap: wrap;
  }

  #clips-container > div {
      flex-basis: 25%;
  }
  #clips-container > div {
    position: relative;
    text-align: center;
  }


  #clips-container > div img {
    width: 100%;
    position: inherit;
    max-width: 350px;
    height: auto;
    margin-top: 70px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid rgb(255, 255, 255);
    border-radius: 10px;
    filter: saturate(100%) brightness(100%);
    animation: fadeIn ease 2s;
  }
  
  @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }

  #clips-container > div img:hover {
    transform: scale(1.03);
    border: 3px solid rgb(96, 0, 240);
    filter: saturate(150%) brightness(120%);
    box-shadow: 0 0 50px 1px rgba(96, 0, 240, 0.322),
                4px 4px 4px rgba(0, 0, 0, 0.3);
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px) grayscale(100%);
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
  } 
  html {
    scroll-behavior: smooth;
  }
  #clips-container > div h3 {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #ffffff;
      font-family: 'Fira Code', monospace;
      text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.387);
      font-size: 1em;
      font-weight: bold;

      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 75%;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
  }

  h1 {
    text-align: center;
    font-size: 32px;
    font-family: 'Fira Code', monospace;
    color: #ffffff;
    margin-top: 100px;
  }
  
  .close-button {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 10px;

  }

  .close-button:hover {
    color: red;
  }

  .round-img {
    border-radius: 50%;
    width: 110px;
    height: 110px;
  }

  #profile-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2%;
    padding-bottom: 7%;
    margin-bottom: -5%;
  }

  #username-heading {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 10%;
  }


  /* Style the search bar */
  #search-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 10px;
  }
  
  #youtube {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
  }

  form {
    display: flex;
    align-items: center;
    background-color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    width: 60%;
  }
  
  input[type="text"] {
    flex: 1;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    border: none;
    color: #FFFFFF;
    background-color: transparent;
    outline: none;
    padding: 8px;
  }
  
  button[type="submit"] {
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    background-color: #9246ff;
    color: #202020;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    /* background: linear-gradient(to right, #844ab4, #fd1d1d, #fcb045);
    background-size: 400% 400%;
    animation: anim 3s infinite ease-in-out; */
  }

  @keyframes anim {
    0%{
      background-position: 0 50%;
    }
    50%{
      background-position: 100% 50%;
    }
    100%{
      background-position: 0 50%;
    }
    
  }
  button[type="submit"]:hover{
    transform: scale(1.1);
    box-shadow: 0 0 25px 5px rgba(96, 0, 240, 0.322),
                4px 4px 4px rgba(0, 0, 0, 0.3);
  }
  .name-list {
    position: absolute;
    top: calc(50% + 10px);
    overflow-y: scroll;
    max-height: 75px;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #474747;
    border: 0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }
  
  .name-list li {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    color: #FFFFFF;
    padding: 8px 16px;
    cursor: pointer;
  }
  
  .name-list li:hover {
    background-color: #9246ff;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  }
  
  .name-list::-webkit-scrollbar {
    width: 10px; /* Set the width of the scrollbar */
    background-color: #636363; /* Set the background color of the scrollbar */
    border-radius: 0 0 8px 8px;
  }
  
  .name-list::-webkit-scrollbar-thumb {
    background-color: #9246ff; /* Set the color of the scrollbar thumb */
    border-radius: 10px; /* Round the corners of the scrollbar thumb */
  }
  
  @media (max-width: 600px) {
    #clips-container > div img {
      max-width: 250px;
    }
  }
  a{
    color: #9246ff;
  }

  .love{
    content: "";
    background-image: url('x.png');
    background-size: contain;
    width:20px;
    height:20px;
    position: fixed;
    bottom: 0;
    right: 50%;
    text-align: center;
    padding: 10px;
    filter: brightness(50%) opacity(70%);
  }

  .love:hover{
    transform: scale(1.1);
    cursor: pointer;
    content: "";
    background-image: url('x.png');
    background-size: contain;
    width:20px;
    height:20px;
    position: fixed;
    bottom: 0;
    right: 50%;
    text-align: center;
    padding: 10px;
    filter: brightness(100%) opacity(100%);
  }


/* */
  
  .menuItem {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    margin: 4rem 8rem;
    font-size: 1.8rem;
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.387);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
  }
  
  .menuItem:hover {
    color: #9246ff;
    transform: scale(1.05);
  }
  
  .hamburger {
    position: fixed;
    z-index: 100;
    transform: scale(1.5);
    top: 1rem;
    left: 1rem;
    padding: 3px;
    border: none;
    background:#9246ff;
    cursor: pointer;
  }

  .hamburger:hover{
    transform: scale(1.6);
  }
  
  .closeIcon {
    display: none;
  }
  
  .menuIcon{
    color: #FFFFFF;
  }
  .closeIcon{
    color: #FFFFFF;
  }
  .menu {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: fixed;
    transform: translateY(-100%);
    transition: transform 0.2s;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    color: white;
    border: #9246ff;
    backdrop-filter: blur(25px);
    background: rgba(0,0,0,0.8);
    list-style: none;
    padding-top: 10rem;
  }
  
  ::placeholder{
    font-family: 'Lato', sans-serif;
  }
  .showMenu {
    transform: translateY(0);
  }


  .button-container {
    display: flex;
    justify-content: center;
    margin:0px;
    padding:0px;
  }
  
  button {
    font-size: 36px;
    font-weight: bold;
    margin: 10px;
    background-color: #9246ff;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
  }

  /* Add hover effect */
  button:hover {
    cursor: pointer;
    opacity: 0.8;
  }
    