@import '../../colors';

.container {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
}


.card {
    margin: 0;
    padding: 15px;
    display: inline-block;
    width: 100%;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 0px 15px -2px $dark-blue;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;


    img {
        width: 100%;
        object-fit: contain;
        display: block;
        border-radius: 10px;
        margin-bottom: 10px;
        height: 230px;
    }

    p {
        text-align: center;
        margin: 0;
        font-size: 1.2rem;
        color: darken($blue-grey, 20%);
        font-weight: 500;
    }
}


.action-buttons {
    display: flex;
    position: fixed;
    z-index: 1;
    bottom: 10vh;
    width: 100px;
    left: calc(50% - 50px);
    overflow: visible;    
    align-items: center;
    justify-content: space-between;
    height: 50px;
    background-color: white;
    box-shadow: 0px 0px 10px 0px $dark-blue;
    
    button {
        width: 70px;
        height: 70px;
        background-color: white;
        border-radius: 50%;
        border: 0px;
        font-size: 1.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;

        &:first-child {
            margin-left: -30px;
            color: $pink;
            box-shadow: -5px 0px 10px 0px $dark-blue;
        }

        &:last-child {
            margin-right: -30px;
            color: $green;
            box-shadow: 5px 0px 10px 0px $dark-blue;
        }
    }
}