@import url('https://fonts.googleapis.com/css2?family=Lustria&display=swap');

body {
    background-color: #f9f7f0;
}

.page-title {
    font-family: 'Lustria', serif;
    text-align: center; /* Center the title */
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Adjust the gap as needed */
}

body, h1, h2, h3, p, .btn-large, .btn-next, .btn-choice {
    font-family: 'Lustria', Circular, Helvetica, Arial, sans-serif;
}
.container, .navbar, .header-image, .img-container {
    max-width: 375px; /* Capping the width to maintain a mobile layout on desktop */
    margin: auto; /* Centering the container on larger screens */
}
.header-image {
    background-image: url('/static/images/happy-couple-375.jpg'); /* Replace 'your-image-url.jpg' with your actual image path */
    height: 250px;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.lesson-text {
    font-size: 20px; /* Increase the font size */
    padding-top: 16px;
}

.card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 20px; /* Adjust this value if needed */
    border-radius: 0;
    padding-top: 0px;
    padding-bottom: 16px;
}

.card-body {
    font-size: 20px; /* Increase the font size */
    padding-top: 0px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
}
.overlap-background {
    margin-top: -70px; /* Adjust this value if needed */
}
.btn-large, .btn-next, .btn-choice {
    width: calc(100% - 30px); /* 15px padding on each side */
    padding: 10px 24px;
    font-size: 18px;
    margin: auto; /* Centers the button */
    display: block; /* Makes the button a block element */
    animation: glow 1s ease-in-out infinite alternate;
    background-color: #145da0;
    color: #f9f7f0;
    border-radius: 0;
}
.navbar {
    justify-content: start; /* Aligns the menu to the left */
    width: 100%; /* Ensures the navbar stretches across the capped width */
    padding-left: 15px; /* Adds padding to align the toggle and brand properly */
    padding-bottom: 16px;
}
.navbar-title-image {
    height: 30px;
    margin: auto;
}
@keyframes glow {
    from {
        box-shadow: 0 0 5px #aaa;
    }
    to {
        box-shadow: 0 0 20px #aaa;
    }
}


.topic-image {
    width: 100%;
    height: auto; /* Adjusts height automatically based on the image aspect ratio */
}
.audio-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.glowing {
    animation: glow 1s ease-in-out infinite alternate;
}
@keyframes glow {
    from {
        box-shadow: 0 0 5px #aaa;
    }
    to {
        box-shadow: 0 0 20px #aaa;
    }
}


.choice-container {
    display: block;
}
.hidden {
    display: none;
}

.text-message-bg {
    background-color: #d1e2f4;
    display: block;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.feedback {
    display: block;
    height: 24px; /* Allocate space for the icon */
    line-height: 24px; /* Center the icon vertically */
    text-align: center;
    visibility: hidden; /* Hide the icon initially */
}

.feedback.visible {
    visibility: visible; /* Show the icon when needed */
}
