/*
|--------------------------------------------------------------------------
| DEMIRAY TECH - CSS RESET
|--------------------------------------------------------------------------
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    min-width: 320px;
    min-height: 100vh;
}


html,
body {
    width: 100%;
}


main {
    display: block;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}


ul,
ol {
    margin: 0;
    padding: 0;
}


ul,
ol {
    list-style: none;
}


img,
picture,
svg,
video,
canvas {
    display: block;

    max-width: 100%;
}


img {
    height: auto;
}


svg {
    overflow: visible;
}


input,
button,
textarea,
select {
    margin: 0;

    font: inherit;
}


button,
select {
    text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: button;

    border: 0;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


button:not(:disabled),
[role="button"]:not(:disabled) {
    cursor: pointer;
}


button:disabled {
    cursor: not-allowed;

    opacity: 0.6;
}


textarea {
    resize: vertical;
}


a {
    color: inherit;

    text-decoration: none;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}


iframe {
    max-width: 100%;

    border: 0;
}


hr {
    height: 0;

    border: 0;
    border-top: 1px solid currentColor;
}


[hidden] {
    display: none !important;
}


/*
|--------------------------------------------------------------------------
| Form normalization
|--------------------------------------------------------------------------
*/

input,
textarea,
select,
button {
    color: inherit;
}


input::placeholder,
textarea::placeholder {
    color: inherit;

    opacity: 0.5;
}


input[type="search"] {
    appearance: none;
}


/*
|--------------------------------------------------------------------------
| Accessibility
|--------------------------------------------------------------------------
*/

:focus:not(:focus-visible) {
    outline: none;
}


:focus-visible {
    outline:
        3px solid
        rgba(249, 177, 34, 0.55);

    outline-offset: 3px;
}


@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

}