.frame-container{
    display: flex;
    padding-bottom : 6em;
}

.frame{
    flex : 1;
    display: flex;
    flex-direction: row-reverse;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    min-height: 400px;
}

.frame-container:nth-child(2n) .frame{
    flex-direction: row;
}

.frame-container:nth-child(2n) .frame .image{
    border-radius: 0px;
}

.frame .content{
    flex : 1;
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    padding: 2em;
}

.frame a{
    margin-top : 2em;
    width: fit-content;
    align-self: center;
}

.frame h3{
    font-size: 1.3rem;
    font-weight: 100;
    margin-bottom: 1em;
    text-align: center;
}

.frame ul {
    list-style-type: disc;
    padding-left : 1em;
}

.frame .image{
    flex : 1;
    flex-basis: 50%;
    display: flex;
    overflow: hidden;
    position: relative;
}

.frame .image > div:not(.embla){
    flex : 1;
    background-size: cover;
    transform : scale(1);
    transition: all 0.5s ease-in-out;
    background-position: right;
}

.frame .image  a{
    display: block;
    text-decoration: none;
    opacity: 0;
    position : absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    background-color: var(--color-gray);
    padding: 0.5em;
    border: 1px solid;
    margin: unset;
    cursor: pointer;
    user-select: none;
    transition: opacity 1ms;
    transition-delay: 300ms;
}

.frame .image .embla__slide.contain{
    background-size: contain;
}




.frame .image.hover > div{
    transform: scale(1.2);
    transition: all 0.3s;
    transition-timing-function: ease-in-out;
}

.frame .image.hover a{
    display: block;
    opacity: 1;
}

.frame .image.hover .embla__slide.is-snapped{
    flex-basis:100%
  }

  .frame .image.hover .embla__slide:not(.is-snapped){
    flex-basis:0%;
  }

@keyframes show {
    from {
        display: none;
    }
    to {
        display: block;
    }
}

@media (max-width : 640px){
    .frame .image a {
        font-size: 1rem;
    }
}

@media (max-width : 1028px){
    .frame {
        flex-direction: column!important;
    }

    .frame .image {
        min-height: 300px;
        border-radius: 0px!important;
    }
}