/* 
@import url('https://fonts.googleapis.com/css2?family=Crete+Round&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
 */
:root {
  /* Colors */
  --dark: #171717;
  --darker: #000000;
  --light: #F9F9F9;
  --background: #bac5c626;
  --white: #ffffff;
  --grey: #bac5c6;
  --grey-light: #e2e6e9;
  --grey-medium: #5e7273;
  --grey-dark: #292c2f;
  --red-harvard: #a51c30;
  --accent: #5adac8;
  --accent-dark: #1fd2b9;
  --accent-highlight: #5adac9c7;
  --green: #18d28b;
  /* --blue: #5777F3; */
  --blue: #4b70ff;
  --red: #FF444E;
  --red-highlight: #FCD9D9;
  /* Shadow */
  --shadow: #bac5c666;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body,
p {
  font: var(--font-paragraph);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font: var(--font-heading-1);
  color: var(--dark);
  margin-bottom: 20px;
}

h2 {
  font: var(--font-heading-2);
  color: var(--dark);
  margin-bottom: 30px;
}

h3 {
  font: var(--font-heading-3);
  color: var(--dark);
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

p a,
li a {
  background: linear-gradient( to bottom, transparent 50%, var(--accent-highlight) 50%);
}

p a:hover,
li a:hover {
  background: linear-gradient( to bottom, transparent 50%, var(--accent) 50%);
}

section {
  max-width: 1100px;
  margin: 0 auto 70px auto;
}

code ul li {
  list-style-type: none;
}

.code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  word-break: normal;
}

.button-arrow {
  display: flex;
  position: relative;
  align-items: center;
  font: var(--font-paragraph-large-bold);
  gap: 10px;
}

.button-arrow div {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  font: var(--font-paragraph-Xsmall-bold);
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  border-radius: 6px;
  border: initial;
}

.button:hover {
  color: var(--white);
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
}

.button:disabled {
  background-color: var(--grey-light);
  color: var(--grey-medium);
}

.button.button-outline {
  background-color: transparent;
  color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue) inset;
}

.button.button-outline:disabled {
  background-color: transparent;
  box-shadow: 0 0 0 2px var(--grey) inset;
  color: var(--grey-medium);
  cursor: not-allowed;
}

.dropup .dropdown-toggle::after {
  display: block;
  content: url("data:image/svg+xml,%3Csvg id='pointer' xmlns='http://www.w3.org/2000/svg' width='11' viewBox='0 0 20 13'%3E%3Cpath fill='%23fff' d='M8.415,2.061a2,2,0,0,1,3.17,0l5.938,7.72A2,2,0,0,1,15.938,13H4.062A2,2,0,0,1,2.476,9.781Z' transform='translate(20 13) rotate(180)'/%3E%3C/svg%3E");
  margin: 0 0 -2px 5px;
  border: 0;
  transform: rotate(180deg);
}

.dropup .dropdown-toggle:disabled::after {
  display: block;
  content: url("data:image/svg+xml,%3Csvg id='pointer' xmlns='http://www.w3.org/2000/svg' width='11' viewBox='0 0 20 13'%3E%3Cpath fill='%235e7273' d='M8.415,2.061a2,2,0,0,1,3.17,0l5.938,7.72A2,2,0,0,1,15.938,13H4.062A2,2,0,0,1,2.476,9.781Z' transform='translate(20 13) rotate(180)'/%3E%3C/svg%3E");
  margin: 0 0 -2px 5px;
  border: 0;
  transform: rotate(180deg);
}

/* --------- Branding Header --------- */

.branding_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 40px;
  background-color: var(--dark);
}

.branding_header img {
  height: 28px;
  width: auto;
  margin: 0;
}

.branding_header a {
  padding: 3px 24px;
  border-radius: 100px;
  color: var(--light);
  background-color: var(--grey-dark);
}

.branding_header a:hover {
  color: var(--light);
  background-color: var(--darker);
}

@media (max-width: 768px) {
  .branding_header {
    padding: 0 16px;
  }
  .branding_header a {
    padding: 3px 15px;
  }
}


/* --------- Branding Header --------- */


/* --------- Top Nav --------- */

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 10px 40px;
  border-bottom: 1px solid var(--grey);
  background-color: var(--white);
}

.logo-site-link {
  height: 60px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--dark);
  margin: 0 15px 0 5px;
}

.nav-links a:hover {
  text-decoration: none;
  color: currentColor;
  border-bottom: 1px solid var(--dark);
}

.nav-links a.cite {
  margin: 0 15px 0 0;
  border: none;
}

.nav-links a.cite svg {
  margin-top: -3px;
}

.nav-links a.cite:hover svg .cls-2 {
  filter: brightness(85%);
}

header.fixed .top-nav {
  z-index: 1;
  width: 100%;
  position: fixed;
  top: 0;
}

