html {
  font-size: 16px; /* or 100% */
}

body {
  visibility: hidden;
  font-size: 1rem;
}

common-header {
  display: none;
}

body {
  background: #ceedf2;
  margin: 0;
  font-family: "EB Garamond", serif;
  color: #000000;
}

header {
  text-align: center;
  padding: 1.5rem 0 0.75rem 0;
}

h1 {
  font-family: "Pinyon Script", cursive;
  font-size: 3.5625rem;
  color: #000;
  margin-bottom: 3rem;
  margin-top: 2.1rem;
  font-weight: 400;
}

.is-mobile h1 {
  margin-top: 1.425em;
}

nav {
  display: flex;
  justify-content: center;
  margin-bottom: 1.125rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

nav li {
  display: inline;
}

nav a {
  display: inline-block;
  padding: 0.5625rem 0.75rem 0.375rem 0.75rem;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 0.7875rem;
  border-radius: 0;
  background: none;
  font-family: "Montserrat", Arial, sans-serif;
  transition:
    color 0.2s,
    border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a:focus {
  background: none;
  color: #000;
  border-bottom: 2px solid #000;
}

nav a.active,
nav a[aria-current="page"] {
  border-bottom: 2px solid #000;
}

main {
  max-width: 27rem;
  margin: 1.5rem auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  text-align: center;
  color: #000;
  font-size: 1.0125rem;
}

.wedding-date {
  text-align: center;
  font-size: 1.725rem;
  font-family: "EB Garamond", serif;
  color: #000;
  margin: 0.5625rem 0 0.375rem 0;
  letter-spacing: 0.1875rem;
  font-weight: 400;
}

.wedding-location {
  text-align: center;
  font-size: 2.25rem;
  font-family: "Pinyon Script", cursive;
  color: #000;
  margin: 0.975rem 0 1.125rem 0;
  font-weight: 400;
}

.taxi-image {
  text-align: center;
  margin: 0.9rem 0 0.15rem 0;
  position: relative;
  height: 60px;
  overflow: hidden;
}

.taxi-animate {
  position: absolute;
  left: -140px;
  top: 0;
  animation: taxi-drive-center 3.25s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}

@keyframes taxi-drive-center {
  0% {
    left: -140px;
  }
  100% {
    left: calc(50% - 60px);
  }
}

/* Add to your style.css file */

/* Hide menu icon and sidebar by default, show nav as usual */
.menu-icon,
.sidebar,
.sidebar-backdrop {
  display: none;
}

/* Show desktop nav by default, hide menu icon and sidebar */
nav.desktop-nav {
  display: flex;
}
.menu-icon,
.sidebar,
.sidebar-backdrop {
  display: none;
}

/* MOBILE: Show sidebar/menu, hide desktop nav */
.is-mobile nav.desktop-nav {
  display: none;
}
.is-mobile .menu-icon,
.is-mobile .sidebar,
.is-mobile .sidebar-backdrop {
  display: block;
}

/* Sidebar slide-in effect for mobile */
.is-mobile .sidebar {
  position: fixed;
  top: 0;
  left: -32.25rem;
  width: 30rem;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
  z-index: 1003;
  padding: 1.875rem 1.125rem 1.125rem 1.125rem;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.is-mobile .sidebar.open {
  left: 0;
}
.is-mobile .sidebar ul {
  list-style: none;
  padding: 0;
  margin: 1.875rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.is-mobile .sidebar a {
  color: #000;
  font-size: 3rem;
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
}
.is-mobile .close-sidebar {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 4.5rem;
  color: #000;
  cursor: pointer;
}
.is-mobile .sidebar-backdrop {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s;
  opacity: 0;
}
.is-mobile .sidebar.open ~ .sidebar-backdrop,
.is-mobile .sidebar-backdrop.show {
  display: block;
  opacity: 1;
}
.is-mobile header {
  position: relative;
  min-height: 3.375rem;
}

/* DESKTOP: Hide sidebar/menu, show nav */
.is-desktop nav.desktop-nav {
  display: flex;
}
.is-desktop .menu-icon,
.is-desktop .sidebar,
.is-desktop .sidebar-backdrop {
  display: none;
}

.is-mobile .menu-icon {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 2.25rem;
  left: 2.25rem;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #000;
  z-index: 1002;
  cursor: pointer;
  padding: 0;
}
.is-mobile .menu-icon .menu-label {
  font-size: 2.25rem;
  margin-left: 0.375rem;
  font-family: "EB Garamond", serif;
  color: #000;
  font-weight: 500;
  letter-spacing: 0.0075rem;
}

h2 {
  font-family: "EB Garamond", serif;
  font-size: 1.6125rem;
  text-align: center;
  color: #000;
  margin-bottom: 1.65rem;
  letter-spacing: 0.09rem;
  font-weight: 700;
}
