:root {
  --swiper-navigation-size: 25px;
  --swiper-theme-color: white;
  --link-color: rgb(123, 181, 255);
  --link-hover-color: rgb(137, 226, 255);
}

/* src: url(webfonts/ArcaMajora3-Bold.otf); */
/* https://web.dev/font-display/ */
/*
@font-face {
    font-family: "Arca Majora 3";
    src: url('../font/ArcaMajora3-Bold-subset.woff2') format('woff2'),
        url('../font/ArcaMajora3-Bold-subset.woff') format('woff');
    font-display: swap;
}
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* https://github.com/necolas/normalize.css/blob/master/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* highlight.js theme */
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}

/*
* {
    border: 1px solid red;
}
*/

html, body {
  /* 
  background-color: #0d1117;
  color: rgb(223, 223, 223);
  */

  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6, ul, p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arca Majora 3", sans-serif;
}

h1 {
  font-size: 3rem;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 2rem 0;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

main {
  margin: 0 auto;
  width: 100%;
  min-width: 350px;
  /* max-width: 2000px; */
  height: 100%;
  min-height: 350px;

  overflow-y: scroll;

  /* Consider replacing with Swiper 
      https://swiperjs.com/demos/270-mousewheel-control/core.html
  */
  /* scroll-snap-type: y proximity; Change to proximity if needed */
}

@media screen and (max-width:700px) {
  main {
    scroll-snap-type: y proximity;
  }

  h2 {
    margin: 1rem 0;
  }
}

.topic-card {
  position: relative;
  width: 100%;
  /* height: 100%; */
  min-height: 100%;

  scroll-snap-align: start;
}

.topic-card-sep {
  height: 0;
  width: 40%;
}

#intro {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
  align-items: center;
}

#intro .intro-img-wrapper {
  position: relative;
  height: 0;
  /* padding-top: 100%; */

  margin: 0 auto;

  height: 40vw;
  max-height: 200px;
  width: 40vw;
  max-width: 200px;

  border-radius: 50%;
  overflow: hidden;
  outline: 4px solid white;
}

#intro .intro-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  height: auto; 
}

#intro .intro-title {
  text-align: center;
  margin-top: 1.4rem;
}

#intro .intro-line {
  background-color: white;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  height: 1px;
  border: 0;
  width: 225px;
}

#intro .intro-subtitle {
  font-family: "Arca Majora 3";
  text-align: center;
  font-size: 1.3rem;
  margin-top: 1rem;
}

#intro .intro-text p {
  margin: 0 auto;
  max-width: 80%;
  line-height: 2rem;
}

#intro .intro-socials {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1rem;
}

#intro .intro-socials .icon {
  height: 3rem;
  fill: rgba(255, 255, 255, 0.85);
}

#intro .intro-socials-group {
  display: flex;
  column-gap: 1rem;
}

#history {
  display: flex;
  flex-flow: column nowrap;
  background-color: #202b38;
}

#history .main {
  flex-grow: 1;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
}

#history .timeline-lines-padding {
    height: 9rem;
}

#history .timeline-lines {
    position: relative;
}

#history .timeline-line {
  position: absolute;
  height: 0.4rem;
  cursor: pointer;
}

#history .timeline-line-inactive {
    background-color: #b7b7b7;
}

#timeline-geca {
    width: 27%;
    top: -1.5rem;
    border-radius: 0 1rem 1rem 0;
    background-color: #a61529;
}

#timeline-ro {
    width: 16%;
    top: -3rem;
    left: 24%;
    border-radius: 1rem;
    background-color: #5c5cd3;
}

#timeline-berkeley {
  left: 28%;
  width: 58%;
  top: -4.5rem;
  border-radius: 1rem;
  /* background-color: gold; */
  background-color: #FDB515;
}

#timeline-sumup {
    left: 36%;
    width: 21%;
    top: -6rem;
    border-radius: 1rem;
    background-color: #0c91d6;
}

#timeline-apple-1 {
    width: 7%;
    top: -7.5rem;
    left: 72%;
    border-radius: 1rem;
    background-color: #3f3;
}

#timeline-apple-2 {
    width: 8%;
    top: -9rem;
    left: 92%;
    border-radius: 1rem 0 0 1rem;
    background-color: #0077ed;
}

#history .timeline-years-wrapper {
    border-top: 1px solid gray;
}

#history .timeline-years {
    width: 80%;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
}

#history .timeline-years p {
    position: relative;
    top: -0.6rem;
    margin: 0;

    /* background-color: #0d1117; */
    background-color: #1b2d3e;
    padding: 0 6px;
}

#history .swiper {
  width: 95%;
  max-width: 1300px;
  /*
  overflow-y: visible;
  outline: 1px solid gray;
  */
  background-color: #161f27;
  border-radius: 15px;
  margin-bottom: 0.5rem;
}

/*
#history .swiper p,
#history .swiper li,
#history .swiper h3,
#history .swiper h4 {
  cursor: auto;
  width: fit-content;
}
*/

#history .swiper-button-next,
#history .swiper-button-prev {
  top: 5rem;
}

#history .swiper-button-prev {
  left: 2rem;
}

#history .swiper-button-next {
  right: 2rem;
}

#history .company-header {
  margin: 1rem;
  margin-top: 2rem;
  /* line-height: 1.6rem; */
  display: flex;
  justify-content: center;
}

#history .swiper-slide .img-wrapper {
    /* margin: 0px auto; */
    width: 90px;
    min-width: 90px;
    height: 90px;
    min-height: 90px;
    padding-right: 1rem;
}

#history .swiper-slide img {
    max-width: 100%;
    border-radius: 50%;
}

#history .company-titles {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}


#history .company-subtitle > span {
  display: inline-block;
}

#history .company-date {
    font-size: 0.75rem;
    /*
    margin: 0px auto;
    text-align: center;
    */
    color: #868686;
}

#history .company-description {
  margin: 2rem auto;
  line-height: 1.8rem;
  max-width: 90%;
  text-align: justify;
}

