* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;con
    align-items: center;
}

.container {
    background: white;    
    width: 95vw;
    max-width: 500px;
    max-height: 80vh;
    padding: 20px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column; /* Makes children stack vertically */
    justify-content: flex-start;
    align-items: center;
    overflow: hidden; /* Prevents content from overflowing */
}

.input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

h1 {
    font-size: 1.8em;
    padding-bottom: 20px;
}

#explanation {
	padding-bottom: 20px;
	max-width: 340px;
	margin: 0 auto;
}

#input-field {
    width: 65%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

#search-button {
    padding: 11.5px 20px;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.spinner {
  border: 33px solid #8edcaa;
  border-top: 33px solid #1DB954;
  border-bottom: 33px solid #1DB954;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
  display: none;
  margin-top: 50px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.inner-ring {
  position: absolute; /* Positioned relative to the outer ring */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 10px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background-color: #fff; /* Optional: Set a background for the inner ring */
}

#output {
    flex-grow: 1;
    text-align: center;
    max-height: 55%;
    overflow-y: auto;
    width: 100%;
    margin-top: 20px;
}

.quote-container {
    padding: 10px;
    border-left: 5px solid #1DB954;
    margin: 0px auto;
    max-width: 100%;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.quote-text {
    font-size: 1.4em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.quote-author {
    font-size: 1em;
    color: #666;
    text-align: right;
    font-weight: bold;
}