body {
    background-color: rgb(234, 255, 198);
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

main {
    width: 900px;
    max-width: 90vw;
    margin: auto;
}

.flexh {
    display: flex;
    justify-content: center;
}

header {
    a {
        width: 250px;
        max-width: 90vw;
        aspect-ratio: 1;
        box-shadow: 0 -30px 15px rgb(234, 255, 198) inset;
    }
    img {
        z-index: -1;
        position: absolute;
    }
}

footer a {
    color: darkolivegreen;
}

.row {
    display: grid;
    max-width: 90vw;
    column-gap: 20px;

    @media only screen and (max-width: 767px) {
        grid-template-columns: 1fr;
    }

    @media only screen and (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }

    > * {
        width: 100%;
        margin: 0 auto 0 auto;
    }
}

.button-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60px;
    color: darkolivegreen;
    background-color: rgb(234, 255, 198);
    border-color: darkolivegreen;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: larger;
    text-decoration: none;

    &:hover {
        background-color: rgb(209, 237, 161);
        -webkit-transition: background-color 500ms ease-in-out;
        -ms-transition: background-color 500ms ease-in-out;
        transition: background-color 500ms ease-in-out;
    }
}

.disabled {
    text-align: center;

    > :nth-child(2) {
        font-size: small;
        font-style: italic;
    }

    &:hover {
        background-color: initial;
        transition: none;
        user-select: none;
    }
}

.inverted {
    color: rgb(234, 255, 198);
    background-color: darkolivegreen;

    &:hover {
        background-color: rgb(93, 120, 48);
        border-color: rgb(93, 120, 48);
        transition-property: background-color, border-color;
        transition-duration: 500ms;
        transition-timing-function: ease-in-out;
    }
}

.purple {
    color: darkorchid;
    border-color: darkorchid;
    background-color: rgb(255, 230, 254);
    &:hover {
        background-color: rgb(244, 194, 243);
    }
}

#buttons {
    width: 100%;
    margin-top: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.schedule {
    margin-bottom: 10px;
    padding-right: 10px;
    width: 100%;

    & > div {
        background-color: rgb(209, 237, 161);
        margin-bottom: 2px;
        padding: 2px;
        padding-left: 5px;
        display: block;
        font-size: x-large;
        

        & div:last-child {
            font-size: medium;
            color: darkolivegreen;
        }

        &:first-child {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            margin: 0;
            border-bottom: solid 2px;
        }

        &:last-child {
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }
    }
}

.subtitle {
    @media only screen and (max-width: 767px) {
        text-align: center;
    }
}

#cubegrid {
    display: grid;
    max-width: 90vw;

    @media only screen and (max-width: 767px) {
        grid-template-columns: 1fr;
    }

    @media only screen and (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media only screen and (min-width: 992px) {
        grid-template-columns: repeat(3, 1fr);
    }

    > a {
        padding: 5px;
        margin: 5px;
        text-decoration: none;
        color: inherit;
        border: solid 2px;
        border-radius: 5px;
        min-height: 290px;

        background-color: rgba(234, 255, 198, .7);
        background-position: center;
        background-size: cover;
        background-blend-mode: lighten;
        
        &:hover {
            background-color: rgba(234, 255, 198, .5);
            -webkit-transition: background-color 500ms ease-in-out;
            -ms-transition: background-color 500ms ease-in-out;
            transition: background-color 500ms ease-in-out;
        }

        h3 {
            margin-top: 0;
        }
    }
}