/*
Theme Name: 2023 Thesis Archive
Theme URI: https://itp.nyu.edu/thesis2023/
Author: Jeeyoon Hyun
Author URI: https://jeeyoonhyun.com
Description: ITP Thesis Archive 2023
Version: 2023
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.2;
}

a {
  text-decoration-skip-ink: auto;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 2px;
}

big {
  font-size: 120%;
}

small,
sup,
sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd,
tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del,
strike,
s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

address,
cite,
var {
  font-style: italic;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.sticky {}

.bypostauthor {}

.wp-caption {}

.wp-caption-text {}

.gallery-caption {}

.alignright {}

.alignleft {}

.aligncenter {}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* colors */
:root {
  --blue: #2d4ed9;
  --white: #ffffff;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.heading-2 {
  font-family: "changeling-neo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#container {
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  background: white;
}

/* hero */

section.hero {
  height: 20rem;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: start;
  background-color: white;
}

@media only screen and (min-width: 768px) {
  section.hero {
    margin: 4rem 0;
    justify-content: center;
  }
}

.hero>video {
  width: 100%;
  max-width: 30rem;
  object-fit: cover;
}

@media only screen and (min-width: 768px) {
  .hero>video {
    max-width: unset;
    width: 100%;
  }
}

/* category */
section.category {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

@media only screen and (min-width: 768px) {
  section.category {
    padding: 2rem 1rem;
  }
}

.heading-category {
  margin-bottom: 1rem;
  font-family: "termina", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1rem;
  color: black;
}

.tags {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media only screen and (min-width: 768px) {
  .project-summary-info>.tags {
    margin-top: 3rem;
  }
}


.tags>.tag {
  font-family: "termina", sans-serif;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.8rem;
}

.tags>.tag.current-tag {
  background: var(--blue);
  color: white;
}

/* projects */
section.projects {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

@media only screen and (min-width: 768px) {
  section.projects {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
  }
}

.project-thumbnail-wrapper {
  scroll-snap-align: start;
}

.project-thumbnail {
  width: 22.5rem;
  height: 40rem;
  display: flex;
  flex-direction: column;
  border-radius: 0.625rem;
  border: 2px solid black;
  overflow: hidden;
  transition: 0.1s ease-in-out;
}

@media only screen and (min-width: 768px) {
  .project-thumbnail {
    width: 22.5rem;
    height: 40rem;
  }
}

@media (hover: hover) {
  .project-thumbnail:hover {
    cursor: pointer;
    outline: 2px solid var(--blue);
    transition: 0.06s ease-in-out;
  }

  .project-thumbnail:active {
    transition: 0.1s ease-in-out;
  }

  .project-thumbnail:hover>.project-titles {
    padding: 0;
    margin: 0;
    height: 0;
    transform: scale(0);
    transition: 0.1s ease-in-out;
  }

  .project-thumbnail:hover>.project-details {
    padding: 0;
    margin: 0;
    height: 0;
    transform: scale(0);
    transition: 0.1s ease-in-out;
  }

  .project-thumbnail:hover>.project-image-wrapper {
    height: 100%;
    transition: 0.1s ease-in-out;
  }
}

.project-titles {
  padding: 1rem;
}

.project-titles>.student-name {
  font-family: Termina;
  font-weight: 700;
  font-size: 1.5rem;
}

.project-titles>.title {
  font-family: Termina;
  font-weight: 400;
  font-size: 1rem;
  padding-top: 1rem;
}

.project-details .advisor-name {
  font-family: Termina;
  font-weight: 400;
  font-size: 1rem;
}

.project-image-wrapper {
  height: 24.75rem;
}

.project-thumbnail>.project-image-wrapper>img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-thumbnail>.project-details {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.5rem;
}

.project-thumbnail>.project-details>p {
  font-weight: 600;
  font-size: 0.75rem;
}

.project-thumbnail .project-tags {
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-thumbnail .project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  background: var(--blue);
  color: white;
}




/* Headers */
/* navigation */

.header.sticky {
  position: sticky;
  width: 100vw;
  background: white;
}

/* Adjustment for wordpress admin bar */
body.admin-bar .header.sticky {
  /* top: 46px; */
  top: 0px;
}

nav.nav {
  margin: 0 auto;
  max-width: 1512px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
  border-bottom: 2px solid black;
  padding: 0 1rem;
  height: 4rem;
  z-index: 1000;
}

@media only screen and (min-width: 768px) {
  nav.nav {
    padding: 0 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

nav.nav>.controls {
  display: flex;
  align-items: baseline;
}

nav.nav>.controls>button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

nav.nav>.controls input {
  height: 2rem;
  border: 1px solid black;
  border-radius: 1rem;
  padding: 1rem;
  color: #333333;
}

#search {
  display: none;
}

input.search-submit {
  display: none;
}

.heading-nav {
  font-family: "termina", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  color: var(--blue);
}


@media only screen and (min-width: 768px) {
  .heading-nav {
    font-family: "termina", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    color: var(--blue);
  }
}

nav>.controls {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
}

#live {
  display: flex;
  align-items: baseline;
}

#live-circle {
  margin: 0 0.4rem;
  display: inline-block;
  background: red;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 100%;
}

/* about */

.about-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

section.about {
  z-index: 1000;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid var(--blue);
  border-radius: 0.5rem;
  width: 90%;
  height: 85%;
  border-radius: 8px;
  box-shadow: 0px 8px 0px 0 var(--blue);
  padding: 1rem;
  overflow-y: auto;
}

@media only screen and (min-width: 768px) {
  section.about {
    width: 90%;
    height: 90%;
    box-shadow: 10px 10px 0px var(--blue);
    padding: 3.25rem 2rem;
  }
}

.about>.about-heading {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-direction: column-reverse;
  align-items: flex-end;
}

@media only screen and (min-width: 768px) {
  .about>.about-heading {
    gap: unset;
    flex-direction: row;
    align-items: unset;
  }
}

.about>.about-heading>h1 {
  font-family: "Termina";
  font-weight: 700;
  font-size: 2rem;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .about>.about-heading>h1 {
    font-size: 3rem;
    width: 28rem;
  }
}

button.close {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  border: none;
  border-radius: 6px;
  width: 2rem;
  height: 2rem;
}

button.close>svg {
  fill: white;
}

@media only screen and (min-width: 768px) {
  button.close {
    width: 3rem;
    height: 3rem;
  }
}

.about>.content {
  max-width: 800px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.625rem;
  letter-spacing: -0.01em;
}

.about>.content>div {
  margin-top: 2rem;
}

.content-description {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.content-columns {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media only screen and (min-width: 768px) {
  .content-columns {
    flex-direction: row;
  }
}

.about h3 {
  font-family: "Termina";
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 160%;
  margin: 1rem 0;
}

.about li {
  list-style-type: none;
}

/* Responsiveness */

@media only screen and (min-width: 768px) {
  .heading-nav {
    font-size: 1.6rem;
  }

  #search {
    display: block;
  }
}

@media only screen and (min-width: 768px) {
  body.admin-bar .header.sticky {
    top: 32px;
  }
}

/* Project section */

section.project-summary {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  padding: 0rem 1rem;
}

.main-image-wrapper {
  width: 100%;
  height: 810px;
}

.main-image-wrapper>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-summary-info {
  width: 100%;
  display: flex;
  max-width: 60rem;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid;
}

.project-summary-info>* {
  justify-content: center;
  overflow-wrap: break-word;
}

.project-summary-info>h1 {
  font-family: "Termina";
  font-weight: 700;
  font-size: 2rem;
}

@media only screen and (min-width: 768px) {
  .project-summary-info>h1 {
    margin-top: 1.5rem;
    font-size: 3.6rem;
  }
}


.project-summary-info>h2 {
  font-family: Termina;
  font-weight: 400;
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

@media only screen and (min-width: 768px) {
  .project-summary-info>h2 {
    font-size: 1.5rem;
  }
}

.project-summary>.project-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .project-summary>.project-details {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    text-align: center;
  }
}

.project-summary>.project-details>.items>h3 {
  font-family: "Termina";
  font-weight: 500;
  margin: 1rem 0;
}

.project-summary>.project-details>.items>p {
  font-family: "Termina";
  font-weight: 300;
  font-size: 15px;
}

.project-content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

.project-content>h3 {
  font-family: Termina;
  font-size: 2rem;
  font-weight: 500;
  padding: 1rem 0;
  margin: 3rem 0 1rem;
}

.project-content>p {
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: 300;
  word-wrap: break-word;
  margin: 1rem 0;
}

@media only screen and (min-width: 768px) {
  .project-content>p {
    font-size: 1.2rem;
    line-height: 2rem;
  }
}

.project-content>img {
  padding: 1rem 0;
  width: 100%;
}

section.footer {
  padding: 6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.footer>button {
  border: 2px solid var(--blue);
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 1rem;
}