@font-face {
  font-family: 'RiformaLL-Medium';
  src: url('images/RiformaLL-Medium.woff') format('woff');
}
@font-face {
  font-family: 'TorreFarfan_v2';
  src: url('images/TorreFarfan_v2.woff') format('woff');
}

html, body {
  cursor: default !important;
}

body {
  margin: 0;
  font-family: 'RiformaLL-Medium', 'TorreFarfan_v2', sans-serif, serif;
  background: #fff;
  overflow: hidden;
  display: flex;
  height: 100vh;
  min-height: 100%;
  flex-direction: column;
}

::selection {
  background: transparent;
  color: transparent;
  text-shadow: 0 0 10px rgba(255,255,255,2);
}

.top-bar {
  width: auto;
  max-width: 100%;
  background: rgb(131,250,255);
  color: #5c5c5c;
  font-size: 0.9rem;
  padding: 0.2rem 0.3rem;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  position: fixed;
  z-index: 10;
  top: 0.5rem; left: 50%; transform: translateX(-50%);
}
.top-bar:hover {
  background: linear-gradient(to top, rgb(101,220,225), rgb(131,250,255));
}
.contact-btn-row.fixed-bottom {
  position: fixed;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  background: transparent;
  z-index: 1002;
}
.btn-bar {
  background: rgb(131,250,255);
  color: #5c5c5c;
  font-size: 0.9rem;
  font-family: 'RiformaLL-Medium', 'TorreFarfan_v2', sans-serif, serif;
  padding: 0.2rem 0.3rem;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  display: inline-block;
}
.btn-bar:hover {
  background: linear-gradient(to top, rgb(101,220,225), rgb(131,250,255));
  color: #5c5c5c;
  text-decoration: none;
}
.current-project-box {
  display: block;
  background: rgb(200,200,200);
  color: #5c5c5c;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: .9;
  text-align: center;
  font-size: 1.5rem;
  padding: 0.2rem 0.3rem;
  position: fixed;
  top: 50%;
  z-index: 13;
  border-radius: 5px;
  width: auto;
  max-width: 40%;
  left: 25%;
  transform: translateX(-50%);
}
.current-project-box:hover {
  background: linear-gradient(to top, rgba(170,170,170,0.8), rgba(200,200,200,0.8));
}
.audio-top-bar {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  background: rgb(131,250,255);
  color: #5c5c5c;
  padding: 0.2rem 0.3rem;
  font-size: 0.9rem;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}
