﻿.treinamentos-container{
    padding-top:50px;
}



.produtos-title {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 30px;
    max-width: 40rem;
}

    .produtos-title h2 {
        font-family: Montserrat,sans-serif;
        font-weight: 600;
        font-size: 1.5rem;
        color: #1f3156;
    }

    .produtos-title p {
        font-weight: 400;
        margin-bottom: 40px;
        font-size: 1.375rem;
        margin: 15px 0;
    }




.list-treinamentos-container {
    display:flex;
    justify-content:center;
    width:100%;
    flex-wrap:wrap;
}

.card-trainer {
    display: inline-block;
    position: relative;
    width: 300px;
    min-width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    margin: 30px;
}

    .card-trainer:hover .logo-card-treinamentos{
        transform:translateY(-20px);
    }

    .image {
        height: 70%;
        width: 100%;
        filter: brightness(0.5);
        object-fit: cover;
    }

.text {
    background-image: linear-gradient(0deg, #172645, #143f97);
    border-radius: 30px;
    position: absolute;
    top: 55%;
    left: -5px;
    height: 65%;
    width: 108%;
    transform: skew(19deg, -9deg);
}

.second .text {
    background-image: linear-gradient(-20deg, #bb7413, #e7d25c)
}

.logo-card-treinamentos {
    height: 70px;
    width: 70px;
    border-radius: 20px;
    background-color: transparent;
    position: absolute;
    bottom: 30%;
    left: 20px;
    overflow: hidden;
    transition:.2s ease-out;
}

    .logo-card-treinamentos img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
    }

.main-text {
    position: absolute;
    color: #fff;
    font-weight: 900;
    left: 150px;
    bottom: 26%;
}

    .main-text p {
        margin: 0;
        width: 140px;
        text-align:center;
    }

.hero-btn {
    position: absolute;
    color: #fff;
    right: 60px;
    border-radius: 10px;
    bottom: 5%;
    text-decoration: none;
    padding: 8px 10px;
    border: 2px solid #fff;
    font-weight:500;
    background: transparent;
    transition:.3s;
    font-size:16px;
}

    .hero-btn:hover {
        background: #FFF;
        color: #143f97;
        font-weight:500;
    }



.btn i:before {
    width: 14px;
    height: 14px;
    position: fixed;
    color: #fff;
    background: #0077B5;
    padding: 10px;
    border-radius: 50%;
    top: 5px;
    right: 5px;
}
