.container > div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #ffeead;
  ;
}

.container > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html, body {
  background-color: light grey;
  margin: 25px;
}

.container {

display: grid;
grid-gap: 5px;
grid-template-columns: repeat (auto-fit, minmax (100px, 1fr))
grid-auto-rows: 5px;
grid-auto-flow: dense;

}

.horizontal {
grid-column: span 2;
}

.verticle {
grid-row: span 4;

}

div {
  margin-top: 5px;
  margin-bottom: 15px;
  margin-right: 10px;
  margin-left: 10px;
}

.sticky{
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 25px;
  width:300px;
  background-color:red;
}

p{
  font-family: Georgia, 'Times New Roman', Times, serif
  padding: 0;
  margin: 0;
}












.grid-item{
  display: block;
  overflow: hidden;
}

.grid-item img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.grid-item {
  transform: translateY(-10%);
  opacity: 0;
  transition: 600ms transform cubic-bezier(0.55, 0.055, 0.675, 0.19), 600ms opacity cubic-bezier(0.55, 0.055, 0.675, 0.19) 300ms; 
  &.inview {
      transform: translateY(0);
      opacity: 1;
  }
}