body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/yy.jpg") repeat;
  background-size: cover;
  opacity: 50;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Schibsted Grotesk', sans-serif;
  letter-spacing: -0.04em; 
  font-weight: 600; 
  color: #000000; 
  text-shadow: 0px 0px 1px rgba(1, 24, 15, 0.767); 
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}


.bg-index {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2; 
  filter: blur(2px);
  overflow: hidden;
}

.bg-index iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; 
}


.nav-left {
  position: absolute;
  top: 18px;
  left: 10px;
}

.nav-right {
  position: absolute;
  top: 18px;
  right: 10px;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  font-weight: 600;
  padding: 20px;
}



.work-container {
  text-align: center;
}

.typing {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid black;
  width: 0;
  animation: typing 3s steps(20, end) forwards, blink 0.8s step-end infinite;
  
}



@keyframes typing {
  from { width: 0; }
  to { width: 18ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.dots::after {
  content: '';
  animation: dots 1.5s infinite steps(1);
}

@keyframes dots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

.work-container {
  text-align: justify;
}

  .top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; 
    margin-bottom: 20px;
  }

.nav-left {
  left: 0px;
}

.nav-right {
  right: 0px;
}


}





