* {
  margin: 0;
    padding: 0;
    /* width: 100%; */
    /* height: 100%; */
    /* overflow: hidden; */
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  z-index: 8888;
}

.projects {
  text-align: center;
  z-index: 8888;
}

.projects-article {
  margin: 20px;
  vertical-align: center;
  text-align: center;
  z-index: 8888;
  
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000004a;
  z-index: 1;
}

 #container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #ae9696;
  z-index: 667;
} 


.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow: clip;
  text-align: justify;
  z-index: 1;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.logo {
  font-size: 3rem;
  font-weight: absolute;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  align-items: center;
  animation: rotate-bg 36s linear infinite;
  z-index: 9998;
}

.nav {
  position: absolute;
  top: 4rem;
  right: 2rem;
  z-index: 9999;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.2s ease-in-out;
  animation-name: changeColorNav;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}


@keyframes changeColorNav {
  0% {
    color: rgb(0, 0, 0);
  }
  50% {
    color: rgb(255, 255, 255);
  }
  100% {
    color: rgb(0, 0, 0);
  }
}
@keyframes changeColor {
  0% {
    color: rgb(0, 0, 0);
  }
  25% {
    color: rgb(255, 255, 255);
  }
  
  100% {
    color: rgb(0, 0, 0);
  }
}

.nav-links a:not(:hover) {
  color: rgb(191, 195, 165);
  text-decoration: none;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.2s ease-in-out;
}

.nav-links a:hover {
  color: #000000 !important;
}

.main {
  padding: 3rem;
  position: relative;
  z-index: -1;
}

.main::before {
  content: "";
  background-image: url("../images/background.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeInOut 22s ease-in-out infinite; /* 0.1 Hz = 1/0.1 = 10 seconds period */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


.intro-title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  z-index: 666;
}

.normal-text {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.2s ease-in-out;
  animation-name: changeColor;
  animation-duration: 8s;
  animation-iteration-count: 1;
  text-align: justify;
  z-index: 688;
  
}

.intro-text {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.2s ease-in-out;
  animation-name: changeColor;
  animation-duration: 2s;
  animation-iteration-count: 6;
  text-align: justify;
  z-index: 999;
}

.big-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.big-links a {
  display: block;
  width: 45%;
  padding: 1rem;
  border: 2px solid #fff;
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease-in-out;
}

.big-links a:hover {
  background-color: #b6cdba;
  border-color: #aa9087;
}


/* Modify .footer class */
.footer {
  width: 100%;
  padding: 2rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
  position: relative;
  margin-top: auto; /* This line will push the footer to the bottom */
  background-image: url("../images/background.png");
}


.footer-text {
  font-size: 1rem;
}

@keyframes rotate-bg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 10s linear infinite;
}

.rotate-slow {
  animation: rotate 366s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

.videos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

.video-wrapper {
  margin-bottom: 2rem;
  z-index: 9999;
}

.projects-article img {
  border: 2px solid rgb(0, 0, 0);
  z-index: 9999;
}

@media screen and (max-width: 768px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo {
    margin-bottom: 1rem;
  }
  .nav {
    position: static;
    margin-top: 1rem;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .nav-links li {
    margin: 0.5rem 0;
  }
  .big-links a {
    width: 90%;
  }
}


.letter-fly {
  position: fixed;
  font-size: 6rem;
  color: rgba(139, 139, 139, 0.196);
  z-index: 889;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  
}

@keyframes move {
  from {
      transform: translate(0, 0);
  }
  to {
      transform: translate(100%, 100%);
  }
}

.iframe {
  position: relative;
  z-index: 9999; /* Set a lower z-index value */
}


.artworks-item {
  z-index: 9999;
  font-family: Arial, sans-serif;
}

.artworks-item-description{
  z-index: 9999;
}

button {
  position: absolute;
  font-size: 1rem;
  padding: 2px 2px;
  cursor: cell;
  color: black;
  background-color: aliceblue;
  z-index: 9999;
}




#ensoCanvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  
}



.interactive-text {
  position: relative;
}

.interactive-text:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 40px; /* Change the top position to be 1px below the text */
  left: 0;
  z-index: -1;
  color: rgb(0, 0, 0); /* Change the color to pink */
  text-shadow: 0 0 15px rgb(0, 0, 0); /* Increase the text-shadow blur radius for more noise, and change the color to pink */
  pointer-events: none;
}


.interactive-text[data-text]:hover {
  color: #ffffff;
}