*,
*::before,
*::after {
  /* Use a more-intuitive box-sizing model. */
  box-sizing: border-box;
}

* {
  /* Remove default margin */
  margin: 0;
}

html,
body {
  /* Allow percentage-based heights in the application */
  height: 100%;
  width: 100%;
}

body {
  /* Nicer text rendering */
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  /* Nicer media defaults */
  display: block;
  max-width: 100%;
}

a:link {
  color: rgba(var(--rgb-black), 1);
}

a:visited {
  color: #344;
}

.background {
  position: fixed;
  bottom: 0;
  min-width: 100%;
  min-height: 100vh;
  width: auto;
  height: auto;

  background-image: url("assets/garage.jpg");
  background-clip: border-box;
  background-size: cover;
  background-position: -25px 100%;
}

body {
  isolation: isolate;
}

.content {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* Scrollable when the viewport is too short */
  overflow-y: auto;
  min-height: 0; /* Needed for Firefox */
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  padding: 1rem;
}

header .nav a {
  color: rgba(177, 161, 137, 0.75);
  mix-blend-mode: plus-lighter;
  filter: blur(.5px); 
  font-size: 2rem;
}
header .nav {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  color: rgba(177, 161, 137, 0.75);
  font-family: "Adelphe_FlorealBoldItalic";
  /* mix-blend-mode: plus-lighter; */
}

header .title {
  color: rgba(177, 161, 137, 0.75);
  mix-blend-mode: plus-lighter;
  filter: blur(3.05px); 

  font-size: var(--title-size);
  line-height: .9;
  font-family: "Adelphe_FlorealSemiBold";

  min-height: min-content;
}

/* Mobile */
/*
@media (max-width: 600px) {
  :root {
    --scale: 1.5;
  }
  .background {
    background-position: 25%;
  z-index: -1;
  }
}
*/
/* Desktop */
/*
@media (min-width: 600px) {
  :root {
    --scale: 1.5;
  }
  .background {
    background-position: 0%;
  z-index: -1;
  }
}
*/

:root {
  --scale: 1;
  --title-size: calc(var(--scale) * 8rem);
  --rgb-black: 10, 10, 10;
}

