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

* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
@media all and (min-width: 768px){
  html {
    font-size: 18px;
  }
}
html, body {
  position: relative;
  font-family: var(--font-albertsans);
  color: var(--color-primary--1);
  height: 100%;
  scroll-behavior: smooth;
}


/**
 * Image
 */

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


/**
 * Text
 */

p, h1, h2, h3, h4 {
  position: relative;
}

h1 {
  font-size: var(--stylized-title-xxl);
  font-weight: 800;
  line-height: 125%;
}
h2 {
  font-size: var(--stylized-title-xl);
  line-height: 125%;
}
h3 {

}
p {
  font-size: var(--font-size-m);
}
::selection {
  background-color: var(--color-primary--1);
  color: var(--color-neutral--5);
}


/**
 * Fonts
 */

.font-fraunces {
  font-family: var(--font-fraunces);
  font-weight: 400;
}
h1 .font-fraunces ,
h2 .font-fraunces ,
h3 .font-fraunces {
  font-variation-settings: 'SOFT' 0, 'WONK' 1, 'opsz' 144;
}
.font-albertsans {
  font-family: var(--font-albertsans);
}


/**
 * Links
 */

a {
  color: var(--color-primary--2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus, button:focus, div:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-primary--2);
}
a.cta:hover {
  text-decoration: none;
}



/**
 * Landing pages
 */

.page-node-type-landing-page .main__content {
  padding: 0;
}
