@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;600;700&display=swap');

* {
  font-family: 'Ubuntu', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.cv {
  flex-grow: 1;
  padding: 4rem 2rem 6rem; /* extra bottom padding for nav */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

main.cv h2 {
  font-size: 2.8rem;
  color: #f99e61;
  margin-bottom: 2rem;
}

.cv-imagen {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.cv-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  background-color: #57ace4;
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px #4487b3;
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.btn:hover {
  background-color: #3f7aa1;;
  color: white;
  transform: scale(1.05);
}

/* Bottom navigation bar */
.bottom-nav {
  position: static;
  margin: 2rem auto 1.5rem auto;
  background: #f99e61;
  border-radius: 40px;
  box-shadow: 0 4px 12px #cf8250;
  padding: 0.5rem 1rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  max-width: 500px;
}

.bottom-nav .bubble {
  background-color: white;
  color: #f99e61;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 10px #805132;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.bottom-nav .bubble:hover {
  background-color: #57ace4;
  color: white;
  transform: scale(1.05);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #8e8e93;
  background-color: #fff;
  margin-top: auto;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  main.cv {
    padding: 3rem 1rem 6rem;
  }
}
