/**
 * @file
 * Global rules
 *
 * Theme global rules.
 */

body {
  font-size: var(--font-size-txt);
  line-height: 1.5;
}
html, body {
  position: relative;
  font-family: 'Raleway', sans-serif;
  color: var(--color-neutral-1);
}
body {
  overflow-x: hidden;
}
body.scroll-deleted{
  overflow: hidden;
}
body * {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
::selection {
  background-color: var(--color-secondary-1);
  color: var(--color-neutral-4);
}
a:focus, button:focus, div:focus, input:focus{
  outline: none;
}
.main__content {
  background: var(--color-neutral-3);
}
ul + p {
  margin-top: 0;
}
table td {
 padding: .5rem;
}
@media all and (min-width: 1200px) {
  body.scroll-deleted{
    overflow: inherit;
  }
}

/**
* Title
*/

h1 {
  font-size: var(--font-size-h1);
  font-weight: 800;
  margin: 0;
}
h1 + p {
  margin-top: 0rem;
}
h1.small {
  font-size: var(--font-size-h1-small);
}
h2 {
  font-size: var(--font-size-h2);
  font-weight: 800;
  margin-top: 0;
}
h3 {
  font-size: var(--font-size-h3);
  font-weight: 800;
}
h4 {
  font-size: var(--font-size-h4);
  font-weight: 800;
}


/**
* Links
*/

a {
  color: var(--color-primary-2);
  text-decoration: none;
}

/**
* Text configuration
*/

.text-large {
  font-size: 1.2rem;
}
.title-s {
  font-weight: 700;
  font-size: var(--font-size-h4);
  margin-bottom: 0;
}
@media all and (min-width:700px) {
  .text-large {
    font-size: 1.25rem;
  }
}


/**
* Color
*/

.color-primary-1 {
  color: var(--color-primary-1);
}
.color-primary-2 {
  color: var(--color-primary-2);
}
.color-secondary-1 {
  color: var(--color-secondary-1);
}
.color-neutral-4 {
  color: var(--color-neutral-4);
}
.bg-primary-1 {
  background-color: var(--color-primary-1);
}
.bg-neutral-4 {
  background-color: var(--color-neutral-4);
}


/**
* Two column stylized
*/

.twocol-stylized .layout--twocol-section {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.twocol-stylized .layout__region--second {
  padding-left: 1rem;
  border-left: 1px solid #DDDDDD;
  height: fit-content;
}
.twocol-stylized .layout__region--second > div:last-child {
  padding-bottom: 2rem;
}
@media all and (min-width: 1300px) {
  .twocol-stylized .layout--twocol-section {
    flex-direction: row;
    gap: unset;
  }
  .twocol-stylized .layout__region--first {
    padding-right: 1rem;
  }
  .twocol-stylized .layout__region--second {
    padding: 0 48px;
  }
}
