.product-container {
    position: absolute;
    top: 460vh;
    height: 100vh;
    width: 100vw;
    background-color: #fff;
}

.card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.product-title {
    position: absolute;
    font-size: 64px;
    font-family: 'Quicksand';
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

.card {
    margin: 10%;
    width: 30%;
    height: 75%;
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
    transition: 400ms ease-in-out;
    overflow: visible;
}

.card:hover {
    border-radius: 10px;
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.4);
    transform: scale(1.03);
}

.card-title {
    width: 100%;
    text-align: center;
    margin: 15px 0;
    font-size: 24px;
}

.product-image {
    width: 100%;
    height: 60%;
    box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.4);
    object-fit: cover;
}

.card-description {
    margin: 0 auto;
    width: 80%;
    text-align: left;
    font-size: 18px;
}

.card-btn {
    position: relative;
    width: 100px;
    height: 50px;
    cursor: pointer;
    margin: 0 auto;
    bottom: -20px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    background-color: #3cc7ad;
    transition: 300ms ease-in-out;
}

.card-btn:hover {
    color: #3cc7ad;
    background-color: #fff;
    box-shadow: inset 0px 0px 0px 1px #3cc7ad;
}

@media screen and (min-height: 740px) {
    .product-container {
        overflow: visible;
    }
}

@media screen and (max-width: 1080px) {
    .card {
        margin: 10% 5%;
        width: 40%;
        height: 70%;
        box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
        transition: 400ms ease-in-out;
    }
}

@media screen and (max-width: 720px) {
    .product-container {
        height: 210vh;
        width: 100vw;
    }

    .card-container {
        display: block;
    }

    .card {
        margin: 10% auto;
        margin-top: 200px;
        width: 350px;
        height: 550px;
        box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
        transition: 400ms ease-in-out;
    }

}

@media screen and (max-height: 740px) {
    .product-title {
        font-size: 46px;
        margin: 8px 0;
    }
    .product-container {
        overflow: visible;
    }
    .card {
        margin-top: 80px;
    }
    .card:last-child {
        margin-top: 10px;
    }
}
