@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Custom breakpoint for extra small screens */
@media (min-width: 475px) {
    .xs\:inline {
        display: inline !important;
    }
    .xs\:hidden {
        display: none !important;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f5f0;
    color: #333;
}

.title-font {
    font-family: 'Playfair Display', serif;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-filter {
    transition: all 0.3s ease;
}

.search-filter:hover {
    background-color: #f0e6d6;
}

.modal {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: blanchedalmond;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

#passwordModal {
    position: fixed;       /* stay fixed over entire page */
    top: 0;
    left: 0;
    width: 100vw;          /* full screen width */
    height: 100vh;         /* full screen height */
    background: rgba(0,0,0,0.6); /* dark backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;         /* on top of everything */
}

#passwordModal.hidden {
    display: none;
}

#passwordModal .modal-content {
    background: blanchedalmond;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
}
