/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Box sizing
--------------------------------------------- */

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

html {
  box-sizing: border-box;
}

/* Typography
--------------------------------------------- */

html {
  font-size: 15px;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: var(--font-sans);
  font-size: var(--font-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-base);
  color: rgb(var(--color-primary-700));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: var(--font-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-base);
  margin: 0;
}

p {
  margin: 0 0 1.5rem;
}

/* Elements
--------------------------------------------- */

body {
  background: rgb(var(--color-primary-50));
}

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

ul {
  list-style: none;
}

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

figure {
  margin: 0;
}

picture {
  display: block;
}

/* Links
--------------------------------------------- */
a {
  cursor: pointer;
  display: inline-block;
  color: rgb(var(--color-primary-700));
  /* text-decoration: underline;
  text-underline-offset: 0.15rem; */
  text-decoration: none;

  transition: background-color 0.2s, color 0.2s;
}

a:visited {
  color: rgb(var(--color-primary-700));
}

a:hover,
a:focus {
  color: rgb(var(--color-primary-950));
}

a:focus,
a:hover,
a:active {
  outline: 0;
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
  text-decoration-color: rgb(var(--color-accent-150));
}

/* Buttons
--------------------------------------------- */

.btn {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  background-color: rgb(var(--color-secondary-700));
  color: rgb(var(--color-primary-0));
}

.btn:visited {
  color: rgb(var(--color-primary-0));
}

.btn:hover,
.btn:focus {
  background-color: rgb(var(--color-secondary-800));
  color: rgb(var(--color-primary-0));
}

/* Site
--------------------------------------------- */

.site {
  max-width: var(--max-w-base);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex-grow: 1;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex='-1']:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Observer
--------------------------------------------------------------*/

.observe {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: transform 0.4s, opacity 0.4s;
}

.observe.animated {
  opacity: 1;
  transform: translateY(0px);
}


.wpml-ls {
  margin-right: 1.5rem;
}

.wpml-ls a {
  background-color: rgba(var(--color-secondary-100), 1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
}

.wpml-ls a:hover,
.wpml-ls a:focus {
  background-color: rgba(var(--color-secondary-200), 1);
}