.titulo-proyectos{
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo-proyectos p{
    font-family: Bebas Neue;
    font-size: 100px;
    text-align: center;
}

/*--------------------------------*/

.items-proyectos{
    display: flex;
    flex-direction: column;
    margin: 20px;
    padding: 0 30px;
}

.card-proyectos{
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--naranja--);
    border-radius: 50px;
    padding: 20px;
    margin-bottom: 20px;
}

.contenido-proyecto{
    margin: 20px;
}

.contenido-proyecto h4 {
    color: var(--naranja--);
    font-family: Quicksand;
    font-weight: bolder;
    font-size: 30px;
}

.contenido-proyecto p {
    margin-top: 20px;
    font-family: Quicksand;
    text-align: justify;
    font-size: 20px;
}

.img-proyecto{
    width: 300px;
}

.img-proyecto img {
    width: 200px;
    border-radius: 30px;
}

.boton-ver-mas{
    display: flex;
    justify-content: end;
    align-items: center;
}

.boton-ver-mas span{
    font-size: 20px;
    font-family: Quicksand;
    cursor: pointer;
}

.boton-ver-mas img{
    margin-left: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  .modal-content{
    position: relative;
    display: flex;
    flex-direction: column;    
    align-items: center;
    background-color: var(--blanco--);
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid var(--naranja--);
    border-radius: 25px;
    width: 80%; /* Could be more or less, depending on screen size */
    /*height: 100%;*/
  }


  .modal-content h4{
    color: var(--naranja--);
    font-family: Quicksand;
    font-weight: bolder;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .modal-content span > strong {
    font-family: Quicksand;
    font-weight: bolder;
  }

  .modal-content p {
    margin-top: 30px;
    font-family: Quicksand;
    text-align: justify;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .modal-content button {
    width: 300px;
    height: 80px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: var(--naranja--);
    border: none;
    border-radius: 25px;
  }

  .modal-content button a {
    font-family: Quicksand;
    font-weight: bolder;
    color: var(--blanco--);
    text-decoration: none;
    font-size: 30px;
  }

  /*-------------------------------------------------------------*/

  .close{
    font-family: Quicksand;
    font-weight: bolder;
    font-size: 80px;
    right: 15px;
    top:0px;
    position: absolute;
    color: var(--negro--);
    cursor: pointer;
  }

  /*----------------------------------------------------------*/

  /*Imagenes modal*/

  .imagenes-modal{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
  }

  .imagenes-modal img {
    width: 250px;
  }

  @media (max-width: 1317px) {
    .imagenes-modal {
      display: grid;
      grid-template-columns: auto auto;
      grid-template-rows: auto auto;
      row-gap: 15px;
      column-gap: 10px;
      justify-content: center;
    }
  }  

  @media (max-width: 866px) {
    .imagenes-modal img{
      width: 100%;
    }

    .titulo-proyectos p{
      margin-top: 15px;
      font-size: 30px;
    }

    .card-proyectos{
      flex-direction: column;
    }

    .contenido-proyecto h4 {
      font-size: 20px;
      text-align: center;
    }

    .contenido-proyecto p {
      font-size: 15px;
    }

    .img-proyecto{
      width: auto;
    }

    .boton-ver-mas span{
      font-size: 15px;
    }
  
    .boton-ver-mas img{
        width: 15px;
        height: 15px;
    }

    .modal-content h4{
      margin-top: 30px;
      font-size: 20px;
    }

    .modal-content p {
      font-size: 15px;
      padding: 5px;
    }
    
    .modal-content span:nth-child(1){
      font-size: 50px;
    }

    .modal-content button {
      width: 150px;
      height: 40px;
    }
  
    .modal-content button a {
      font-size: 15px;
    }

  }