
body {
  margin: 0;
  padding: 0; /*quitar los margenes exteriores*/
}

.grid_portadas{
  margin-top: 3vh;
  display: flex;
  justify-content: space-around;
}

.cuadricula{
  width: 40%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 3%;
}

.subacc{
  width: 30%;
  height: 70vh;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: auto;
}


.portada_trabajo{
  width: 100%; /*que la foto ocupe el 100% del width de "cuadricula"*/
  height: 80%;
  border-radius: 2px;
  overflow: hidden;
  object-fit: cover;
  border: 3px solid #f09f07;
}


.cuadricula_texto{
  font-family: 'Libre Franklin';
  font-size: 2em;
  text-align: center;
  margin-bottom: 3%;
  color: #f09f07;
}

.cuadricula a{
  text-decoration: none;
  font-weight: bold;
  color: black;
  background-color: #f09f07;
  padding: 2vh 1vw;
  font-size: 1em;
  margin-bottom: 3vh;
  margin-top: 4vh;
  border-radius: 8px;
}

.cuadricula a:hover{
  background-color: #bbbbbb;
  transition: 0.8s;
}

.subacc a{
  font-size: 0.5em;
}


@media screen and (max-width: 850px){ /*min-width */

  .grid_portadas{
    padding-top: 10vh;
    flex-direction: row;
    align-items: center;
  }

  .cuadricula{
    width: 40%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .cuadricula_texto{
    font-size: 1.5em;
  }


}

@media screen and (max-width: 400px){ /*min-width */

  .grid_portadas{
    flex-direction: column;
    align-items: center;
  }

  .cuadricula{
    width: 60%;
    font-size: 0.7em;
  }

  .cuadricula a{
    padding: 1vh 3vw;
  }


  .cuadricula_texto{
    font-size: 1.2em;
  }

}
