@import "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap-dark.min.css";

:root {
  --bs-body-bg: black;
  --header-height: 70px; /* Define header height as a variable for consistency */
}

html {
  scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: black !important;
    padding-top: var(--header-height); /* Add padding to account for fixed header */
}

/* Apply proper scroll margin to all section elements for better anchor navigation */
section, [id] {
    scroll-margin-top: var(--header-height);
}

#root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Changed from height to min-height */
    background-color: black;
    --bs-body-bg: black;
}

/* Main content container styling */
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.area-selector {
    margin: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.recipe-list {
    list-style-type: none;
    padding: 0;
}

.recipe-item {
    background-color: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}