* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}
body {
  background-color: #0d0d0e;

  height: 100vh;
  width: 100vw;
  color: #0fd7ff;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.main {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 90%;
  align-items: center;
  justify-content: space-around;
}

#list {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  list-style: none;
  font-size: 22px;
  gap: 20px;
  line-height: 50px;
  z-index: 10;
}

#subheader {
  font-size: 50px;
  font-family: "Clash Display", monospace;
  text-align: center;
  font-weight: 600;
  position: relative;
  top: 30px;
  width: fit-content;
}

#subheader:hover ~ .cursor {
  transform: translate(-50%, -50%);
  transform: scale(4);
}

ul.tags {
  width: 100%;
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-family: "Clash Grotesk", monospace;
  font-weight: 550;
  opacity: 75%;
  overflow: hidden;
  position: relative;
  top: 10px;
}

ul.tags::before {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #0d0d0e);
  content: "";
}
ul.tags::after {
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 40px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #0d0d0e);
  content: "";
}

ul.list {
  font-family: "Supreme", monospace;
}

#waving-hand-img {
  width: 60px;
}

.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;
}
#waving-hand-preloader {
  width: 100px;
  position: relative;
  bottom: 10px;
}

@keyframes infcarousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.carousel {
  display: inline-flex;
  gap: 10px;
  animation: infcarousel 3.5s linear infinite;
}

.carousel-container {
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  gap: 10px;
}
.carousel-container:hover .carousel {
  animation-play-state: paused;
}
ul.tags:hover ~ .cursor {
  transform: translate(-50%, -50%);
  transform: scale(2);
}

a.main-page-links {
  text-decoration: none;
  color: #e96b80;
  color: #0fd7ff;
  opacity: 90%;
}

li.main-page-options {
  display: inline-block;
  position: relative;
  text-decoration: none;
}

li.main-page-options::after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  bottom: -5px;
  position: absolute;
  background-color: #0fd7ff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  opacity: 90%;
}

#about::after {
  background-color: #e995d6;
}
#project::after {
  background-color: #80f2a6;
}
#blog::after {
  background-color: rgb(138, 243, 171);
}
#contact::after {
  background-color: #9cf49d;
}
#github::after {
  background-color: #6962e7;
}
#skills::after {
  background-color: #9f91f9;
}

#list:hover ~ .cursor {
  transform: translate(-50%, -50%);
  transform: scale(2);
  mix-blend-mode: multiply;
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: #0fd7ff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

li.main-page-options:hover::after {
  width: 100%;
  left: 0;
  opacity: 90%;
}
#message {
  cursor: pointer;
  border-radius: 30px;
  color: #0d0d0e;
  background-color: #0fd7ff;
  padding: 20px 20px 20px 20px;
  z-index: 99;
  gap: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#ty {
  cursor: pointer;

  font-family: "Clash Display", monospace;
  font-size: 34px;
  font-weight: 500;
  text-decoration: underline;
}
p.tysm {
  cursor: pointer;

  font-family: "Supreme", monospace;
  font-size: 20px;
}
#xmark {
  position: absolute;
  top: 30px;
  right: 30px;
}
#xmark:hover {
  cursor: pointer;
}
/* .main.blur {
  cursor: pointer;

  -webkit-filter: blur(50px);
  -moz-filter: blur(50px);
  -o-filter: blur(50px);
  -ms-filter: blur(50px);
  filter: blur(50px);
} */

/* Media Query for Desktop-Responsive Design (Note: this website was developed as mobile-first) */
@media only screen and (min-device-width: 787px) {
  #list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    position: relative;
    top: -200px;
  }
  ul.tags {
    position: relative;
    top: -120px;
  }
  #subheader {
    font-size: 70px;
  }
  #message {
    width: 350px;
    height: 350px;
  }
}

@media screen and (min-width: 760px) and (max-width: 1024px) and (orientation: landscape) {
  #subheader {
    font-size: 42px;
  }
  #list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    position: relative;
    top: -60px;
  }
  ul.tags {
    position: relative;
    top: -30px;
  }
  #message {
    width: 70%;
    height: 70%;
  }
  li.main-page-options::after {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .cursor {
    visibility: hidden;
  }
  * {
    cursor: pointer;
  }
  #list {
    align-self: start;
  }
  ul.tags::after {
    width: 20px;
  }
  ul.tags::before {
    width: 20px;
  }
  li.main-page-options::after {
    display: none;
  }
}
