* {
  margin: 0;
  padding: 0;
}
.main-background {
  min-height: 120vh;
  margin-top: -1px;
  background: #616161;
  background: #000000;
  background: -webkit-linear-gradient(to bottom, #434343, #000000);
  background: linear-gradient(to bottom, #434343, #000000);

  font-family: "Emkan";
  padding: 20px;
}

@font-face {
  font-family: "candara";
  src: url("/fonts/candara.ttf");
}

/* nav ul {
  background: inherit !important;
  background-color: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(1px) !important;
  z-index: 20000;
  top: 8px;
  width: 1480px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  border: 2px solid #0a090a;
  border-left: none;
  border-right: none;
} */
nav li {
  height: 70px;
}
nav a {
  margin-left: 70px;
  font-size: x-large;
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #fcfcfc;
}

.body {
  min-height: 100vh;
  background-image: url(/img/header-img.png);
  margin-top: 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "Emkan";
  font-weight: bold;
  border-radius: 60px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10 px rgb(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li {
  width: 100%;
}
.sidebar a {
  width: 100%;
}
.showSidebar {
  position: fixed;
  right: 0;
}

.nest_button {
  /* display: none; */
  position: fixed;
  border: none;
  border-top: none;
  font-size: 22px;
  transition:
    color 0.5s,
    transform 0.2s,
    background-color 0.2s;
  outline: none;
  padding: 21px 23px;
  border: 3px solid transparent;
  font-family: "Emkan";
  font-weight: bold;
  left: 0%;
  top: -18px;
  margin-top: 1.05rem;
  margin-left: 2.5rem;
}
a:active {
  transform: translateY(3px);
}

.nest_button {
  background-color: transparent;
  color: #fbfbfe;
}
.nest_button:hover {
  background-color: transparent;
  box-shadow: none;
  color: #e6e6e6;
}
.nest_button::before {
  content: "";
  position: absolute;
  left: 0;
  width: 104%;
  height: 104%;
  transition:
    opacity 0.2s,
    border 0.3s;
}
.nest_button:hover::before {
  opacity: 0;
}
.nest_button::after {
  margin-top: -3px;

  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 3px solid #aaa;
  opacity: 0;
  z-index: -1;
  transform: scaleX(1.1) scaleY(1.3);
  transition:
    transform 0.8s,
    opacity 0.3s;
}
.nest_button:hover::after {
  opacity: 1;
  transform: scaleX(1) scaleY(1);
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all 0.5s;
}

nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 5px;
  width: 0%;
  content: ".";
  color: transparent;
  background: #aaa;
  height: 2px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

.mit-yeganeh {
  color: #505050;
  position: absolute;
  left: 38%;
  top: 60%;
  transform: translate(-83%, -83%);
  font-size: 40px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  font-family: monospace;
}
.anim-typewriter {
  animation:
    typewriter 4s steps(44) 1s 1 normal both,
    blinkTextCursor 700ms steps(44) infinite normal;
}
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 13.5em;
  }
}
@keyframes blinkTextCursor {
  from {
    border-right-color: rgba(255, 255, 255, 0.75);
  }
  to {
    border-right-color: transparent;
  }
}

@font-face {
  font-family: "Emkan";
  src: url("/assets/fonts/Candara.ttf");
  src: url("/assets/fonts/EmkanBlackR.woff");
  src: url("/assets/fonts/EmkanBoldR.woff");
  src: url("/assets/fonts/EmkanRegularR.woff");
}

.send-code {
  overflow: hidden;
  z-index: 2;
  position: relative;
  width: 100px;
  height: 36px;
  margin: 0 auto;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
  word-spacing: 3px;
}
