body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding-bottom: 100px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background-color: #f2f2f2;
}

p {
    font-size: 1rem;
}

p, .option-square, .btn-light, small, #results li, #modalSongbirdName, #modalIdTips {
    color:#4f4f4f;
}

a {
    color: #509497;
}


.title-container {
    display: flex;
    align-items: center; /* This will vertically center the items */
    justify-content: center; /* This will horizontally center the items */
    transform: translateX(-2%); /* Offset the container by half its width */
}

h2 {
    font-family: 'Sigmar', sans-serif;
    color: #509497;
    font-size: 30px;
}

.title-container h2 {
    width: 140px;
    margin-right: 5px;
}

h3 {
    font-family: 'Sigmar', sans-serif;
    color: #509497;
    font-size: 22px;
}

h5 {
    font-family: 'Open Sans', sans-serif;
    color: #324a62;
    font-weight: 500 !important;
}

.text-link:hover {
    cursor: pointer;
}

label {
    font-family: 'Sigmar', sans-serif;
    color: #509497;
    font-size: 18px;
}

img {
    padding-right: 10px;
}

select {
    border-radius: 0px !important;
    font-size: 18px !important;
    color: #509497;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px !important;
    margin-bottom: 10px;
    width: 100%;
}

.modal strong {
    color: #509497;
}
.modal h5 {
    color: #726e97;
}

.container {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    padding-bottom: 20vh;
}

/*.loading-indicator {
    display: none;
    margin: 20px 0;
}*/

button {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    display: block;
    font-size: 14px !important;
    font-weight: 500;
    color: #ffffff;
    background-color: #509497;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 0px !important;
    margin: 5px;
    padding: 10px !important;
}

.btn:focus {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.footer-buttons {
    text-align: center;
}

.btn-blue {
    background-color: #2364aa !important;
    border-color: #2364aa !important;
    color: #fff !important;
}

.btn-green {
    background-color: #509497 !important;
    border-color: #509497 !important;
    color: #fff !important;
}

.btn-purple {
    background-color: #726e97 !important;
    border-color: #726e97 !important;
    color: #fff !important;
}

.btn-yellow {
    background-color: #FFDEBB !important;
    border-color: #FFDEBB !important;
    color: #4f4f4f;
}

.btn-clear {
    background-color: #fff !important;
    border-color: #4f4f4f !important;
    color: #4f4f4f !important;
}

.btn-light {
    background-color: #f2f2f2 !important;
    border-color: #f2f2f2 !important;
    color: #4f4f4f !important;
}



.reset-btn {
    width: 200px;
    border-radius: 0 !important;
}

.help-btn {
    padding: 2px !important;
    padding-left: 2px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    position: absolute;
    top: 25px;
    right: 25px;
    border-radius: 50px !important;
    padding: 8px; /* Size of the circle */
    text-align: center; /* Centers the icon horizontally */
    vertical-align: middle; /* Centers the icon vertically */
}

.flash-btn {
    padding: 2px !important;
    padding-left: 2px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 50px !important;
    padding: 8px; /* Size of the circle */
    text-align: center; /* Centers the icon horizontally */
    vertical-align: middle; /* Centers the icon vertically */
}

.fa-circle {
    color: #F2F2F2 !important;
}

.fa-cards-blank {
    color: #716E97 !important;
}

.fa-question {
    color: #716E97 !important;
}

.fa-heart {
    color: #ff6969 !important;
}

.sticky-title img {
    margin: 0 !important;
    padding-right: 0px !important;
    position: absolute;
    top: 33px;
    left: 7px;
    
}

.text-blue {
    color: #2364aa !important;
}

.text-green {
    color: #509497 !important;
}

.text-purple {
    color: #726e97 !important;
}

.text-white {
    color: #ffffff !important;
}




.scrollable-results {
    overflow-y: auto; /* Makes this part scrollable */
    max-height: 250px; /* Adjust as necessary */
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally center content container */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 50vh;
    padding: 10px;
    transition: transform 0.3s ease-in-out; /* Adjust the duration as needed */
    transform: translateY(100%); /* Initially hide the footer */
}

#results {
    min-height: 0px; /* Ensure results area is visible */
    padding: 10px;
    width: 100%; /* Adjust width to content size */
    max-width: 100%; /* Ensure it doesn't exceed the footer width */
    text-align: left; /* Left-align the text/content */
}

#results ul {
    padding-left: 0; /* Remove default padding */
    list-style-type: none;
    padding-bottom: 10px;
    padding-top: 10px;
}

#results li {
    font-size: 15px;
    padding: 3px;
    padding-right: 10px;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
}



/* Custom CSS for vertically centering the modal */
.modal-dialog {
    margin: 0 auto;
    display: flex;
    align-items: center; /* Vertically center the modal */
    min-height: calc(100% - 60px); /* Adjust the value if necessary */
}

/* Ensure the modal is still scrollable if the content is taller than the screen */
@media (max-height: 500px) {
    .modal-dialog {
        min-height: 100%;
    }
}

.modal-body img {
    padding-right: 0px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Add this line */
}

