* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

header {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 0;
}

header h1 {
  font-size: 2.5em;
}

header p {
  font-size: 1.2em;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1em;
}

nav a:hover {
  text-decoration: underline;
}

.inicio-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.resume-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

h2 {
  border-bottom: 2px solid #4caf50;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill {
  background: linear-gradient(135deg, #4caf50, #66bb6a); /* Degradado */
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-right: 5px;
}

.skill:hover {
  transform: scale(1.1); /* Efecto de agrandado */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Mayor sombra */
  background: #388e3c; /* Cambio de color en hover */
}


.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background: #4caf50;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #45a049;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
}

footer ul {
  list-style: none;
}

footer ul li {
  display: inline;
  margin-right: 10px;
}

footer ul li a {
  color: white;
  text-decoration: none;
}
footer ul li a:hover {
  color: #4caf50;
  transform: scale(1.1);
}

input::placeholder,
textarea::placeholder {
  color: #bbb;
  font-style: italic;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

button,
nav a {
  transition: all 0.3s ease;
}
button:hover {
  transform: scale(1.05);
  background: #3e8e41; /* Un tono más oscuro */
}
nav a:hover {
  color: #ffcc00; /* Contraste vibrante */
}

#volverArriba {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: none; /* Ocultar inicialmente */
}

#volverArriba:hover {
  background-color: #45a049;
  transform: scale(1.1);
}

.proyecto-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  text-align: center;
}

.proyecto-section h2 {
  border-bottom: 2px solid #4caf50;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #2c3e50;
}

.proyecto-section ul {
  list-style: none;
  padding: 0;
}

.proyecto-section li {
  margin: 10px 0;
}

.proyecto-section a {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.proyecto-section a:hover {
  background: #45a049;
  transform: scale(1.05);
}