#history .company-description h4 {
  margin: 2rem auto 0 auto;
  width: fit-content;
}

#history .company-description a,
#history .company-description a:visited {
  text-decoration: underline;
  /* color: var(--link-color); */
  color: inherit;
  text-underline-position: auto;
}

#history .company-description a:hover {
  /* background: rgb(0, 102, 204); */
  /* background: gray; */
  color: var(--link-hover-color);
}

#history .courses-list {
  list-style: none;
  padding-left: 0px;
  text-align: center;

  /*
  display: flex;
  flex-flow: row wrap;
  gap: 5px;
  */
}

#history .courses-list li {
  /* padding: 0.25rem 0; */
  display: inline-block;

  /*
  flex-grow: 1;
  */
}

#history .courses-list li:after {
  content: " |";
}

#history .courses-list li:last-of-type:after {
  content: "";
}

#history .company-links {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1px;
}

#history .company-links a {
  position: relative;
  color: inherit;
  top: -1px;
  padding: 10px;
  text-align: center;
  border-radius: 5%;
  outline: 1px solid white;
  text-decoration: none;

  min-width: 120px;
}

#history .company-links a:hover,
#history .company-links a:focus {
  background-color: #868686;
}

@media screen and (max-width:700px) {
  #history .company-description {
    margin: 1rem auto;
  }

  #history .swiper-button-prev {
    left: .5rem;
  }

  #history .swiper-button-next {
    right: .5rem;
  }
}

#software {
  /* overflow: hidden; */
  display: flex;
}

#software h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

#software h4 {
  margin: 3rem 0 1rem 0;
  text-align: center;
}

#software .main {
  position: relative;
  top: 0;
  left: 50%;
  width: 50%;
  min-height: 100%;
  /* background-color: rgba(13, 17, 23, 0.6); */
  background-color: rgb(26 30 37 / 0.6);

  display: flex;
  flex-flow: column nowrap;
}

#software .skills-interests {
  flex-grow: 1;

  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
}

.scroll-code-wrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

#scroll-code {
    position: absolute;
    /* top: 0; */
    top: 55%;
    /*
    min-height: 70vh;
    bottom: 30vh;
    */
    font-size: 1rem;
    line-height: 1.25rem;

    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;

    /* transition: top 1s linear; */
}

#scroll-code span:last-of-type {
  border-right: 1px solid white;
}

#scroll-code-render {
  display: none;
}

#software .skills,
#software .interests {
  padding: 2rem;
  padding-bottom: 2rem;
  background-color: rgba(42, 48, 60, 0.7);
  border-radius: 15px;

  margin: 0 10%;
}

.skill-toggle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

#skill-title-toggle {
  display: inline;
  vertical-align: middle;
}

.skill-toggle p {
  display: inline;
}

.skills-icons {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

.skill {
  width: 60px;
}

.skill:hover {
  transform: scale(1.05);
}

.skill .img-wrapper {
  position: relative;
  height: 0;
  padding-top: 100%;
}

.skill img {
  position: absolute;
  /* top: 0; */
  bottom: 0;
  left: 0;
  max-width: 100%;
  height: auto; 
}

#python img,
#nginx img,
#vim img {
  width: 55px;
  left: 2.5px;
}

#html img,
#css img,
#js img,
#arch img {
  width: 50px;
  left: 5px;
}

.skill-title {
  padding-top: 0.5rem; /* So it's still clickable */
  text-align: center;

  display: none;
}

.skill-title-visible .skill-title {
  display: block;
}

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

.skill a:hover {
  text-decoration: underline;
}

.software-icons {
  display: flex;
  justify-content: space-evenly;
}

.software-icons svg {
  width: 100px;
}

@media screen and (max-width:700px) {
  #software .main {
    width: 100%;
    min-height: 100%;
    left: 0;
    background-color: rgba(13, 17, 23, 0.8);
  }

  .skills {
    position: relative;
  }

  .skill-toggle {
    bottom: unset;
    top: 1.2rem;
  }

  #bongo-cat {
    display: none;
  }

  #software .skills,
  #software .interests {
    background: none;
    margin: 0;
  }

  #software .interests {
    padding-bottom: 1rem;
  }
}

/* https://codepen.io/carolineartz/pen/VwYwZaP */
#bongo-cat {
  position: absolute;
  width: 40%;
  max-width: 500px;
  bottom: 0;
  left: 0;

  transform: scaleX(-1);
}

.typing-animation {
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-duration: 1200ms;
          animation-duration: 1200ms;
}

path#f1-l1 {
  -webkit-animation-name: typing-f1-l1;
          animation-name: typing-f1-l1;
}

path#f1-l2 {
  -webkit-animation-name: typing-f1-l2;
          animation-name: typing-f1-l2;
}

path#f1-l3 {
  -webkit-animation-name: typing-f1-l3;
          animation-name: typing-f1-l3;
}

path#f2-l4 {
  -webkit-animation-name: typing-f2-l4;
          animation-name: typing-f2-l4;
}

path#f2-l5 {
  -webkit-animation-name: typing-f2-l5;
          animation-name: typing-f2-l5;
}

path#f2-l6 {
  -webkit-animation-name: typing-f2-l6;
          animation-name: typing-f2-l6;
}

path#f3-l7 {
  -webkit-animation-name: typing-f3-l7;
          animation-name: typing-f3-l7;
}

path#f3-l8 {
  -webkit-animation-name: typing-f3-l8;
          animation-name: typing-f3-l8;
}

path#f3-l9 {
  -webkit-animation-name: typing-f3-l9;
          animation-name: typing-f3-l9;
}

@-webkit-keyframes typing-f3-l9 {
  0% {
    d: path("M8,25L8,25");
  }
  82% {
    d: path("M8,25L8,25");
  }
  92% {
    d: path("M8,25L96,25");
  }
  100% {
    d: path("M8,25L96,25");
  }
}

