body
{
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
min-height: 100vh;
color: rgb(134, 133, 133);
background: url("../img/Dos.jpg") no-repeat center center fixed;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  body{
    background-image: linear-gradient(rgba(5, 7, 12, 0.623), rgba(5, 7, 12, 0.623)),
    url(../img/Dos.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 100%;

  }
  
  
  .container{
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 3em;
    
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
  }
  
  
  .item{
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.095);
    
    transition: all 300ms;
    
    position: relative;
  }
  
  
  .item::after {
    content: "";
    background-color: rgba(179, 229, 252, .1);
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    transform: scale(0);
    transition: all 300ms;
    opacity: 0;
  }
  
  .item:hover:after{
    opacity: 1;
    transform: scale(1);
  }
  
  .item:hover {
    transform: scale(1.05);
  }
  
  .item-text{
    padding: 1em;
  }
  
  
  .item-img{
    max-width: 100%;
    display: block;
  }
  
  
  @media screen and (min-width: 590px) {
    
    .container{
      grid-template-columns: repeat(2, 1fr);
    }
    
  }
  
  
  
  @media screen and (min-width: 960px) {
    
    .container{
      grid-template-columns: repeat(3, 1fr);
    }
    
  }

h1 
{
text-align: center;
  color: rgba(200, 0, 0, 0.8);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: inherit;
  text-decoration: none;
}

section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

section > div.proyecto-btn {
  background: linear-gradient(90deg, #c80000cc 0%, #f1c40f 100%);
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: center;
  min-width: 180px;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

section > div.proyecto-btn:hover {
  background: linear-gradient(90deg, #f1c40f 0%, #c80000cc 100%);
  color: #232526;
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}

section > div.proyecto-btn a {
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: block;
}