.option-square-container {
    display: flex;
    flex-wrap: wrap;
}

.option-square {
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: 'Open Sans', sans-serif;
    border-radius: 0px !important;
}

.option-square.selected {
    background-color: #726e97;
    color: #fff;
    border: 0px solid #ccc;
}

.faq-btn {
    border: 0px solid #F2F2F2 !important;
}

.search-container {
    display: flex;
    justify-content: center; /* Aligns children (input and button) horizontally in the center */
    align-items: center; /* Vertically aligns children in the center */
    margin: 6px;
}

.search-container input, .search-container button {
    margin: 0 5px; /* Adds space between input and button */
}

.search-container button {
    white-space: nowrap; /* Prevents text wrapping in the button */
    flex-shrink: 0; /* Prevents button from shrinking */
    text-transform: none;
}

input {
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 0px !important;
    flex-grow: 1; /* Allows input to grow and fill available space */
    margin-right: 10px; /* Adds some space between input and button */
}
input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.edit-icon {
    position: relative;
    bottom: 1px; /* Adjust this value as needed */
    margin-left: 0px;
    cursor: pointer;
    font-size: 16px;
    color: #a6a6a6;
}

.spinner {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #509497; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20% auto;
}

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

.hidden {
    display: none;
}

.chevron-icon {
    font-size: 20px; /* Adjust size as needed */
    color: #a6a6a6; /* Chevron icon color */
}

.text-link div {
    display: inline-block;
}
.text-link {
    font-size: 1.15rem;
}

.modal-body {
    font-family: 'Open Sans', sans-serif !important;
}

.text-link .option-square{
    width: 45%;
    padding: 12px;
    background-color: #726e97;
    color: #fff;
}

.sticky-title {
    position: sticky;
    top: 0;
    background-color: white;
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure it stays on top of other elements */
}

/*.larger-tb-padding {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
}*/

.border-on-single-result {
    border: 1px solid #4f4f4f !important;
    padding: 10px !important;
}

svg {
    height: 25px !important;
    margin-bottom: 0px !important;
    box-shadow: none !important;
    border: none !important;
    vertical-align: middle !important;
    transform: scale(0.9);
    flex-shrink: 0;
    margin-left: 8px;
}

.bmc-btn {
    background-color: #FFDD00 !important;
    color: #4f4f4f !important;
    border: none;
    font-size: 17px;
    display: inline-flex !important;
    align-items: center;
    box-sizing: border-box !important;
    width: 200px !important;
    color: #000000;
    height: 42px;
    font-weight: 400;
    padding: 0px 15px;
    line-height: 27px;
    text-decoration: none !important;
    cursor: pointer !important;
}

.bmc-btn:hover {
    background-color: #f3d200 !important;
}

.logo-coffee {
    fill: #ffffff;
}

.flashcard {
    position: relative;
    text-align: center;
    margin-bottom: 0px;
}

.flashcard-image {
    width: 100%;
    cursor: pointer;
}

.flashcard-name {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    width: 80%; /* Adjust the width as needed */
    text-align: center; /* Ensure text is centered */
    box-sizing: border-box; /* Include padding in the width */
}

#flashcardsModalContent {
    height: 387px !important;
}


@media (max-width: 435px) {
    #flashcardsModalContent {
        height: 338px !important;
    }
}

@media (max-width: 425px) {
    #flashcardsModalContent {
        height: 331px !important;
    }
}

@media (max-width: 417px) {
    #flashcardsModalContent {
        height: 326px !important;
    }
}

@media (max-width: 399px) {
    #flashcardsModalContent {
        height: 308px !important;
    }
}

@media (max-width: 385px) {
    #flashcardsModalContent {
        height: 298px !important;
    }
}




.hidden {
    display: none;
}

.flash-close-button {
    font-size: 25px !important; /* Adjust the size as needed */
    color: #000; /* Optional: change color */
    line-height: 1; /* Adjust for vertical alignment if necessary */
}

.btn-sm {
    padding:.25rem .5rem !important;
    font-size:.875rem !important;
    line-height:1.5 !important;
    border-radius:.2rem !important;
}

.center-btn {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
    margin-bottom: 10px !important;
}

.score-buttons-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    padding-top: 11px;
    padding-bottom: 10px;
}   

#birdSearchInput {
    text-align: left;
    padding-left: 20px;
    background-color: white !important;
}
#birdSearchInput {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><path fill="%23c9c9c9" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48s-32.2-12.28-44.48 0L198.23 211.52 98.16 111.45c-12.28-12.28-32.2-12.28-44.48 0s-12.28 32.2 0 44.48L153.75 256l-100.07 100.07c-12.28 12.28-12.28 32.19 0 44.48 12.28 12.28 32.19 12.28 44.48 0L198.23 300.48l100.07 100.07c12.28 12.28 32.19 12.28 44.48 0s12.28-32.2 0-44.48L242.72 256z"/></svg>') no-repeat right 10px center;
    background-size: 16px 16px; /* Adjust the size of the icon here */
    padding-right: 30px; /* Adjust padding to ensure text does not overlap with the icon */
}