@keyframes typing-f3-l9 {
  0% {
    d: path("M8,25L8,25");
  }
  82% {
    d: path("M8,25L8,25");
  }
  92% {
    d: path("M8,25L96,25");
  }
  100% {
    d: path("M8,25L96,25");
  }
}
@-webkit-keyframes typing-f3-l8 {
  0% {
    d: path("M8,13L8,13");
  }
  68% {
    d: path("M8,13L8,13");
  }
  82% {
    d: path("M8,13L146,13");
  }
  100% {
    d: path("M8,13L146,13");
  }
}
@keyframes typing-f3-l8 {
  0% {
    d: path("M8,13L8,13");
  }
  68% {
    d: path("M8,13L8,13");
  }
  82% {
    d: path("M8,13L146,13");
  }
  100% {
    d: path("M8,13L146,13");
  }
}
@-webkit-keyframes typing-f3-l7 {
  0% {
    d: path("M0,1L0,1");
  }
  60% {
    d: path("M0,1L0,1");
  }
  68% {
    d: path("M0,1L96,1");
  }
  100% {
    d: path("M0,1L96,1");
  }
}
@keyframes typing-f3-l7 {
  0% {
    d: path("M0,1L0,1");
  }
  60% {
    d: path("M0,1L0,1");
  }
  68% {
    d: path("M0,1L96,1");
  }
  100% {
    d: path("M0,1L96,1");
  }
}
@-webkit-keyframes typing-f2-l6 {
  0% {
    d: path("M8,25L8,25");
  }
  54% {
    d: path("M8,25L8,25");
  }
  60% {
    d: path("M8,25L69,25");
  }
  100% {
    d: path("M8,25L69,25");
  }
}
@keyframes typing-f2-l6 {
  0% {
    d: path("M8,25L8,25");
  }
  54% {
    d: path("M8,25L8,25");
  }
  60% {
    d: path("M8,25L69,25");
  }
  100% {
    d: path("M8,25L69,25");
  }
}
@-webkit-keyframes typing-f2-l5 {
  0% {
    d: path("M8,13L8,13");
  }
  44% {
    d: path("M8,13L8,13");
  }
  54% {
    d: path("M8,13L114,13");
  }
  100% {
    d: path("M8,13L114,13");
  }
}
@keyframes typing-f2-l5 {
  0% {
    d: path("M8,13L8,13");
  }
  44% {
    d: path("M8,13L8,13");
  }
  54% {
    d: path("M8,13L114,13");
  }
  100% {
    d: path("M8,13L114,13");
  }
}
@-webkit-keyframes typing-f2-l4 {
  0% {
    d: path("M0,1L0,1");
  }
  30% {
    d: path("M0,1L0,1");
  }
  44% {
    d: path("M0,1L136,1");
  }
  100% {
    d: path("M0,1L136,1");
  }
}
@keyframes typing-f2-l4 {
  0% {
    d: path("M0,1L0,1");
  }
  30% {
    d: path("M0,1L0,1");
  }
  44% {
    d: path("M0,1L136,1");
  }
  100% {
    d: path("M0,1L136,1");
  }
}
@-webkit-keyframes typing-f1-l3 {
  0% {
    d: path("M8,25L8,25");
  }
  24% {
    d: path("M8,25L8,25");
  }
  30% {
    d: path("M8,25L61,25");
  }
  100% {
    d: path("M8,25L61,25");
  }
}
@keyframes typing-f1-l3 {
  0% {
    d: path("M8,25L8,25");
  }
  24% {
    d: path("M8,25L8,25");
  }
  30% {
    d: path("M8,25L61,25");
  }
  100% {
    d: path("M8,25L61,25");
  }
}
@-webkit-keyframes typing-f1-l2 {
  0% {
    d: path("M8,13L8,13");
  }
  14% {
    d: path("M8,13L8,13");
  }
  24% {
    d: path("M8,13L124,13");
  }
  100% {
    d: path("M8,13L124,13");
  }
}
@keyframes typing-f1-l2 {
  0% {
    d: path("M8,13L8,13");
  }
  14% {
    d: path("M8,13L8,13");
  }
  24% {
    d: path("M8,13L124,13");
  }
  100% {
    d: path("M8,13L124,13");
  }
}
@-webkit-keyframes typing-f1-l1 {
  0% {
    d: path("M0,1L0,1");
  }
  14% {
    d: path("M0,1L160,1");
  }
  100% {
    d: path("M0,1L160,1");
  }
}
@keyframes typing-f1-l1 {
  0% {
    d: path("M0,1L0,1");
  }
  14% {
    d: path("M0,1L160,1");
  }
  100% {
    d: path("M0,1L160,1");
  }
}
#paw-right--up,
#paw-right--down,
#paw-left--up,
#paw-left--down {
  -webkit-animation: blink 300ms infinite;
          animation: blink 300ms infinite;
}

#paw-right--up,
#paw-left--down {
  -webkit-animation-delay: 150ms;
          animation-delay: 150ms;
}

@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
#laptop__code {
  transform: rotateX(-37deg) rotateY(-46deg) rotateZ(-23deg) translateX(8px) translateY(20px) translateZ(-50px);
}

/* Bongo Cat #2: https://codepen.io/carolineartz/pen/qBOEzQa*/
/*
:root {
  --bg: #1a1e2d;
  --green: #a5ea9b;
  --pink: #ff61d8;
  --blue: #569cfa;
  --orange: #ffcc81;
  --cyan: #7ed1e2;
}

.container {
  position: absolute;
  width: 40vw;
  min-width: 175px;
  left: 0;
  bottom: 0;
  transform: scaleX(-1);
}
.container svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}

#bongo-cat {
  fill: var(--bg);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}
#bongo-cat .laptop-cover,
#bongo-cat .headphone .band {
  fill: none;
}
#bongo-cat .paw, #bongo-cat .head {
  stroke: var(--orange);
}
#bongo-cat .laptop-keyboard {
  stroke-width: 2;
}
#bongo-cat .terminal-code {
  stroke-width: 5;
}
#bongo-cat .music .note,
#bongo-cat .laptop-base,
#bongo-cat .laptop-cover,
#bongo-cat .paw .pads {
  stroke: var(--pink);
}
#bongo-cat .table line,
#bongo-cat .headphone .band,
#bongo-cat .headphone .speaker path:nth-child(3) {
  stroke: var(--green);
}
#bongo-cat .terminal-frame,
#bongo-cat .laptop-keyboard,
#bongo-cat .headphone .speaker path:nth-child(2) {
  stroke: var(--blue);
}
#bongo-cat .terminal-code,
#bongo-cat .headphone .speaker path:first-child {
  stroke: var(--cyan);
}
*/