.audio-top-bar:hover {
  background: linear-gradient(to top, rgb(101,220,225), rgb(131,250,255));
}
.content {
  width: 50%;
  height: 100vh;
  margin-left: 1%;
  margin-right: 1%;
  background: #fff;
  overflow: scroll;
  padding-right: 15px;
  box-sizing: border-box;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE 10+ */
}
.content::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Edge */
}
.container img {
  width: 100%;
  margin: 2% 0;
  height: auto;
  display: block;
}
.container iframe {
  overflow: hidden !important;
  border: none !important;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 2% 0;
}
.overlay,
.second-overlay,
.third-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 14;
  padding: 5rem;
  line-height: 0.9;
  font-family: 'TorreFarfan_v2', serif;
}
.overlay { color: #7befff; font-size: 2rem;}
.second-overlay { color: #b1b1b1; font-size: 1.7rem; z-index: 12;}
.second-overlay p, .third-overlay p {
  font-size: 0.6em;
  text-decoration: underline;
  pointer-events: none;
  font-weight: bold;
  margin: 3em 0 -1em 0;
  letter-spacing: 0.01em;
}
.second-overlay li, .third-overlay li {
  font-size: 1.1em;
  font-weight: 400;
  margin: 0.25em 0;
  line-height: 0.7;
}
.second-overlay p:first-child, .third-overlay p:first-child { margin-top: 0.3em; }
.third-overlay { color: #c8c8c8; font-size: 1.7rem; display: none;}
.second-overlay ul, .third-overlay ul { list-style-type: none; padding: 0;}
.second-overlay li a, .third-overlay li a {
  text-decoration: none;
  color: inherit;
}
.second-overlay li a:hover, .third-overlay li a:hover { color: #7ff5ff;}
.second-overlay > div, .third-overlay > div {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  white-space: nowrap;
}
.third-overlay > div { left: 50%;}
.subtitle-container {
  position: fixed;
  top: 50%;
  left: 75%;
  width: 45%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  transform: translateX(-50%);
}
.subtitle {
  display: inline-block;
  background: rgba(200,200,200,0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-family: 'RiformaLL-Medium', sans-serif;
  font-size: 4.5rem;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  line-height: 0.8;
}
.slideshow-container {
  position: fixed;
  top: 5%;
  width: 49%;
  height: 42%;
  left: 75%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 3;
}
.slideshow-container img {
  /* cursor removed */
}

.slideshow-images {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
}
.slideshow-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.slideshow-images img.active { display: block;}
.cursor-word {
  position: fixed;
  display: none;
  color: #2feeff;
  font-size: 2rem;
  font-family: 'TorreFarfan_v2', sans-serif;
  pointer-events: none;
  z-index: 5000;
  mix-blend-mode: difference;
}
.gradient-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 3;
}
.small-text { font-size: 0.7rem; line-height: 0.5rem;}
.footer-container {
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  font-family: 'RiformaLL-Medium', sans-serif;
  font-size: 0.6rem;
  color: #adadad;
  z-index: 4;
  text-align: right;
}
.cat-container {
  position: absolute;
  color: #000;
  bottom: 0%;
  left: 53%;
  font-size: 0.4rem;
  z-index: 11;
}
.cat { display: block;}
.cat-awake { display: none;}
.cat-container:hover .cat { display: none;}
.cat-container:hover .cat-awake { display: block;}
.cat-container:hover ~ .sleeping-animation { display: none;}
.sentence-display {
  font-family: monospace;
  color: #000;
  font-size: 0.6rem;
  position: absolute;
  bottom: 79px;
  left: calc(53% + 49px);
  white-space: nowrap;
  display: none;
}
.sleeping-animation {
  display: flex;
  font-family: monospace;
  color: #000;
  font-size: 0.6rem;
  position: absolute;
  bottom: 10%;
  left: calc(53% + 80px);
}
.z { opacity: 0; margin: 0 5px;}

@media screen and (max-width: 768px) {
  body { flex-direction: column; overflow: hidden;}
  .top-bar { width: auto; white-space: nowrap; font-size: 0.9rem;}
  .current-project-box {
    bottom: 0.5rem; left: 50%; font-size: 1rem; transform: translateX(-50%);
    color: #5c5c5c; top: unset; white-space: nowrap; max-width: none;
  }
  .content { width: 100%; padding-right: 3%; padding-left: 1%; margin-top: 0;}
  .subtitle-container {
    bottom: 2.7rem; top: unset; right: unset; left: 50%; transform: translateX(-50%);
    width: 90%; z-index: 5;
  }
  .subtitle { font-size: 2.5rem; line-height: 2rem; padding: 0.3rem 0.8rem;}
  .overlay { font-size: 1.5rem; padding: 2rem;}
  .slideshow-container { display: none;}
  .second-overlay { font-size: 1.3rem;}
  .second-overlay > div, .third-overlay > div {
    left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%);
    text-align: center; width: 90%;
  }
  .third-overlay { font-size: 1.3rem; padding: 2rem;}
  .footer-container, .gradient-overlay, .cat, .sleeping-animation { display: none;}
}
@media screen and (max-width: 768px) and (orientation: landscape) {
  .second-overlay { font-size: 0.9rem;}
}

*,
*:before,
*:after {
  cursor: default !important;
}

