@font-face {
  font-family: 'FormaDJR';
  src: url('./FormaDJRDeck-Regular-Testing.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FormaDJR';
  src: url('./FormaDJRVariable-VF-Testing.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'FormaDJR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #f5f5f5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0;
}

.model-section {
  grid-column: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  background-color: #f5f5f5;
}

model-viewer {
  width: 100%;
  height: 60vh;
  background: transparent;
  position: relative;
  z-index: 1;
}

.hand-plate {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}

.content-section {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 2rem;
  background-color: #f5f5f5;
}

.entry-title {
  color: #2c3e50;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.entry-date {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.entry-description {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 90%;
}

.back-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #e0e0e0;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: #d0d0d0;
  transform: translateY(-1px);
}



@media (max-width: 1024px) {
  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  
  .model-section {
    grid-column: 1;
    grid-row: 1;
    padding: 1.5rem;
  }
  
  .content-section {
    grid-column: 1;
    grid-row: 2;
    padding: 2rem 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  model-viewer {
    height: 50vh;
  }
  
  .entry-title {
    font-size: 2.5rem;
  }
  
  .entry-date {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .model-section {
    padding: 1rem;
  }
  
  .content-section {
    padding: 1.5rem 1rem;
  }
  
  model-viewer {
    height: 40vh;
  }
  
  .entry-title {
    font-size: 2rem;
  }
  
  .entry-date {
    font-size: 1.1rem;
  }
  
  .entry-description {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .model-section {
    padding: 0.5rem;
  }
  
  .content-section {
    padding: 1rem 0.5rem;
  }
  
  model-viewer {
    height: 35vh;
  }
  
  .entry-title {
    font-size: 1.8rem;
  }
  
  .entry-date {
    font-size: 1rem;
  }
  
  .back-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
