body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    background: url('https://api.ednovas.xyz/') no-repeat fixed center center;
  background-size: cover;
}


.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.83);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



h1 {
    margin-top: 0;
}

#timeDisplay {
    font-size: 2.5rem;
}

.calendar-container {
    margin-top: 50px;
}
  

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.calendar li {
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 10px;
    text-align: center;
}

.calendar li.holiday {
    background-color: rgb(250, 200, 167);
    /* cursor: pointer;
    box-shadow: 18px 18px 30px rgba(0, 0, 0, 0.2), -18px -18px 30px rgba(255, 255, 255, 1); */
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.calendar li.holiday:hover {
    cursor: pointer;
    background-color: rgb(255, 123, 75);
    transition: all 0.3s ease-in-out;
    opacity: 1;
    /* box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); */
    /* box-shadow: 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 rgba(224, 141, 141, 0.8), inset 18px 18px 30px rgba(0, 0, 0, 0.1), inset -18px -18px 30px rgb(212, 113, 113); */
}

.calendar-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 23px;
}


.calendar-navigation button {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    /* box-shadow: 18px 18px 30px rgba(0, 0, 0, 0.2), -18px -18px 30px rgba(255, 255, 255, 1); */
    transition: all 0.2s ease-in-out;
}

.calendar-navigation button:hover {
    background-color: #e0e0e0;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 255, 255, 0.8), inset 18px 18px 30px rgba(0, 0, 0, 0.1), inset -18px -18px 30px rgba(255, 255, 255, 1);
}

.calendar-navigation span {
    font-size: 18px;
    font-weight: bold;
}


.calendar li.dimmed {
    color: #999;
    opacity: 1;
}

.calendar li {
    position: relative;
    opacity: 1;
}

.calendar li:hover .holiday-tooltip {
    display: block;
}

.holiday-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;

    width: 200px;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    padding: 15px;
}

.holiday-title {
    margin: 6px;
    font-size: 14px;
    display: block;
    text-align: center;
    margin-bottom: 8px;
}


.calendar .day-of-week {
    font-weight: bold;
    text-align: center;
    background-color: #95b4db;
}


a {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    color: #000000;
    font-size: 14px;
    border-radius: 60px;
    border: 2px solid #000000;
    box-shadow: -2px -2px 8px rgba(255, 255, 255, 1),
                -2px -2px 12px rgba(255, 255, 255, 0.5),
                inset 2px 2px 4px rgba(255, 255, 255, 0.1),
                2px 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
}
  
a:hover {
    box-shadow: inset -2px -2px 8px rgba(255, 255, 255, 1),
                inset -2px -2px 12px rgba(255, 255, 255, 0.5),
                inset 2px 2px 4px rgba(255, 255, 255, 0.1),
                inset 2px 2px 8px rgba(0, 0, 0, 0.15);
}

a:hover span {
    display: inline-block;
    transform: scale(0.98);
}

.calendar li.holiday_today {
    background-color: rgb(246, 167, 135);
    /* color: white; */
    font-weight: bold;
}

.calendar li.today {
    background-color: #cdc6c4;
    /* color: white; */
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    #calendar {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .calendar-navigation button{
        font-size: 12px;
        padding: 3px 5px;
    }
    .calendar li {
        font-size: 12px;
        padding: 8px;
    }
    .calendar{
        gap: 3px;
    }
}

@media screen and (max-height: 600px) {
    .container {
      margin-top: 200px;
    }
}
