* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-offwhite: #f2f2f2;
  --color-blue: #75a2e2;
  --color-orange: #FF4A00;
  --color-dark-blue: #1B0072;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --font-size-base: 18px;
  --font-size-medium: 55px;
  --font-size-large: 90px;
  --font-size-small: 14px;
  --font-family-sans:  Arial, sans-serif;
  --font-family-hershey: 'Hershey-Futural', sans-serif;
  --font-family-hershey-noailles: 'Hershey-Noailles-Futura-Simplex-Regular', sans-serif;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  scroll-behavior: smooth;
}
img {
  width: 100%;
}
body {
  /* padding: var(--padding); */
  /* max-width: 80rem; */
  margin: 0 auto;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
/* strong, b {
  font-weight: 600;
} */
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

@font-face {
  font-family: 'IotaDisplayB-Black';
  src: url('../fonts/IotaDisplayB/IotaDisplayB-Black.woff2') format('woff2'),
       url('../fonts/IotaDisplayB/IotaDisplayB-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Syne Tactile';
  src: url('../fonts/Syne/SyneTactile-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Hershey-Futural';
  src: url('../fonts/Hershey/Hershey-Futural-30.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hershey-Noailles-Futura-Simplex-Regular';
  src: url('../fonts/Hershey/Hershey-Noailles-Futura-Simplex-Regular.otf') format('opentype');
  /* font-weight: normal;
  font-style: normal; */
}

/* HOME */

.home-body {
  background-color: black 
}

.bookstop-link{
  /* position: fixed;
  top: 100px;
  right: 150px; */
  z-index: 1000;
  width: 150px;
}

.bookstop-link svg{
  width: 350px;
}

.bookstop-link .logo-shape {
  fill: #e2e2e2; /* default color */
  transition: fill 0.3s ease;
}

.bookstop-link:hover .logo-shape {
  fill: #fcf85e; /* hover color */
}

.airsalon-logo {
  /* position: fixed;
  top: 40px;
  left: 200px;
  z-index: 1000; */
  width: auto;
  transition: filter 0.2s ease-in-out;
}

.airsalon-logo a{ 
  font-family: 'IotaDisplayB-Black';
  color: #E2E2E2;
  font-size: 8.5rem;
  line-height: 115%;
  transition: color 0.2s ease-in-out;
}

.airsalon-logo a:hover{
  color: #FF4A00;
}  

.uqbar-logo {
  /* position: fixed;
  bottom: 50px;
  left: 100px; */
  z-index: 1000;
  width: auto;
  transition: filter 0.2s ease-in-out;
  grid-column: 1 / span 2;
}

.uqbar-logo a{ 
  font-family: 'hershey-Futural';
  color: #E2E2E2;
  font-size: 7.5rem;
  letter-spacing: -0.01em;
  transition: color 0.3s ease-in-out;
}

.uqbar-logo a:hover{
  color: #85a7d6
}

.home-nav {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: auto auto;
  gap: 120px;
  padding: 60px 80px 20px 80px;
  justify-items: center;
}


@media screen and (max-width: 600px) {
  .home-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    /* align-items: flex-start; or center if you prefer */
    max-width: 100%;
  }

  .bookstop-link,
  .airsalon-logo,
  .uqbar-logo {
    position: static; /* or just remove position fixed */
    width: auto;
    max-width: 100%;
  }

  .airsalon-logo a {
    font-family: 'IotaDisplayB-Black';
    color: #E2E2E2;
    font-size: clamp(5.17rem, 8vw, 8.5rem);
    line-height: 115%;
    transition: color 0.2s ease-in-out;
    max-width: 100%;
    word-break: break-word;
  }

  .uqbar-logo a {
    font-size: clamp(7.8rem, 8vw, 8.5rem);
    /* letter-spacing: -0.08em; */
    transition: color 0.3s ease-in-out;
    max-width: 100%;
    line-height: 8rem;
}

  .bookstop-link {
    width: 200px;
    max-width: 100%;  
  }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#site-body {
  opacity: 0;
  transition: opacity 0.5s ease;
}
#site-body.fade-in {
  opacity: 1;
}

/* SPACES NAV */

/* AIRSALON DOT */

.main-navigation{
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: row;
   max-width: 70px;
  height: 50px;
}

.space-navigation-air-link {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: #cacbd1;
  cursor: pointer;
  margin: 1rem;
  transition-duration: 0.3s;
}

.space-navigation-air-link:hover {
  background-color: #FF4A00;
}

/* .cursor-tooltip {
  position: absolute;
  top: -10px; 
  color: #E8E6E6;
  font-size: 20px;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.space-navigation-air-link:hover .cursor-tooltip {
  opacity: 1;
} */

/* PROJECTSPACE DOT */

.space-navigation-projectspace-link {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: #cacbd1;
  cursor: pointer;
  margin: 1rem;
  transition-duration: 0.3s;
}

.space-navigation-projectspace-link:hover {
  background-color: #5018f9;
}


.header {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  max-width: 70px;
  height: 50px;
}

.logo {
  width: 25px;
}

.menu {
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(270deg);
  transition: transform 0.4s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: row;
  pointer-events: none; /* prevent clicks while hidden */
  text-align: center;
  gap: 2rem;
  padding: 2rem 0rem;
  text-align: center;
  position: relative;
  top: 10rem;
  width: 100%;
  /* left: -10.6rem; */
}

.menu.open {
 transform: rotate(270deg);
  opacity: 1;
  pointer-events: auto;
  text-align: center; 
}

.menu-toggle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: #cacbd1;
  cursor: pointer;
  margin: 1rem;
  transition-duration: 0.3s;
}

.menu-toggle:hover {
  background-color: #FF4A00;
}

.menu a {
  color: #cacbd1;
  /* display: block; */
  font-size: 20px;
  transition-duration: 0.3s;
}

.menu a:hover {
  text-decoration: underline;
}

.menu a[aria-current] {
  text-decoration: underline;
  /* transform:rotate(90deg); */
}

.main.home{
  background-color: grey; 
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.h1-home {
  font-size: 15.5rem;
  /* font-weight: 600; */
  color:#1af073;
  font-family: 'Syne Tactile', sans-serif;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2em;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  /* body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  } */

}