@font-face {
    font-family: 'Noto Sans', sans-serif;
    font-display: swap;
    src: url('fonts/Noto/NotoSans-Italic-VariableFont_wdth,wght.ttf');
}

@font-face {
    font-family: 'Poppins', sans-serif;
    font-display: swap;
    src: url('fonts/Poppins/Poppins-Medium.ttf');
}

@font-face {
    font-family: 'Philosopher';
    font-display: swap;
    src: url('fonts/Philosopher/Philosopher-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
    src: url('fonts/Playfair/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'New Amsterdam';
    font-display: swap;
    src: url('fonts/Londrina_Solid,New_Amsterdam/New_Amsterdam/NewAmsterdam-Regular.ttf');
}

@font-face {
    font-family: 'Bungee Spice';
    font-display: swap;
    src: url('fonts/Bungee_Spice/BungeeSpice-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family:'Poppins';
    font-size: 16px;
}

:root {
    --background-color-1_main-header: #70dceb;
    --background-color: #fafbfe;
    --shadow-btn: #766457;
    --color_text-1: #0e0e0e;
    --color_text-2: #ffbb62;
    --color_text-3: #ff3558;
    --text-color-hamburger: #d26056;
    --text-color_hamburger-hover: #f7ffcb;
    --Font_Family-1: 'Poppins', sans-serif;
    --font-Family-2: 'Philosopher';
    --font-Family-3: 'Noto Sans', sans-serif;
    --Font-Family-App: 'Playfair Display';
    --Font-Family-App2: 'New Amsterdam';
}

html {
    scroll-behavior: smooth;
}

body {
    display: block;
    justify-content: center;
    align-items: flex-start;
    margin-top: 100px;
    height: 100vh;
        background: #f5f6fa;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    height: max-content;
    position: fixed;
    z-index: 100;
    margin: 0px auto;
    background-color: #6cdbea;
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#containerApp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0px auto;
    padding: 5px;
}

.logo-image {
    width: 120px;
}

.menuApp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.menuApp #navApp {
    margin: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navApp>* {
    margin: 0 20px;
    justify-content: space-between;
}

#LogoyNommbreApp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin: 0px 20px;
}

.menuApp #navApp ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.menuApp #navApp ul li {
    list-style: none;
    margin: 20px 16px;
}


.menuApp #navApp ul li a {
    font-family: "New Amsterdam", sans-serif;
    text-shadow: 2px 2px 1px #766457;
    color: var(--background-color);
    font-size: 1.5em;
    background-color: #ce5569;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: letter-spacing 0.4s ease, color 0.4s ease, background-color 0.4s ease, text-shadow 0.4s ease;
    box-shadow: 5px 8px 5px #35292940;
    letter-spacing: 0.05em;
}

.menuApp #navApp ul li a:hover {
    letter-spacing: 1px;
    color: #f2f2f2; 
    background-color: #ba364c; /* Rojo claro */
    text-shadow: 2px 2px 3px var(--shadow-btn), 2px 2px 3px var(--shadow-btn);
}

.menuApp #navApp ul li a:active {
    transform: translateY(2px) scale(0.98); /* Mueve hacia abajo y reduce ligeramente el tamaño */
    box-shadow: inset 1 2px 3px #988170; /* Cambia la sombra a "inset" para dar un efecto de hundimiento */
    transition: all 0.1s ease;
    background-color: #ffcc57; 
    text-shadow: 1px 1px 5px var(--shadow-btn), 2px 2px 3px var(--shadow-btn);
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes rollIn {
    0% {
        transform: translateX(-100%) rotate(-360deg);
        opacity: 0;
    }

    100% {
        transform: translateX(0) rotate(0);
        opacity: 1;
    }
}

#navApp .logoApp {
    animation: rollIn 2s ease-out forwards;
    will-change: transform, opacity;
}


