@font-face {
  font-family: "Inter";
  src: url("../files/fonts/Inter/Inter-VariableFont_opsz\,wght.ttf");
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: unset;
}

input,
textarea,
select {
  font-family: "Inter";
}

input[type="password"] {
  font-size: 14px;
  -webkit-text-security: disc;
}

input:focus,
select:focus {
  outline: none;
}

input::-ms-reveal {
  display: none;
}

body {
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.4px;
  transition: all 0.4s ease-in-out;
  line-height: 1.4;
}
/* navigations */

nav {
  height: 60px;
  border: 1px solid #ebebeb;
  display: flex;
  justify-content: center;
}

.nav {
  width: 80%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navLeft {
  display: flex;
  align-items: center;
  gap: 60px;
}

.navLogo {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 1px;
}

.navMenus {
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.navMenu a {
  padding: 0 15px;
}

.navMenu a:hover {
  color: #3f5fff;
}

.navRight {
  display: flex;
  align-items: center;
}

.navButtons {
  display: flex;
  gap: 10px;
}

.signUpButton a {
  height: 35px;
  width: 100px;
  color: #3f5fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signInButton a {
  height: 35px;
  width: 100px;
  border-radius: 7px;
  background: #3f5fff;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboardButton a {
  height: 35px;
  padding: 0 15px;
  width: fit-content;
  border-radius: 7px;
  background: #3f5fff;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.openNav {
  height: 35px;
  padding: 0 15px;
  border: 1px solid #ebebeb;
  border-radius: 7px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  display: none;
}

.openNav span {
  font-size: 24px;
}

/* mobile navigation */

.mobileNavigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
}

.mobileNav {
  width: 100%;
  height: 100%;
  padding: 20px 30px;
  background-image: linear-gradient(
      rgba(245, 246, 255, 0.6),
      rgba(245, 246, 255, 0.6)
    ),
    url("../files/images/bg.jpg");
  background-position: calc(100% + 150px) 80px;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
}

.mobileNav.active {
  animation: slideLeft 0.5s ease-in-out;
  will-change: opacity, transform;
}

.mobileNav.inactive {
  animation: slideRight 0.3s ease-in-out;
}

.closeNav {
  display: flex;
  justify-content: right;
}

.closeBtn {
  padding: 10px;
  border: 1px solid #ebebeb;
  border-radius: 7px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.closeBtn span {
  font-size: 18px;
}

.mobileMenus {
  flex: 1;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobileButtons {
  display: flex;
  gap: 15px;
}

.mobileSignUp a {
  height: 35px;
  width: 100px;
  color: #3f5fff;
  font-weight: 600;
  border-radius: 7px;
  border: 1px solid #ebebeb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobileSignIn a {
  height: 35px;
  width: 100px;
  border-radius: 7px;
  background: #3f5fff;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobileDashboard a {
  height: 35px;
  padding: 0 15px;
  border-radius: 7px;
  background: #3f5fff;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* footer */
footer {
  width: 100%;
  padding: 10px 0;
  background: #000;
  display: flex;
  justify-content: center;
}

.footer {
  width: 80%;
  text-align: center;
  color: #fff;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .navMenus {
    display: none;
  }

  .navButtons {
    display: none;
  }

  .openNav {
    display: flex;
  }
}

@media (max-width: 720px) {
  .navLogo {
    font-size: 24px;
  }

  .navMenus {
    font-size: 13px;
  }

  .signInButton a,
  .signUpButton a {
    width: 80px;
    height: 30px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .navLogo {
    font-size: 20px;
  }

  .navMenus {
    font-size: 12px;
    font-weight: normal;
  }

  .navMenu a {
    padding: 0 10px;
  }

  .signInButton a,
  .signUpButton a {
    width: 80px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .signUpButton {
    display: none;
  }
}

@media (max-width: 400px) {
  .navLeft {
    gap: 30px;
  }
}

@media (max-width: 350px) {
  .navLeft {
    gap: 20px;
  }
}

/* animations */
.animatable {
  visibility: hidden;
  animation-play-state: paused;
}

/* show objects being animated */
.animated {
  visibility: visible;
  animation-fill-mode: both;
  animation-duration: 1s;
  animation-play-state: running;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blur {
  0% {
    filter: blur(2px);
  }
  100% {
    filter: blur(0px);
  }
}

@keyframes blurWriter {
  from {
    width: 0%;
    filter: blur(1px);
  }

  to {
    width: 100%;
    filter: blur(0px);
  }
}

.animated.animationDelay {
  animation-delay: 0.4s;
}
.animated.animationDelayMed {
  animation-delay: 1.2s;
}
.animated.animationDelayLong {
  animation-delay: 1.6s;
}

.animated.fadeInUp {
  animation-name: fadeInUp;
}

.animated.blur {
  animation-name: blur;
}

.animated.blurWriter {
  animation: blurWriter 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.animated.fadeIn {
  animation-name: fadeIn;
}

/* extras */

.hidden {
  display: none;
}
