@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

/* Importing CSS files */
@import "About.css";
@import "ContactCard.css";
@import "ContactForm.css";
@import "Footer.css";
@import "Loader.css";
@import "Navbar.css";
@import "Profile.css";
@import "Project.css";
@import "ProjectCard.css";
@import "TechStack.css";

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100vw;
  user-select: none;
  scroll-behavior: smooth;
  cursor: none;
}

.container{
  display: flex;
  flex-direction: column;
}

.loader {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.active {
  visibility: visible;
}

.inactive {
  visibility: hidden;
}

/* Hide Scrollbar */
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body::-webkit-scrollbar {
  display: none;
}

/*Fonts*/
.p1 {
  font-weight: 600;
  color: rgb(85, 85, 85);
  font-size: 1.25rem;
  text-align: center;
}

.p2 {
  font-weight: 600;
  font-size: 2rem;
  color: rgb(85, 85, 85);
  text-align: center;
}

.p3 {
  font-weight: 600;
  color: black;
}

.p4 {
  font-weight: 600;
  font-size: 1.75rem;
  color: black;
}

.specialKey {
  color: #cc5500;
}

@keyframes moveTop {
  0%{top: 75%;}
  100%{top: 0%;}
}
.toast-success{
  fill: white;
  position: absolute;
  right: 2rem;
  background-color: #14A44D;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  animation-name: moveTop;
  animation-duration: 5s;
  top: 0%;
  display: none;
}
.toast-error{
  fill: white;
  position: absolute;
  right: 2rem;
  background-color: red;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  animation-name: moveTop;
  animation-duration: 5s;
  top: 0%;
  display: none;
}
/* Add this within your existing stylesheet or create a new one */
#mouseTracker {
  display: none;
  width: 30px;
  height: 30px;
  background-color: rgba(128, 128, 128, 0.486);
  border-radius: 50%;
  position: fixed;
  z-index: 9999;
  pointer-events: none; /* This ensures the tracker doesn't interfere with other elements */
}

.highlight:hover{
  box-shadow: 5px 10px 20px 5px rgba(128, 128, 128, 0.5) inset;
  scale: 1.1;
}

@media screen and (max-height: 1000px){
  @keyframes moveTop {
    100%{
      top: 50%;
    }
    0%{
      top: 100%;
    }
  }
}
/*media Query for >1200px*/
@media screen and (max-width: 1200px) {
  .p1 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .p2 {
    font-size: 1.5rem;
  }
}
/* Media Query > 900px */
@media screen and (max-width: 900px) {
  .toast-error{
    width: 60%;
    left: auto;
    right: auto;
  }
  .toast-success{
    width: 80%;
    left: auto;
    right: auto;
  }
  /* #mouseTracker{
    display: none;
  } */
  .highlight:hover{
    box-shadow: none;
    scale: 1;
  }
}

@media screen and (max-width: 600px) {
  /*  */
  .toast-error{
    top: 50%;
  }
  .toast-success{
    top: 50%;
  }
}
