* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  color: #212121;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header,h1,h2,h3,h4,h5,h6{
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  margin:1rem 0;
}

.navbar {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem;
  background: white;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
  user-select: none;
  z-index: 1000;
}

.navbar-logo{
  width:50px;
  height: 50px;
  object-fit: cover;
}

.navbar-header {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.navbar-toggle-btn {
  display: none !important;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.navbar-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.09);
}

.navbar-title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  user-select: text;
  margin: 0;
}

.navbar-menu {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 24px;
}


.navbar-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.navbar-menu ul li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 0.3s;
  user-select: none;
}

.navbar-menu ul li a:hover {
  background-color: rgba(255 255 255 / 0.2);
}

@media (max-width: 768px) {
  .navbar-toggle-btn {
    display: block !important;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white !important;
    display: block !important;
    transform: translateX(-100%);
    display: none!important;
    transition: ease 0.3s all;
    opacity: 0;
  }
  
  .navbar-menu.active {
    display:block!important;
    transform: translateX(0%);
    opacity: 1;
  }
  
  .navbar-menu ul {
    margin-top: 2rem;
    row-gap: 14px;
    flex-direction: column;
  }
  
  .navbar-menu a {
    display: flex;
    align-items: center;
    transition: ease 0.3s color;
  }
  
  .navbar-menu a:hover {
    color: #71D7FF;
  }
  
}

.footer {
  margin-top: 10px;
  padding: 1.5rem 0;
  font-family: 'Fira Code', monospace;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer a {
  color: #2575fc;
  text-decoration: none;
  margin: 0 0.3rem;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .meme {
  margin-top: 0.5rem;
  font-style: italic;
  color: #888;
}


.container {
  margin-top: 5rem;
  min-height: 100vh;
}

.list{
  margin-left: 1rem;
}

.code{
  margin: 0.2rem;
  background: #585858;
  color:white;
  padding:1rem;
  max-width: 100vw;
  overflow-x: scroll;
  border-radius:10px;
}

.p-2{
  padding: 0.5rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.overlay.active {
  opacity: 1!important;
  pointer-events: auto;
}
