@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

body {
  background-color: lightgray;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-around;
  font-family: Inter, sans-serif;
  padding: 0.5em;
  height: 95vh;
  width: 95vw;
  overflow: hidden;
}

a {
  color: beige;
}
a:visited {
  color: lightgray;
}

h1 {
  font-weight: 700;
  font-size: 1.5rem;
}
header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  /* border: 2px solid black; */
}
.shadow {
  box-shadow: inset 0 0 15px rgba(61, 57, 57, 0.5);
}
.title {
  color: black;
}
/* .title {
  animation: 5s typeJuice infinite;
} */
.title:hover {
  cursor: pointer;
  text-decoration: underline;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* border: 2px solid black; */
}

.creature-text {
  position: absolute;
  top: 20px;
}
#main-window {
  position: fixed;
  display: flex;
  width: 80vw;
  height: 60vh;
  overflow: hidden;
  /* border: 2px solid black; */
  background-color: white;
}

#main-window.hidden {
  display: none;
}
.hidden {
  display: none;
}

#main-image {
  /* border: solid 1px black; */
  position: relative;
  /* width: 100vw;
  height: 100vh; */
  z-index: 1;
}
#landscape {
  width: 100%;
  height: 100%;
}

#lang {
  position: absolute;
  right: 0px;
  top: 0px;
}
#lang span {
  cursor: pointer;
  user-select: none;
}
#lang span.selected {
  font-weight: bold;
}
#lang span.hover {
  text-decoration: underline;
}

#title-container {
  /* width: 10%; */
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: black;
  overflow: visible;
  transition: all 2s ease-in-out;
  transform: rotateZ(1deg);
  margin-right: 5px;
}

#title-container h1 {
  padding: 0;
  margin: 0;
}
.imaginaryCreature {
  width: 80px;
  height: 80px;
  z-index: 5;
  position: absolute;
  animation: leftright 3s step-end;
  animation-iteration-count: infinite;
  transition: transform 0.5s ease-in-out; /* Smooth rotation */
}
/* 
#title-container:hover {
  width: 100%
}
#title-container:hover h1 {
  font-size: 10rem;
  transition: all 2s ease-in-out;


} 
  */
footer {
  /* transform: rotateZ(-1deg); */
  display: flex;
  flex-direction: row;

  animation: rotation 5s infinite;
  text-wrap: nowrap;

  justify-content: space-between;
}
footer a {
  color: white;
  background-color: black;
  padding: 2%;
  text-decoration: none;
  /* display: flex; */
}

footer p {
  position: absolute;
  right: 0;
}
footer a:hover {
  text-decoration: underline;
}

nav {
  display: flex;
  flex-direction: column;
}
#first-row,
#second-row {
  display: flex;
  flex-direction: row;
  gap: 2px;
}

nav .title {
  padding: 0.2em;
  margin: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

#family-reunion {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 20px;
  width: 30%;
  border-radius: 10px;
  background: radial-gradient(
    circle,
    rgba(201, 90, 90, 0.736),
    rgba(106, 136, 234, 0.444)
  );
}

#family-reunion a:link,
#family-reunion a:visited {
  color: blue;
}

#family-reunion h1 {
  font-size: 2rem;
  padding: 1em;
  animation: 5s typeJuice infinite;
}

#family-reunion img {
  width: 100%;
  height: auto;

  /* transform: translate(0, -500px); */
}

#soundcloud {
  display: block;
  position: absolute;
  /* transform: translate(0, -500px); */
  transition: all ease-in 2s;
  right: 0;
  bottom: 0;
  margin: 0;
  /* width: 30%; */
}

#soundcloud .show {
  transform: translate(0, 0);
}

#soundcloud div {
  font-size: 10px;
  color: #484545;
  line-break: anywhere;
  word-break: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: Interstate, Lucida Grande, Lucida Sans Unicode, Lucida Sans,
    Garuda, Verdana, Tahoma, sans-serif;
  font-weight: 100;
}
#soundcloud iframe {
  height: 10px;
}
#soundcloud::before {
  content: "Play music";
  pointer-events: all;
  background-color: darkgray;
  color: lightgray;
  width: 100%;
  position: absolute;
  padding: 1px;
  top: -10px;
  left: 0;
}
#soundcloud::before:hover {
  content: "";
}
#soundcloud iframe:hover {
  height: 300px;
}

#soundcloud a {
  color: #cccccc;
  text-decoration: none;
}

.project-zone {
  display: flex;
  position: fixed;
  z-index: 10;
  flex-direction: row;
  width: 60%;
  height: auto;
  gap: 10px;
}

.project-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
  height: auto;
  border: 1px solid black;
  padding: 5px;
  margin: 5px;
  width: minmax(100px, 300px);
  height: minmax(100px, 300px);

  z-index: 10;
}

.project-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.project-item p {
  display: none;
}

.project-item.hover {
  background-color: blue;
  padding: 1em;
  transition: all 0.5s ease-in-out;
}
.project-item.hover p {
  display: block;
}

@keyframes typeJuice {
  0%,
  100% {
    font-weight: 900;
  }
  50% {
    font-weight: 700;
  }
}

@keyframes rotation {
  0%,
  100% {
    transform: rotateZ(-1deg);
  }
  50% {
    transform: rotateZ(0deg);
  }
}

.noise {
  /* width: 250px;
  height: 250px; */
  /* filter: contrast(170%) brightness(1000%); */
  background: linear-gradient(0deg, rgb(255, 236, 236), rgba(255, 123, 123, 0)),
    linear-gradient(210deg, rgb(227, 255, 227), rgba(255, 186, 255, 0.065)),
    url("noise.svg");
}
