/* ========== Base ========== */
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #111;
  line-height: 1.5;
}

main, header, footer {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== Tipografía y enlaces ========== */
ul {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

a {
  color: #0055ff;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a:hover, a:focus-visible {
  text-decoration: underline;
}

span,
.disclaimer-title {
  text-decoration: underline;
}

/* ========== Disclaimer ========== */
#disclaimer {
  background-color: #111;
  color: aliceblue;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

/* ========== Responsivo ========== */
@media (max-width: 1024px) {
  main, header, footer {
    max-width: 100%;
    width: 95%;
    /* padding: 1.5rem 1rem; */
  }
}

@media (max-width: 768px) {
  a {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
  }
}

/* ========== Proyectos ========== */
#projects ul {
  list-style-type: disc;
  margin-top: 0;
}

#projects li {
  position: relative;
  line-height: 1.6;
  padding-bottom: 0.5rem;
}

#projects h3 {
  margin: 0;
  font-size: 1.1rem;
}

#projects em {
  color: #555;
}

#projects span {
  display: block;
  margin-top: 0.3rem;
}

#projects .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-links a {
  color: #111;
  margin-left: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.project-links a:hover {
  color: #474341;
  transform: scale(1.1);
  opacity: 1;
}

.project-links i {
  width: 18px;
}

/* ========== Contacto ========== */
#contact {
  margin-top: 2rem;
}

#contact h2 {
  margin-bottom: 0.75rem;
}

#contact p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

#contact p a {
  padding: 0;
  font-size: inherit;
}


.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-list li {
  margin: 0;
  padding: 0;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #111;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-list a:hover {
  color: #0055ff;
}

.contact-list i {
  width: 18px;
  height: 18px;
}