#navApp h1 {
    font-family: 'New Amsterdam';
    font-size: 2.5rem;    
    color: #d26056;
    text-shadow: 
        1px 1px 2px #f9f5f5, 
        2px 2px 4px #d2b48c, 
        3px 3px 6px #d26056;
    letter-spacing: 0.05em; 
    overflow: hidden;
    border-right: .15em solid var(--text-color-hamburger);
    white-space: nowrap; 
    margin: 0 auto;
    will-change: width, border-color;
    animation:
        typing 3.5s steps(40, end),
        blink .75s step-end infinite; 
}

.container {
    display: flex;
    justify-content: space-between;
}



.caja1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#calendaria,
#table3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    padding-bottom: 50px;
    margin-top: 0px;
}

#calendaria>table {
    margin: 0 auto;
}

#table3>table {
    margin: 0 auto;
}

h1 {
        font-family: var(--font-Family-2);
        font-size: 2.6rem;
        color: var(--color_text-2);
        text-align: center;
        margin-bottom: 5px;
        margin-top: 60px;
        text-shadow: 
        3px 3px 2px #988170,
        3px 2px 2px #d2b48c,
        2px 2px 2px #ffbb62;
}

.cell {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
}


.red-border {
    font-family: var(--font-Family-3);
    font-size: 16px;
    border: 2px solid red;
    background-color: #d65858;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.blue-border {
    font-family: var(--font-Family-3);
    font-size: 16px;
    border: 2px solid rgb(48, 48, 119);
    background-color: #3b6ea2;
    color: #faf7f7;
    text-shadow: 1px 1px 5px #21202080;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.orange-cell {
    font-family: var(--font-Family-3);
    font-size: 16px;
    border: 2px solid #f69e2b;
    background-color: #ffbb62;
    color: #ffffff;
    text-shadow: 0 1px 4px #b8860b;
    font-weight: bold;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.green-cell {
    font-family: var(--font-Family-3);
    font-size: 16px;
    border: 2px solid green;
    background-color: #8dbb63;
    color: #ffffff;
    text-shadow: 0px 1px 4px #4d9a06;
    font-weight: bold;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.green-cell:hover,
.orange-cell:hover,
.blue-border:hover,
.red-border:hover,
.highlight {
    background-color: #f4efef;
    color: #1b1919;
    padding: 1px;
    text-shadow: 1px 1px 1px #202220;
    box-shadow: inset 1px 1px 2px #0f0f0f;
    cursor: pointer;
}

.gray-border {
    width: 100px;
    height: 50px;
    border: 2px solid gray;
    background-color: rgb(93, 90, 90);
    color: #ffffff;
    font-family: var(--Font-Family-App);
    font-size: 16px;
    padding: 1px;
    text-shadow: 2px 2px 3px rgb(81, 78, 78);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}


.gray2-border {
    width: 100px;
    height: 50px;
    border: 2px solid gray;
    background-color: rgb(117, 114, 114);
    color: whitesmoke;
    font-family: var(--Font-Family-App);
    font-size: 16px;
    padding: 1px;
    text-shadow: 2px 2px 3px rgb(81, 78, 78);
}

.neutral-border {
    border: 2px solid #808080;
    background-color: #F5F5F5;
    color: #333333;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, padding 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.neutral-border:hover {
    background-color: #000000;
    color: #E8E8E8;
    padding: 1px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.border-right {
    border-right: 4px solid #ffffff;
    box-shadow: 3px 0px 5px 0px #ffffff;
}

.border-left {
    border-left: 4px solid #ffffff;
}

.border-bottom {
    border-bottom: 4px solid #ffffff;
}

.border-top {
    border-top: 4px solid #ffffff;
    box-shadow: -0px -3px 1px 0px #ffffff,
        0px 0px 0px 0px #ffffff;
}

#your-table-id {
    border-collapse: separate;
}

.popup {
    min-width: 280px;
    width: 320px;
    max-width: 90vw;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    border: 10px solid #4b55631a;
    background-color: #1A202C;
    font-family: 'Poppins', sans-serif;
    font-size: 0.73em;
    font-weight: bold;
    color: #E2E8F0;
    text-shadow: none;
    box-shadow: inset 10px 10px 20px #4b556380;
    border-radius: 15px;
    padding: 30px 10px 10px 10px;
    z-index: 50;
    box-sizing: border-box;
    transform: translateX(-50%);
    margin-top: 20px;
}

.highlightTable3 {

    background-color: var(--color_text-1) !important;
    color: var(--background-color-1_main-header) !important;
}

.popup-style {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    transform: translateX(-50%);
    background-color: #f5f5f5;
    padding: 20px;
    border: 1px solid #000;
    border-radius: 10px;
    z-index: 50;
    min-width: 300px;
    max-width: 90vw;
    height: auto;
    box-sizing: border-box;
    margin-top: 20px;
    box-shadow: 0px 0px 0px 20px rgba(0, 0, 0, 0.1),
                0px 10px 20px rgba(0, 0, 0, 0.19), 
                0px 6px 6px rgba(0, 0, 0, 0.23);
}

.popup-style * {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-shadow: none;
}

.popup-style .table2 {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #000;
    margin: 0 auto;
    padding: 0;
    margin-top: 0px;
    text-align: center;
    font-family: var(--font-Family-3);
    font-size: 15px;
    color: #E2E8F0;
    background-color: #1A202C;
    box-shadow: 10px 10px 20px rgba(75, 85, 99, 0.5);
    border-radius: 15px;
}

.popup-style .table2 th,
.popup-style .table2 td {
    border: 2px solid #151515;
    padding: 5px;
    background-color: #1A202C;
    color: #E2E8F0;
    font-family: var(--font-Family-2);
    font-size: 15px;
    text-align: center;
}


.table2 {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #000;
    margin: 0 auto;
    padding: 0;
    margin-top: 0px;
    text-align: center;
    font-family: var(--font-Family-3);
    font-size: 15px;
    color: #E2E8F0;
    background-color: #1A202C;
    box-shadow: 10px 10px 20px rgba(75, 85, 99, 0.5);
    border-radius: 15px;
}

.table2 th,
.table2 td {
    border: 2px solid #151515;
    padding: 5px;
    background-color: #1A202C;
    color: #E2E8F0;
    font-family: var(--font-Family-2);
    font-size: 15px;
    text-align: center;
}

.table2 h1 {
    font-family: var(--font-Family-2);
    font-size: 2rem;
    color: var(--color_text-2);
    text-align: center;
    margin-bottom: 5px;
    margin-top: 60px;
    text-shadow: 3px 3px 2px #988170,
        3px 2px 2px #d2b48c,
        2px 2px 2px #ffbb62;
}

.suma-row {
    background-color: #f2f2f2 !important;
    font-size: 15px !important;
    color: #000000 !important;
    border-radius: 2px !important;
}

#apElement,
#mesElement,
#daysUITElement,
#daysGoogleElement,
#daysCGElement,
#cuarentenaElement,
#daysElement,
#añoApElement,
#agreElement, 
.popup-data {
    font-size: 15px;
    color: #020202;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
    align-items: center;
}

.popup-title {
    color: #0e0e0e;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.TextPopup{
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: #cd8484;
    text-shadow: 0px 1px 1px #171717;
}

.title-container {
    text-align: center;
    background-color: #ffffff;
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 5px;
    border: 2px solid #000000;
    box-sizing: border-box;

}

.elegant-separator {
    border: 0;
    height: 10px;
    background: linear-gradient(to left, #f0f0f0, #8c8c8c, #f0f0f0);
    margin: 20px 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45px;
    background-color: var(--background-color-1_main-header);
    color: var(--color_text-1);
    font-size: 12px;
    font-weight: 600;
    position: relative;
    margin-bottom: 100px;
    box-shadow: 1px 1px 3px #000000;
}

footer p {
    font-size: 14px;
    font-weight: 600;
    color: var(--color_text-1);
}

footer a {
    font-family: 'Poppins', sans-serif;
    color: #c0384e;
    font-size: 1.2em;
    text-shadow: 0px 1px 2px #f0dcea;
    font-weight: bold;
    margin-right: 10px;
    text-decoration: none;
    transition: color 400ms, text-shadow 400ms;
}

footer a:hover {
    color: #ffbb62;
    font-weight: bold;
    text-shadow: 0px 1px 2px var(--color_text-2), 1px 1px 2px var(--color_text-3);
    text-decoration: none;
}

#calendaria .table4 {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    max-width: 320px;
    max-height: 320px;
    overflow: auto;
}

#calendaria .table4 td {
    font-size: 18px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    width: 50px;
    height: 50px;
    position: relative;
}

#calendaria .table4::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72%;
    height: 72%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}


