body{
    padding: 0px;
    margin: 0;
    background-image: linear-gradient(180deg, lightblue, white);
    background-repeat: no-repeat;
}

#calendar {
    margin-top: 200px;
}

.filter-menu {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin: 0 30% 0 30%;
    padding: 20px 0 20px 0;
    border-radius: 0px 0px 50px 50px;
    margin-bottom: 20px;
}

.filter-menu label {
    font-weight: bold;
    font-size: 20px;
    font-family: var(--fonte3);
}

.filter-menu select, .filter-menu button {
    padding: 5px;
    font-size: 16px;
}

.text-calendar{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: white;
    margin: 0 30% 0 30%;
    padding: 20px 0 20px 0;
    border-radius: 50px 50px 0px 0px;
    font-family: var(--fonte3);
}

.text-calendar a{
    text-decoration: none;
    color: black;
    margin: 0;
    padding: 0;
}

#year-select, #month-select, #button-filter{
    border-radius: 25px;
    padding: 10px 20px;
    font-family: var(--fonte3);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 29%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* ajuste de responsividade */

@media (min-width: 320px) and (max-width: 374px) {
    .text-calendar {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 300px;
        margin: 0 auto;
        margin-top: -100px;
    }
    .menu ul {
        display: none;
        width: 200px;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Para não sobrepor o cabeçalho */
        left: 35%;
        border-radius: 5px;
        padding: 10px 0;
        border-radius: 10px 0px 0px 10px;
    }
    .menu li {
        text-align: center;
        margin: 10px 10px;
    }
    .menu.active ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu-list li:last-child {
        margin: 0px;
    }
    .filter-menu {
        width: 300px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 5px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 10px;
    }
    .filter-menu label {
        font-size: 8px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 8px;
        padding: 5px;
    }
    .card {
        width: 250px;
    }
}
@media (min-width: 375px) and (max-width: 424px) {
    .text-calendar {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 340px;
        margin: 0 auto;
        margin-top: -100px;
    }
    .menu ul {
        display: none;
        width: 200px;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Para não sobrepor o cabeçalho */
        left: 45%;
        border-radius: 5px;
        padding: 10px 0;
        border-radius: 10px 0px 0px 10px;
    }
    .menu li {
        text-align: center;
        margin: 10px 10px;
    }
    .menu.active ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu-list li:last-child {
        margin: 0px;
    }
    .filter-menu {
        width: 340px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 5px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 10px;
    }
    .filter-menu label {
        font-size: 10px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 10px;
        padding: 5px;
    }
    .card {
        width: 300px;
    }
}
@media (min-width: 425px) and (max-width: 479px) {
    .text-calendar {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 400px;
        margin: 0 auto;
        margin-top: -100px;
    }
    .menu ul {
        display: none;
        width: 200px;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Para não sobrepor o cabeçalho */
        left: 50%;
        border-radius: 5px;
        padding: 10px 0;
        border-radius: 10px 0px 0px 10px;
    }
    .menu li {
        text-align: center;
        margin: 10px 10px;
    }
    .menu.active ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu-list li:last-child {
        margin: 0px;
    }
    .filter-menu {
        width: 400px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 5px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 10px;
    }
    .filter-menu label {
        font-size: 10px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 10px;
        padding: 5px;
    }
    .card {
        width: 340px;
    }
}
@media (min-width: 768px) and (max-width: 768px) {
    .text-calendar {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 600px;
        margin: 0 auto;
        margin-top: -100px;
    }
    .menu ul {
        display: none;
        width: 200px;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Para não sobrepor o cabeçalho */
        left: 72%;
        border-radius: 5px;
        padding: 10px 0;
        border-radius: 10px 0px 0px 10px;
    }
    .menu li {
        text-align: center;
        margin: 10px 10px;
    }
    .menu.active ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu-list li:last-child {
        margin: 0px;
    }
    .filter-menu {
        width: 600px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 5px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 10px;
    }
    .filter-menu label {
        font-size: 16px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 14px;
        padding: 5px;
    }
    .card {
        width: 320px;
    }
}
@media (min-width: 1024px) and (max-width: 1024px){
    .text-calendar {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 850px;
        margin: 0 auto;
        margin-top: -100px;
    }
    .filter-menu {
        width: 850px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 20px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 10px;
    }
    .filter-menu label {
        font-size: 16px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 16px;
        padding: 5px;
    }
    .card {
        width: 270px;
    }
}
@media (min-width: 1440px) and (max-width: 1440px){
    .text-calendar {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 850px;
        margin: 0 auto;
        margin-top: -100px;
        padding-bottom: 10px;
    }
    .filter-menu {
        width: 850px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 20px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 30px;
    }
    .filter-menu label {
        font-size: 16px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 16px;
        padding: 5px;
    }
    .card {
        width: 300px;
    }
}
@media (min-width: 1920px) and (max-width: 1920px){
    .text-calendar {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 850px;
        margin: 0 auto;
        margin-top: -100px;
        padding-bottom: 10px;
    }
    .filter-menu {
        width: 850px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 20px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 30px;
    }
    .filter-menu label {
        font-size: 20px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 18px;
        padding: 5px;
    }
    .card {
        width: 420px;
    }
}
@media (min-width: 2560px) and (max-width: 2560px){
    .text-calendar {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding: 20px 0 20px 0;
        border-radius: 25px 25px 0px 0px;
        font-family: var(--fonte3);
        width: 850px;
        margin: 0 auto;
        margin-top: -100px;
        padding-bottom: 10px;
    }
    .filter-menu {
        width: 850px;
        margin: 0 auto;
    }
    .filter-menu {
        gap: 20px;
        border-radius: 0px 0px 25px 25px;
        margin-bottom: 30px;
    }
    .filter-menu label {
        font-size: 20px;
    }
    #year-select, #month-select, #button-filter{
        font-size: 18px;
        padding: 5px;
    }
    .card {
        width: 590px;
    }
}