/* General style */
body {
  min-height: 80%;
  background-color: #1f1e1e; 
  color: #e3e4e5;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 60px;
}

/* Navegation Style */

nav {
  background-color: #302d2d;
  padding: 15px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: #e3e4e5;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a.icon-home img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

nav a:hover {
  color: #e30052;
}

/* About me Style*/
.about-title {
  text-align: center;
  margin-bottom: 20px;
}

.about-title h2 {
  color: #ea899a;
  font-size: 32px;
  border-bottom: 2px solid #e30052;
  display: inline-block;
  padding-bottom: 5px;
}

/*Header */
header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 60px;
  color: #e30052;
  perspective: 1000px;
  margin: 0;
}

header p {
  margin-top: 5px;    
  color: #ea899a;
  font-size: 20px;
  font-weight: 500;
}

header .container img {
  width: 180px;
  background-color: #1f1e1e;
  margin-top: 20px;
  border-radius: 25px;
  box-shadow: 5px 5px 20px #ea899a;
}


/* Index style*/
.presetation{
  text-align: center;
  height: auto;
}
section p{
  text-align: center;
  width: auto;
  height: 50%;
  font-size: 20px;
}
section h2{
  text-align: center;
  color: #ea899a;
}
/* presentation style */
.presentation-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  color: #e30052;
}

.presentation-content img {
  width: 150px;
  height: auto;
  border: 3px solid #ea899a;
  border-radius: 12px;
  box-shadow: 0 4px 8px #e30052;
}

.presentation-content p {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
  color: #e3e4e5;
}

/* About Me*/
.about-me {
  margin: 0 300px;
  background-color: #2c2a2a;
  padding: 20px;
  border-radius: 10px;
  
}

.about-me h3 {
  color: #e30052;
  margin-bottom: 15px;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-content img {
  width: 180px;
  border: 3px solid #4a4a4a;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about-content p {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: #e3e4e5;
}

/*Tables Style */
table {
  background-color: #e3e4e5;
  color: #1f1e1e;
  border-collapse: collapse;
  margin: 20px auto;
  width: 80%;
  box-shadow: 0 0 10px #ea899a;
}

th, td {
  padding: 10px;
  border: 1px solid #e30052;
  text-align: center;
}

/* Contenten style */
.contenedor {
  display: flex;
  gap: 40px;
  padding: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.list {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* List Style*/
ul {
  margin: 0;
  padding: 20px;
}

.contact ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

/* Seccion style */
section {
  padding: 40px 20px;
}

h3 {
  color: #e30052;
}

h4 {
  color: #ea899a;
  margin-bottom: 10px;
  font-size: 18px;
}
  .presentation-content img,
  .about-content img {
    margin-bottom: 15px;
  }

  .about-me {
    margin: 20px;
  }

  table {
    width: 100%;
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
  }
/* projects style*/
.my-projects {
  display: flex;
  flex-direction: column; /* <--- CAMBIO CLAVE */
  align-items: center;
  background-color: #1f1e1e;
  border-radius: 25px;
  box-shadow: 5px 5px 20px #ea899a;
  gap: 40px;
  padding: 20px;
  margin: 40px auto;
  max-width: 900px;
}

.projects1 {
flex: 1;
color: #e30052;
}

.projects1 img {
width: 400px;
max-width: 100%;
border-radius: 25px;
box-shadow: 5px 5px 20px #ea899a;
}

.projects {
  width: 100%;
  display: flex;
  justify-content: center;
}

.projects table {
  width: 90%;
  background-color: #e3e4e5;
  color: #1f1e1e;
  border-collapse: collapse;
  box-shadow: 0 0 10px #ea899a;
}

.projects th, .projects td {
border: 1px solid #e30052;
padding: 10px;
text-align: center;
}
/*Form style */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
}


.contact-form {
  background-color: #2c2a2a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 10px #e30052;
  width: 100%;
  max-width: 600px;
  color: #e3e4e5;
}

/* Título */
main h2 {
  color: #e30052;
  text-align: justify;
  margin-bottom: 10px;
  text-align: center;
}

.contact-form p {
  text-align: center;
  color: #ea899a;
  margin-bottom: 20px;
}

/* Campo de formulario */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  color: #ea899a;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ea899a;
  border-radius: 5px;
  font-size: 1rem;
  color: #1f1e1e;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e30052;
}

/* Botón de enviar */
.send input {
  background-color: #e30052;
  color:#e3e4e5;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.send input:hover {
  background-color: #ea899a;
  color: #1f1e1e;
}


footer {
  background-color: #302d2d;
  color: #ea899a;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  border-top: 2px solid #e30052;
}

footer ul.list2 {
  list-style: none;
  padding: 0;
  margin: 0 auto 10px auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

footer .list2 li {
  color: #ea899a;
}

footer .socialmedia {
  margin: 10px 0 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer .socialmedia img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

footer .socialmedia img:hover {
  transform: scale(1.2);
}

footer p {
  margin-top: 10px;
  color: #e3e4e5;
}


