@font-face {
  font-family: SegoeScript;
  src: url(/fonts/SegoeScript-Regular.ttf);
  font-weight: 600;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Light.ttf');
  font-weight: 300;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.ttf');
  font-weight: 400;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Medium.ttf');
  font-weight: 500;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.ttf');
  font-weight: 600;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Bold.ttf');
  font-weight:700;
}
main {
  margin-left: 20px;
  margin-right: 20px;
  
}
body{
  font-family: 'Inter',sans-serif;
  font-weight: 400;
  background-color:  #F9FAFB ;
  color: #111827;
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.logo {
  margin-left: 20px;

}
.navbar {
  margin-top: 8px;
  
}
.navdiv {
  display: flex;
  justify-content: space-between;
}

.navbar ul {
  list-style-type: none;
  padding: 5px;
  margin: 0px;
  overflow: hidden;
}

.navbar a {
  text-decoration: none;
  padding: 15px;
  font-size: 25px;
  display: block;
  text-align: center;
  color: #111827;
  font-family: 'Inter',sans-serif;
  font-weight: 500;
}

.navbar a:hover {
  color: #2563EB;

}

.navbar a:active {
  color: #2563EB;
}

.navbar li {
  float: left;

}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  font-family: 'Inter',sans-serif;
  font-weight: 500;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

@media (max-width: 860px) {
  .sidebar {
    display: none;
  }

  .navbar ul:not(.sidebar) li:not(:last-child) {
    display: none;
    /* In the main navbar list, all menu items (_home, _about, _portfolio, etc.) are hidden on small screens.
   Only the last <li> remains (which you usually use for the hamburger icon). */
  }

  .navbar ul:not(.sidebar) li:last-child {
    display: block;
    float: right;
  }

  .menu-botton {
    display: block;
  }
}

.menu-botton {
  display: none;
}

@media (max-width:370px) {
  .sidebar {
    width: 100%;
  }

}

section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #4F86F7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background:  #3B6EEA
}

#typewriter {
  font-weight: bold;
}

#cursor {
  color: red;;
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 100%;
  }

  50% {
    opacity: 0%;
  }
}