#privacy {
  display: flex;
  flex-direction: column;
  background-color: #24292e;
}

#privacy a,
#privacy a:visited {
  text-decoration: underline;
  color: #60d4fa;
  text-underline-position: auto;
}

#privacy a:hover {
  color: #89e2ff;
}

#privacy .main {
  flex-grow: 1;
  margin: 0px auto;
  width: 100%;

  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
  row-gap: 2rem;
}

#privacy h2 {
  margin-bottom: 1rem;
}

#privacy h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

#privacy .privacy-box {
  padding: 2rem;
  width: calc(80% - 1rem);
  max-width: 1200px;
  margin: 0 auto;

  background-color: #2f363d;
  border-radius: 15px;
}

#privacy .main p {
  text-align: justify;
  line-height: 2rem;
}

#privacy .privacy-box p + p {
  margin-top: 1rem;
}

#privacy .privacy-decal {
  padding-top: 1rem;
}

#privacy .privacy-decal-img {
  width: 120px;
  /*
  padding: 0 13px;
  margin: 0 15px;
  outline: 1px solid white;
  */
  margin: 0 auto;
  padding-left: 5px;
  margin-bottom: 1rem;
}

#privacy .privacy-decal .img-wrapper {
  position: relative;
  height: 0;
  padding-top: 100%;
}

#privacy .privacy-decal img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  height: auto; 

  filter: invert(90%);
}

/*
#privacy .swiper p,
#privacy .swiper h4 {
  cursor: auto;
  width: fit-content;
}
*/

#privacy .privacy-swiper-wrapper {
  width: 70%;
  max-width: 850px;
  margin: 0 auto;

  padding: 1rem;
  background-color: #2b2b2b;
  border-radius: 15px;
}

#privacy .swiper-button-prev {
  left: 0;
}

#privacy .swiper-button-next {
  right: 0;
}

#privacy .swiper-button-next,
#privacy .swiper-button-prev {
  top: 47px;
}

#privacy .swiper-slide {
  /* width: 500px; */
  width: calc(100% - 100px);
  padding-bottom: 1rem;
}

#privacy .privacy-tool-title a {
  color: inherit;
}

#privacy .privacy-tool-header {
  padding: 0 7%;

  display: flex;
  justify-content: center;
  column-gap: 10px;

  color: inherit;
  text-decoration: none;
}

#privacy .swiper .img-wrapper {
  width: 90px;
  height: 90px;
}

#privacy .swiper .img-wrapper img {
  max-width: 100%;
}

#privacy .swiper .slide-titles {
  max-width: calc(100% - 100px);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-evenly;
}

#privacy .swiper .privacy-tool-description {
  line-height: 2rem;
  /* margin: 1rem auto; */
  text-align: center;
}

#privacy .swiper-pagination-bullet {
  background: white;
}

@media screen and (max-width:700px) {
  #privacy .swiper-slide {
    width: calc(100% - 70px);
  }

  #privacy .swiper .privacy-tool-subtitle {
    text-align: left;
  }

  #privacy .swiper .privacy-tool-description {
    text-align: justify;
  }
}

/* Privacy eyes */
#privacy .eyes {
  width: 50%;
  max-width: 350px;
  min-height: 1rem;
  margin: 0 auto;
}

.eye {
--pupil-x: 0;
--pupil-y: 0;
--color-whites: var(--fg, #fff);
--color-lid: var(--bg, #fff);
--color-pupil: var(--bg, #000);
--color-glint: var(--fg, #fff);
--scale: 0.75;
max-width: 100%;
max-height: 100%;
fill: none;
transform: scale(var(--scale));
}

.lids {
stroke: var(--color-lid);
stroke-width: 5%;
}

.whites {
fill: var(--color-whites);
}

.pupil {
  fill: var(--color-pupil);
  cx: 500px;
  cy: 500px;
}

.glint {
fill: var(--color-glint);
}

.pupil-group {
transform: translate(calc(var(--pupil-x) * 1px), calc(var(--pupil-y) * 1px));
}

#base-eye {
display: none;
}

#grid {
  /*
    --num-columns: 5;
    --num-rows: 5;
  */
    --num-columns: 20;
    --num-rows: 1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(var(--num-columns), 1fr);
    grid-template-rows: repeat(var(--num-rows), 1fr);

    /* Andrew */
    /*
    display: flex;
    justify-content: space-evenly;

    width: 40%;
    margin: 0 auto;
    margin-top: 1rem;
    height: 50px;
    */
}

@media screen and (max-width:700px) {
  #privacy .eyes {
    width: 80%;
    margin: 0 auto;
    margin-top: 1rem;
  }

  #privacy-tools {

  }
}

#music {
  height: 100%;

  display: flex;
  flex-flow: row wrap;
}

#music .main {
  position: relative;
  height: 100%;
  width: 50%;
  /* min-width: 450px; */
  max-width: 700px;

  display: flex;
  flex-direction: column;

  background-color: #004049;
}

#music h2 {
  margin-bottom: 3rem;
}

#music h3 {
  margin-bottom: 4rem;
  text-align: center;
}

#music .playlists-wrapper {
  flex-grow: 1;

  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}

#music .playlists {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#music .playlist-card {
  width: 40%;
  min-width: 130px;
  max-width: 200px;
  background-color: #2c2c2c;
  border-radius: 5px;
  overflow: hidden;
}


#music .playlist-card:hover {
  transform: scale(1.01);
  transition: all 100ms;
}

