:root {
  --bg-dark: #333333;
  --bg-blue: #5cbfb7;
  --text-light: #ffffff;
  --text-muted: #7a7a7a;
  --accent: #5cbfb7;
  --layout-transition-time: 0.4s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

body.site {
  line-height: 1.4;
}

.fullgrid {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 10vh 1fr 15vh;
  grid-template-areas:
    "header"
    "main"
    "footer";
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--bg-dark);
  position: relative;
}

.bluepage .fullgrid {
  background-color: var(--bg-blue);
  color: var(--bg-dark);
}

.header {
  grid-area: header;
  position: relative;
}

.main {
  grid-area: main;
  align-self: center;
  justify-self: center;
  position: relative;
  min-width: 20vh;
  min-height: 20vh;
}

.footer {
  grid-area: footer;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: max(3em, min(4vw, 10vh));
  padding-inline: 5vh;
  color: #7a7a7a;
  display: grid;
  grid-template-columns: max-content auto;
  grid-template-areas: "footerMain footerLinks";
  align-items: center;
  width: 100vw;
}

.footer-main {
  grid-area: footerMain;
}

.footer-name {
  text-decoration: none;
  color: inherit;
}

.footerLinks {
  grid-area: footerLinks;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1.5rem;
  font-size: 2vw;
}

.footerLinks a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footerLinks a:hover {
  color: #aaaaaa;
  transform: translateY(-2px);
}

.footer-blob {
  opacity: 0.3;
  height: max(0.75rem, 2vw);
  fill: var(--accent);
}

.extra {
  display: block;
}

@media (max-width: 750px) {
  .fullgrid {
    grid-template-rows: 10vh 1fr 8vh;
  }

  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-inline: 2vw;
    margin-bottom: 5vw;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "footerMain"
      "footerLinks";
    font-size: max(1.5rem, 3.5vw);
  }

  .footerLinks {
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: max(1.1rem, 3vw);
  }

  .footer-blob {
    height: max(1rem, 4vw);
  }
}

@media (max-width: 600px) {
  .extra {
    display: none;
  }
}

/* Menu blob and items */

.menu {
  height: 100%;
  position: relative;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-light);
  margin-top: -2vh;
  margin-left: -33vh;
  transition: margin-left 0.3s ease-out;
}

.greypage .menu {
  color: #333333;
}

.menu:hover {
  margin-left: 0;
}

.menu-blob {
  position: absolute;
  height: 10vh;
}

.menuitems {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 32vh;
  padding-left: 8vh;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.menuitems a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.greypage .menuitems a {
  color: #333333;
}

.menuitems a:hover {
  color: #aaaaaa;
  transform: translateY(-1px);
}

.menuitems a.active {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Quotes cloud */

.quotes {
  grid-area: main;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  width: 100vw;
  overflow: hidden;
  font-size: 0.85rem;
  pointer-events: none;
}

.quote {
  padding-top: 4vh;
  text-align: center;
  width: 20vw;
  height: 10vh;
  opacity: 0.08;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  font-family: "Reenie Beanie", cursive;
  color: var(--text-light);
  pointer-events: auto;
}

.quote blockquote {
  margin-bottom: 0.25rem;
}

.quote:hover {
  opacity: 1;
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .quote {
    width: 40vw;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .quote {
    width: 80vw;
  }
}

/* Hero blob and CTA */

.bluesvg {
  fill: var(--accent);
}

.hero-blob-bg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(30vh, 40vw);
  height: auto;
  opacity: 0.9;
}

.hero-blob {
  width: 200px;
  height: 200px;
}

.enterblob {
  transform: scale(0.2);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.main:hover .enterblob {
  transform: scale(3);
  opacity: 1;
}

.blobtext {
  position: absolute;
  width: 400px;
  height: 400px;
  padding-top: 40%;
  left: calc(-200px + 50%);
  top: -50%;
  font-size: 8vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #333333;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.blobtext a {
  color: #333333;
  text-decoration: none;
}

.main:hover .blobtext {
  opacity: 1;
  transform: scale(1);
}

.button {
  display: inline-block;
  border: 2px solid #333333;
  border-radius: 30px;
  font-size: 2.3vh;
  padding: 7px 40px;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background-color: #333333;
  color: var(--bg-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

a {
  color: var(--text-muted);
  text-decoration: none;
}

a:hover {
  color: #aaaaaa;
}

