body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #17242E;
  background-color: #EFEEE7;
  font-size: 18px;
}
h1, h2, h3 {
  font-family: 'Zilla Slab', Georgia, serif;
}

header {
  background-color: #17242E;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}
footer {
  background-color: #17242E;
  color: white;
  text-align: center;
  padding: 20px;
}
.boton {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background-color: #C06A2C;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.2s;
}
.boton:hover {
  background-color: #a8571f;
}
section {
  margin-bottom: 30px;
}

h2 {
  border-bottom: 2px solid #3E7C6B;
  padding-bottom: 8px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 10px 0;
  border-bottom: 1px solid #cfc9ba;
}
.sobre-mi {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sobre-mi img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .sobre-mi {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .sobre-mi {
    flex-direction: column;
    text-align: center;
  }

  .cols {
    grid-template-columns: 1fr;
  }
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.col h3 {
  color: #3E7C6B;
  border-bottom: 2px solid #3E7C6B;
  padding-bottom: 8px;
}
.contacto {
  background-color: #17242E;
  color: white;
  text-align: center;
  padding: 50px 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.contacto h2 {
  margin-bottom: 10px;
}

.contacto p {
  color: #cfd3d2;
  max-width: 40ch;
  margin: 0 auto 20px auto;
}

.contacto .boton {
  font-size: 20px;
}
section {
  margin-bottom: 50px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.boton.ghost {
  background-color: transparent;
  border: 2px solid white;
}

.boton.ghost:hover {
  background-color: white;
  color: #17242E;
}
.sobre-mi {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sobre-mi img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover {
  border-color: #C06A2C;
}