/* @import url('https://fonts.googleapis.com/css2?&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik&family=Boogaloo&Architects+Daughter&family=Kalam:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bungee Hairline:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;

    container {
        display: block;
        margin: auto;
        width: 100%;
        height: 100%;


    }
} */

calendar {
    display: block;
    box-sizing: content-box;
    font-family: Inter;
    max-width: calc(100%);
    max-height: 600px;
    overflow: scroll;
    margin-top: 20px;
    padding-bottom: 20px;
    border-top: 5px solid var(--mainColor);
    border-bottom: 5px solid var(--mainColor);
    user-select: none;

    &::-webkit-scrollbar {
        width: 20px !important;
    }

    &::-webkit-scrollbar-track {
        background: transparent;
    }

    &::-webkit-scrollbar-thumb {
        background-color: var(--accentColor);
        border-radius: 5px;
        height: 10%;
    }

    year {
        display: block;

        h1 {
            line-height: 1rem;
        }

        month {
            display: block;

            week {
                display: flex;

                day {
                    background-color: #3b3b3b;
                    flex-grow: 1;
                    flex-shrink: 1;
                    flex-basis: 0;
                    min-width: 0;
                    min-height: 100px;
                    border: 1px solid #727272;
                    border-radius: 5px;
                    padding: 5px;
                    margin: 1px;

                    &:nth-child(1),
                    &:nth-child(7) {
                        background-color: #2b2b2b;
                    }

                    &.buffer {
                        opacity: 0;
                        pointer-events: none;
                    }

                    &:hover {
                        filter: brightness(1.1);
                    }

                    &.today {
                        box-shadow: inset 0px 0px 5px 0px #FFFFFF;
                    }
                }

                apt {
                    display: block;
                    border-radius: 5px;
                    padding: 2px;
                    overflow: hidden;
                    white-space: nowrap;
                    min-width: 0;
                    margin-bottom: 2px;
                    background-color: #000000;

                    div {
                        font-weight: 700;
                        font-size: small;
                    }

                    times {
                        font-size: x-small;
                    }

                    &[data-status="Cancelled"] {
                        display: none;
                    }

                    &[data-type="Boarding"] {
                        background-color: #005a75;
                    }

                    &[data-type="Daycare"] {
                        background-color: #0e7c00;
                    }

                    &[data-type="Meet"] {
                        background-color: #9c6b00;
                    }

                    &[data-type="Holiday"] {
                        background-color: #b6b86f;
                        color: #000000;

                        div {
                            font-size: x-small;
                            font-weight: 400;
                        }
                    }

                    &[data-type="Blackout"] {
                        background-color: #1f1f1f;
                        border: 2px solid darkorange;

                        div {
                            font-size: x-small;
                            font-weight: 400;
                        }
                    }

                    &[data-type="Other"],&[data-type=""] {
                        border: 2px solid var(--accentColor);
                        background-color: transparent;

                        div {
                            font-size: x-small;
                            font-weight: 400;
                        }
                    }

                    &:hover {
                        filter: brightness(1.1);
                    }

                }
            }
        }
    }
}