
#div1, #div2 {
  float: left;
  width: 300px;
  height: 150px;
  margin: 10px;
  padding: 10px;
  background-color: rgb(228, 241, 252);
 /* border: 1px solid black;*/
}


.wrapper1{
  background: #fff;
  padding: 25px;
  display: flex;

  border-radius: 3px;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
}
.wrapper1 .item{
  max-width:max-content;
  color: #fff;


  padding: 12px 17px;
  background: #304B5F;
  border-radius: 25px;
  align-items: center;
  

}
.wrapper1 .item:last-child{
  margin-bottom: 0px;
}
.wrapper1 .item .text{
  font-size: 18px;
  font-weight: 400;
}
.wrapper1 .item i{
  font-size: 18px;
  cursor: pointer;
}

div #texto {
  padding: 50px;
  margin: 40px;
  box-shadow: 0px 0px 12px #ccc;
  background-color: #fff;
  font-size: 30px
}


/* The Modal (background) */
.modal {


  z-index: 1; /* Sit on top */
 
  overflow: auto; /* Enable scroll if needed */
margin-left: 140px;
margin-top: -120px;
  align-items: center;
  background-color: rgba(0, 0, 0, .5);
  justify-content: center;

  transition: all .3s cubic-bezier(0.39, 0.575, 0.565, 1);

  

}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


*{margin: 0; padding: 0;}
.caja{
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  background: #333944;
}
.box{
  width: 450px;
  height: 300px;
  background: #CCC;
  overflow: hidden;
}

.box img{
  width: 100%;
  height: auto;
}
@supports(object-fit: cover){
    .box img{
      width: 100%;
      object-fit: cover;
      object-position: center center;
    }
}