/* CSS for HTML elements in index.html */
@keyframes bubbleText {
  0% {
    font-variation-settings: "wght" 550; }
  50% {
    font-variation-settings: "wght" 250; }
  100% {
    font-variation-settings: "wght" 550; } }

@keyframes imageJump {
  0% {
    background-position: 0% 0.7%; }
  100% {
    background-position: 0% 100.7%; } }

.mobile {
  display: none !important; }
  @media (max-width: 768px) {
    .mobile {
      display: block !important; } }

.desktop {
  display: block !important; }
  @media (max-width: 768px) {
    .desktop {
      display: none !important; } }

#contents {
  position: fixed;
  top: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: .8rem;
  z-index: 11;
  top: 2.5rem;
  right: 0;
  text-align: right; }
  @media (max-width: 768px) {
    #contents {
      display: none; } }
  #contents a {
    font-family: "bd-orange-variable", sans-serif;
    font-variation-settings: "wght" 450;
    text-decoration: none;
    color: black;
    transition: font-variation-settings 0.3s; }
    #contents a.active {
      font-variation-settings: "wght" 750; }

html, body {
  margin: 0;
  padding: 0;
  /* Add styles for html here */
  font-size: Min(40px, Max(24px, 1.9vw));
  background: #ffffb9; }

body {
  margin: 0 1rem 0 1rem; }
  @media (max-width: 768px) {
    body {
      margin: .5rem; } }

head {
  /* Add styles for head here */ }

meta {
  /* Add styles for meta here */ }

title {
  /* Add styles for title here */ }

style {
  /* Add styles for style here */ }

h1, h2, h3, h4, h5 {
  font-family: "bd-orange-variable", sans-serif;
  font-variation-settings: "wght" 550;
  transition: font-variation-settings 0.5s, letter-spacing .5s; }

h1 {
  font-size: 15rem; }
  h1:hover {
    font-variation-settings: "wght" 250;
    letter-spacing: .028em; }

h2 {
  letter-spacing: .05em;
  font-size: 2.5rem;
  margin: 1em 0 0; }
  h2 code {
    font-size: 1em; }
  @media (max-width: 768px) {
    h2 {
      font-size: 2rem; } }

#nav {
  position: fixed;
  top: 1rem;
  right: 1rem;
  top: 0.5rem;
  right: 0.5rem;
  height: 1.5rem;
  display: flex;
  gap: .25rem;
  z-index: 10; }
  #nav a {
    text-decoration: none;
    border-radius: 50%;
    aspect-ratio: 1;
    display: inline-block;
    height: 100%;
    position: relative; }
    #nav a.cory, #nav a.henry {
      border: solid black 1px;
      overflow: hidden; }
    #nav a.henry img {
      transform: scale(0.85) translate(2%, 2%); }
    #nav a.github {
      height: calc(100% + 2px); }
  #nav img {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
    height: 100%; }

#site {
  margin: 0;
  max-width: 1400px;
  width: calc(100% - 160px);
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem; }
  @media (max-width: 768px) {
    #site {
      width: 100%;
      margin-top: 2rem; } }

#title {
  margin: 0.4em 0 0.2em;
  display: inline-block;
  width: min-content;
  text-align: center;
  background: url(images/cookery-logo-spritesheet.jpg);
  background-position: 59% 0.7%;
  background-size: 101% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; }

#tagline {
  margin: 1em 0;
  font-size: 2rem; }
  @media (max-width: 768px) {
    #tagline {
      margin: 1em 0 1.5rem 0;
      font-size: 1.25rem; } }

#demo {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem; }

.scrolled #logo {
  transform: translateY(-0.5rem) scale(0.3); }

#logo {
  transform-origin: top left;
  z-index: 10;
  transition: transform 0.3s;
  position: sticky;
  top: 1rem;
  margin: 1rem 0 0rem;
  aspect-ratio: 3.2111;
  background-size: contain;
  background-repeat: no-repeat;
  height: 13vw;
  width: fit-content; }
  @media (max-width: 768px) {
    #logo {
      height: auto;
      width: 100%; } }

#text-output div {
  display: none; }

#terminal-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  width: 100%; }
  @media (max-width: 768px) {
    #terminal-wrapper {
      flex-direction: column; }
      #terminal-wrapper #terminal {
        flex: 1 2 9.5rem; } }
  #terminal-wrapper .terminal-img-wrapper {
    flex: 1 1 20%; }
    #terminal-wrapper .terminal-img-wrapper img {
      max-width: 100%; }

#terminal {
  flex: 1 1 100%;
  height: 8rem;
  background: #000;
  color: #fff;
  padding: 1rem;
  padding-left: 1.5rem;
  border-radius: 1rem;
  font-family: monospace;
  line-height: 1.5;
  font-size: 0.6rem;
  position: relative;
  width: 100%;
  display: flex; }
  @media (max-width: 1200px) {
    #terminal {
      flex: 1 2 50%;
      width: auto; } }
  #terminal #replay {
    position: absolute;
    top: -1.5rem;
    right: 0;
    color: black;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s; }
    #terminal #replay.show {
      opacity: 1; }
  #terminal::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ff1585;
    border-radius: 1rem; }
  #terminal #text-prompt {
    color: #00ff00;
    min-height: 1.5em;
    width: 100%; }
  #terminal #text-output {
    color: #fff; }

#demo-images {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex: 0 1 auto;
  align-items: flex-start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; }
  @media (max-width: 768px) {
    #demo-images {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .5rem; } }
  #demo-images .demo-image {
    opacity: .25;
    transition: opacity 0.5s; }
    #demo-images .demo-image img {
      filter: grayscale(100%);
      transition: filter .5s; }
    #demo-images .demo-image.ready {
      opacity: 1; }
      #demo-images .demo-image.ready img {
        filter: grayscale(0%); }
  #demo-images img {
    max-width: 100%;
    flex: 1 1 20%; }

pre {
  /* Add styles for pre here */ }

code {
  color: #ff1585;
  background: #5c3d5c;
  white-space: normal;
  color: purple;
  background: #f3e3f3;
  font-size: 0.8rem; }

.inline-image {
  width: 600px;
  max-width: 100%; }

span.hljs-built_in {
  /* Add styles for span with class hljs-built_in here */ }

span.hljs-comment {
  /* Add styles for span with class hljs-comment here */ }

p {
  line-height: 1.5; }

strong {
  font-family: "bd-orange-variable", sans-serif;
  font-variation-settings: "wght" 350; }

a {
  color: #3190f6; }

ul {
  line-height: 1.5; }

li {
  /* Add styles for li here */ }

#videos {
  display: flex;
  gap: 1rem;
  align-items: center; }
  #videos .arrow {
    font-size: 2rem; }
  @media (max-width: 768px) {
    #videos {
      gap: .5rem; }
      #videos .arrow {
        font-size: 1rem; } }
  #videos video {
    flex: 1 0 auto; }
    @media (max-width: 1200px) {
      #videos video {
        width: calc(50% - 2.1rem); } }

#tooltip {
  font-size: .6rem;
  position: fixed;
  z-index: 100;
  pointer-events: none;
  background-color: white;
  color: black;
  transform: translateX(calc(-100% - 10px));
  white-space: nowrap; }

.credit-img {
  max-width: 8rem;
  transform: translateY(0.15em); }
