body 
{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: black;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

html, body 
{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/*Navigation bar*/
    #menuToggle 
    {
        display: none;
    }

    a
    {
        text-decoration: none;
        color: inherit;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }

    .navbar-container 
    {
        position: -webkit-sticky;
        position: sticky;
        flex: 0;
        height: 0;
        top: 0;
        z-index: 2;
    }

    .navbar /*When no max scrolled*/
    {
        display: inline-flex;
        justify-content: center;
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 0;
        column-gap: 5%;
        /* default colors + transition */
        background-color: rgba(27, 27, 27, 1);
        color: white;
        font-size: 30px;
        font-weight: 1000;
        list-style-type: none;
        transition: all 1s ease-in-out;
    }

    .navbar.fixed-top 
    {
        justify-content: none;
        column-gap: 0;
        background-color: rgb(7, 7, 7);
        box-shadow: 0 0 2rem black;
        color: white;
    }

/*to stop bar margin from bobbing*/
    .navbar > li 
    {
        transition: all 1s ease-in-out;
        border-bottom: 2px solid rgba(0,0,0,0.1);
    }

    .navbar > li:hover 
    {
        color: rgba(39, 233, 247, 1);
        border-bottom-color: rgb(172, 17, 64);
        cursor: pointer;
        transition: all 500ms ease-in-out;
    }

    .navbar.fixed-top > li 
    {
        border-right: 2px solid white;
        padding-left: 10px;
        padding-right: 10px;
        transition: all 1s ease-in-out;
        /* padding: 0 10px 0 10px; */
    }

    .navbar.fixed-top > li:last-child 
    {
        border-right: 0;
    }

    .navbar.navbar.fixed-top > li:first-child
    {
        padding-left: 0;
        margin-left: -2px;
    }

    .navbar.fixed-top > li:hover 
    {
        color: rgb(49, 245, 252);
        border-bottom-color: transparent;
        cursor: pointer;
        transition: all 200ms ease-in-out;
    }

/*canvas and name*/
    #rectangle 
    {
        z-index: inherit;
        position: absolute;
        background-color: rgb(179, 45, 45);
        width: 1000px;
        height: 120px;
    }

    #title 
    {
        color: white;
        position: absolute;
        font-size: 50px;
        z-index: -1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    #my-name 
    {
        text-shadow: 2px 2px 30px black;
        transform: translate(0, 25%);
    }

    #label 
    {
        position: relative;
        font-style: oblique;
        top: -100px;
    }

    #container-banner 
    {
        z-index: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(49, 49, 49, 1);
        box-shadow: inset 0 0 100rem black;
    }

    #interact 
    {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #canvas 
    {
        margin: auto 0 auto 0;
        z-index: 1;
    }

/*Always keep hidden*/
    #loadImg 
    {
        display: none;
    }

/*main content*/
    #page-container 
    {
        border-bottom: 2px solid rgb(27, 27, 27);
        position: relative;
        min-height: 100vh;
    }

    .main-container 
    {
        margin: 0 10% 0 10%;
        color: white;
        min-height: 100vh;
        padding-top: 100px;
        /* border: 2px solid white; */
    }

    #main-wrapper 
    {
        margin: 0 15vw 0 15vw;
        /* border: 2px solid white; */
    }

    .title-styling 
    {
        display: inline-block;
        margin: auto;
        padding: 10px 10px 3px 10px;
        border-right: 4px solid white;
        font-weight: 1000;
        font-size: 50px;
    }

    #container-wrapper 
    {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 50px;
        column-gap: 50px;
    }

    .title-notes, .title-projects 
    {
        border: 2px solid white;
        padding: 20px 0 20px 0;
    }

    .notes-container > div[class*="-section-container"], .notes-container-child > div[class*="-section-container"]
    {
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .subclass
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-title 
    {
        border-bottom: 2px solid white;
    }

    .mod-header
    {
        display: list-item;
        list-style: "➠  ";
    }

    .notes-container-child 
    {
        display: none;
    }

    .container-notes 
    {
        height: 100px; 
        flex-basis: 300px;
        flex-grow: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 2px solid white;
    }

    .container-notes:hover, .container-project:hover
    {
        background-color: white;
        color: black;
        transition: all 300ms ease-in-out;
        cursor: pointer;
    }

    /* .container-notes > p 
    {
        cursor:pointer;
    } */

    .title-notes:hover, .title-projects:hover
    {
        background-color: white;
        color: black;
        transition: all .5s ease-in-out;
        cursor: pointer;
    }

    div[class*="notes-container"]
    {
        flex: 1;
        flex-basis: 300px;
        font-size: 25px;
        font-weight: 1000;
    }

    .project-container
    {
        flex: 1;
        flex-basis: 100%;
        font-size: 25px;
        font-weight: 1000;
    }

    .main-page-title 
    {
        text-align: center;
    }

    .page-title 
    {
        font-size: 50px;
    }

    .div-header-container 
    {
        border-bottom: 2px solid white;
    }

    .text-styling 
    {
        padding: 0 70px 0 70px;
        font-size: 20px;
        text-align: left;
    }

    #list-to-know 
    {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 50px;
        row-gap: 10px;
        list-style: square;
    }

    #list-to-know > li
    {
        flex: 1;
        flex-basis: 150px;
    }

    .tooltip {
        display: inline-block;
        border-bottom: 1px dotted black;
        cursor: pointer;
    }
    
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: white;
        color: black;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
    }
    
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

    .important-keyword
    {
        text-decoration: underline;
    }

    .definitions-section > .text-styling > p
    {
        display: list-item;
    }

    .def-header-style 
    {
        text-align: left;
        border-bottom: 2px solid white;
    }

    .about-section 
    {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 0 5vw 0 5vw;
    }

    .tagged
    {
        display: list-item;
        list-style: "★ ";
    }

    .archive-section, .project-section
    {
        padding: 0 7vw 0 7vw;
    }

    #languages 
    {
        font-size: 50px;
    }

    .skills-section 
    {
        border-top: 4px solid white;
        border-radius: 2rem;
        text-align: center;
    }

    .clickable
    {
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }

    .red-highlight
    {
        color: red;
    }

    .inline-fix
    {
        display: inline-block;
    }

    div[class*="example-box"]
    {
        padding: 15px 15px 15px 15px;
        background-color: rgba(49, 49, 49, 1);
    }

    div[class*="math-container"]
    {
        position: relative;
        white-space: nowrap; 
        background-color: rgb(36, 36, 36);
        overflow-x: scroll;
    }

    div[class*="math-container"] > p 
    {
        padding-left: 10px;
    }

    .hidden-answer 
    {
        position: relative;
        text-align: center;
        visibility: visible;
        cursor: pointer;
        padding: 5px 5px 5px 5px;
        background-color: black;
        z-index: 1;
    }

    .divider-border
    {
        border-bottom: 2px solid white;
    }

    .answer
    {
        position: absolute;
        visibility: hidden;
    }

    .answer-container
    {
        position: relative;
    }

    .par-styling 
    {
        text-align: center;
        flex-shrink: 1;
        flex-grow: 1;
        flex-basis: 60%;
        font-size: 20px;
    }

    .par-styling > p > a, strong, strong > a 
    {
        text-decoration: none;
        color: white;
        font-size: larger;
    }

    .par-styling 
    {
        padding: 20px 20px 20px 20px;
        line-height: 40px;
    }

    section[class*="-section"] 
    {
        margin: 50px 0 50px 0;
        text-align: center;
    }

/*PL image scaling*/
    .pic-container 
    {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 100px;
    }

    .img-scale 
    {
        width: 100px;
        height: 100px;
        object-fit: scale-down;
    }

    .img-container 
    {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: hidden;
    }
    .img-background
    {
        background-color: white;
        border-radius: 20px;
    }

/*footer-cont..*/
    .footer-container 
    {
        bottom: 0;
        font-size: 20px;
        padding: 30px 0 30px 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap-reverse;
        flex-direction: row;
        color: white;
        background-color: rgb(27, 27, 27);
        align-items: center;
        justify-content: center;
    }

    #social-container {
        padding: 0 25px 0 25px;
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .svg-container {
        height: 50px;
        width: 50px;
        object-fit: scale-down;
    }

    .svg-container:hover {
        background-color: white;
        transition: all 400ms ease-in-out;
        border-radius: 30%;
        cursor: pointer;
    }

    #copyright 
    {
        padding: 0 25px 0 25px;
        font-weight: 1000;
    }

@media only screen and (max-width: 1400px) 
{
    #main-wrapper 
    {
        margin: 0 6vw 0 6vw;
        /* border: 2px solid white; */
    }
    .main-container
    {
        margin: 0 5% 0 5%;
    }
    .archive-section, .project-section
    {
        padding: 0 5vw 0 5vw;
    }
}

/*When screen width <= 800*/

@media only screen and (max-width: 800px) 
{
    #title 
    {
        color: white;
        position: absolute;
        z-index: -1;
        font-size: 40px;
    }
    #rectangle 
    {
        z-index: inherit;
        position: absolute;
        background-color: rgb(179, 45, 45);
        width: 100vw;
        height: 120px;
    }
    #label 
    {
        position: relative;
        font-style: oblique;
        top: -50px;
    }
    #interact 
    {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        width: 100vw;
    }


    #main-wrapper 
    {
        margin: 0 5vw 0 5vw;
        /* border: 2px solid white; */
    }

    .navbar-container 
    {
        position: fixed;
        z-index: 2;
    }

    .main-container 
    {
        margin: 0;
        color: white;
    }

    .navbar 
    {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
        padding: 0 50px 0 30px;
        margin: 0;
        top: 0;
        row-gap: 5vh;
        /* default colors + transition */
        background-color: rgba(27, 27, 27, 1);
        color: white;
        transition: all 1s ease-in-out;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }

    .navbar > li 
    {
        border-bottom: 0;
    }

    .navbar > li:hover 
    {
        color: rgb(88, 243, 248);
        cursor: pointer;
        margin-bottom: 0;
    }

    #dim-overlay 
    {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.6);
        z-index: 1;
    }

    .text-styling 
    {
        padding: 0 20px 0 20px;
        font-size: 20px;
        text-align: left;
    }

/*pure-css hamburger menu by Erik Terwan!!*/
    #openMenu 
    {
        position: fixed; 
        z-index: 3;
    }

    #menuToggle
    {
        display: block;
        position: fixed;
        z-index: 3;
        top: 20px;
        left: 20px;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle a
    {
        text-decoration: none;
        color: white;
        
        transition: color 0.3s ease;
    }

    #menuToggle a:hover
    {
        color: white;
    }


    #menuToggle input
    {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        
        cursor: pointer;
        
        opacity: 0; /* hide this */
        z-index: 2; /* and place it over the hamburger */
        
        -webkit-touch-callout: none;
    }

    /*
    * Just a quick hamburger
    */
    #menuToggle span
    {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        
        background: white;
        border-radius: 3px;
        
        z-index: 1;
        
        transform-origin: 4px 0px;
        
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }

    #menuToggle span:first-child
    {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2)
    {
        transform-origin: 0% 100%;
    }

    /* 
    * Transform all the slices of hamburger
    * into a crossmark.
    */
    #menuToggle input:checked ~ span
    {
        opacity: 1;
        transform: rotate(-45deg) translate(-2px, -1px);
        background: rgb(148, 15, 15);
    }

    /*
    * But let's hide the middle one.
    */
    #menuToggle input:checked ~ span:nth-last-child(3)
    {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
    * Ohyeah and the last one should go the other direction
    */
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
        transform: rotate(45deg) translate(-8px, -8px);
    }
}