.wrap {
    position: absolute;
    -webkit-perspective: 600px;
    perspective: 600px;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    /* left: 0; */
    right: 0;
    overflow: hidden;
    text-align: center;
}

.card-shadow,
.card {
    margin: auto;
    width: 300px;
    height: 450px;
    z-index: 1;
    position: absolute;
    border-radius: 10px;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.card-shadow.mobile-app,
.card.mobile-app {
    width: 18.5rem;
    height: 40rem;
    background-image: none;
}

.card-shadow.desktop-app,
.card.desktop-app {
    width: 40rem;
    height: 21.3rem;
    background-image: none;
}

@media (min-width: 769px) and (max-width:1600px) {
    .card-shadow.mobile-app,
    .card.mobile-app {
        width: 11.5rem;
        height: 25rem;
    }
    .card-shadow.desktop-app,
    .card.desktop-app {
        width: 25rem;
        height: 13.3rem;
    }
    .legend h3 {
        font-size: 3rem;
    }
    .legend h4 {
        font-size: 1rem;
    }
}

@media (max-width: 769px) {
    .card-shadow.mobile-app,
    .card.mobile-app {
        width: 12rem;
        height: 26rem;
        transform: none !important;
        background-position: 0% !important;
    }
    .card-shadow.mobile-app {
        left: 0;
        top: 0;
        -webkit-box-shadow: 0 0 10px 10px #ffffff0f;
        box-shadow: 0 0 10px 10px #ffffff0f;
    }
    .card-shadow.desktop-app,
    .card.desktop-app {
        width: 16rem;
        height: 8.5rem;
        transform: none !important;
        background-position: 0% !important;
    }
    .card-shadow.desktop-app {
        left: 0;
        top: 0;
        -webkit-box-shadow: 0 0 10px 10px #ffffff0f;
        box-shadow: 0 0 10px 10px #ffffff0f;
    }
    .legend.w-25 {
        width: 100% !important;
    }
}

.card {
    background-image: url('../img/cordova.png');
    background-size: 150%;
    background-color: #0000003d;
    background-repeat: no-repeat;
    border: 0px solid #00000000;
}

.card-shine {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    z-index: 1;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    opacity: 0.5;
}

.card-shadow {
    left: 30px;
    top: 10px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(30px);
    transform: translateZ(30px);
    z-index: -1;
    background: #ffffff3d;
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
    -webkit-box-shadow: 0 0 25px 25px #ffffff3d;
    box-shadow: 0 0 25px 25px #ffffff3d;
}

.card-front,
.card-title,
.card-subtitle {
    position: absolute;
    color: #FFF;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.card-front {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.card-title {
    text-align: center;
    left: 0;
    right: 0;
    bottom: 160px;
}

.card-subtitle {
    font-family: 'Comfortaa';
    font-weight: normal;
    text-align: left;
    left: 30px;
    width: 80%;
    bottom: 30px;
    font-size: 1rem;
    line-height: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
}

.ant-btn {
    font-family: 'Comfortaa', normal;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 2px solid #66cc00;
    white-space: nowrap;
    padding-top: 3px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 20px;
    border-radius: 10px;
    height: 50px;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: relative;
    color: #fff;
    background-color: #333;
    border-color: #66cc00;
}

.ant-btn:hover,
.ant-btn:focus,
.ant-btn:active {
    background: #66cc00;
    text-decoration: none;
    outline: none;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    -o-object-fit: cover;
    object-fit: cover;
}

.card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
    overflow: hidden;
}

.card-video video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all 0.2s ease;
    opacity: 1;
}

@media (max-width: 768px) {
    .wrap {
        left: 0;
        right: 0;
        opacity: 0.5;
        margin: auto;
    }
}