html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.profile-page {
  color: #1f2937;
}

.profile-page a {
  text-decoration: none;
}

.profile-hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 56px 0;
}

.profile-eyebrow {
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.profile-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.profile-hero h2 {
  color: #4f46e5;
  font-size: 24px;
  font-weight: 700;
  margin: 14px 0;
}

.profile-intro {
  color: #4b5563;
  font-size: 18px;
  max-width: 720px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.main-button {
  background-color: #4f46e5;
  border: solid 1px #4f46e5;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 20px;
  padding: 13px 22px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  width: max-content;
}

.main-button:hover {
  background-color: #111827;
  box-shadow: rgba(79, 70, 229, 0.3) 0 12px 20px -10px;
  color: #ffffff;
  transform: translateY(-5px);
}

.main-button:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

.secondary-button {
  background-color: #ffffff;
  color: #4f46e5;
}

.profile-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: rgba(17, 24, 39, 0.12) 0 18px 45px -20px;
  padding: 28px;
  text-align: center;
}

.profile-avatar {
  align-items: center;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 54px;
  font-weight: 800;
  height: 120px;
  justify-content: center;
  margin: 0 auto 18px;
  width: 120px;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card p {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-card span {
  color: #6b7280;
}

.profile-section {
  padding: 28px 0;
}

.profile-section h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
}

.profile-details {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  border-radius: 8px;
  padding: 24px;
}

.profile-details p {
  color: #4b5563;
  font-size: 17px;
  margin: 0;
}

.experience-cards-div {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  border-radius: 8px;
  display: none;
  margin: 28px 0;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-cards-div:target {
  animation: show-interest 0.35s ease-out;
  display: block;
}

.experience-cards-div:hover {
  box-shadow: rgba(79, 70, 229, 0.18) 0 16px 24px -16px;
  transform: translateY(-5px);
}

.experience-cards-div h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.experience-cards-div p {
  color: #4b5563;
  font-size: 17px;
  margin: 0;
}

@keyframes show-interest {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-icons {
  list-style: none;
  margin: 0;
  padding-left: 0;
  text-align: center;
}

.software-skill-inline {
  display: inline-block;
  margin: 0 16px 18px;
}

.software-skill-inline > i {
  align-items: center;
  background: #eef2ff;
  border-radius: 10px;
  color: #4f46e5;
  display: flex;
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  margin-bottom: 8px;
  width: 64px;
}

.software-skill-inline > p {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: rgba(17, 24, 39, 0.12) 0 10px 30px -15px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.experience-card:hover {
  box-shadow: rgba(17, 24, 39, 0.18) 0 20px 30px -10px;
  transform: translateY(-6px);
}

.experience-banner {
  align-items: center;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: flex;
  height: 110px;
  justify-content: center;
}

.experience-text-company {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.experience-text-details {
  padding: 22px;
}

.experience-text-role {
  color: #1f2937;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.experience-text-date {
  color: #4f46e5;
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0;
  text-align: center;
}

.experience-text-desc {
  color: #4b5563;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .profile-hero {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .profile-hero h1 {
    font-size: 36px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}