#calendaria .table4::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
}

#calendaria .table4 .vertical-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: black;
    transform: translateX(-50%);
}


#calendaria .table4 .horizontal-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: black;
    transform: translateY(-50%);
}


#calendaria .table4 .highlight-text {
    cursor: pointer;
    color: rgb(36, 29, 29);
}

#calendaria .table4 .highlight-text:hover {
    text-shadow: 0px 1px 2px rgba(117, 118, 117, 0.698),
                 1px 1px 2px rgba(89, 132, 89, 0.698);
}

.popup-content {
    font-family: 'Philosopher', sans-serif; 
    font-size: 18px; 
    color: #474141; 
    line-height: 1.5;
    text-align: left;
    padding-top: 35px;
    position: relative;
}

.popup-label {
    font-size: 16px;
    color:rgb(93, 90, 90);
    text-align: left;
}

.popup-value{
    font-size: 16px;
    color: #474141;
    text-align: left;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #a82e2e;
    cursor: pointer;
    line-height: 1;
    z-index: 60;
}

.popup-close:hover {
    color: #e91212;
}

.popup-close-button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-close-button:hover {
    background-color: #555;
}

 .popup-close-button2 {
    font-family: 'Poppins', sans-serif;
    margin-top: 25px;
    padding: 10px 20px;
    font-size: 15px;
    color: #e91212;
    background-color: #100f0f;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.popup-close-button2:hover {
    background-color: #555;
}

