    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
    body {
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #f1f1f1;
}
nav a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(255, 255, 255);
}   
nav {
    width: 100%;
    background:#009975;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
h1{
    text-align: center;
    margin-top: 80px;
     color: #00ffd5;
}
.contenedor{
    display: flex;
    justify-content: center;
    padding-right: 450px;
    padding-left: 450px;
    margin-top: 20px;
    font-size: 20px;
    
}
.contenedor img {
    max-width: 800px;
    justify-content: center;
    border-radius: 50px;

}
.proyectos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.proyecto {
    margin-top: 30px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  width: auto;
  min-width: 200px;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
   justify-content: space-between;
}

.proyecto h3 {
    color: #00ffd5;
    margin-bottom: 10px;
}
.proyecto h2 {
    color: #00ffd5;
    margin-bottom: 10px;
}
.sobremi h2 {
    color: #00ffd5;
    margin-bottom: 10px;
}

.proyecto p {
    padding-top: 20px;
    color: #b0b0b0;
}

.proyecto a {
    display: inline-block;
    margin-top: 10px;
    background-color: #00ffd5;
    color: #121212;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
}
.proyecto img{
    max-width: 150px;
}

.articulos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.articulo {
    margin-top: 100px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  width: auto;
  min-width: 600px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.articulo h2 {
    color: #00ffd5;
    margin-bottom: 10px;
}

.articulo p {
    padding-top: 30px;
    color: #b0b0b0;
}
.articulo address{
    margin-top: 20px;
}
.articulo footer{
    margin-top: 20px;
}


main {
    background-color: #2e2e2e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
}


form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    margin-bottom: 5px;
}

input, textarea {
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

button {
    margin-top: 20px;
    padding: 12px;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #005fa3;
}

.contactanos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contacto {
    margin-top: 100px;
  background: #1e1e1e;
  padding: 50px;
  border-radius: 10px;
  width: auto;
  min-width: 600px;
  max-width: 2000px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contacto input{
    width: 400px;
}
.contacto h2{
   color: #00ffd5
}

.sobremis {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.sobremi {
    margin-top: 100px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  width: auto;
  min-width: 600px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sobremi img{
    max-width: 500px;
    max-height: 300px;
}
.sobremi li{
    text-align: left;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 10px;
    margin-top: 50px;
    padding: 40px;
}

.grid-item img {
    width: 400px;
    height: auto;
    display: block;
    border-radius: 20px;
}