/*
 * CSS Reset / Normalize
 * Botti Realty Inc
 */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
}

body {
  min-height: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Sectioning */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Media */
img, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
}

svg:not([fill]) {
  fill: currentColor;
}

/* Forms */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

input, textarea, select {
  background: none;
  border: none;
  outline: none;
}

textarea {
  resize: vertical;
}

fieldset {
  border: none;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Misc */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: none;
  border-top: 1px solid currentColor;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

address {
  font-style: normal;
}

/* Remove default focus ring; replaced by custom in components */
:focus {
  outline: none;
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid #c5a55a;
  outline-offset: 2px;
}

/* Hidden elements */
[hidden] {
  display: none !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #c5a55a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a2b4a;
}
