@font-face {
  font-family: 'Noto Sans';
  src: url('/fonts/noto.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
}

/* Main layout and typography */
:root {
  --primary-color: #2563eb;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
  --spacing-unit: 2rem;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}


.header__title {
  font-family: 'Noto Sans', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 35px;
  font-weight: 400;
}

.header__sub-title {
  font-family: 'Noto Sans', sans-serif;
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 200;
}

.real-time-interface {
  padding: 0;
  margin: 30px 0;
}

.real-time-interface__button {
  display: flex;
  padding: 0.5em;
  border-radius: 0.5rem;
  justify-content: center;
  cursor: pointer;
  background: #111;
  color: white;
  font-size: 2rem;
}

.real-time-interface__title {
  margin-bottom: 0.5em;
  font-size: 18px;
  font-weight: 525;
}

.real-time-interface__message {
  text-align: left;
  width: 95%;
  margin-top: 0.5em;
  font-size: 19px;
  font-weight: 400;
  border: 1px solid #ccc;
  padding: 1em;
  transition: 0.5s ease-in;
}


#stream-message-container {
  height: 100%;
  background-color: #111;
  padding: 0;
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300;
}

#stream-message {
  background: #111;
  color: #fff;
  font-size: 1.5rem;
  padding: 1em;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
  height: 100vh;
  box-sizing: border-box;
  opacity: 0.9;
  overflow-y: auto;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-weight: 300;
}

#message {
  margin-top: 30px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.passphrase-form {
  margin: 20px 0;
}

.passphrase-form input {
  padding: 8px;
  width: 300px;
  margin-right: 10px;
}

.passphrase-form button {
  padding: 8px 16px;
  cursor: pointer;
}



#container {
  padding-top: 40px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Noto Sans', sans-serif;
}

.audio-input-selector {
  margin: 20px 0;
}

.audio-device-select {
  margin-top: 10px;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}


.language-selector {
  padding: 2rem;
  text-align: center;
}

.language-selector h1 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.language-selector ul {
  list-style: none;
  padding: 0;
  display: inline-block;
}

.language-selector li {
  margin: 0.8rem 0;
}

.language-selector a {
  display: inline-block;
  padding: 0.8rem 2rem;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-width: 200px;
  border: 1px solid #ccc;
}

.language-selector a:hover {
  background-color: #f0f0f0;
}

.real-time-interface__button.secondary {
  background: none;  /* More muted color */
  color: #999;
  font-size: 1.2rem;
  margin-top: 1rem;
}


/* Header styles */
.main-header {
  padding: calc(var(--spacing-unit) * 2) 0;
  text-align: center;
}

.main-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-unit);
  background: linear-gradient(90deg, var(--primary-color), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Blockquote styles */
blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: #4b5563;
  max-width: 800px;
  margin: var(--spacing-unit) auto;
  padding: var(--spacing-unit);
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -1rem;
  top: -1rem;
  color: var(--primary-color);
  opacity: 0.2;
}

/* Main content styles */
.intro {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-unit) 0;
}

.intro p {
  margin-bottom: var(--spacing-unit);
  font-size: 1.125rem;
  color: #4b5563;
}

/* Footer styles */
footer {
  text-align: center;
  padding: var(--spacing-unit) 0;
  margin-top: var(--spacing-unit);
  border-top: 1px solid #e5e7eb;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Existing language selector styles - keeping but moving to bottom */
.language-selector {
  margin-top: calc(var(--spacing-unit) * 2);
  padding: var(--spacing-unit);
  background-color: var(--light-bg);
  border-radius: 8px;
}

.language-selector h1 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-unit);
}

.language-selector ul {
  list-style: none;
  padding: 0;
}

.language-selector li {
  margin-bottom: 1rem;
}

.language-selector a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.language-selector a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

#link-summaries {
  margin-top: 2rem;
  font-size: 1rem;
  text-align: center;
  color: #4b5563;
}



/* Responsive design */
@media (max-width: 768px) {
  :root {
    --spacing-unit: 1.5rem;
  }

  .main-header h1 {
    font-size: 2rem;
  }

  blockquote {
    font-size: 1.25rem;
  }

  .intro p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-unit: 1rem;
  }

  .main-header h1 {
    font-size: 1.75rem;
  }
}


