html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.quick-links-under-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 10px 0 20px;
  flex-wrap: wrap;
}

.quick-links-under-title a {
  color: rgb(26, 100, 161);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  text-align: center;
}

.quick-links-under-title a:hover {
  color: white;
}

.secondary-links {
  display: flex;
  gap: 25px;
}

@media (max-width: 768px) and (min-width: 601px) {
  .quick-links-under-title {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .home-link {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .secondary-links {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    gap: 0;
  }

  .cert-link {
    position: absolute;
    right: 100%;
    transform: translateX(20px);
  }

  .proj-link {
    position: absolute;
    left: 100%;
    transform: translateX(-20px);
  }
}

@media (max-width: 600px) {
  .quick-links-under-title {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .secondary-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .secondary-links a {
    transform: none !important;
    width: 100%;
    text-align: center;
  }
}
