:root {
  --font-color: white;
  --accent-color: #ffe3a9;
  --site-width: 900px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Times New Roman", Times, serif;
  font-size: calc(16px + 1vw);
  color: var(--font-color);
}

body.veil {
  overflow: hidden;
  position: relative;
}

body::after {
  display: flex;
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 250ms ease-in;
}

body.veil::after {
  opacity: 1;
  content: "Loading...";
  -webkit-backdrop-filter: blur(100px); /* For Safari */
  backdrop-filter: blur(100px);
  pointer-events: initial;
}

.divider {
  --gap: calc(0.35 * 0.5em);
  position: relative;
  width: 95%;
  height: 2px;
  background: var(--font-color);
  margin: auto;
  margin-top: var(--gap);
  margin-bottom: var(--gap);
}

#bg img {
  top: 0;
  left: 0;
  position: fixed;
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: bottom;

  z-index: -1;
}

#bg .mobile {
  display: none;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  font-weight: 300;
}

.big {
  --font-size: calc(30px + 3vw);
  font-size: var(--font-size);
  margin-bottom: 10px;

  pointer-events: none;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.margin-top-auto {
  margin-top: auto;
}

a {
  color: var(--font-color);
}

footer {
  text-align: center;
}

footer a:hover {
  text-decoration: underline;
}

#logo {
  width: max(150px, calc(100px + 5vw));
}

nav a,
a.underline,
a.underline-static {
  position: relative;
}

nav a:after,
a.underline:after,
.underline-static:after {
  bottom: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  background-color: currentColor;

  width: 0;
  transition: width 250ms;
}

nav a:hover:after,
a:hover.underline:after,
.underline-static:after {
  width: 100%;
}

a:not([class^="prev-wrapper"]):hover {
  color: var(--accent-color) !important;
}

header {
  width: 100%;
  display: flex;
  z-index: 10;
  top: 0;
  left: 0;
  flex-direction: column;
  align-items: center;
  /* position: absolute; */
  transition: backdrop-filter 250ms;
}

/* .sticky section:first-of-type {
    padding-top: 10vh;
} */

.sticky header {
  position: fixed;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

header .hide,
header .show {
  transition: all 250ms ease-out;
}

.sticky header .hide {
  height: 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

header .show {
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  height: 0em;
}

.sticky header .show {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: initial;
  height: max(1.5em, var(--font-size));
}

nav {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
}

#header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(var(--site-width), 80%);

  justify-content: space-between;
}

#hero {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hero .wrapper {
  height: 100%;
  max-width: min(var(--site-width), 80%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature {
  margin-top: 20vh;
  white-space: nowrap;
}

.quote {
  margin-top: auto;
  margin-bottom: 1em;
  font-size: 0.8em;
}

.button {
  border: currentColor solid;
  border-width: 1px;
  padding: 0.1em 0.5em;
  position: relative;
}

.button:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: currentColor solid;
  border-width: 1.5px;
}

section:not(:first-of-type) {
  padding-top: 2em;
  padding-bottom: 2em;
}
section {
  position: relative;

  background-attachment: fixed;
}

.content-wrapper {
  max-width: min(var(--site-width), 80%);
  margin: auto;
}

.banner {
  width: 100%;
  height: 100px;

  /* background-image: url('./assets/banner.jpg');
    background-size: cover; */
}

[class^="prev-wrapper"] {
  display: flex;
  flex-direction: column-reverse;
  height: 20vh;

  transition: height 200ms;
  position: relative;
  overflow: hidden;

  background-size: cover;
}

.prev-wrapper--chgs {
  background-image: url("./assets/chgs.png");
  background-position: center 25%;
}

.prev-wrapper--radio {
  background-image: url("./assets/radio.jpg");
  background-position: center 30%;
}

.prev-wrapper--chry {
  background-image: url("./assets/chry.jpg");
  background-position: center 25%;
}

.prev-wrapper--feel {
  background-image: url("./assets/feel.jpg");
  background-position: center 50%;
}

[class^="prev-wrapper"] img {
  object-fit: none;
  object-position: center 119%;
  display: block;
}

[class^="prev-wrapper"] span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #a3a3a36e;
  opacity: 0;
  transition: opacity 250ms;
}

[class^="prev-wrapper"] span svg {
  stroke: var(--font-color);
}

[class^="prev-wrapper"] div {
  position: absolute;
  bottom: 0;
  right: 1em;
  text-align: right;
}

#tour {
  /* background-image: url(./assets/tour-bg.jpg); */
  background-size: cover;
  background-position: bottom;
}

.tour-dates--wrapper {
  display: flex;
  flex-direction: column;
  gap: 1em;

  backdrop-filter: blur(1px);
}

.tour-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: #00000063;
  padding: 0.2em 1em;
}
@media screen and (max-aspect-ratio: 2/3) {
  header {
    padding-bottom: 0.5em;
  }

  /* header .show {
    display: none;
  } */

  #bg .mobile {
    display: initial;
  }

  #bg .desktop {
    display: none;
  }

  #header-wrapper {
    flex-direction: column;
  }

  .feature {
    margin-top: 15vh;
  }

  .content-wrapper {
    max-width: min(var(--site-width), 95%);
  }

  #videos .content-wrapper {
    gap: 1em;
  }

  [class^="prev-wrapper"] {
    height: 15vh;
  }

  [class^="prev-wrapper"] div {
    position: initial;
    background-color: black;
  }

  [class^="prev-wrapper"] > div h3 {
    font-size: 0.8em;
    opacity: 0.8;
  }

  /* [class^="prev-wrapper"] span {
        opacity: 1;
        background-color: transparent;
    } */
}

@media screen and (min-aspect-ratio: 2/3) {
  /* MAKE DESKTOP-ONLY */
  [class^="prev-wrapper"]:hover {
    height: 40vh;
  }

  [class^="prev-wrapper"]:hover span {
    opacity: 1;
  }
}
