html {
    min-height: 100%;
    margin: 0;
    background-image: url('img/background-image2.png');
    background-size: cover;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}
.search-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}
.initial {
    top: 50%;
    transform: translate(-50%, -50%);
}
.after-search {
    top: 20px;
    transform: translateX(-50%);
}
.output-card {
    display: none;
    width: 80%;
    max-height: 70vh;
    overflow-y: auto;
    margin: 240px auto 0;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    scrollbar-color: blue gray;
}
/* For Webkit browsers */
.output-card::-webkit-scrollbar {
    width: 8px;
}
.output-card::-webkit-scrollbar-track {
    background: lightgray;
}
.output-card::-webkit-scrollbar-thumb {
    background-color: gray;
    border-radius: 10px;
    border: 2px solid gray;
}

.settings-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 19;
}

#settings-page {
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 10;
}

#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;    /* Full viewport width */
    height: 100vh;   /* Full viewport height */
    justify-content: center;
    align-items: center;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Update when loading indicator is active */
#loading-indicator:not(.hidden) {
    display: flex;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ripple div {
    position: absolute;
    border: 4px solid #000;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }
  .lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
  }
  @keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    4.9% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    5% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }
  