.container-cards {
    display: flex;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 0 10em 0;
}

.card_elements:nth-child(1) {
    background: url('../../assets/img/imagem_tecnologico.jpg');
}

.card_elements:nth-child(2) {
    background: url('../../assets/img/apps.jpg');
}

.card_elements:nth-child(3) {
    background: url('../../assets/img/arvore_conhecimento.jpg');
}

.card_elements:nth-child(4) {
    background: url('../../assets/img/fibra-otica.webp');
}

.card_elements:nth-child(5) {
    background: url('../../assets/img/Wireless.jpg');
}

.card_elements {
    box-shadow: 1px 1px 5px 5px #000;
    border-radius: 20px;
    padding: 0 20px;
    width: 25em;
    margin: 25px;
}

.card_elements > h1 {
    color: #fff;
}

@media screen and (max-width: 500px) {
    .card_elements {
        width: 80%;
    }
}

.cards_elements {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cards_elements > li {
    background-color: #062639;
    border-radius: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}

.cards_elements > li:hover {
    transform: translateX(5%);
    transition: ease 0.8s;
    background: linear-gradient(to right, #062639, #0000ff);
}

.cards_elements > li a {
    display: block;
    padding: 15px;
}

.cards_elements > li a.margicTool
{
    display: inline-block;
    margin: 0 50px 0 0;
}

.cards_elements > li a.margicToolDownload
{
    display: inline-block;
    margin: 0 0 0 50px;
}

@keyframes efects {
    0% {transform: translateY(-10%);}
    50% {transform: translateY(10%);}
    100% {transform: translate(0);}
}


.card_titles {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    color: #fff;
    background-color: #444;
    padding: 20px;
}

.center-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    background-color: #000007e9;
}

.modal {
    position: absolute;
    z-index: 1;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    border: 2px solid #000;
    border-radius:  0 30px 30px 30px;
    background: #490590fa;
    width: 50em;
    transform: scale(0.7);
    transition: 2.2s;
    padding: 5px;
}

.modal > p {
    cursor: pointer;
    position: absolute;
    font-size: large;
    border-radius: 10px;
    background-color: #f00;
    padding: 10px 20px;
    margin: 0 0 20em 40em;
}

.modal > h1 {
    color: #f70;
}

.modal > div {
    display: flex;
}

.modal > div > p {
    font-size: 1.4em;
    color: #fff;
    padding: 0 50px 0 50px;
}

.modal > div > a {
    font-size: 1.2em;
    padding: 10px;
    margin: 0 5px 0 0;
    border-radius: 20px;
}

.modal > div > a:nth-child(1) {
    background-color: #56d;
}

.modal > div > a:nth-child(2) {
    background-color: #5d6;
}

.modal > a:hover {
    background-color: #eb7d25;
    box-shadow: 1px 1px 2px 2px #000;
}

.close-modal {
    display: none;
}

@media screen and (max-width: 500px) {
    .modal {
    position: absolute;
    z-index: 1;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    border: 2px solid #000;
    border-radius: 20px;
    background: #490590fa;
    padding: 10px;
    width: 30em;
    transform: scale(0.7);
    transition: 2.2s;
    }

    .modal > p {
        cursor: pointer;
        position: absolute;
        font-size: large;
        border-radius: 20px;
        background-color: #f00;
        padding: 20px;
        margin: 0 0 20em 20em;
    }

    .center-modal {
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 2;
    background-color: #000007e9;
    }
    
    .close-modal {
        display: none;
    }
    
    .cards_elements > li a.margicTool
    {
        display: inline-block;
        margin: 0;
    }

    .cards_elements > li a.margicToolDownload
    {
        display: inline-block;
        margin: 0 0 0 50px;
    }
}