/* Base styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem;
  gap: 2rem;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInFromLeft 0.6s ease-out 0.2s forwards;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile {
  text-align: center;
  padding-bottom: 2rem;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.skills {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: #555;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tertiary);
  text-decoration: none;
  padding: 0.25rem 0;
}

.social-link:hover {
  color: var(--primary);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-link span {
  font-size: 0.9rem;
}

.main-content {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInFromBottom 0.6s ease-out 0.4s forwards;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  margin-bottom: 2rem;
}

.section h2 {
  margin-top: 0;
  color: var(--secondary);
  border-bottom: 2px solid var(--outline);
  padding-bottom: 0.3rem;
}

.section p {
  margin: 0.5rem 0;
}

.section ul {
  list-style-type: none;
  padding-left: 0;
}

.section li {
  margin: 0.5rem 0;
}

.section a {
  color: var(--primary);
  text-decoration: none;
}

/* Styles for lists with class "list" */
ul.list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

ul.list li {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.section a:hover {
  text-decoration: underline;
}

div.card:has(.tabs) {
  position: relative !important;
  padding-top: 40px !important;
}

.tabs {
  background: inherit !important;
  top: 0px !important;
  position: absolute !important;
  width: 100% !important;
  border-radius: 20px 20px 0px 0px;
  left: 0px;
  margin: 0px !important;
}

/* Tab content styling */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

#info {
  margin-top: 20px !important;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background-color: var(--surface);
  border-radius: 4px;
}

.skill-name {
  font-weight: 500;
  color: var(--on-surface);
}

.skill-level {
  font-size: 0.9rem;
  color: var(--tertiary);
  font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    margin: 1rem;
    gap: 1rem;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .main-content {
    width: 100%;
    min-width: unset;
  }
}
