body {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #ffffffff;
}

a {
    color: black;
}

.visually-hidden {
    position: absolute; /* Takes the element out of the flow */
    width: 1px;        /* Makes it tiny */
    height: 1px;       /* Makes it tiny */
    padding: 0;
    margin: -1px;      /* Prevents any scrollbar issues */
    overflow: hidden;  /* Hides any content overflow */
    clip: rect(0, 0, 0, 0); /* Legacy hiding method, included for redundancy */
    white-space: nowrap;
    border-width: 0;
}

.page-container {
    /* 1. Set the maximum width for the content area */
    max-width: 1024px; /* Adjust this value as needed */
    height: 1024px;
    /* 2. Center the container horizontally */
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}

.pure-img.force-scale {
    width: 100%;
}

.qr-code-padding {
    padding: 0;
}

@media (min-width: 568px) {
    .qr-code-padding {
        max-width: 18rem;
        padding-top: 0.3rem;
    }
}

.qr-code-info-padding {
    padding: 0;
    padding-left: 0.8rem;
    padding-top: 0.6rem;
    padding-right: 0.8rem;
}

@media (min-width: 568px) {
    .qr-code-info-padding {
        max-width: 100%;
        padding-left: 1.2rem;
        padding-top: 2rem;
        padding-right: 1.2rem;
    }
}

.title {
    color: #000000ff;
    text-align: center;
    font-size: clamp(16pt, 6vw, 32pt);
    margin: 0.1em;
}

@media (min-width: 568px) {
    .title {
        font-size: clamp(16pt, 6vw, 32pt);
        margin: 0.1em;
    }
}

.h2 {
    text-align: center;
    font-size: 1.4rem;
    margin: 0;
}

@media (min-width: 568px) {
    .h2 {
        text-align: center;
        font-size: clamp(1rem, 1.8rem, 2.5rem);
        margin: 0;
        padding: 0 0 0.8rem 0;
    }
}

.h3 {
    text-align: justify;
    font-size: 1.0rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 568px) {
    .h3 {
        text-align: justify;
        font-size: clamp(0.7rem, 1.2rem, 1.7rem);
        margin: 0;
        padding: 0;
    }
}

.info-text-cell {
    height: 3.2rem;
    width: 100%;
    padding-top: 0.5rem;
}

@media (min-width: 568px) {
    .info-text-cell {
        height: 3.2rem;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .info-text-cell {
        height: 3.5rem;
        width: 100%;
    }
}

.info-text {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
}

@media (min-width: 568px) {
    .info-text {
        margin: 0;
        text-align: center;
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .info-text {
        margin: 0;
        text-align: center;
        font-size: 1.3rem;
    }
}

.intro-text {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0rem; 
    margin-top: 0rem
}

@media (min-width: 568px) {
    .intro-text {
        margin: 0;
        text-align: center;
        font-size: 1.3rem;
        margin-bottom: 0.8rem; 
        margin-top: 0.8rem
    }
}

@media (min-width: 768px) {
    .intro-text {
        margin: 0;
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 0.8rem; 
        margin-top: 0.8rem
    }
}


.feature-img-drop-shadow {
    box-shadow: 0 0 9px rgba(0, 0, 0, 1); 
    border-radius: 21px
}

@media (min-width: 568px) {
    .feature-img-drop-shadow {
        box-shadow: 0 0 9px rgba(0, 0, 0, 1); 
        border-radius: 23px
    }
}

@media (min-width: 768px) {
    .feature-img-drop-shadow {
        box-shadow: 0 0 9px rgba(0, 0, 0, 1); 
        border-radius: 30px
    }
}


.pure-header {
    /* Use vertical padding (top and bottom) with responsive units (like 'em') 
       to increase the header's effective height */
    padding-top: 0.1em; 
    padding-bottom: 0.1em;
    
    /* Set a fluid max-width to restrict the content area (optional, but common) */
    max-width: 1024px;
    margin: 0 auto; /* Centers the header content */
}

/* 1. Set up the container as a Flexbox */
.header-row {
    /* 1. Set the container as the positioning context */
    position: relative;
    height: auto;
    display: flex;
    align-items: center; /* Vertically centers the content in all columns */
    width: 100%;
    padding-bottom: 1rem
}

.pure-footer {
    /* Use vertical padding (top and bottom) with responsive units (like 'em') 
       to increase the header's effective height */
    padding-top: 0.1em; 
    padding-bottom: 0.1em;
    
    /* Set a fluid max-width to restrict the content area (optional, but common) */
    max-width: 1024px;
    margin: 0 auto; /* Centers the header content */
    text-align-last: center;
}

/* 1. The Container for Centering and Clamping */
.image-container {
  /* Step 1: Clamp the maximum width (e.g., to 1000px) */
  max-width: 1024px; 
  overflow: hidden; 

  /* Step 2: Center the container block element */
  margin-left: 0.7em;
  margin-right: 0.7em;
  margin-top: 0.7em;
    
  height: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 1);
  border-radius: 10px;
}

@media (min-width: 568px) {
    .image-container {
      /* Step 2: Center the container block element */
      margin-left: 1.1em;
      margin-right: 1.1em;
      margin-top: 0.5em;
      border-radius: 20px;
    }
}


/* 2. The Image for Scaling */
.clamped-image {
  /* Step 3: Ensure the image is always 100% of its parent container's width, 
             but no larger than its own intrinsic size */
  width: 100%; 
  object-fit: cover;
  margin-left: -50%;
  position: relative;
  left: 50%;
  /* Step 4: Prevent distortion if the container is squashed */
  height: clamp(40px, 15vw, 160px);
  
  /* Step 5: Important for block elements inside an inline flow (optional, but good practice) */
  display: block;
}

.cell-padding {
    padding: 0.4em;
}

.cell-centered {
    /* Define the wrapper to take up 100% of the cell's space */
    height: 200px; 
    width: 100%;
    
    /* Flexbox properties for centering */
    display: flex;
    justify-content: center; /* Horizontal centering */
}

.qr-image-size {
    width: clamp(207px, 21em, 400px);
}

/* expansion tile */
/* Hide the content by default */
.tile-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Add smooth transition */
}

/* When the checkbox is checked, set a large max-height to show content */
/* We use the adjacent sibling selector (+) to target the content next to the checked checkbox */
.tile-toggle:checked + .tile-header + .tile-content {
    max-height: 500px; /* Needs to be larger than the content's actual height */
    overflow: visible;
}

/* Optional: Add visual indication to the header */
.tile-header::after {
    content: " \25B6"; /* Right triangle */
    float: right;
    transition: transform 0.3s;
}

.tile-toggle:checked + .tile-header::after {
    transform: rotate(90deg); /* Down triangle */
}