.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    height: 80%;
    max-height: 400px;
}

.cerrar-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar-modal:hover {
    color: black;
}


.button-padre {
    width: 100%;
    display: flex;
    
}

.button-hijo-3 {
    width: 33.33%;
    margin-left: 5px;
    font-size: 8px;
}

@media only screen and (min-width: 1165px) and (max-width: 1283px) {
    .button-padre {
        flex-wrap: wrap;
    }
    .button-hijo-3 {
        width: 45%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1164px) {
    .button-padre {
        flex-wrap: wrap;
    }
    .button-hijo-3 {
        width: 100%;
    }
}
.button-hijo-3 a{
    
    font-size: 12px !important;
}