/* Variables */
:root {
  --color-scheme: dark;

  --primary-color: #23b5e8;
  --black-color: #010508;
  --white-color: #fefefe;
  --light-shadow-color: #01050880;

  --primary-font: monospace;

  --size: 0.25rem;
  --transition-duration: 0.25s;
}

/* Global */
:root {
  color-scheme: var(--color-scheme);
}

.body {
  margin: 0;
  background-color: var(--black-color);
  color: var(--white-color);
  font-family: var(--primary-font);
}

/* Layout */
.container {
  max-width: 1280px;
  padding-inline: calc(var(--size) * 4);
  margin-inline: auto;
}

.flexbox {
  display: flex;
}

.flexbox--center {
  align-items: center;
  justify-content: center;
}

.flexbox--centered-spacing {
  align-items: center;
  justify-content: space-between;
}

.g-layout {
  display: grid;
}

.g-layout--auto-fit-columns {
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--size) * 60), 1fr));
}

/* Components */
.header {
  position: fixed;
  z-index: 5;
  top: 0;
  width: 100%;
  background-color: var(--light-shadow-color);
  backdrop-filter: blur(calc(var(--size) * 2));
}

.nav {
  padding-block: calc(var(--size) * 2);
}

.banner {
  position: relative;
  height: calc(var(--size) * 128);
}

.section {
  padding-block: calc(var(--size) * 8);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Elements */
.title {
  margin: 0;
  font-family: var(--primary-font);
  font-size: calc(var(--size) * 8);
  font-weight: 800;
}

.title--xl {
  font-size: calc(var(--size) * 10);
  font-weight: 900;
}

.interactive {
  margin: 0;
  font-family: var(--primary-font);
  font-size: calc(var(--size) * 3.5);
  font-weight: 600;
}

.img {
  display: block;
  object-fit: cover;
}

.img--logo {
  width: calc(var(--size) * 12);
  height: calc(var(--size) * 12);
  border-radius: 50%;
}

.img--background {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.5);
}

.link {
  color: var(--white-color);
  text-decoration: none;
  transition: color var(--transition-duration);

  &:hover {
    color: var(--primary-color);
  }
}

/* Utils */
.d-flex {
  display: flex;
}

.g-2 {
  gap: calc(var(--size) * 2);
}

.g-4 {
  gap: calc(var(--size) * 4);
}
