/**
 * @file
 * Styles rules
 *
 * Theme styles rules.
 */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  height: 100%;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5rem;
  scroll-padding-top: 150px !important;
}
html, body {
  position: relative;
  font-family: 'Poppins';
  color: var(--color-dark);
  background-color: var(--color-white);
}
body {
  overflow-x: hidden;
}
@media all and (min-width: 750px) {
  html {
    font-size: 18px;
  }
}

/**
 * Image
 */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/**
 * Text
 */

p, h1, h2, h3, h4 {
  position: relative;
}
h1, h2, h3, h4 {
  font-family: 'Source Serif 4';
}
h1 {
  font-size: var(--heading-size-xxxl);
}
h2 {
  font-size: var(--heading-size-xxl);
  font-weight: 500;
  line-height: 140%;
}
h3 {
  font-size: var(--heading-size-xl);
}
h4 {
  font-size: var(--heading-size-l);
}
p {
  font-size: var(--content-size);
  font-family: 'Poppins', sans-serif;
}


h1:has(span.text--font-source-serif-4) {
  font-size: 36px;
  font-weight: 500;
  line-height: 130%; /* 83.2px */
}
h2:has(span.text--font-source-serif-4) {
  font-size: 30px;
  font-weight: 500;
  line-height: 140%; /* 67.2px */
}
h3:has(span.text--font-source-serif-4) {
  font-size: 27px;
  font-weight: 400;
  line-height: 40px; /* 148.148% */
}
span.text--font-source-serif-4 {
  font-family: 'Source serif 4';
}
span.text--extra-small {
  font-size: 16px;
}
p.fake-h3 {
  font-size: var(--heading-size-xl);
  font-weight: 400;
  line-height: 40px; /* 148.148% */
}
p.text--address {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}

p.text--address::before {
  content: '';
  background-image: url("../images/icons/bx_map.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 24px;
  height: 29px;
}

p.text--phone {
  border-radius: 24px;
  border: 2px solid var(--beige, #F1E7E0);
  background: #FFF;
  width: fit-content;
  padding: 8px 16px;
}

::selection {
  background-color: var(--color-dark);
  color: var(--color-white);
}

@media all and (min-width:700px) {
  h1:has(span.text--font-source-serif-4) {
    font-size: 64px;
  }
  h2:has(span.text--font-source-serif-4) {
    font-size: 48px;
  }
}

/**
 * Links
 */

a {
  color: var(--color-white);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/**
 * Toolbar Fixed Styles
 */

.toolbar a {
  font-family: "Source Sans Pro","Lucida Grande",Verdana,sans-serif;
  font-weight: normal;
}

/**
 * Table
 */

table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  border: 1px solid #ddd;
  padding: 8px;
}
table tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--color-primary--2);
  color: var(--color-neutral--4);
  font-weight: 700;
}
