        .how-tool-work__img {
            position: relative;
            display: inline-block;
        }

        .how-tool-work__img img {
            width: 100%; /* Ajusta a largura da imagem para ocupar o contêiner */
            height: auto; /* Mantém a proporção da imagem */
        }

        .how-tool-work__img .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0;
            transition: opacity 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 20px;
        }

        .how-tool-work__img:hover .overlay {
            opacity: 1;
        }

/* The Modal (background) */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* The Close Button */
.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Close Button */
.close {
    color: #fff;
    position: absolute;
    top: -10px;
    right: 620px;
    font-size: 30px;
    font-weight: bold;
    z-index: 1000;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    max-width: auto;
    max-height: auto;
    margin: auto;
}

.tamanho-img {
    width: 30%;
}

@media (max-width: 1024px) {
    .tamanho-img {
        width: 80%;
    }
    .close {
    color: #fff;
    position: absolute;
    top: -40px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    z-index: 1000;
    cursor: pointer;
    }
}

@media (max-width: 480px) {
    .close {
    color: #fff;
    position: absolute;
    top: -40px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    z-index: 1000;
    cursor: pointer;
    }
}