#music .playlist-img-wrapper {
  position: relative;
  height: 0;
  padding-top: 100%;
  /*
  width: 200px;
  height: 200px;
  */
}

#music .playlist-card img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  height: auto; 
}

#music .playlists a {
  color: inherit;
  text-decoration: none;
}

#music .playlist-card-text {
  margin: 5%;
  text-align: center;
}

#music .playlist-title {
  margin-top: 5px;
  font-size: 1.5rem;
  font-weight: bold;
}

#music .artist-wrapper {
  flex-grow: 1;

  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}

#music .music-bottom-spacing {
  flex-grow: 2;
}

#music .albums-wrapper {
  /* position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  */
  flex-grow: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

#music .albums-wrapper h2 {
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 1;

  text-shadow: #000 2px 2px 10px, #000 -2px -2px 10px;
}

#music #albums-loading {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/* Loading animation */
.loader {
  /*
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  */
  width: 175px;
  height: 100px;
}
.loader span {
  display: block;
  background: #ccc;
  width: 7px;
  height: 10%;
  border-radius: 14px;
  margin-right: 5px;
  float: left;
  margin-top: 25%;
}
.loader span:last-child {
  margin-right: 0px;
}
.loader span:nth-child(1) {
  animation: load 2.5s 1.4s infinite linear;
}
.loader span:nth-child(2) {
  animation: load 2.5s 1.2s infinite linear;
}
.loader span:nth-child(3) {
  animation: load 2.5s 1s infinite linear;
}
.loader span:nth-child(4) {
  animation: load 2.5s 0.8s infinite linear;
}
.loader span:nth-child(5) {
  animation: load 2.5s 0.6s infinite linear;
}
.loader span:nth-child(6) {
  animation: load 2.5s 0.4s infinite linear;
}
.loader span:nth-child(7) {
  animation: load 2.5s 0.2s infinite linear;
}
.loader span:nth-child(8) {
  animation: load 2.5s 0s infinite linear;
}
.loader span:nth-child(9) {
  animation: load 2.5s 0.2s infinite linear;
}
.loader span:nth-child(10) {
  animation: load 2.5s 0.4s infinite linear;
}
.loader span:nth-child(11) {
  animation: load 2.5s 0.6s infinite linear;
}
.loader span:nth-child(12) {
  animation: load 2.5s 0.8s infinite linear;
}
.loader span:nth-child(13) {
  animation: load 2.5s 1s infinite linear;
}
.loader span:nth-child(14) {
  animation: load 2.5s 1.2s infinite linear;
}
.loader span:nth-child(15) {
  animation: load 2.5s 1.4s infinite linear;
}

@keyframes load {
  0% {
    background: #ccc;
    margin-top: 25%;
    height: 10%;
  }
  50% {
    background: #444;
    height: 100%;
    margin-top: 0%;
  }
  100% {
    background: #ccc;
    height: 10%;
    margin-top: 25%;
  }
}

/* Dynamic album grid */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
#bg {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 3s;

  /* Andrew */
  width: calc(100% + 200px);
}

.album {
  display: block;
  background-size: cover;
  transition: all 500ms ease-in-out;
}
.album.is-faded {
  opacity: 0;
  transform: rotate3d(0, 1, 0, 90deg);
}
.album.small {
  width: 50px;
  height: 50px;
}
.album.medium {
  width: 100px;
  height: 100px;
}
.album.large {
  width: 200px;
  height: 200px;
}

.album img {
  max-width: 100%;
}

/* 3D Slideshow */ 
#slideshow * {
  margin: 0;
  padding: 0;
}

#slideshow {
	margin: 0 auto;
	/* padding-top: 50px; */
	height: 230px;
	width: 100%;
	/* background-color: #6adecd; */
	box-sizing: border-box;
  overflow: hidden;
}

.slideshow-title {
	font-family: 'Allerta Stencil';
	font-size: 62px;
	color: #fff;
	margin: 0 auto;
	text-align: center;
	margin-top: 25%;
	letter-spacing: 3px;
	font-weight: 300;
}

.sub-heading {
	padding-top: 50px;
	font-size: 18px;
} .sub-heading-two {
	font-size: 15px;
} .sub-heading-three {
	font-size: 13px;
} .sub-heading-four {
	font-size: 11px;
} .sub-heading-five {
	font-size: 9px;
} .sub-heading-six {
	font-size: 7px;
} .sub-heading-seven {
	font-size: 5px;
} .sub-heading-eight {
	font-size: 3px;
} .sub-heading-nine {
	font-size: 1px;
}

#slideshow .entire-content {
	margin: 0 auto;
	width: 150px; /* Change this if not centered */
	perspective: 1000px;
	position: relative;
	padding-top: 80px;
  top: -60px;

  transform: scale(0.75);
}

.content-carrousel {
	width: 100%;
	position: absolute;
	float: right;
	animation: rotar 50s infinite linear;
	transform-style: preserve-3d;
}

.content-carrousel:hover {
	animation-play-state: paused;
	cursor: pointer;
}

.content-carrousel figure {
  /*
	width: 100%;
	height: 120px;
  */
  width: 150px;
  height: 150px;
	/* border: 1px solid #3b444b; */
	/* overflow: hidden; */
	position: absolute;
}

.content-carrousel a {
  text-decoration: none;
  color: inherit;
}

.content-carrousel a:hover {
  text-decoration: underline;
}

.content-carrousel figcaption {
  text-align: center;
}

.content-carrousel figure:nth-child(1) {
	transform: rotateY(0deg) translateZ(300px); 
} .content-carrousel figure:nth-child(2) {
	transform: rotateY(40deg) translateZ(300px); 
} .content-carrousel figure:nth-child(3) {
	transform: rotateY(80deg) translateZ(300px); 
} .content-carrousel figure:nth-child(4) {
	transform: rotateY(120deg) translateZ(300px); 
} .content-carrousel figure:nth-child(5) {
	transform: rotateY(160deg) translateZ(300px); 
} .content-carrousel figure:nth-child(6) {
	transform: rotateY(200deg) translateZ(300px); 
} .content-carrousel figure:nth-child(7) {
	transform: rotateY(240deg) translateZ(300px); 
} .content-carrousel figure:nth-child(8) {
	transform: rotateY(280deg) translateZ(300px); 
} .content-carrousel figure:nth-child(9) {
	transform: rotateY(320deg) translateZ(300px); 
} .content-carrousel figure:nth-child(10) {
	transform: rotateY(360deg) translateZ(300px); 
} 

