@view-transition {
  navigation: auto;
}

:root {
  --font: 'Bebas Neue';
  --color-fg: #fbf3e2;
  --color-bg: #002f3d;
  --transition-duration: .2s;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

header {
  position: fixed;
  inset: 60px;
}

header img {
  position: absolute;
  filter: blur(8px);
  transition: all var(--transition-duration) ease-in-out;
}

header img:hover {
  filter: blur(0);
}

header .logo {
  left: 0;
  top: 0;
}

 header .systoff {
  right: 0;
  top: 0;
  opacity: 0;
 }

@media only screen and (min-width: 780px) {
  header:has(.logo:hover) .systoff {
    opacity: 1;
    filter: blur(0);
  }
}

header .qr {
  left: 0;
  bottom: 0;
}

h1 {
  display: none;
}

main {
  position: relative;
  width: 61.8%;
  right: 38.2%;
  left: 120px;
  border-right: 2px solid var(--color-fg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: right;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 33vh 0;
}

.projects li {
  position: relative;
  left: 40px;
}

.projects li.disabled {
  pointer-events: none;
  opacity: 0.33;
}

.projects li.disabled img {
  filter: blur(8px);
}

.projects li img {
  transition: all var(--transition-duration) ease-in-out;
}


.projects a {
  display: grid;
  place-items: center;
  opacity: 1;
  padding: 20px 0;
}

.projects h2 {
  position: absolute;
  right: 120px;
  pointer-events: none;
  font-size: 32px;
  font-weight: 400;
  opacity: 1;
  transition: all var(--transition-duration) ease-in-out;
}

.projects a:hover h2 {
  opacity: 1;
  filter: blur(0);
}

.projects span {
  pointer-events: none;
  position: absolute;
  right: 110px;
  white-space: nowrap;
  opacity: 1;
  transition: all var(--transition-duration) ease-in-out;
  text-align: right;
  display: inline-block;
  top: 70px;
}

@media (hover: hover) {
  .projects h2,
  .projects span {
    filter: blur(8px);
  }
}

.projects li.disabled h2,
.projects li.disabled span {
  filter: blur(8px);
}

.projects a:hover span {
  opacity: 1;
  filter: blur(0);
}
