/* ==========================================================
   DineMe Premium
   Base Styles v1.0
   File: base.css
   ========================================================== */

/* ==========================================================
   CSS Reset
   ========================================================== */

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

/* ==========================================================
   HTML
   ========================================================== */

html{
    scroll-behavior:smooth;
    font-size:16px;
}

/* ==========================================================
   Body
   ========================================================== */

body{

    background:var(--bg-body);

    color:var(--text-primary);

    font-family:var(--font-body);

    min-height:100vh;

    overflow-x:hidden;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

/* ==========================================================
   Images
   ========================================================== */

img{

    display:block;

    max-width:100%;

    height:auto;

}

/* ==========================================================
   Videos
   ========================================================== */

video{

    display:block;

    max-width:100%;

}

/* ==========================================================
   Links
   ========================================================== */

a{

    text-decoration:none;

    color:inherit;

}

/* ==========================================================
   Lists
   ========================================================== */

ul,
ol{

    list-style:none;

}

/* ==========================================================
   Buttons
   ========================================================== */

button{

    font:inherit;

    cursor:pointer;

    border:none;

    outline:none;

    background:none;

}

/* ==========================================================
   Inputs
   ========================================================== */

input,
textarea,
select{

    font:inherit;

    border:none;

    outline:none;

    background:none;

}

/* ==========================================================
   Tables
   ========================================================== */

table{

    border-collapse:collapse;

    width:100%;

}

/* ==========================================================
   Form Elements
   ========================================================== */

button,
input,
textarea,
select{

    font-family:inherit;

}

/* ==========================================================
   Focus States
   ========================================================== */

:focus-visible{

    outline:3px solid var(--color-primary);

    outline-offset:3px;

}

/* ==========================================================
   Placeholder
   ========================================================== */

::placeholder{

    color:var(--text-light);

}

/* ==========================================================
   Selection
   ========================================================== */

::selection{

    background:var(--color-primary);

    color:white;

}

/* ==========================================================
   Scrollbar (Chrome, Edge)
   ========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#F3F4F6;

}

::-webkit-scrollbar-thumb{

    background:var(--color-primary);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--color-primary-hover);

}

/* ==========================================================
   Utility
   ========================================================== */

.hidden{

    display:none !important;

}

.text-center{

    text-align:center;

}

.w-100{

    width:100%;

}

.h-100{

    height:100%;

}