/*-------Mobile Viewport-------*/

/* Reset */
body, figure, footer, h1, h2, h4, header, main, nav, p, ul {
    padding: 0;
    margin: 0;
}

/* Body and Global Layout */
body {
    font-family: Roboto, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: #42346b;
}

main {
    width: 100%;
    background-color: #fcbc72;
    margin: 0;
    padding: 0;
}

header, .header-content, .mobile, footer {
    background-color: #42346b;
}

.hero-image, .logo-container, .mobile, .section-image, main {
    width: 100%;
}

.full-width-banner, .banner-video {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

h4 {
    text-align: center;
    color: #886ac5;
    padding: 20px;
    font-weight: 600;
    font-size: 30px;
}

h1 {
    text-align: center;
    color: #34025d;
    padding: 20px;
    font-weight: 600;
    font-size: 80px;
}

/* Header */
.header-content {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.logo-container {
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%)
}

.hide-logo {
    display: none;
}


/* Navigation */
@media screen and (max-width: 550px) {
    .logo-container {
        display: none;
    }
}


.nav-bar ul, .section-container {
    flex-direction: column;
    text-align: center;
}

.nav-bar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.nav-bar ul li {
    width: 100%;
    text-align: center;
}

.nav-bar ul li a, footer a {
    text-decoration: none;
    color: #e2725b;
}

.nav-bar ul li a {
    display: inline-block;
    padding: .5rem 1.5rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: .8rem;
    transition: .6s;
    text-align: center;
    color: #e2725b;
}

.nav-bar ul li a:hover {
    background-color: #886ac5;
    color: #fff;
    transform: scale(1.1);
    border-radius: 5px;
    min-width: 200px;
    cursor: pointer;
}

.hamburger {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #e2725b;
    cursor: pointer;
    z-index: 1000;
}

.hide-hamburger {
    display: none;
}



#nav-links {
    max-height: 0;
    overflow: hidden;
    align-items: center;
}

#nav-links.show {
    max-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer */
footer {
    color: #e2725b;
    text-align: center;
    padding: 1% 0;
    font-size: .9em;
}

/* Forms and Buttons */
input[type=submit] {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 6px #000;
}

input[type=submit]:hover {
    background-color: #886ac5;
    color: #fff;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

fieldset {
    border: 1px solid #fcbc72;
    padding: 16px;
}

legend {
    font-weight: 700;
}

.button-container, fieldset, form h2 {
    grid-column: span 2;
}

/* Form Layout */
.order-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.section-form {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #fcbc72;
}

.section-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 500px;
    width: 100%;
    background-color: #e79333;
    padding: 20px;
    border-radius: 8px;
}