.shadow {
    position: absolute;
    box-shadow: 0px 0px 20px 0px #000;
    border-radius: 1px;
}

.content-carrousel img {
	image-rendering: auto;
	transition: all 300ms;
	width: 100%;
	height: 100%;
}

.content-carrousel img:hover {
	transform: scale(1.03);
	transition: all 300ms;
}

@keyframes rotar {
	from {
		/* transform: rotateY(0deg); */
		transform: rotateY(360deg);
	} to {
		/* transform: rotateY(360deg); */
		transform: rotateY(0deg);
	}
}

@media screen and (max-width:700px) {
  #music {
    height: 200%;
    /* scroll-snap-align: start end; */
  }

  #music .main {
    height: 50%;
    width: 100%;
  }

  #music h2 {
    margin-bottom: 2rem;
  }

  #music #slideshow {
    height: 200px;
  }

  #music h3 {
    margin-bottom: 2rem;
  }

  #music .albums-wrapper {
    position: static;
    height: 50%;
    width: 100%;
    scroll-snap-align: start;
  }

  #slideshow .entire-content {
    transform: scale(0.65);
  }
}

@media screen and (max-height:600px) {
  #music .artist-wrapper {
    display: none;
  }

  #music h2, #music h3 {
    margin-bottom: 1rem;
  }

  #music .playlist-card {
    max-width: 160px;
  }
}

#tv {
  height: 100%;
  background-color: #222222;
}

#tv h3 {
  text-align: center;
  margin: 1rem;
}

#tv .background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

#tv-background {
  position: absolute;
  top: 0;
  left: 0;
  /* height: 100vh; */
  height: calc(100% + 299px);

  display: flex;
  flex-flow: column wrap;

  /* transition: left 1s linear; */
}

#tv-background.scroll {
  /*
  -webkit-transition: 800s;
  -moz-transition: 800s;
  -ms-transition: 800s;
  -o-transition: 800s;
  transition: 800s;
  margin-left: -30000px !important;
  */
}

#tv .background-vignette {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  -webkit-box-shadow: -10px -19px 20px 10px rgb(0 0 0 / 79%) inset, 10px 20px 20px 10px rgb(0 0 0 / 79%) inset;
  -moz-box-shadow: -10px -19px 20px 10px rgb(0 0 0 / 79%) inset, 10px 20px 20px 10px rgb(0 0 0 / 79%) inset;
  box-shadow: -10px -19px 20px 10px rgb(0 0 0 / 79%) inset, 10px 20px 20px 10px rgb(0 0 0 / 79%) inset;

  pointer-events: none;
}

#tv .background-vignette h2 {
  text-shadow: #000 2px 2px 10px, #000 -2px -2px 10px;
  pointer-events: auto;
}

.poster {
  width: 200px;
  height: 300px;
}

.poster-wrapper {
  position: absolute;
  left: 0;
  width: 400px;
  height: 300px
}

.poster img {
  max-width: 100%;
}

#tv-scroll-toggle {
  width: 30px;
  height: 30px;
  padding: 0;

  position: absolute;
  bottom: 0;
  left: 0;

  background-color: white;
}

#tv .main {
  /* position: relative; */
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;

  display: flex;
  flex-flow: column nowrap;
}

#tv .title {
  display: flex;
  justify-content: center;
  align-items: center;
}

#tv .credits {
  flex-grow: 2;
  display: flex;
  flex-flow: column nowrap;
}

#tv .credits > div {
  flex-grow: 1;
}

#tv .credits-list {
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
  text-align: center;

  flex-grow: 1;
}

#tv a,
#tv a:visited {
  /* color: var(--link-color); */
  color: inherit;
}

#tv a:hover {
  color: var(--link-hover-color);
}

#tv-toggle {
  cursor: pointer;
}

#tv footer {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;

}

#tv footer h2 {
  display: none;
}

#tv .footer-header {
  text-align: center;
}

#tv footer {
  flex-grow: 1;
  line-height: 2rem;
}

#tv footer > div {
  flex-grow: 1;
}

#webrings {
  text-align: center;
}

/* Totoro */
#totoro {
  position: absolute;
  left: -70px;
  bottom: -10px;

  transform: scale(0.4);

  pointer-events: auto;
}

#totoro * {
  transform-style: preserve-3d;
}

body .wrap {
  width: 275px;
  height: 100px;
  position: relative;
  box-shadow: 0 0 0 2px #eee, 0 0 40px 0px rgba(0, 0, 0, 0.15);
  border-radius: 500px;
  background: #fff;

  -webkit-transition: background-color 0.5s linear;
  -ms-transition: background-color 0.5s linear;
  transition: background-color 0.5s linear;
}
body .wrap * {
  transition: 0.25s linear;
}
body .wrap .totoro {
  position: absolute;
  width: 100px;
  height: 150px;
  left: 0px;
  top: -30px;
  background: #bbb;
  border-radius: 170px 170px 100px 100px/300px 300px 200px 200px;
  z-index: 2;
}
/*
body .wrap .totoro:before, body .wrap .totoro:after {
  content: "";
  position: absolute;
  width: 300vw;
  height: 300vh;
  left: -100vw;
  top: -100vh;
  background: rgba(6, 61, 109, 0.75);
  z-index: -1;
  transform: translateZ(-10px);
  opacity: 0;
  transition: 0.5s ease-in-out;
  pointer-events: none;
}
*/

