#site-title
{
    position: absolute;
    transform: translate(3.5rem, -4.4rem) skew(-5deg, -5deg);
    font-size: 2.8rem;
    -webkit-text-fill-color: var(--accentColorShade1);
    -webkit-text-stroke: 0.5rem var(--accentColorShade7);
    paint-order: stroke fill;
}

#logo-path-1
{
    fill: var(--accentColorShade1);
}
#logo-path-2
{
    fill: var(--accentColorShade2);
}
#logo-path-3
{
    fill: var(--accentColorShade3);
}
#logo-path-4
{
    fill: var(--accentColorShade4);
}
#logo-path-5
{
    fill: var(--accentColorShade5);
}
#logo-path-6
{
    fill: var(--accentColorShade6);
}
#logo-path-7
{
    fill: var(--accentColorShade7);
}

body
{
    background-color: var(--backgroundColor);
    overflow: hidden;
}

header
{
    width: var(--desktopHeaderWidth);
    height: 100vh;
    background-color: var(--accentColorShade7);
    z-index: 1;
}

main
{
    position: absolute;
    top: 0vh;
    left: 0vw;
    width: calc(100vw - var(--desktopHeaderWidth));
    height: 100vh;
    padding-left: var(--desktopHeaderWidth);
    overflow: hidden;
}

canvas
{
    position: absolute;
    top: 0vh;
    left: var(--desktopHeaderWidth);
    width: calc(100vw - var(--desktopHeaderWidth));
    height: 100vh;
    z-index: -2;
}

#info
{
    padding: 0rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
#info > section > p,
#info > section > h2
{
    color: white;
}
#biography-links
{
    display: flex;
    gap: 0.5rem;
}

#project-panels-layout-driver
{
    position: fixed;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    overflow-y: scroll;
    height: 100vh;
    width: calc(100vw - var(--desktopHeaderWidth));
    padding: var(--desktopPanelMargin);
    gap: var(--desktopPanelMargin);
}
.project-panels-layout-driver-panel
{
    width: var(--desktopPanelCollapsedWidth);
    height: var(--desktopPanelCollapsedHeight);
}
.project-panels-layout-driver-panel.removed
{
    display: none;
}

.project-panel
{
    border: 4px double var(--accentColorShade1);
    box-shadow: var(--accentColorShade1) 3px 3px;

    cursor: pointer;
    
    transition-property: transform, width, height, grid-template-columns, grid-template-rows;
    transition-duration: 0.5s;
    transform: scale(1);
    
    /* These will be overwritten when the panel is clicked on. */
    width: var(--desktopPanelCollapsedWidth);
    height: var(--desktopPanelCollapsedHeight);
    
    border-radius: 40px 10px;
    position: fixed;
    
    display: grid;
    grid-template-columns: 100% 0px;
    grid-template-rows: calc(100% - var(--desktopPanelCollapsedThumbnailHeight)) var(--desktopPanelCollapsedThumbnailHeight) 0px;
    
    z-index: 2;
    overflow: hidden;
}
.project-panel.activated
{
    cursor: default;
    z-index: 4;

    grid-template-columns: var(--desktopPanelExpandedThumbnailWidth) calc(100% - var(--desktopPanelExpandedThumbnailWidth));
    grid-template-rows: min-content var(--desktopPanelExpandedThumbnailHeight) auto;
}
.project-panel.activated,
.project-panel:hover
{
    border: 4px ridge var(--accentColorShade1);
    box-shadow: var(--accentColorShade1) 5px 5px;
}
.project-panel > h3
{
    background-color: var(--accentColorShade1);
    font-size: 30px;
    padding: 10px 10px 0px 20px;
    white-space: nowrap;
    width: 100%;
    grid-row: 1/2;
    grid-column: 1/2;
    border-radius: 0px 0px 10px 0px;
}
.project-panel .category-icon
{
    background-color: var(--accentColorShade1);
}
.color-overlay
{
    transition-property: background-color;
    transition-duration: 0.2s;

    width: 100%;
    height: 100%;
    grid-row: 2/3;
    grid-column: 1/2;
    z-index: -1;
}
.project-panel .color-overlay
{
    background-color:  #60c16054 ;
}
.project-panel.activated > .color-overlay,
.project-panel:hover > .color-overlay
{
    background-color:  #60c16000 ;
}

.panel-summary
{
    padding: 10px 20px;
    background-color: var(--accentColorShade1);
    grid-column: 1/3;
}
.panel-summary > h3
{
    height: 30px;
    font-size: 30px;
    line-height: 30px;
}
.panel-summary-details
{
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
}
.made-with-icon
{
    width: 22px;
    height: 22px;
    padding: 2px;
    background-color: var(--backgroundColor);
    border-radius: 14px;
}
.tags
{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 3px;
    width: calc(100% - 46px);
}
.tag
{
    font-size: 14px;
    line-height: 14px;
    padding: 4px 8px;
    color: var(--accentColorShade2);
    background-color: var(--backgroundColor);
    border-radius: 14px;
    font-weight: bold;
}
.gallery
{
    grid-row: 2/3;
    grid-column: 1/2;
    display: flex;
    z-index: -2;
    height: 100%;
    overflow: hidden;
}
.gallery > img
{
    height: 100%;
}
.project-panel-content
{
    grid-row: 2/4;
    grid-column: 1/3;
}
.project-panel-content-iframe
{
    width: 100%;
    height: calc(100% + 8px);
}

/* Mobile layout (phones and small tablets) */
@media (max-width: 767px)
{
    body
    {
        overflow-x: hidden;
        overflow-y: scroll;
    }

    canvas
    {
        position: fixed;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        z-index: -2;
    }

    header
    {
        height: unset;
    }

    main
    {
        position: unset;
        top: unset;
        left: unset;
        width: 100%;
        height: unset;
        padding-left: unset;
        overflow: unset;
    }

    #project-panels-layout-driver
    {
        position: unset;
        display: flex;
        flex-flow: row wrap;
        align-content: flex-start;
        overflow-y: scroll;
        height: unset;
        width: 100%;
        padding: 5px;
        gap: 5px;
    }
    .project-panels-layout-driver-panel
    {
        width: calc(100vw - 10px);
        height: 200px;
    }

    .project-panel
    {
        border: 4px double var(--accentColorShade1);
        box-shadow: var(--accentColorShade1) 3px 3px;

        cursor: pointer;
        
        transition-property: transform, width, height, grid-template-columns, grid-template-rows;
        transition-duration: 0.5s;
        transform: scale(1);
        
        /* These will be overwritten when the panel is clicked on. */
        width: calc(100vw - 10px);
        height: 200px;
        
        border-radius: 40px 10px;
        position: fixed;
        
        display: grid;
        grid-template-columns: 100% 0px;
        grid-template-rows: calc(100% - var(--desktopPanelCollapsedThumbnailHeight)) var(--desktopPanelCollapsedThumbnailHeight) 0px;
        
        z-index: 2;
        overflow: hidden;
    }
}