header.fixed .branding_header {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 10px 16px;
  }
}

@keyframes blink {
  90%,
  94%,
  96%,
  100% {
    transform: scaleY(1);
  }
  92%,
  98% {
    transform: scaleY(0);
  }
}

#pupil_left,
#pupil_right {
  transform-origin: 0 24.5px;
  animation: 5s cubic-bezier(0.76, 0, 0.24, 1) 0s infinite normal none running blink;
}


/* --------- Top Nav --------- */


/* --------- Footer --------- */

footer {
  margin-top: auto;
  border-top: 1px solid var(--grey);
  background-color: var(--light);
}


/* --------- Footer --------- */


/* --------- Bottom Nav --------- */

.bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  padding: 50px 70px;
  background-color: var(--light);
}

.bottom-nav-signature-link {
  width: 450px;
}

.bottom-nav-signature-link img {
  width: 100%;
}

.bottom-nav-signature-link p {
  margin-top: 15px;
  margin-left: 53px;
}

@media (max-width: 940px) {
  .bottom-nav {
    flex-direction: column;
  }
  .bottom-nav .nav-links {
    margin-left: 47px;
  }
}

@media (max-width: 768px) {
  .bottom-nav {
    padding: 50px 16px;
  }
  .bottom-nav-signature-link img {
    width: 400px;
  }
  .bottom-nav-signature-link p {
    margin-left: 47px;
  }
  .bottom-nav .nav-links {
    margin-left: 41px;
  }
}


/* --------- Bottom Nav --------- */


/* --------- Branding Footer --------- */

.branding-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 70px;
  background-color: var(--dark);
}

.branding-footer .copyright {
  width: fit-content;
}

.branding-footer .copyright p {
  margin-bottom: 0;
  color: var(--light);
}

.branding-footer-socials use {
  fill: var(--grey);
}

.branding-footer-socials a:hover use {
  fill: var(--light);
}

.branding-footer-socials a {
  display: inline-block;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .branding-footer {
    padding: 10px 16px;
  }
  .branding-footer .copyright {
    max-width: 60%;
  }
}


/* --------- Branding Footer --------- */


/* --------- Tools Page --------- */

.tools-table tbody tr th {
  background-color: #f7f7f7 !important;
}

.tools-table a {
  display: block;
  color: var(--dark);
}

.tools-table.table-hover tbody tr:hover td {
  background-color: #E3EEFF;
}

.tools-table.table-hover tbody tr:hover td:hover {
  background-color: #D0E2FD;
}


/* --------- Tools Page --------- */


/* --------- Index --------- */

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 20%, 0)
  }
  to {
    opacity: 1;
    transform: translateZ(0)
  }
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: calc(90vh - 145px);
  max-height: 500px;
  margin: 0 auto 50px auto;
  padding: 0px 20px 50px 20px;
  border-radius: 20px;
  animation: cubic-bezier(.4, 0, .2, 1) 1s fadeIn;
}

.hero-primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 45%;
}

.hero-primary h1 {
  margin-bottom: 10px;
}

.hero-primary p {
  font: var(--font-paragraph-large);
}

@keyframes spin {
  12.5% {
    content: "Hand Tracking";
  }
  25% {
    content: "Emotion Detection";
  }
  37.5% {
    content: "Face Detection";
  }
  50% {
    content: "Fiducial Tracking";
  }
  62.5% {
    content: "Object Detection";
  }
  75% {
    content: "Heartrate Detection";
  }
  87.5% {
    content: "Eye Tracking";
  }
}

.animated-title:after {
  content: "Pose Estimation";
  animation: 12s 1s linear infinite spin;
}

.hero-secondary {
  display: flex;
  width: 55%;
  margin-right: 50px;
  margin-bottom: -2%;
}

.hero-secondary img {
  max-width: 100%;
}

@media (max-width: 940px) {
  .hero {
    flex-direction: column;
    align-items: center;
    height: fit-content;
    max-height: unset;
    margin: 0;
    padding: 0;
  }
  .hero-secondary {
    width: 100%;
    margin-bottom: 0;
  }
  .hero-primary {
    width: 100%;
    align-items: center;
    text-align: center;
    margin: 30px 0 50px 0;
  }
  .hero-primary p {
    max-width: 80%;
  }
}


/* --------- Index --------- */


/* --------- About --------- */

.people {
  display: flex;
  flex-direction: row;
  gap: 50px;
  /* justify-content: space-between; */
  max-width: 750px;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.person .name {
  font: var(--font-paragraph-large-bold);
  margin-bottom: 0;
}


/* --------- About --------- */


/* --------- News --------- */

.news-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--grey);
}

.news-item p {
  margin-bottom: 0;
}

.news-item p.read-more {
  margin-top: 10px;
}

