main {
    overflow: hidden;
    position: relative;
    width: 100%;
    /*height: 65vh;*/
    height: 70vh;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom right, #e8e4a9, #f5b6c1);
}

.item {
    object-fit: cover !important;
    width: 200px;
    height: 300px;
    list-style-type: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

    .item:nth-child(2) {
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
    }

    .item:nth-child(1) {
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
    }

    .item:nth-child(n) {
        right: 0;
    }

.item {
    opacity: 0;
}

    .item:nth-child(1),
    .item:nth-child(2),
    .item:nth-child(n):not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(n+3)) {
        opacity: 1;
    }

/*  .item:nth-child(n+1) {
        right: calc(3% + 140px);
    }

  .item:nth-child(5) {
        right: calc(53% + 660px);
    }

    .item:nth-child(6) {
        right: calc(53% + 880px);
        opacity: 0;
    }
    .item:nth-child(7) {
        right: calc(53% + 1100px);
        opacity: 0;
    }
*/


.content {
    width: min(30vw,400px);
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translateY(-50%);
    font: 400 0.85rem helvetica,sans-serif;
    color: white;
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
    opacity: 0;
    display: none;
}

    .content .title {
        font-family: 'arial-black';
        text-transform: uppercase;
        color: white;
    }

    .content .description {
        line-height: 1.7;
        margin: 1rem 0 1.5rem;
        font-size: 0.8rem;
    }

    .content a {
        width: fit-content;
        /*background-color: rgba(0,0,0,0.1);*/
        /*color: white;*/
        border: 2px solid white;
        border-radius: 0.25rem;
        padding: 0.75rem;
        cursor: pointer;
    }



.item:nth-of-type(2) .content {
    display: block;
    animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

main .nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
}

    main .nav .btn {
        /* background-color: rgba(255,255,255,0.5); */
        background-color: rgb(255 255 255 / 68%);
        color: rgb(0 83 114 / 76%);
        border: 2px solid rgb(255 255 255 / 54%);
        margin: 0 0.25rem;
        padding: 0.75rem;
        border-radius: 50%;
        cursor: pointer;
        font-weight: 900;
    }

    main .nav :hover {
        background-color: rgba(255,94,20,0.9);
    }




@media (width > 650px) and (width < 900px) {

    .content .title {
        font-size: 1rem;
    }

    .content .description {
        font-size: 0.7rem;
    }

    .content button {
        font-size: 0.7rem;
    }



    .item {
        width: 160px;
        height: 270px;
    }

        .item:nth-child(n+1) {
            right: 0%;
        }

    /*     .item:nth-child(n+1) {
            right: calc(3% + 170px);
        }*/

    /*  .item:nth-child(5) {
            left: calc(53% + 340px);
        }

        .item:nth-child(6) {
            left: calc(53% + 510px);
            opacity: 0;
        }
        .item:nth-child(7) {
            left: calc(53% + 680px);
            opacity: 0;
        }*/
}


@media (width < 650px) {

    .content .title {
        font-size: 0.9rem;
    }

    .content .description {
        font-size: 0.65rem;
    }

    .content button {
        font-size: 0.7rem;
    }

    .item {
        width: 130px;
        height: 220px;
    }

        .item:nth-child(n+1) {
            right: 0%;
        }




    /*.item:nth-child(5) {
            left: calc(53% + 280px);
        }

        .item:nth-child(6) {
            left: calc(53% + 420px);
            opacity: 0;
        }
        .item:nth-child(7) {
            left: calc(53% + 5600px);
            opacity: 0;
        }*/
}
