@import url("https://fonts.googleapis.com/css2?family=Lancelot&family=Lato:wght@400;700&display=swap");

.lancelot-regular {
    font-family: "Lancelot", serif;
    font-weight: 400;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.navBar {
    width: 100%;
    z-index: 1000;
}

#nav-dialog {
    transform: translateX(100%) translateY(5%);
}


#search-box {
    /* Existing styles */
    position: absolute;
    right: 0;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(55, 65, 81, 0.1);
    width: 100%;
    max-width: 28rem;
    z-index: 50;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex; /* Crucial:  Ensure this is flex */
    align-items: center; /* Vertically center items */
    space-x: 0.75rem;
    margin-right: 8rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: none;
}

#search-box.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

#search-box:not(.hidden) {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

#search-box input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.375rem; 
    padding-top: 0.5rem; 
    padding-bottom: 0.5rem; 
    padding-left: 0; 
    background-color: transparent;
    color: #1e293b; 
    font-size: 0.875rem; 
    line-height: 1.25rem; 
}