.popup-close2 {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0px 1px 2px #eeebeb, -1px -1px 2px #eeebeb, 1px -1px 2px #eeebeb, -1px 1px 2px #eeebeb;
    box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: #a82e2e;
    cursor: pointer;
}


.popup-close2:hover {
    color: #555;
}

.popup-close-tabla {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 33px;
    font-weight: bold;
    color: #cd8484;
    cursor: pointer;
    z-index: 60;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0px 1px 1px #171717;
}

.popup-close-tabla:hover {
    color: #e09999;
    text-shadow: 0px 2px 2px #171717;
    transform: scale(1.1);
}

.boton-compartir-popup {
    position: absolute;
    top: -20px;
    right: 50px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    line-height: 1;
    margin-bottom: 25px;
    padding: 0;
    color: #cd8484;
    transition: all 0.2s ease;
}

.boton-compartir-popup svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 1px 1px #171717);
}

.boton-compartir-popup:hover {
    color: #e09999;
    transform: scale(1.15);
}

.boton-compartir-popup:hover svg {
    filter: drop-shadow(0px 2px 2px #171717);
}

.boton-compartir-anillo-fuego {
    position: absolute;
    top: 4px !important;
    right: 60px !important;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    line-height: 1;
    margin-bottom: 25px;
    padding: 0;
    color: #cd8484;
    transition: all 0.2s ease;
}

.boton-compartir-anillo-fuego svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 1px 1px #171717);
}

.boton-compartir-anillo-fuego:hover {
    color: #e09999;
    transform: scale(1.15);
}

.boton-compartir-anillo-fuego:hover svg {
    filter: drop-shadow(0px 2px 2px #171717);
}

.popup-close-anillo-fuego {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #cd8484;
    cursor: pointer;
    line-height: 1;
    z-index: 60;
}

.popup-close-anillo-fuego:hover {
    color: #e09999;
}

.selector_año {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.selector_año button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #cd8484;
    background: rgba(205, 132, 132, 0.2);
    color: #cd8484;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.selector_año button:hover {
    background: rgba(205, 132, 132, 0.4);
    color: #e09999;
    border-color: #e09999;
    transform: translateY(-2px);
}

.selector_año #input_año {
    width: 120px;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #cd8484;
    background: rgba(255, 255, 255, 0.1);
    color: #cd8484;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.selector_año #input_año:focus {
    outline: none;
    border-color: #e09999;
    background: rgba(255, 255, 255, 0.15);
}

