@import url('./profileCard.css');
@import url('./aboutCard.css');
@import url('./recentPosts.css');

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  z-index: 1;
  
  padding: 2rem;

  opacity: 0;
  animation: fadeIn 1s ease forwards;
  transform: translateY(25px) scale(1.1);
  perspective: 1000px;
}

div p {
  text-indent: 20px;
}

.typing {
  display: inline;
  white-space: pre-wrap;
  word-break: break-word;
  border-right: 2px solid white;

  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.layout {
  display: grid;
  grid-template-columns: 350px 1fr;

  width: min(1000px, 100%);
  margin: 0 auto;

  gap: 1rem;
  align-items: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.content {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.panel {
  background: rgba(14, 15, 19, 0.6);
  border-radius: 35px;
  padding: 1rem;

  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.notes {
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }
}