@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

@font-face {
  font-family: 'American Typewriter';
  src: url('assets/fonts/american-typewriter.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
 

:root {
    font-size: calc(1vw + 1vh);;
    color: white;
    font-family: 'American Typewriter', 'Rubik', sans-serif;
}

body {
    height: 100dvh;
    width: 100dvw;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

a {
    cursor: pointer;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  filter: blur(5px) brightness(0.5);
  background-image: url('assets/heavens-to-betsy-gourmet.jpg');
  background-color: black;
  scale: 1.1;
}

.background-image-3br {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    filter: blur(5px) brightness(0.5);
    background-image: url('/assets/MainStreet.jpg');
    background-color: black;
    scale: 1.1;
  }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    background-color: rgba(0, 0, 0, 1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
    color: white
}

a {
    color: white;
    text-decoration: none;
}

/* Update your existing dropdown CSS with these rules */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: max-content;
    box-shadow: 0px 8px 20px 2px rgba(255,255,255,0.2), 0px 0px 8px 0px rgba(255,255,255,0.15);
    border-radius: 10px;
    z-index: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    left: 50%;
    transform: translateX(-50%);
}


/* Show dropdown content when parent has active class */
.dropdown.active .dropdown-content {
    display: block;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
    position: absolute;
    bottom: 0px;
    margin: 1rem 1rem;
}

.transition-opacity-transform {
  transition-property: opacity, transform;
  transition-duration: 1000ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity-fast {
    transition-property: opacity;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.initial-transform-opacity {
    opacity: 0;
    transform: translateY(50px);
}

/* Add this class to your CSS */
.text-border-0-5 {
  -webkit-text-stroke: 0.5pt black; /* Change color as needed */
  text-stroke: 0.5pt black;         /* For future compatibility */
}

.text-border-0-25 {
  -webkit-text-stroke: 0.25pt black; /* Change color as needed */
  text-stroke: 0.25pt black;         /* For future compatibility */
}

.container {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100dvw;
    height: 100dvh;
    opacity: 1;
}

.container-bg {
    background: rgba(0, 0, 0, 0.8);
}

.button {
    background: rgba(200, 200, 200, 0.2);
    padding: 0.1rem;
    width: 7rem;
    line-height: 1.5rem;
    text-align: center;
}

.container img {
    border-radius: 20px;
    box-shadow: 0px 8px 20px 2px rgba(255,255,255,0.2), 0px 0px 8px 0px rgba(255,255,255,0.15);
}

.container h1, p {
    margin: 0.5rem;
}

.opacity-0 {
    opacity: 0;
}

.center-content {
    display: flex;
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-table {
    font-size: 0.5rem;
}
table {
    border-collapse: collapse;
}
td, th {
    border: 1px solid white;
    padding: 0 5px;
}

.off-screen {
    left: -100%;
    position: absolute;
}

.corner-logo {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 5rem;
    height: auto;
    cursor: pointer;
}

.cancel-button {
    font-size: 0.5rem;
    text-align: center;
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

.action-column {
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    cursor: pointer;
}

.checkbox {
    display: flex;
    gap: 5px;
    
}

.checkbox p {
    font-size: 0.5rem;
    margin: 0
}

/* wrapper anchors the absolute checkbox */
.table-wrapper {
    position: relative;
}

/* position checkbox above the table without changing wrapper height */
.table-wrapper .checkbox {
    position: absolute;
    top: 0;                  /* position relative to table top */
    transform: translateY(-100%); /* move above the table */
    display: flex;
    align-items: center;
    background: transparent; /* optional */
    z-index: 10;
}

.table-wrapper .checkbox input {
    margin: 0;
}