body > header {
  z-index: 4;
  position: sticky;
  top: 0;
  padding: 0.5rem 0;
  border-bottom: var(--pico-border-width) solid transparent;
  /*background-color: var(--pico-primary-focus);*/
  background-color:var(--pico-background-color);
  border-bottom: 1px solid var(--pico-primary-focus);
}

.hero {
   /*background-color: var(--pico-primary-focus);*/
      /*background-image: linear-gradient(0deg, var(--pico-background-color) 40%, var(--pico-primary-focus));*/
      /*background-image: url(/assets/taxi-driver.jpg);*/
      /*background-color: rgba(50,50,50,.2);*/
      background-size: cover;
      padding: 3em 1em;
      /*aspect-ratio: 16 / 4;*/
      font-size: 1.5em;
      text-align: center;
      border-radius: .2em;
      margin-bottom: 1em;
}
.hero h1{
  color: var(--pico-primary);; 
}


.site-header a {
  text-decoration: none;
}

.site-logo-text {
  font-weight: bold;
  font-size: 2rem;
  text-decoration:none;
}
.site-header {
  display: flex;
  justify-content: space-between; /* Align logo on the left and hamburger toggle on the right */
  align-items: center; /* Vertically center both items */
  padding: 1rem 0;
  width: 100%; /* Make sure it takes full width of the parent */
}

.hidden{
    display:none;
}

[dir="rtl"] .site-header {
  justify-content: space-between;
}
.logo-left {
  justify-content: flex-start;
}

.logo-center {
  justify-content: center;
}



.right{
    float:right;
    clear:left;

}
.left{
    float:left;
    clear:right;
}
.full-width{
    width:100%;
}
.cinema{
    aspect-ratio:16/9;
    width: 100%;
    object-fit: cover;
}
.center{
    text-align:center;
}
.rounded {
    border-radius: .2em;
}
.circle {
border-radius: 50%;
}
.thumb {
max-width: 4em;
}

.endorse header {
text-align: center;
}

img.square {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

img.center {
    margin: auto;
    display: block;
}

img.right {
    margin: 0 0 1em 1em;
    width: 50%
}   
img.left {
    margin: 0 1em 1em 0;
    width: 50%
}
img{
    border-radius:0.2em;
}

.logo-left {
  justify-content: flex-start;
}

.logo-center {
  justify-content: center;
}



.button{
    border-radius: .3em;
     font-weight: 700;
     display: inline-block;
     background-color: var(--pico-primary-background);
     color: var(--pico-primary-inverse);
     padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
     text-decoration: unset;
}

.button:hover{
    background-color:  var(--pico-primary-hover-background);
}


/* Menu container - hidden by default */
#menu {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  min-width: 200px; /* Optional: change this as needed */
  max-width: 75vw; /* Optional: change this as needed */
  height: 100vh;
  padding: 2rem 1.5rem;
  background: #f4f4f4;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 4;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(-100%); /* Initially hide the menu off the left */
  transition: transform 0.3s ease; /* Smooth slide-in transition */
}

/* For RTL - position menu on the right */
[dir="rtl"] #menu {
  left: auto;
  right: 0; /* Move the menu to the right for RTL */
  transform: translateX(100%); /* Initially hide the menu off the right */
}

#menuToggle {
  cursor: pointer;
  font-size: 2rem;

}



//* For LTR (left-to-right), move the hamburger icon to the left */
[dir="ltr"] #menuToggle {
  margin-left: auto; /* Push the hamburger icon to the right */
  margin-right: 0;
}

/* For RTL (right-to-left), move the hamburger icon to the right */
[dir="rtl"] #menuToggle {
  margin-right: auto; /* Push the hamburger icon to the left */
  margin-left: 0;
}

nav li{
    width:100%;
}


#menuToggle label {
  display: block;
  color:var(--pico-primary);

}
/* Show menu when it has the "open" class */
#menu.open {
  display: flex; /* Make it a flex container when open */
  transform: translateX(0); /* Slide the menu in */
}


#menu li.close {
  /*position: absolute;*/
  top: 0;
  right: 1rem;
  font-size: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Close button inside the menu */
#menu li.close button {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
}

/* Optional: Style the links */
#menu a {
  text-decoration: none;
  color: var(--pico-primary);
  transition: color 0.2s ease;
  text-transform: capitalize;
}

#menu li a:hover {
  color: var(--pico-primary-background);
  font-weight:700;
}


table {
    margin-top: 0;
    margin-bottom: var(--pico-typography-spacing-vertical);
    color: var(--pico-color);
    font-style: normal;
    font-weight: var(--pico-font-weight);
}

/* removing p inside buttons if using markdown*/ 
button p {
    margin: 0;
    padding: 0;
}

@media only screen and (min-width: 600px) {
  ul#menu {
      display: contents;
  }
  li.close {
      display: none;
  }
  div#menuToggle {
      display: none;
  }
}

@media only screen and (max-width: 420px) {
img .right,img .left{
      float:unset;
      clear:unset;
      width: 100%
  }
}
