﻿.action-button {
    text-align: center;
    margin-top: 20px;
    padding-bottom:30px;
}

    .action-button button {
        background-color: #00c851;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 30px;
        font-size: 1.5rem;
        font-weight: 600;
        transition: all .5s;
    }

        .action-button button:hover {
            opacity: .85;
        }
/*css for beneffit-material*/
.content-title-material {
    text-align: center;
    font-weight: 600;
    font-size: 2rem;
    padding-bottom: 20px;
}

.benefit-material {
    padding-top: 40px;
}

    .benefit-material h5 {
        font-weight: 600;
        font-size: 1.25rem;
        padding: 10px 0;
    }

.content-box {
    position: relative;
    height: 32rem;
    overflow: hidden;
    transition: height 0.3s ease;
    border-radius: 20px;
}

    .content-box .details-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .content-box.show .details-content {
        opacity: 1;
        visibility: visible;
    }

    .content-box .details-btn {
        position: absolute;
        bottom: 2rem;
    }

.benefit-material .content-box img {
    height: 12rem;
    width: 100%;
    object-fit: contain;
}

.details-content {
    background-color: rgb(12, 74, 110) !important;
    color: #fff;
    font-size: rem;
}

    .details-content img {
        width: 20px !important;
        height: auto !important;
    }

    .details-content .close-btn {
        position: absolute;
        bottom: 2rem;
    }

/*css for features*/
.feature-material {
    padding-top: 40px;
    padding-bottom: 40px;
}

    .feature-material img {
        height: 6rem;
        width: auto;
        padding: 10px 0;
        margin-bottom: 20px;
    }

.feature-material-content {
}

    .feature-material-content div {
        height: 400px;
        border-radius: 20px;
    }

    .feature-material-content h3 {
        font-weight: 600;
        padding: 10px 0
    }

    .feature-material-content p {
    }



/* Responsive */
@media (max-width:980px) {
    .content-box{
        height:25rem;
        margin-bottom:20px;
    }
    .feature-material-content div {
        height: 300px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .content-box {
        height: 45rem;
    }

    .benefit-material .content-box img {
        height: auto;
    }

    .content-box .details-content {
        position: static;
        opacity: 1;
        visibility: visible;
        background-color: transparent !important;
        color: inherit;
    }

    .details-content .close-btn {
        display: none;
    }

    .content-box .details-btn {
        display: none;
    }

    .details-content {
        padding-top: 10px;
    }

    .feature-material-content div {
        height: 250px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .content-title-material {
        font-size: 1.5rem;
    }

    .benefit-material h5 {
        font-size: 1rem;
    }

    .content-box {
        height: auto;
    }
}
