#values {
    position: relative;

    @media only screen and (max-width: 980px) {
        padding-block: 50px;
    }

    .wrap {
        width: 100%;   
        display: flex;
        gap: 50px;
        position: relative;

        @media only screen and (max-width: 980px) {
            display: grid;  
            gap: 20px;
        }
        
        @media only screen and (min-width: 980px) {
            height: calc(60vh * var(--count));       
        }

        .left {
            flex-basis: 50%;
            left: 0;
            display: flex;
            box-sizing: border-box;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            @media only screen and (min-width: 980px) {
                height: 100vh;               
                top: 0;
                position: sticky;
            }

            .title {
                align-self: baseline;
            }

            .description {
                margin-top: 25px;
                text-align: left;
                align-self: baseline;


                @media only screen and (min-width: 980px) {
                    font-size: 32px;
                }

            }
        }

        .right {
            flex-basis: 50%;
            overflow: hidden;

            @media only screen and (min-width: 980px) {
                height: 100vh;
                position: sticky;
                top: 0;
            }

            .card {
                width: 100%;                
                border-radius: 32px;
                margin-bottom: 10px;
                transition: 0.5s ease-in-out;
                box-sizing: border-box;
                padding: 64px 34px;
                display: flex;
                justify-content: center;
                flex-direction: column;
                gap: 20px;
                backdrop-filter: blur(10px);
                background-color: rgba(0,0,0,0.3);
                border: 2px dashed var(--primary);
                text-align: center;
                background-image: radial-gradient(transparent 1px, #000 1px);
                background-size: 4px 4px;
                backdrop-filter: blur(3px);

                @media only screen and (min-width: 980px) {
                    position: absolute;
                    top: calc(50% - 175px);
                    left: calc(50% - 175px);
                    width: 450px;
                    height: 450px;    
                    padding: 34px;               
                }


                &.away {
                    transform-origin: bottom left;
                }
                
                .sub {
                    background: var(--primary);
                    font-weight: 600;
                    color: #fff;
                    width: fit-content;
                    padding: .8em 1em;
                    border-radius: 150px;
                    margin-inline: auto;
                    text-box: cap alphabetic;
                    text-transform: uppercase;
                }

                .content {
                    font-size: 44px;
                    font-weight: 700;
                    line-height: 54px;

                    @media only screen and (max-width: 980px) {
                        font-size: 32px;
                        line-height: 1.3;
                    }

                }
            }
        }

    }
}