/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --font-family: system-ui;
}

/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

[hidden] {
  display: none;
}

html {
  overscroll-behavior: none;
}

body {
  display: grid;
  gap: 20px;
  grid-template-areas:
    "header"
    "nav"
    "content"
    "sidebar"
    "footer";
}

main {
  grid-row: content;
  margin: 2rem;
}

footer {
  grid-row: footer;
}

header {
  display: fixed;
  top: 0;
  left: 0;
  margin: 0.5rem;
}

h1 {
  border-radius: 0.5rem;
  background: white;
  text-align: center;
  padding: 0.5rem 1rem;
}

nav {
  display: flex;
  gap: 1rem;
  justify-content: start;
  align-items: center;
  grid-row: nav;
  padding: 0 0.5rem;
}

nav a, nav button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  text-decoration: none;
  border-radius: 100%;
  width: 2.5rem;
  height: 2.5rem;
}

nav a:hover, nav button[type="submit"]:hover {
  border: 1px solid red;
  font-color: red;
  text-opacity: 0;
}


nav h1 {
  justify-self: start;
  align-self: start;
}

nav details {
  cursor: pointer;
  margin: 0.5rem;
}

nav details summary {
  text-align: right;
}

summary {
  font-size: 30px;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.for-sidebar {
  grid-row: sidebar;
}

.for-screen-reader,
.sr-only {
  display: none;
}

.restaurant_month_calendar {
  display: flex;
  gap: 0.5rem;
}

.browse {
  display: flex;
  gap: 1rem;
}


footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid black;
}

body {
  padding-bottom: 10rem;
}
