:root {
    --box: #ffffff;
    --text: #ffffff;

    --margin-top: .5rem;
    --margin-right: .5rem;
    --margin-bottom: .5rem;
    --margin-left: .5rem;
    --text-margin: .5rem;
    --text-margin-top: 1rem;
    --text-margin-bottom: 1rem;



    --nav-text: .75rem;

}

/* gotta alter line spacing */

/* display none for mobile */

@media (min-width: 1550px) {
    :root {
        --h1-text: 5.25rem;
        --h2-text: 3.15rem;
        --p-text: 1.15rem;
        --border-width: .15rem;
        --gap: 1rem;

        --line-height: 1.5rem;
    }
}

@media (max-width: 1550px) {
    :root {
        --h1-text: 4.25rem;
        --h2-text: 2.5rem;
        --p-text: 1rem;
        --border-width: .15rem;
        --gap: .75rem;

        --line-height: 1.5rem;
    }
}

@media (max-width: 1250px) {
    :root {
        --h1-text: 3.5rem;
        --h2-text: 2.25rem;

        --line-height: 1.35rem;
    }
}

@media (max-width: 950px) {
    :root {
        --h1-text: 2.5rem;
        --h2-text: 1.75rem;
        --p-text: .85rem;
        --gap: .5rem;

        --line-height: 1.2rem;
    }
}

@media (max-width: 650px) {
    :root {
        --h1-text: 2rem;
        --h2-text: 1.5rem;
        --border-width: .1rem;
        --p-text: .75rem;
    }
}

@media (max-width: 550px) {
    :root {
        --h1-text: 3rem;
        --h2-text: 1.5rem;
        --p-text: .75rem;
        --border-width: .1rem;

        --line-height: 1.1rem;
    }
}

/*
    Stuff to put in media quereies:
        all text sizes
        gap size***


*/

body {
    font-family: 'Roboto Serif', serif;
}

.nav {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--margin-top);
    padding-bottom: var(--margin-bottom);

    font-size: .75rem;
    background-color: black;
}

.nav__logo img{
    display: block;
    filter: invert(100%);
    max-height: 5rem;

    margin-left: var(--margin-left);
}

.nav__links {
    position: absolute;
    text-align: center;
    align-content: center;

    right: 0;
    margin-right: var(--margin-right);

    color: white;

    a {
        display: inline-block;
        padding: .5rem;
    }

    .active {
        font-weight: bold;
    }

}

.calendar {
    margin-left: var(--margin-left);
    margin-right: var(--margin-right);

    .calendar__date {
        
        @media (min-width: 550px) {
            display: flex;            
        }

        align-items: center;
        /* justify-content: right; */

        margin-left: var(--text-margin);
        margin-right: var(--text-margin);

        h1 {
            font-size: var(--h1-text);
            color: var(--text);

            font-family: 'Boldonse', sans-serif;
            font-size: var(--h1-text);
        }
    }
    
    .calendar__content-body {
        margin-left: var(--text-margin);
        margin-right: var(--text-margin);

        h2 {
            color: var(--text);
            margin-bottom: var(--text-margin);
            font-size: var(--h2-text);
            font-weight: 500;
        }

        p {
            color: var(--text);
            margin-bottom: var(--text-margin-bottom);
            font-size: var(--p-text);
            font-weight: 200;
        }

    }
    
}

.calendar__content-body.summary {
        p {
            text-indent: 1rem;
            line-height: var(--line-height);
        }
    }

.calendar ol{
    display: grid;
    list-style-type: none;
    grid-template-columns: 3fr 1fr 3fr;

    gap: var(--gap);

    font-size: .75rem;
}

li.calendar__date {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

li.calendar__content-body {

    padding-top: .5rem;
    padding-bottom: .5rem;
}

footer {
    margin-top: var(--margin-top);
    padding: 1rem;

    font-size: .75rem;

    background-color: #000000;

    .footer__text {
        p {
            color: rgb(114, 114, 114);
        }
    }
}

.footer__text {
    display: flex;
    flex-direction: column;
    gap: .25rem;

    p {
        margin: 0;
        color: white;
    }
}

.return {
    position: relative;

    margin-left: var(--margin-left);
    margin-right: var(--margin-right);
}

.return ol{
    position: absolute;

    display: grid;
    list-style-type: none;

    @media (min-width: 550px) {
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    @media (max-width: 550px) {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(10, 1fr);
    }

    gap: var(--gap);

    width: 100%;
    height: 100%;

    font-size: .75rem;
    text-align: center;

    li {
        aspect-ratio: 1;
        background-color: transparent;

        display: block;
    }

    a {
        display: flex;
        justify-content: center;
        align-items: center;

        padding: .5rem;
        width: 100%;
        height: 100%;

        outline: #000000 solid .5rem;
        background-color: #fff;

        svg {
            width: 40%;
            height: 40%;
        }

    }
}

/* probably should've used another id for black and white */

#wednesday, #thursday2 {
    background-color: #ff0000;
}

#thursday, #monday, #saturday2 {
    background-color: #0037FF;
}

#friday {
    background-color: #51de00;

    .calendar {
        h1,h2,p {
        color: #000;
        }
    }
}

#saturday, #friday2 {
    background-color: #FF7B00;

    .calendar {
        h1,h2,p {
        color: #000;
        }
    }
}

#sunday, #wednesday2 {
    background-color: #fffb00;

    .calendar {
        h1,h2,p {
        color: #000;
        }
    }
}

#tuesday {
    background-color: #51de00;

    .calendar {
        h1,h2,p {
        color: #000;
        }
    }
}

@media (max-width: 550px) {
    .nav__links {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin-right: 0;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 0;
        z-index: 10;
        background-color: black;

        a {
            flex: 1 1 0;
            text-align: center;
            padding: 1.5rem .5rem;
        }
    }

    footer {
        .footer__text p {
            color : #000000;
        }
        background-color: #ffffff;

        padding-bottom: 5rem;
    }

    .calendar ol {
        display: flex;
        flex-direction: column;
    }

    .empty {
        display: none;
    }

    .return ol li.empty {
        display: none;
    }

}
