

* {
    box-sizing: border-box;
  }
  
  .row-proyectos > .column-proyectos {
    margin: 0px 0px 0px 5px;

  }

  @media screen and (width: 500px) {
    .row-proyectos > .column-proyectos{
        /* padding: 0 12px 24px; */
    }
  }

  @media screen and (max-width: 1250px) {
    .row-proyectos{
        display: flex;
        flex-direction: column;
    }
  }
  
  .row-proyectos:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .column-proyectos {
    float: left;
    width: 49.6%;
    position: relative;
    /* border: 1px solid red; */
  }

  @media screen and (max-width: 1250px) {
    .column-proyectos{
        width: 100%;
    }
  }

  .column-proyectos > a:nth-child(1) > img {
    opacity: 0.5;
    /* border-radius: 30px; */
  }

  .column-proyectos > a:nth-child(2) > img {
    /* border-radius: 30px; */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .column-proyectos > a:nth-child(1) > img:hover {
    opacity: 0;
  }

  .column-proyectos > a:nth-child(2) > img:hover {
    opacity: 1; 
  }

  .column-proyectos > a > .texto-imagenes-proyectos {
    position: absolute;
    top: 85%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    padding: 10px;
    font-family: "Inconsolata", monospace;
    font-weight: 350;
    font-size: 35px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.932);
    /* background-color: #ebebeb91;
    border-radius: 15px;
    padding: 0px 5px 0px 5px; */
  }

  @media screen and (max-width: 1250px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 40px;
    }
  }

  @media screen and (max-width: 860px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 30px;
    }
  }

  @media screen and (max-width: 650px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 25px;
    }
  }

  @media screen and (max-width: 500px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 20px;
    }
  }

  @media screen and (max-width: 400px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 15px;
    }
  }

  @media screen and (max-width: 320px) {
    .column-proyectos > a > .texto-imagenes-proyectos{
      font-size: 12px;
    }
  }

  @media screen and (max-width: 1024px){
    @media screen and (orientation: landscape) {
      .column-proyectos > a > .texto-imagenes-proyectos{
        /* font-size: 15vw; */
      }
    }
  }


  .texto-boton-galeria {
    position: absolute;
    vertical-align: middle;
    top: 90%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background-color: rgba(228, 228, 228, 0.623); 
    border: 1px solid #999;
    font-size: 0.6em;
    border-radius: 40px;
    cursor: pointer;
    line-height: 30px;
    font-weight: bold;
    padding: 5px 10px 5px 10px;
    color: rgba(0, 0, 0, 0.8)
  }

  @media screen and (max-width: 500px) {
    .texto-boton-galeria {
      font-size: 0.8em;
      padding: 5px 10px 5px 10px;
      
    }
  }

  @media screen and (max-width: 500px) {
    .texto-boton-galeria:hover {
      font-size: 0.5em;
      padding: 5px 8px 15px 8px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
      background-color: rgba(75, 75, 75, 0.308); 
      color: white;
      font-style: bold;
    }
  }
  
  .texto-boton-galeria:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    /* background-color: rgba(75, 75, 75, 0.308); 
    color: white;
    font-style: bold; */
  }

  
  .grid-item-color {
    display: grid;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: #999;
}
  .grid-item-color div {
      cursor: pointer;
      color: white;
  }