* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}
body {
  cursor: none;
  font-family: "Supreme", monospace;
  background-color: #0d0d0e;
  color: #f2df70;
  color: rgb(138, 243, 171);
  height: 100vh;
  width: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
}
.main {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 90%;
  gap: 30px;
  align-items: center;
}
.loom {
  font-family: "Supreme", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  gap: 20px;
}
#loom:hover ~ .cursor {
  transform: translate(-50%, -50%) scale(1.5);
}

a.thread {
  color: rgb(138, 243, 171);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px 30px;
  text-align: center;
  border-radius: 20px;
  border: 2px solid rgb(172, 255, 179);
  gap: 10px;
}

#heading {
  font-family: "Clash Display", monospace;
  font-size: 30px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  /* border: 2px solid red; */
}
#heading:hover ~ .cursor {
  transform: translate(-50%, -50%) scale(4);
}

.preloader {
  cursor: pointer;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0e;
  height: 100vh;
  width: 100vw;
  z-index: 100;
  gap: 10px;
  opacity: 1;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
}
.preloader.fade {
  opacity: 0;
}
#blog-preloader {
  width: 100px;
  position: relative;
  bottom: 10px;
}
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: #f2df70;
  background: rgb(138, 243, 171);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

@media screen and (max-width: 767px) {
  .loom {
    width: 90%;
  }
  .cursor {
    visibility: hidden;
  }
}
