h1 {
   font-family: "Barriecito", system-ui;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 100px;
}

.dots {
  text-align: center;
}

body {
  background:#F4EDE3;;
  
}


.changecolour {
  animation: colorChange 2s infinite;
  font-weight: 1000;
}

@keyframes colorChange {

  0% { color: #894d20; }
  33% { color: #5d6b28; }
  66% { color: #495b6b; }
  100% { color: #894d20; }
}

.home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
}

.home img{
    width: 50px;
    height: 50px;
    display: block;
}
.nav{
    display:flex;
    
    
}

.guides{
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 999; 
}

.guide{
    font-family: "Space Mono", monospace;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--brown);

    text-decoration: none;
}

/* Gentle floating animation for the colour dots */
.dots a img{
  display: inline-block;
  transform-origin: center;
  will-change: transform;
  animation-name: floatSlow;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  width: 600px;
}

.dots a:nth-child(1) img { animation-duration: 6s; animation-delay: 0s; }
.dots a:nth-child(2) img { animation-duration: 7s; animation-delay: 0.5s; }
.dots a:nth-child(3) img { animation-duration: 6.5s; animation-delay: 1s; }

@keyframes floatSlow {
  0% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  20% { transform: translate3d(-60px,-40px,0) rotate(-6deg) scale(0.98); }
  40% { transform: translate3d(55px,65px,0) rotate(6deg) scale(1.02); }
  60% { transform: translate3d(-45px,60px,0) rotate(-5deg) scale(0.99); }
  80% { transform: translate3d(40px,-50px,0) rotate(5deg) scale(1.01); }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}

@media (max-width: 600px) {
  h1 {
    font-size: 70px;
  }
  .dots{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .dots a img {
    margin-top: 10%;
    width: 200px;
    max-width: 90%;
  }
}


