* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent-gold: #ffc107;
}

body {
  padding-top: 70px;
}

#hero {
  min-height: calc(100vh - 130px);
}

.navbar-dark .navbar-nav .nav-link {
  color: #f5f5f5;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  font-family: monospace;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffc107;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #ffc107;
}

.navbar-dark .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-brand {
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #ffc107;
}

a.profile-link {
  display: inline-block;
  cursor: pointer;
}

a.profile-link img.profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #6c757d;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  transition: all 0.3s ease;
  cursor: pointer;
}

a.profile-link:hover img.profile-img,
a.profile-link img.profile-img:hover {
  transform: scale(1.05);
  border: 3px solid #ffc107;
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

.social-icon {
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
}

.icon-circle {
  transition: all 0.3s ease;
}

.social-icon:hover .icon-circle.border.border-light {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: #1a1a1a;
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

.social-icon:hover .icon-label {
  color: var(--accent-gold);
}

footer {
  padding: 1rem;
  font-size: 0.8rem;
}

.typing-cursor {
  animation: blink 0.7s infinite;
  font-weight: normal;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  a.profile-link img.profile-img {
    width: 120px;
    height: 120px;
  }
  .sidebar {
    display: none;
  }
}

@media (max-width: 480px) {
  a.profile-link img.profile-img {
    width: 100px;
    height: 100px;
  }
}

.social-icon:focus,
.profile-link:focus,
.navbar-brand:focus,
.nav-link:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

.sidebar-link {
  transition: color 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  color: #ffc107;
  border-left-color: #ffc107;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #6c757d;
  transition:
    transform 0.3s ease,
    border 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border: 3px solid #ffc107;
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
  cursor: pointer;
}
