body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
}

.donations-container {
    display: flex;
    background-color: #ebc340;
    border: 2px solid #b89832;
    border-radius: 5px;
    padding: 10px;
    font-style: italic;
}
.container {
    display: flex;
    gap: 30px;
}

.canva {
    align-items: center;
    justify-items: center;
    height: 540px;
    width: 540px;
    display: inline-grid;
    padding-top: 100px;
}

.calendario {
    display: grid;
    grid-template-columns: repeat(5, 100px);
    grid-template-rows: repeat(5, 100px);
    gap: 5px;
    
}
.imagen-nawal {
        width: 58px;
}
.celda {
    width: 100px;
    height: 100px;
    background-color: #b3d9ff;
    border: 2px solid #336699;
    text-align: center;
    display: inline-block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 10px;
    font-family: "Raleway", sans-serif;
}

.celda-norte {
    border-radius: 10px;
    border: 2px solid red;
}

.celda-sur {
    border-radius: 10px;
    border: 2px solid black;
}

.celda-este {
    border-radius: 10px;
    border: 2px solid white;
}

.celda-oeste {
    border-radius: 10px;
    border: 2px solid yellow;
}

.celda-medio {
    background: linear-gradient(#b3d9ff, #b3d9ff) padding-box,
        linear-gradient(to right, green, blue) border-box;
    border-radius: 10px;
    border: 2px solid transparent;
}

.celda-noreste {
    background: linear-gradient(#b3d9ff, #b3d9ff) padding-box,
        linear-gradient(45deg, white 50%, red 80%) border-box;
    border-radius: 10px;
    border: 2px solid transparent;
}

.celda-noroeste {
    background: linear-gradient(#b3d9ff, #b3d9ff) padding-box,
        linear-gradient(135deg, red 30%, yellow 50%) border-box;
    border-radius: 10px;
    border: 2px solid transparent;
}

.celda-sureste {
    background: linear-gradient(#b3d9ff, #b3d9ff) padding-box,
        linear-gradient(135deg, white 50%, black 80%) border-box;
    border-radius: 10px;
    border: 2px solid transparent;
}

.celda-suroeste {
    background: linear-gradient(#b3d9ff, #b3d9ff) padding-box,
        linear-gradient(45deg, black 30%, yellow 50%) border-box;
    border-radius: 10px;
    border: 2px solid transparent;
}

.numero-nawal {
    font-size: 24px;
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 4px;
}

.container-nombre-imagen-nawal {
    display: inline-block;
    margin-top: 8px;
}

.panel {
    background-color: #6699cc;
    border: 2px solid #336699;
    padding: 20px;
    border-radius: 10px;
    width: 408px;
    font-family: "Raleway", sans-serif;
}

.panel h3 {
    text-align: center;
    margin-bottom: 10px;
    background-color: rgb(186, 192, 198);
    border-radius: 5px;
    padding: 10px;
    color: #225f9b;
    border: 2px solid #336699;
}


.botones-nawales {
    display: grid;
    grid-template-columns: repeat(4, 96px);
    gap: 8px;
}

.botones-numeros {
    display: grid;
    grid-template-columns: repeat(4, 96px);
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.boton {
    padding: 10px;
    background-color: rgb(186, 192, 198);
    color: white;
    border: 2px solid #336699;
    border-radius: 5px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    font-family: "Varela Round", sans-serif;
}


.boton-numero {
    padding: 0 auto;
    background-color: rgb(186, 192, 198);
    color: black;
    font-weight: bold;
    border: 2px solid #336699;
    border-radius: 5px;
    cursor: pointer;
    height: 40px;
    font-family: "Varela Round", sans-serif;
}

.boton-copiar-celdas {
    padding: 10px;
    background-color: rgb(186, 192, 198);
    color: black;
    font-weight: bold;
    border: 2px solid #336699;
    border-radius: 5px;
    cursor: pointer;
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-end: 5;
    width: 149px;
}

.boton-guardar-celdas {
    padding: 10px;
    background-color: rgb(186, 192, 198);
    color: black;
    font-weight: bold;
    border: 2px solid #336699;
    border-radius: 5px;
    cursor: pointer;
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-end: 5;
}

.title-vista {
    width: 100%;
}

.grupo-vista {
    margin: 0 auto;
    width: 175px;
}

.boton-vista {
    margin-bottom: 10px;
    background-color: rgb(186, 192, 198);
    color: white;
    border: 2px solid #336699;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    color: rgb(78, 27, 78);
    width: 100%;
    height: 90px;
    font-weight: bold;
}

.boton-cancel {
    padding: 10px;
    background-color: rgb(186, 192, 198);
    color: red;
    border: 2px solid #336699;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100px;
    font-family: "Varela Round", sans-serif;
}

.subgrupo-numeros-acciones {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row-end: 5;
    display: block;
    font-family: "Raleway", sans-serif;
}
.title-sinastria {
    letter-spacing: 5px;
}

.subgrupo-botones-sinastria {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.descripcion-sinastria {
    text-align: center;
    margin-bottom: 10px;
    background-color: rgb(186, 192, 198);
    border-radius: 5px;
    padding: 10px;
    border: 2px solid #336699;
    width: initial;
    height: fit-content;
    min-height: 50px;
    display: none; /* Oculta la descripción por defecto */
}

.boton:hover {
    background-color: #336699;
}

.boton-numero:hover {
    background-color: #336699;
}


.boton-cancel:hover {
    background-color: #336699;
}

.boton-copiar-celdas:hover {
    background-color: #336699;
}

.boton-guardar-celdas:hover {
    background-color: #336699;
}

.boton-vista:hover {
    background-color: #254a6e;
}

@media (max-width: 1024px) {
    .subgrupo-numeros-acciones {
        display: flex;
        gap: 8px;
        font-size: 10px !important;
    }
    .boton-cancel {
        font-size: 10px;
    }
    .boton-guardar-celdas {
        font-size: 8px !important;
        height: 40px;
        width: 149px;
    }
    .boton-copiar-celdas {
        font-size: 8px !important;
        height: 40px;
    }
    .boton {
        font-size: 10px;
    }
    .botones-numeros {
        grid-template-columns: repeat(4, 85px);
    }
    .botones-nawales {
        grid-template-columns: repeat(4, 85px);
    }
    .panel {
        width: fit-content;
    }
    .numero-nawal {
        font-size: 14px;
    }
    .celda {
        font-size: 14px;
        width: auto;
        height: auto;
    }
    .calendario {
        grid-template-columns: repeat(5, 75px);
        grid-template-rows: repeat(5, 75px);
    }
    .canva {
        height: 420px;
        width: auto;
        padding-top: 0px;
    }
    .container {
        display: inline-block;
        width: auto;
        margin: 0 auto;
        text-align: center;
    }
    body {
        display: block;
        text-align: center;
    }
    .imagen-nawal {
        width: 28px !important;
    }
}   
@media (max-width: 500px) {
    .botones-numeros {
        grid-template-columns: repeat(4, 73px);
    }
    .botones-nawales {
        grid-template-columns: repeat(4, 73px);
    }
    .calendario {
        grid-template-columns: repeat(5, 65px);
        grid-template-rows: repeat(5, 65px);
    }
    .celda {
        font-size: 12px;
        width: auto;
        height: auto;
    }
    .numero-nawal {
        font-size: 12px;
    }
    .imagen-nawal {
        width: 20px !important;
    }
}
@media (max-width: 375px) {
    .botones-numeros {
        grid-template-columns: repeat(4, 65px);
    }
    .botones-nawales {
        grid-template-columns: repeat(4, 65px);
    }
    .panel {
        margin: 0 auto;
    }
}
/* TODO: Arreglar el quilombo de estilos que hay*/