
/*--------------------------------RESET.CSS -------------------------------------*/

:root {
  
  --surface: #ffffff;
  --text: #111111;
  --scroll-thumb: #bbb;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;

}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0d0d0d;
    --text: #e5e5e5;
    --scroll-thumb: #666;
  }
}

@import url("modern-normalize/modern-normalize.css");

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  img,
  svg,
  video,
  canvas,
  picture {
    max-width: 100%;
    height: auto;
    display: block;
  }
  svg { fill: currentColor; }

  button,
  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    accent-color: #0057ff;
  }

  :where([type="number"])::-webkit-outer-spin-button,
  :where([type="number"])::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
  }
  :where([type="number"]) {
    -moz-appearance: textfield;
  }

  fieldset,
  legend,
  ol,
  ul {
    border: 0;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  table { border-collapse: collapse; }

  :where(a, button, summary):focus-visible,
  :where(input, textarea, select):focus-visible {
    outline: 1px solid #0057ff;
    outline-offset: 1px;
  }


  @media (hover: hover) {
    * {
      scrollbar-width: thin;
      scrollbar-color: var(--scroll-thumb) transparent;
    }
    *::-webkit-scrollbar    { width: 8px; height: 8px; }
    *::-webkit-scrollbar-thumb {
      background: var(--scroll-thumb);
      border-radius: 4px;
    }
    *::-webkit-scrollbar-track { background: transparent; }
  }
}

@layer base {
  html, body {
    min-height: 100dvh;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
	/*overflow: hidden;*/ 
	scroll-behavior: smooth;
	scrollbar-gutter: stable both-edges;

}

body{
	font-family: 'Inter', system-ui, sans-serif;
	line-height: 1.5;
	letter-spacing: 0.2px;
	padding-top: 5px;
	color: rgba(51, 51, 51, 1);
    background-color: oklch(0.9761 0.0051 159.58); /*oklch(0.9600 0.0700 181.00); /*rgba(244, 247, 246, 1);*/
	/*transform: translateX(5px); 		/* Tüm sayfayı 5px sola kaydırır. Scroll Bar Çubuğunun Boşluğunu Kapatmak İçin */
	
}

  html {
    color-scheme: light dark;
	font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
	/*font-size: clamp(0.9375rem, 1.5vw, 1.125rem);*/
	
  }


	button { cursor: pointer; }



@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    top: 0; left: 0;
  }

  /* Spacing */
  .mt-1 { margin-top: var(--space-1); }
  .mb-2 { margin-bottom: var(--space-2); }
  .mb-4 { margin-bottom: var(--space-4); }
  .p-2  { padding: var(--space-2); }
  .p-4  { padding: var(--space-4); }


  .radius-lg { border-radius: 1rem; }


  @media (prefers-reduced-motion: reduce) {
    *:where(:not(.no-rm)) {
      animation-duration: .001s !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001s !important;
      scroll-behavior: auto !important;
    }
  }
}

