body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-size: 18px; /* increase the base font size for better mobile readability */
}
.title img {
    max-width: 60%;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.loading-symbol {
    display: none;
    margin-left: 10px;
    font-size: 16px;
    animation: rotate 1s linear infinite;
}

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

.title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.search-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.search-field input[type="text"] {
    flex: 1;
    padding: 10px;
    font-size: 18px; /* increased size */
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
}

.search-field button {
    padding: 10px 20px;
    font-size: 18px; /* increased size */
    border: none;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
}

@media (min-width: 600px) {
    .search-field {
        flex-direction: row;
        align-items: center;
    }

    .search-field input[type="text"] {
        margin-bottom: 0;
        margin-right: 10px;
    }
}

.result {
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    max-width: 800px; /* set max-width */
    margin-left: auto;
    margin-right: auto;
}

.result h2 {
    margin: 0;
    font-size: 24px;
}

.result h2 a {
    text-decoration: none;
    color: #333;
}

.result .content {
    max-height: none;
    overflow: auto;
    text-align: center;
}

.result.expanded .content {
    max-height: none;
}

.result .content p {
    margin: 10px 0;
    line-height: 1.6;
    text-align: left;
}

.result .answer {
    color: #ff0000;
    font-weight: bold;
}

.expand-btn {
    display: none;
}

.result.overflow .expand-btn {
    display: block;
}

.expanded {
    display: none;
}

.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}

.footer a {
    color: #777;
    text-decoration: none;
}