.news-item .date {
  color: var(--grey-medium);
}


/* --------- News --------- */


/* --------- Popular Tools --------- */

.popular-tool {
  padding-bottom: 15px;
}


/* --------- Popular Tools --------- */


/* --------- Tools --------- */

.tool-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 40px 0 30px 0;
  gap: 10px;
}

.tool-nav .search-container {
  display: flex;
  width: 1000px;
  gap: 10px;
}

.tool-nav .search-bar {
  height: auto;
  padding: 8px 20px;
  font: var(--font-paragraph);
  color: var(--grey-medium);
  background-color: var(--grey-light);
  border-radius: 5px;
  border: none;
  box-shadow: none;
}

.tool-nav .search-filter {
  width: fit-content;
  height: auto;
  font: var(--font-paragraph);
  background-color: var(--grey-light);
  border: none;
  box-shadow: none;
  appearance: none;
}

.tool-nav .layout {
  display: flex;
  align-items: center;
  padding: 5px 6px;
  gap: 5px;
  background-color: var(--grey-light);
  border-radius: 5px;
}

.tool-nav .layout div {
  padding: 5px;
  line-height: 0;
  cursor: pointer;
}

.tool-nav svg {
  width: 22px;
  fill: var(--grey);
}

.tool-nav .active svg {
  width: 22px;
  fill: var(--blue);
}

.tool-nav .active {
  background-color: var(--white);
  padding: 5px;
  border-radius: 3px;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}


/* --------- Tools --------- */


/* --------- Tools Grid --------- */

.tools-grid {
  display: grid;
  max-width: 1200px;
  column-gap: 40px;
  row-gap: 40px;
  grid-template-columns: repeat(auto-fill,100px);
  grid-template-columns: repeat(auto-fit,100px);
  grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
}

.tools-grid .tool {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* width: 270px; */
  min-width: 260px;
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: all .2s ease-in-out;
  text-decoration: none;
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 1px 2px 0 var(--shadow);
  max-width: 300px;
}

.tools-grid:nth-child(3) {
  margin-right: auto;
}

.tools-grid .tool:hover {
  transform: scale(1.05);
}

.tools-grid .grid-image-container {
  display: flex;
  justify-content: center;
  align-content: center;
  height: 160px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.tools-grid .tool img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background-color: var(--grey);
}

.tools-grid .tool img.gif {
  display: none;
}

.tools-grid .tool:hover img.gif {
  display: initial;
}

.tools-grid .tool video.tool-video {
  display: none;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tools-grid .tool:hover video.tool-video {
  display: block;
}

.tools-grid .tool:hover img.still {
  display: none;
}

.tools-grid .tool .tool_name {
  font: var(--font-paragraph-large-bold);
  margin: 0;
  padding: 10px 15px 0 15px;
}

.tools-grid .tool .tool_caption {
  font: var(--font-paragraph-small);
  color: var(--grey-medium);
  margin: 0;
  padding: 0 15px;
}

.tools-grid .tool .action-buttons {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 5px 0;
  padding: 0 15px 10px 15px;
  gap: 10px;
}

.tools-grid .tool .action-buttons .button {
  width: 50%;
}
/* 
@media only screen and (max-width: 1295px) {
  .tool-nav {
    width: 1188px;
  }

  .tools-grid {
    column-gap: 36px;
  }
}

@media only screen and (max-width: 985px) {
  .tool-nav {
    width: 580px;
  }
}

@media only screen and (max-width: 676) {
  .tool-nav {
    width: 270px;
    display: block;
  }

  .tool-nav .search-container {
    display: block;
  }

  #search {
    display: block;
    width: 270px;
  }
} */
/* --------- Tools Grid --------- */


/* --------- Tools List --------- */

.tools-list {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.tools-list .tool {
  padding: 8px 40px;
  display: flex;
  background-color: white;
  border-radius: 8px;
  align-items: center;
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 1px 2px 0 var(--shadow);
  transition: all .2s ease-in-out;
}

.tools-list .tool:hover {
  transform: scale(1.02);
}

.tools-list .tool .tool_name {
  font: var(--font-paragraph-bold);
  margin: 0;
  width: 30%;
}

.tools-list .tool .tool_caption {
  font: var(--font-paragraph-small);
  color: var(--grey-medium);
  margin: 0;
}

.tools-list .tool .action-buttons {
  margin-left: auto;
  width: 30%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


/* --------- Tools List --------- */


/* --------- Tools Active --------- */

.tools-layout {
  display: none;
}

.tools-grid.tools-layout.active {
  display: grid;
}

.tools-list.tools-layout.active {
  display: flex;
}

/* --------- Tools Active --------- */

.icon-container {
  width: 100%;
  position: absolute;
  text-align: right;
  height: fit-content;
}

.corner {
  width: 20%;
  height: auto;
}