.image-samples {
    padding: 0;
    display: grid;
    grid-column-gap: 2.4rem;
    grid-row-gap: 2.4rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));

    max-width: 1000px;
    list-style-type: none;
}


.image-sample {
    display: flex;
    flex-direction: column;
    
}

.image-sample  img{
    width: 100%;    
}

.image-sample .caption {
    background: #333;
    color: #eee;
    padding: .25em .5em;
    font-size: .75em;
}


.image-example-1 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 300px;

    display: grid;
    grid-template-columns: 1fr 12fr 1fr;
    grid-template-rows: 1fr 6fr 1fr;
}

.image-example-1 img {
    width: 100%;
}

@keyframes fadeinoutfull {
    0%   {opacity: 0}
    100% {opacity: 1}
}

@keyframes fadeinout {
    0%   {opacity: .3}
    70%  {opacity: .8}
    95%  {opacity: .8}
}

.image-example-1--image-1 {
    grid-row: 1 / span 2;
    grid-column: 1 / span 2;
}


.image-example-1--image-2 {
    grid-row: 2 / span 2;
    grid-column: 2 / span 2;
    opacity: .4;
}

.fade {
    animation: fadeinout ease-in-out 4s infinite;
}