.selector_año h2 {
    margin: 0;
    font-size: 24px;
    color: #cd8484;
    font-family: 'Poppins', sans-serif;
}

.selector_año #año_mostrado {
    font-size: 28px;
    font-weight: bold;
    color: #e09999;
}

.controles_navegacion {
    display: flex;
    gap: 10px;
    align-items: center;
}

/*Publicidad*/
.publicidad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    background-color: #00000030;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    bottom: 0;
    left: 0;
    box-shadow: 1px 1px 3px #000000;
    position: fixed;
    z-index: 1000;
}

@media (max-width: 1135px) {



    header #containerApp .menuApp #navApp ul {
        display: flex;
        flex-direction: column-reverse;
        gap: 0px;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        margin-top: 0px;
    }

    .menuApp #navApp ul li {
        list-style: none;
        margin: 15px;
    }

}

@media (max-width: 962px) {

    header #containerApp .menuApp #navApp ul {
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        margin-top: 0px;
    }


    header #containerApp .menuApp #navApp ul li {

        flex-direction: column;

        margin: 5px;
        background-color: #c0384e;
        padding: 2px;
        border: none;
        border-radius: 5px;
        text-decoration: none;
    }

    header #containerApp .menuApp #navApp ul li a {
        color: var(--background-color);
        padding: 5px;
    }
}

@media (max-width: 740px) {

    html,
    body {
        margin: 0;
        padding: 0;
    }

    header {
        position: relative;
        top: 0;
        margin-top: 0;
    }

    header #containerApp .menuApp #navApp {
        flex-direction: column;
    }

    header #containerApp .menuApp #navApp ul {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        margin-top: 0px;
    }

    .gray-border,
    .gray2-border {
        display: none
    }

    #calendaria {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2px;
        padding-left: 20px;
        padding-bottom: 70px;
        margin-top: 2px;
    }

    #calendaria>table {
        margin: 0 auto;
    }


    h1 {
        font-family: 'Philosopher';
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .popup {
        min-width: 280px;
        align-items: center;

    }

    .popup-style {
        position: absolute;
        left: 50%;
        top: 50%;
        font-size: 14px !important;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%);
        background-color: #fff;
        padding: 10px;
        border: 1px solid #000;
        border-radius: 10px;
        z-index: 1000;
        height: auto;
        min-width: 280px !important;
        max-width: 320px;
        margin-top: 20px;
    }

    #añoAp {
        font-size: 14px;
    }


} 

@media (max-width: 540px) {
    #LogoyNommbreApp {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1px;
    }

    #navApp h1 {
        font-size: 2.4em;
        margin-top: 0px;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    header #containerApp .menuApp #navApp h1 {
        font-size: 2.3rem;
        margin: 0;
        justify-content: center;
    }

    .cell {
        width: 40px;
        height: 40px;
        text-align: center;
        vertical-align: middle;
    }


    .menuApp #navApp {
        margin: 0px;
        display: flex;
        align-items: left;
        justify-content: left;
    }

    #navApp>* {
        margin: 0px;
        justify-content: left;
    }
}

@media (max-width: 380px) {
    header {
        padding: 2px;
        padding-left: 2px;
    }

    #containerApp {
        padding: 1px;
    }

    .logoApp {
    padding: 0px;
}
    #navApp #LogoyNommbreApp {
        gap: 0px;
        margin: 0px;
        padding: 0px;
    }

    header #containerApp .menuApp #navApp h1 {

        font-size: 2.2em;
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .caja1 h1 {
        margin-top: 20px;
        margin-bottom: 0px;
    }

    header #containerApp .menuApp #navApp ul {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        margin-top: 0px;
    }

    header #containerApp .menuApp #navApp ul li a {
        font-size: 1.4em;
    }

    .popup {
        min-width: 280px;
    }

    .table4 td {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .table4 {
        max-width: 280px;
        max-height: 280px;
    }
}

@media (max-width: 320px) {
    header #containerApp .menuApp #navApp ul li a {
        font-size: 1.2em;
    }
}