*,
::before,
::after {
    box-sizing: border-box;
}

body {
    font-family: Inter, Roboto, "Helvetica Now", Helvetica, Arial, sans-serif;
    font-feature-settings: "zero" 1;
    letter-spacing: -0.011em;
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: hsl(230deg, 100%, 67%);
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.0625em;
}

a code {
    color: inherit;
}


/* SITE SIDEBAR */

.site-sidebar {
    width: 256px;
    height: 100vh;
    position: fixed;
    background-color: #f2f2f2;
    z-index: 9999;
}

.next-to-sidebar {
    margin-left: 256px;
}

.site-sidebar a {
    text-decoration: none;
    color: inherit;
}

.profile {
    display: flex;
    padding: 1rem;
}

.profile-image {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: cover;
    margin-right: 0.5rem;
}

.profile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-type {
    font-size: 0.8rem;
}

.site-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-sidebar li>a {
    display: flex;
    align-items: center;
    height: 56px;
    padding-left: 1rem;
    margin-right: 0.5rem;
}

.site-sidebar li>a>svg {
    margin-right: 0.5rem;
    font-size: 24px;
    color: rgba(0, 0, 0, 0.75);
}

.site-sidebar li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media all and (max-width: 767px) {
    .site-sidebar {
        width: 72px;
        letter-spacing: 0;
    }
    .profile {
        padding: 0;
    }
    .profile-image {
        margin: 0.5rem auto;
    }
    .profile-text {
        display: none;
    }
    .site-sidebar li>a {
        margin: 0;
        padding: 0;
        flex-direction: column;
        height: 72px;
        justify-content: center;
        text-align: center;
    }
    .site-sidebar li>a>svg {
        margin: 0;
        margin-bottom: 0.25rem;
    }
    .site-sidebar li>a>span {
        font-size: 12px;
    }
    .next-to-sidebar {
        margin-left: 72px;
    }
}

@media all and (max-width: 575px) {
    .site-sidebar {
        height: 56px;
        width: 100%;
        bottom: 0;
        box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    }
    .site-sidebar nav ul {
        display: flex;
    }
    .site-sidebar nav ul li {
        flex: 1 1 80px;
    }
    .profile {
        display: none;
    }
    .site-sidebar li>a {
        height: 56px;
    }
    .site-sidebar li>a>svg {
        margin: 0;
    }
    .next-to-sidebar {
        margin-left: 0;
        margin-bottom: 56px;
    }
}


/* FORM */

input,
select {
    display: block;
    width: 100%;
    font: inherit;
}

input[type="text"],
input[type="password"],
input[type="number"],
select {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    margin-bottom: 1rem;
}

button,
input[type="submit"],
input[type="button"],
input[type="submit"] {
    border: none;
    padding: 0.5rem;
    background-color: #fd0;
    cursor: pointer;
    font: inherit;
}

button.no-style {
    background: none;
    padding: 0;
    position: relative;
}


/* GENERIC MAIN PAGE STYLES */

main {
    padding: 1rem;
}

@media all and (max-width: 575px) {
    main {
        padding: 0;
    }
}

.large-container {
    max-width: 800px;
    margin: auto;
    margin-bottom: 1rem;
}

.small-container {
    max-width: 300px;
    margin: auto;
    margin-bottom: 1rem;
}

.card {
    display: block;
    padding: 1rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.large-container.card {
    padding: 2rem;
}

.name-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5em;
    margin-right: 1em;
    width: 100%;
}

.name-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: 0.5em;
}


/* ACCOUNT PAGE */

.quick-info {
    text-align: center;
}

.profile-pic-display {
    position: relative;
    margin: auto;
    max-width: 256px;
    height: 134px;
    border-radius: 0.25rem;
    margin-bottom: 1em;
}

.profile-pic-display img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-pic-display .blur {
    filter: blur(8px);
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.project-card {
    display: block;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    position: relative;
    flex: 1 1 210px;
    min-width: 50%;
}

.project-card:hover {
    text-decoration: none;
}

.project-card img {
    border-radius: 4px;
}

.grid-item {
    flex: 1 1 240px;
}


/* PROJECTS LIST */

tr.offset {
    transform: translateX(170px);
}

th.rotate {
    height: 170px;
    vertical-align: bottom;
    text-align: left;
    line-height: 1;
}

th.rotate>div {
    width: 32px;
}

th.rotate>div>span {
    display: block;
    width: 240px;
    transform-origin: bottom left;
    transform: translateX(32px) rotate(-45deg);
    border-bottom: 1px solid #ccc;
}

.marker {
    display: block;
    width: 16px;
    height: 16px;
    background-color: rgba(0, 0, 0, 0.1);
}

.marker.active {
    background-color: #fd0;
}


/* KIOSK */

.kiosk-student {
    width: 313px;
    height: 163px;
    /*margin: 0 0.5em 1em;*/
    background: #87dd92;
    cursor: pointer;
    position: relative;
    /*filter: grayscale(65%);*/
}

.kiosk-student img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kiosk-student .blur {
    filter: blur(0px);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5em;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.25));
    color: #fff;
    user-select: none;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-on-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5em;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.25));
    color: #fff;
    user-select: none;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 0);
}

.overlay-on-hover:hover {
    opacity: 1;
}

.kiosk-student.attended {
    filter: grayscale(0%);
}

.kiosk-student.attended .blur {
    filter: blur(12px);
}


/* PROJECT PATHWAY */

.project {
    margin-bottom: 1rem;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 0;
}

.project .img {
    flex: 1 1 276px;
}

.project .text {
    flex: 9999 1 276px;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project h2 {
    margin-bottom: 0;
}

.project-actions {
    display: inline-block;
}

a.action {
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

a.action:hover {
    background: rgba(0, 0, 0, 0.2);
}

.submitted .project-submit-button {
    display: none;
}

.project.submitted {
    background-color: #e1f2fb;
    color: #00479c;
}

.project.submitted::after {
    content: "SUBMITTED";
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 14px;
}

.project.completed {
    background-color: #87dd9381;
    color: #005908;
}

.project.completed::after {
    content: "COMPLETED";
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 14px;
}

.project.approved {
    background-color: #87dd9381;
    color: #005908;
}

.project.approved::after {
    content: "APPROVED";
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 14px;
}


/* ADMIN DASHBOARD */

.admin-section {
    flex: 1 1 320px;
    margin: 0 0.5rem 1rem;
}


/* GENERAL COMPONENTS */

.alert {
    background-color: #87dd9381;
    border-left: 4px solid #00db19;
    color: #005908;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.alert.warning {
    background-color: #f6858381;
    border-left-color: #f40400;
    color: #660000;
}

.alert a {
    color: inherit;
}


/* UTILITY */

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

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

.blur-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 52.47093023255814%;
    /* aspect ratio of project images */
}

.blur-wrapper>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blur-wrapper>.blur {
    filter: blur(8px);
}