body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #C9CFD1;
}

h1 {
    color: #2c3e50;
    text-align: center;
}

.questions-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loading {
    text-align: center;
    font-style: italic;
}

.question-link {
    display: block;
    padding: 15px;
    margin: 10px 0;
    color: #3498db;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.question-link:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

.answer-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.question-title {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
}

.answer-text {
    color: #34495e;
    font-size: 16px;
    line-height: 1.6;
}
.similar-questions {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.similar-questions h4 {
    margin-top: 0;
    color: #2c3e50;
}

.similar-questions a {
    color: #3498db;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.similar-questions a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* word cloud */

ul.cloud {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 2.75rem;
    width: 100%;
  }
  
  ul.cloud a {
    /*   
    Not supported by any browser at the moment :(
    --size: attr(data-weight number); 
    */
    --size: 4;
    --color: #a33;
    color: var(--color);
    font-size: calc(var(--size) * 0.25rem + 0.5rem);
    display: block;
    padding: 0.125rem 0.25rem;
    position: relative;
    text-decoration: none;
    /* 
    For different tones of a single color
    opacity: calc((15 - (9 - var(--size))) / 15); 
    */
  }
  
  ul.cloud a[data-weight="1"] { --size: 1; }
  ul.cloud a[data-weight="2"] { --size: 2; }
  ul.cloud a[data-weight="3"] { --size: 3; }
  ul.cloud a[data-weight="4"] { --size: 4; }
  ul.cloud a[data-weight="5"] { --size: 6; }
  ul.cloud a[data-weight="6"] { --size: 8; }
  ul.cloud a[data-weight="7"] { --size: 10; }
  ul.cloud a[data-weight="8"] { --size: 13; }
  ul.cloud a[data-weight="9"] { --size: 16; }
  
  ul[data-show-value] a::after {
    content: " (" attr(data-weight) ")";
    font-size: 1rem;
  }
  
  ul.cloud li:nth-child(2n+1) a { --color: #181; }
  ul.cloud li:nth-child(3n+1) a { --color: #33a; }
  ul.cloud li:nth-child(4n+1) a { --color: #c38; }
  
  ul.cloud a:focus {
    outline: 1px dashed;
  }
  
  ul.cloud a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: var(--color);
    transform: translate(-50%, 0);
    opacity: 0.15;
    transition: width 0.25s;
  }
  
  ul.cloud a:focus::before,
  ul.cloud a:hover::before {
    width: 100%;
  }
  
  @media (prefers-reduced-motion) {
    ul.cloud * {
      transition: none !important;
    }
  }