/* ==========================================================
   RESET.CSS
   Project : İlan Evi
   Author  : Berk & ChatGPT
========================================================== */

/* ==========================================================
   Box Model
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ==========================================================
   Margin / Padding Reset
========================================================== */

* {
    margin: 0;
    padding: 0;
}

/* ==========================================================
   HTML
========================================================== */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* ==========================================================
   Body
========================================================== */

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   Media
========================================================== */

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================
   Form Elements
========================================================== */

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

/* ==========================================================
   Button
========================================================== */

button {
    cursor: pointer;
    background: none;
}

/* ==========================================================
   Anchor
========================================================== */

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================
   Lists
========================================================== */

ul,
ol {
    list-style: none;
}

/* ==========================================================
   Tables
========================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================
   Text
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    overflow-wrap: break-word;
}

/* ==========================================================
   Images
========================================================== */

img {
    user-select: none;
    -webkit-user-drag: none;
}

/* ==========================================================
   Textarea
========================================================== */

textarea {
    resize: vertical;
}

/* ==========================================================
   Fieldset
========================================================== */

fieldset {
    border: 0;
}

/* ==========================================================
   Iframe
========================================================== */

iframe {
    border: 0;
}

/* ==========================================================
   Hidden Attribute
========================================================== */

[hidden] {
    display: none !important;
}

/* ==========================================================
   Focus
========================================================== */

:focus-visible {
    outline: 2px solid #ff4f9b;
    outline-offset: 3px;
}

/* ==========================================================
   Selection
========================================================== */

::selection {
    background: #ff4f9b;
    color: #ffffff;
}