@media screen and (max-width:1000px) {
    nav #timesheet {
        background-color: rgba(255, 255, 255, 0.4);
        padding: 1% 2%;
        border-radius: 20px;
    }
}

#calendar {
    display: flex;
    justify-content: center;
    gap: 20vw;
}

h1 {
    font-size: clamp(4rem, 6vw, 7rem);   /*fix for mobile*/
}

calendar-day {

    width: 12vw;
    display: flex;
    flex-direction: column;
    row-gap: 5vh;
    align-items: center;
}

calendar-day-title {
    text-wrap: nowrap;
    text-align: center;
    font-size: clamp(3rem, 5vw, 5rem);
}

calendar-entry {
    background-color: black;
    min-width: 20cqw;
    padding: 2.5vh 2.5vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 2px;
    border-radius: 15px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
}

calendar-entry-title {
    text-wrap: none;
    word-wrap: none;
    font-size:xx-large;
    font-weight: 1000;

}

calendar-entry-timestamp {
    font-size:x-large;
}

calendar-entry-description {
    font-size:x-large;
    word-wrap: break-word;
}

.no-border {
    border-width: 0;
    border-style: none;
}

calendar-border {
    height: 100vh;
    width: 2px;
    background-color: white;
}

calendar-entry.active {
    border-color: #5fc70a;
    border-width: 4px;

    background:
    linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),
    url(/assets/breilanlogo.svg),
    #000
    ;
    background-size: 200px;
    opacity: 100%;

    animation: background-scroll 1600s infinite linear;
}

calendar-entry.active calendar-entry-title,
calendar-entry.active calendar-entry-timestamp,
calendar-entry.active calendar-entry-description {
    color: #7af125;
}

calendar-entry.past calendar-entry-title,
calendar-entry.past calendar-entry-timestamp,
calendar-entry.past calendar-entry-description {
    color: #696969;
}

calendar-entry.past {
    border-color: #696969;
}

/* show if its the second and also the last child*/
loading-icon:nth-child(2):last-child {
    display: inline-block !important;
}

/* hide if its the second and not the last child*/
loading-icon:nth-child(2):not(:last-child) {
    display: none !important;
}

@media screen and (max-width:1000px) {
    #calendar{
        flex-direction: column;
    }    
    calendar-entry {
        min-width: 80vw;
    }
}