/*
    Landon Hansen
    4/10/2024
    Showing that we can use JQuery
*/

:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    padding-top: 60px;

    --background-color: rgb(7,8,9);
    --text-color: white;

    background-color: var(--background-color);
    color: var(--text-color);

    transition: background-color 500ms, color 500ms;

    font-size: 1.05em;

    overflow-x: hidden;
}

/* h3 {
    display: none;
} */

h3::after {
    content: "";
}

p {
    display: none;
}

/* .dropdown-text {
    max-height: var(--max-height, unset);
    
    border: 1px solid white;

    transition: all 500ms;
}

.dropdown-text.hide {
    max-height: 0;
}; */

main {
    max-width: 920px;
    margin: auto;
}

main > * {
    margin-bottom: 20px;
}

.dropdown-header {
    display: flex;
    font-weight: bold;
    font-size: 1.1rem;

    cursor: pointer;
}

.dropdown-header::after {
    content: "";
    display: inline-block;
    
    margin-left: 8px;

    align-self: center;

    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    width: 10px;
    height: 7px;
    
    background-color: var(--text-color);
    /* content: " \23F7"; */
    transform: rotate(0deg);

    transition: transform 500ms;
}

.dropdown-header[enabled="false"]::after {
    /* content: " \23F6" */
    transform: rotate(180deg);
}

nav {
    display: flex;
    position: absolute;
    /* background-color: red; */
    border-bottom: 1px solid lightgray;

    top: 0;
    left: 0;

    padding: 5px;
    height: 50px;
    width: 100vw;
    box-sizing: border-box;

    /* justify-content: space-around; */
    align-items: center;
}

.colorSchemeSwitch {
    width: 40px;
    height: 40px;

    /* justify-self: flex-end; */
    cursor: pointer;
}

.websiteTitle {
    font-size: 28px;
    margin-right: auto;
    font-weight: bold;
    /* justify-self: flex-start; */
    /* align-self: flex-end; */
}

.spinning {
    animation: 1s spin;
    animation-delay: 100ms;
}

.grow {
    /* color: red; */
    animation: 125ms grow ease-out;


    /* transform: scale(0); */
}

@keyframes grow {
    0% {
        /* transform: scale(0); */
        font-size: 0;
    }
    100% {
        /* transform: scale(1); */
        font-size: 1em;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}