body .wrap .totoro:after {
  z-index: 2;
  transform: translateZ(10px);
}
body .wrap .totoro .ears {
  position: absolute;
  width: 90%;
  height: 40px;
  left: 5%;
}
body .wrap .totoro .ears .ear {
  position: absolute;
  width: 10px;
  height: 25px;
  background: #bbb;
  top: -10px;
  left: 7.5px;
  border-radius: 700px 700px 500px 500px/2750px 2750px 500px 500px;
}
body .wrap .totoro .ears .ear:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 15px;
  background: #bbb;
  left: calc(50% - 2px);
  bottom: -15px;
}
body .wrap .totoro .ears .ear:nth-of-type(2) {
  left: auto;
  right: 7.5px;
}
body .wrap .totoro .foot {
  width: 40px;
  height: 20px;
  background: #bbb;
  position: absolute;
  bottom: 0;
  left: 5px;
  border-radius: 300px 200px 200px 200px/200px 100px 100px 100px;
  transform-origin: top right;
  transform: rotate(0deg) scaleY(1) scaleX(1);
}
body .wrap .totoro .foot.two {
  left: auto;
  right: 5px;
  transform-origin: top left;
  border-radius: 200px 300px 200px 200px/100px 200px 100px 100px;
}
body .wrap .totoro .arm {
  width: 25px;
  height: 60px;
  background: #bbb;
  position: absolute;
  left: 0px;
  z-index: -1;
  top: 50px;
  border-radius: 550px 100px 400px 400px/700px 200px 600px 800px;
  transform: rotate(10deg);
  transform-origin: top right;
}
body .wrap .totoro .arm:nth-of-type(2) {
  left: auto;
  right: 0px;
  border-radius: 100px 550px 400px 400px/200px 700px 800px 600px;
  transform: rotate(-10deg);
  transform-origin: top left;
}
body .wrap .totoro .body {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 170px 170px 100px 100px/300px 300px 200px 200px;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: 2;
}
body .wrap .totoro .body .spots {
  position: absolute;
  width: 90%;
  height: 57.5%;
  background: #ffffff;
  bottom: 10px;
  left: 5%;
  border-radius: 300px 300px 300px 300px/300px 300px 500px 500px;
}
body .wrap .totoro .body .spots:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 300px 300px 300px 300px/300px 300px 500px 500px;
}
body .wrap .totoro .body .spots .spot {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50px;
  box-shadow: 0 -5px 0 #888888;
  left: calc(50% - 6.5px);
  top: 10px;
  transform: translateZ(20px) scaleX(0.75) scale(0.75);
}
body .wrap .totoro .body .spots .spot:nth-of-type(2), body .wrap .totoro .body .spots .spot:nth-of-type(3) {
  top: 15px;
  left: calc(50% - 25px);
}
body .wrap .totoro .body .spots .spot:nth-of-type(3) {
  left: calc(50% + 10px);
}
body .wrap .totoro .body .spots .spot:nth-of-type(n + 4) {
  top: 30px;
  left: 10px;
}
body .wrap .totoro .body .spots .spot:nth-of-type(5) {
  left: 30px;
}
body .wrap .totoro .body .spots .spot:nth-of-type(6) {
  left: 50px;
}
body .wrap .totoro .body .spots .spot:nth-of-type(7) {
  left: 70px;
}
body .wrap .totoro .body .spots .spot:before, body .wrap .totoro .body .spots .spot:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  background: #888888;
  border-radius: 200%;
  left: -2.5px;
  transform: rotate(45deg);
  bottom: 10px;
}
body .wrap .totoro .body .spots .spot:after {
  transform: rotate(-45deg);
  left: 10px;
}
body .wrap .totoro .body .inner {
  position: absolute;
  width: 100%;
  height: 30px;
  top: 15px;
}
body .wrap .totoro .body .inner:before {
  content: "";
  position: absolute;
  width: 17.5px;
  height: 6px;
  background: #222;
  left: calc(50% - 8.75px);
  top: 10px;
  border-radius: 200px 200px 100px 100px/100px 100px 50px 50px;
}
body .wrap .totoro .body .inner .mouth {
  position: absolute;
  width: 50px;
  height: 10px;
  background: repeating-linear-gradient(to right, #fff, #fff 10px, #222 10px, #222 11px, #fff 11px);
  bottom: 0px;
  left: calc(50% - 25px);
  border-radius: 25px 25px 300px 300px/25px 25px 200px 200px;
  box-shadow: inset 0 0 0 1px #a2a2a2;
}
body .wrap .totoro .body .inner .eye {
  position: absolute;
  top: 5px;
  width: 12.5px;
  height: 12.5px;
  background: #222;
  left: 20px;
  border-radius: 100%;
  box-shadow: inset 0 0 0 1px #a2a2a2, inset 0 0 0 4.5px #fff;
}
body .wrap .totoro .body .inner .eye:nth-of-type(2) {
  left: auto;
  right: 20px;
}
body .wrap input {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  opacity: 0;
}
body .wrap input:checked ~ .totoro {
  transform: translateX(180px) translateY(-5px);
  transition: 0.5s linear;
}
body .wrap input:checked ~ .totoro:before {
  opacity: 1;
}
body .wrap input:checked ~ .totoro:after {
  opacity: 0.25;
}
body .wrap input:checked ~ .totoro * {
  transition: 0.5s linear;
}
body .wrap input:checked ~ .totoro .foot {
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-delay: 0.45s, 0.45s;
  transform: rotate(-75deg) scaleY(1.5) scaleX(1.5) translateY(-10px) translateX(10px);
}
body .wrap input:checked ~ .totoro .foot.two {
  transform: rotate(75deg) scaleY(1.5) scaleX(1.5) translateY(-10px) translateX(-10px);
}
body .wrap input:checked ~ .totoro .arm {
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-delay: 0.45s, 0.45s;
  transform: rotate(40deg) translateX(7.5px);
}
body .wrap input:checked ~ .totoro .arm:nth-of-type(2) {
  transform: rotate(-40deg) translateX(-7.5px);
}
body .wrap input:checked ~ .totoro .ears .ear {
  left: 70px;
  -webkit-animation: ear1 1s ease-in-out infinite alternate;
          animation: ear1 1s ease-in-out infinite alternate;
  transform-origin: -20% 120%;
}
@-webkit-keyframes ear1 {
  to {
    transform: rotate(5deg) translateY(-2.5px);
  }
}
@keyframes ear1 {
  to {
    transform: rotate(5deg) translateY(-2.5px);
  }
}
body .wrap input:checked ~ .totoro .ears .ear:nth-of-type(2) {
  left: auto;
  right: 70px;
  -webkit-animation: ear2 1s ease-in-out infinite alternate;
          animation: ear2 1s ease-in-out infinite alternate;
  transform-origin: 120% 120%;
}
@-webkit-keyframes ear2 {
  to {
    transform: rotate(-5deg) translateY(-2.5px);
  }
}
@keyframes ear2 {
  to {
    transform: rotate(-5deg) translateY(-2.5px);
  }
}
body .wrap input:checked ~ .totoro .body .mouth {
  box-shadow: inset 0 0 0 2px #626262;
  height: 2px;
  bottom: 2.5px;
  width: 20px;
  left: calc(50% - 10px);
}
body .wrap input:checked ~ .totoro .body .spots:before {
  -webkit-animation: breathe2 1s ease-in-out infinite alternate;
          animation: breathe2 1s ease-in-out infinite alternate;
  transform-origin: bottom;
}
@-webkit-keyframes breathe2 {
  to {
    transform: scale(1.025);
  }
}
@keyframes breathe2 {
  to {
    transform: scale(1.025);
  }
}
body .wrap input:checked ~ .totoro .body .inner:before {
  -webkit-animation: shake 3s ease-in-out infinite;
          animation: shake 3s ease-in-out infinite;
}
@-webkit-keyframes shake {
  90% {
    transform: translateX(0px);
  }
  91% {
    transform: translateX(1px);
  }
  92% {
    transform: translateX(0px);
  }
  93% {
    transform: translateX(-1px);
  }
  94% {
    transform: translateX(0px);
  }
}
@keyframes shake {
  90% {
    transform: translateX(0px);
  }
  91% {
    transform: translateX(1px);
  }
  92% {
    transform: translateX(0px);
  }
  93% {
    transform: translateX(-1px);
  }
  94% {
    transform: translateX(0px);
  }
}
body .wrap input:checked ~ .totoro .body .inner,
body .wrap input:checked ~ .totoro .body .spots {
  -webkit-animation: roll1 0.5s linear 1 forwards;
          animation: roll1 0.5s linear 1 forwards;
}
body .wrap input:checked ~ .totoro .body .inner .spot,
body .wrap input:checked ~ .totoro .body .spots .spot {
  -webkit-animation: breathe 1s ease-in-out infinite alternate;
          animation: breathe 1s ease-in-out infinite alternate;
}
@-webkit-keyframes breathe {
  to {
    transform: translateZ(20px) scaleX(0.8) scale(0.75) translateY(-5px) rotateX(-20deg);
  }
}
@keyframes breathe {
  to {
    transform: translateZ(20px) scaleX(0.8) scale(0.75) translateY(-5px) rotateX(-20deg);
  }
}
body .wrap input:checked ~ .totoro .body .inner .eye,
body .wrap input:checked ~ .totoro .body .spots .eye {
  box-shadow: inset 0 0 0 1px #626262, inset 0 0 0 4.5px #fff;
  height: 2px;
  width: 7.5px;
  transform: translateX(7.5px);
}
body .wrap input:checked ~ .totoro .body .inner .eye:nth-of-type(2),
body .wrap input:checked ~ .totoro .body .spots .eye:nth-of-type(2) {
  transform: translateX(-7.5px);
}
@-webkit-keyframes roll1 {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(100%) rotateY(150deg);
  }
  50.001% {
    transform: translateX(-100%) rotateY(-150deg);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes roll1 {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(100%) rotateY(150deg);
  }
  50.001% {
    transform: translateX(-100%) rotateY(-150deg);
  }
  100% {
    transform: translateX(0%);
  }
}

@media screen and (max-width:700px) {
  #tv {
    height: 300%;
    /* scroll-snap-align: start end; */
  }

  #tv .background-wrapper,
  #tv .background-vignette {
    position: relative;
    height: 33%;
    width: 100%;
    scroll-snap-align: start;
  }

  #tv .background-vignette {
    position: absolute;
  }

  #tv .main {
    position: relative;
    height: 67%;
    width: 100%;
    scroll-snap-align: start;
  }

  #tv .credits {
    height: 50%;
    scroll-snap-align: start;
  }

  #tv .credits-list {
    flex-grow: 1;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  #tv footer {
    height: 50%;
    scroll-snap-align: start;

    background-color: #0a180a;
  }

  #tv footer .footer-header {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
  }

  #tv footer #webrings {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
  }

  #tv footer h2 {
    display: initial;
  }
}

#projects {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;

  background-color: #11171f;
}

#projects h3 {
  text-align: center;
}

#projects .swiper-slide h3 a {
  color: inherit;
}

#projects .swiper {
  flex-grow: 1;
  padding-bottom: 25px;
  width: 95%;
}

#projects .swiper-slide {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

#projects .project-link {
  position: absolute;
  bottom: 0;
  left: 20%;
}

#projects .project-text {
  text-align: center;
  line-height: 2rem;
  margin: 0 2rem;
}

#projects .project-text a,
#projects .project-text a:visited {
  /* color: var(--link-color); */
  color: inherit;
}

#projects .project-text a:hover {
  color: var(--link-hover-color);
}

#projects iframe {
  width: 100%;
  /* height: 100%; */
  height: calc(100% - 25px);
  border: none;
}

#projects .swiper-button-prev,
#projects .swiper-button-next {
  top: 1.8rem;
}

#projects .swiper-pagination {
  bottom: 5px;
}

#projects .swiper-pagination-bullet {
  background: white;
}
