
.lista_menu a {
    text-decoration: none;
    text-align: center;
    font-size: 2em;
    color: #8a1414;
    font-family:  "Dancing Script", cursive;
    font-weight: bolder;
    border-radius: 80px;
    padding: 20px;
}
.lista_menu {
    display: grid;
    grid-template-columns: 180px 180px 180px;
    grid-template-rows: 160px 160px;
    gap: 30px;
    margin-left: 30%;
}
.lista_menu a:hover {
 background-color: white ;
 border: 8pt double #8a1414;
 box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}
hr {
    border-top: 3px solid black;
    width: 80%;
    margin-left: 10%;
}
h4 {
    text-align: center;
    font-size: 1.5em;
    color: #8a1414;
    margin: 20px; 
}

.itens {
    line-height: 1.8em;
    letter-spacing: 0.1em;
    margin-left: 20%;
    width: 60%;
    color: white;
    text-decoration: underline; 
    font-size: 1.2em;
    background: linear-gradient(90deg,#8a1414,rgb(22, 156, 22,0.8));
    border-left: 5pt black dashed;
   border-radius: 0px 30px 30px 0px;
    padding: 10px 30px;
}
.btnRetornar {
    text-decoration: none;
    display: inline-block;
    padding-left: 20px;
    width: 120px;
    height: 40px;
    border-radius: 20px;
    background-color: #8a1414;
    font-size: 1.5em;
    color: #ffffff;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    cursor: pointer;
    position: relative;
    left: 70%;
    bottom: 50px;
    transition-duration: 0.4s;
}

.btnRetornar:hover {
    background-color: #ffffff;
    color: #000000;
    border: 4pt solid  #8a1414;   
}

@media only screen and (max-width: 800px) {
    .lista_menu {
        grid-template-columns: 160px 160px ;
        grid-template-rows: 120px 120px 100px;
        margin-left: 20%;
        gap: 10px;
    }
    .lista_menu a {
        font-size: 1.5em;
        padding: 10px;
    }
    h4 {
        font-size: 1.1em;
    }
    .itens {
        font-size: 0.8em;
        width: 70%;
        margin-left: 15%;
    }
    .btnRetornar {
        width: 80px;
        height: 35px;
        border-radius: 10px;
        font-size: 1.1em;
        padding-left: 5px;
        left: 70%;
        bottom: 40px;
    }
}
@media only screen and (max-width: 550px) {
    .lista_menu {
        display: flex;
        flex-direction: column;
        margin: auto; 
        gap: 0px;  
    }
    .lista_menu a {
        font-size: 1.3em;
    }
    h4 {
        font-size: 0.9em;
    }
    .itens {
        font-size: 0.7em;
        width: 90%;
        margin-left: 5%;
    }
    .btnRetornar {
        width: 50px;
        height: 25px;
        font-size: 0.9em;
        left: 84%;
    }
  }