.form-grid label {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-grid input, .form-grid textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #fcbc72;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Table Styles */
caption {
    font-size: 1.5em;
    text-align: center;
    padding: 10px;
}

.table-wrapper {
    padding: 40px 0;
    background-color: #fcbc72;
}

table {
    border: 2px solid #000;
    border-collapse: collapse;
    width: 70%;
    margin: 0 auto;
}

td, th {
    border: 1px solid #000;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

th {
    font-size: 1.15em;
    background-color: #5e4a99;
    color: #fcbc72;
}

tr:nth-child(odd) td {
    background-color: #e79333;
}

/* Count Down Clock */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@600&display=swap');

@property --days { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --hours { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --minutes { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --seconds { syntax: "<integer>"; initial-value: 0; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }

.ui-countdown {
  all: unset;
  background: oklch(0.3 0.03 285);
  border-radius: .5ch;
  container-type: inline-size;
  display: grid;
  font-size: 2cqi;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  gap: 1cqi;
  grid-auto-flow: column;
  padding: 1ch;
  transform: translateZ(0);
  will-change: transform;
}

.ui-countdown li {
  background-color: #e79333;
  border-radius: .5ch;
  display: grid;
  list-style: none;
  padding: .5ch 1ch;
  text-align: center;
  width: 24cqi;
}

.ui-countdown li::before {
  color: oklch(0.85 0.03 285);
  font-size: 10cqi;
  font-weight: 700;
  text-shadow: 1px 1px 3px oklch(0.2 0.03 285);
}

/* DAY */
.ui-countdown li[data-label=day] {
  animation: days 31536000s steps(365, jump-none) infinite;
  animation-delay: var(--delay-days, 0s);
  counter-reset: days var(--days);
}
.ui-countdown li[data-label=day]::before {
  content: counter(days, decimal-leading-zero) '  ';
}

/* HOUR */
.ui-countdown li[data-label=hour] {
  animation: hours 86400s steps(24, jump-none) infinite;
  animation-delay: var(--delay-hours, 0s);
  counter-reset: hours var(--hours);
}
.ui-countdown li[data-label=hour]::before {
  content: counter(hours, decimal-leading-zero) ' ';
}

/* MINUTES */
.ui-countdown li[data-label=minutes] {
  animation: minutes 3600s steps(60, jump-none) infinite;
  animation-delay: var(--delay-minutes, 0s);
  counter-reset: minutes var(--minutes);
}
.ui-countdown li[data-label=minutes]::before {
  content: counter(minutes, decimal-leading-zero) ' ';
}

/* SECONDS */
.ui-countdown li[data-label=seconds] {
  animation: seconds 60s steps(60, jump-none) infinite;
  animation-delay: var(--delay-seconds, 0s);
  counter-reset: seconds var(--seconds);
}
.ui-countdown li[data-label=seconds]::before {
  content: counter(seconds, decimal-leading-zero) ' ';
}

/* KEYFRAME ANIMATIONS */
@keyframes days { from { --days: 364; } to { --days: 0; } }
@keyframes hours { from { --hours: 23; } to { --hours: 0; } }
@keyframes minutes { from { --minutes: 59; } to { --minutes: 0; } }
@keyframes seconds { from { --seconds: 59; } to { --seconds: 0; } }

.ui-countdown {
  all: unset;
  background: oklch(0.3 0.03 285);
  border-radius: .5ch;
  container-type: inline-size;
  display: flex;
  gap: 1cqi;
  font-size: 2cqi;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  padding: 1ch;
  list-style: none;
  margin: 0;
  justify-content: center;
}




/* Sections & Containers */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.section-container {
    max-width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    row-gap: 8px;
}

/* Images */
.home-image, .logo, .section-image {
    border-radius: 30px;
}

.section-image {
    width: 250px;
    object-fit: cover;
    margin: 1rem 0;
    border: none;
}

.logo {
    display: block;
    max-width: 150px;
    height: auto;
    margin: 0 auto;
}

/* Captions */
.fig-cap {
    font-family: Lobster, cursive;
    font-size: 1.1rem;
    color: #000;
}

/*-------Tablet Viewport-------*/
@media screen and (min-width: 550px) and (max-width: 1024px) {
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
}

.logo-container {
    margin-right: auto;
    position: static;
    transform: none;
}

    #nav-links {
        display: flex !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .hamburger {
        display: none;
    }

    .nav-bar {
        display: flex;
    }

    .nav-bar ul {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .nav-bar ul li {
        width: auto;
    }

    .nav-bar ul li a {
        padding: .2rem .5rem;
        text-align: left;
        font-size: 1.2rem;
        min-width: unset;
    }

    .nav-bar ul li a:hover {
        background-color: #886ac5;
        color: #fff;
        transform: scale(1.1);
        border-radius: 5px;
        min-width: 40px;
        cursor: pointer;
    }

    .main-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .section-container {
        max-width: 300px;
        flex-grow: 1;
    }

    .section-image {
        width: 300px;
        box-shadow: 0 4px 12px #000;
        border-radius: 8px;
        display: block;
        margin: 20px auto;
    }
}

/*-------Desktop Viewport-------*/
@media screen and (min-width: 1025px) {
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
}

.logo-container {
    margin-right: auto;
    position: static;
    transform: none;
}

    #nav-links {
        display: flex !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .hamburger {
        display: none;
    }

    .nav-bar {
        display: flex;
    }

    .nav-bar ul {
        display: flex;
        justify-content: space-between;
        writing-mode: 100%;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .nav-bar ul li {
        width: auto;
    }

    .nav-bar ul li a {
        padding: .2rem .5rem;
        text-align: left;
        font-size: 1.2rem;
        min-width: unset;
    }

    .nav-bar ul li a:hover {
        background-color: #886ac5;
        color: #fff;
        transform: scale(1.1);
        border-radius: 5px;
        min-width: 40px;
        cursor: pointer;
    }

    .main-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .section-container {
        max-width: 300px;
        flex-grow: 1;
    }

    .section-image {
        width: 300px;
        box-shadow: 0 4px 12px #000;
        border-radius: 8px;
        display: block;
        margin: 20px auto;
    }

    
}

/*-------Print Viewport-------*/
@media print {
    body {
        background-color: #fff;
        color: #000;
    }
}
