/*   
	Theme Name:        Studio Campo Theme
	Theme URI:         https://studiocampo.nl
	Description:       Studio Campo theme.
	Author:            Studio Campo
	Author URI:        https://studiocampo.nl
	License:           GNU General Public License v3 or later.
	License URI:       https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain:       sc-theme
*/

:root {
  --terra: #be502d;
  --groen: #315345;
  --wit: #ffffff;
  --zwart: #000000;
  --grijs: #3d3d3d;
  --beige: #fef9f7;
}

/* Font */
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/OpenSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Algemeen */
html,
body {
  padding: 0;
  margin: 0;
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
.h1 {
  span {
    font-weight: 900;
    text-transform: uppercase;
  }
  font-weight: 500;
  @media (min-width: 1025px) {
    font-size: 35px;
    line-height: 50px !important;
    span {
      font-size: 60px;
    }
  }
  @media (max-width: 1024px) {
    span {
      font-size: 40px;
    }
    font-size: 28px;
    line-height: 48px;
  }
}

h2,
.h2 {
  span {
    font-weight: 700;
  }

  font-weight: 500;
  text-transform: uppercase;

  @media (min-width: 1025px) {
    font-size: 45px;
    line-height: 55px;
  }
  @media (max-width: 1024px) {
    font-size: 35px;
    line-height: 42px;
  }
}

h3,
.h3 {
  font-weight: 600;
  @media (min-width: 1025px) {
    font-size: 20px;
    line-height: 30px;
  }
  @media (max-width: 1024px) {
    font-size: 18px;
    line-height: 28px;
  }
}

main p {
  line-height: 30px;
  margin-top: 0;

  a {
    text-decoration: underline;
  }
}

textarea {
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.sc-intro {
  @media (min-width: 1025px) {
    font-size: 24px;
    line-height: 36px;
  }
  @media (max-width: 1024px) {
    font-size: 19px;
    line-height: 29px;
  }
}

.sc-extra-titel {
  font-weight: 600;
  text-transform: uppercase;
  @media (min-width: 1025px) {
    font-size: 20px;
    line-height: 30px;
  }
  @media (max-width: 1024px) {
    font-size: 18px;
    line-height: 28px;
  }
}

.sc-button-terra,
.sc-button-groen,
.sc-button-grijs {
  svg path {
    transition: all 0.3s ease;
  }
}

.sc-button-terra:hover {
  svg path {
    fill: var(--terra);
  }
}

.sc-button-groen:hover {
  svg path {
    fill: var(--groen);
  }
}

.sc-button-grijs:hover {
  svg path {
    fill: var(--grijs);
  }
}

.sc-accordeon {
  details:not(:last-child) {
    border-bottom: 2px solid;
  }

  summary {
    padding-top: 20px !important;
  }
}

.sc-images-two.e-con.e-flex {
  @media (max-width: 767px) {
    flex-wrap: nowrap;
  }
}

/**
 * Links
 */
.elementor-widget-text-editor a,
.elementor-field-type-acceptance a {
  color: var(--e-global-color-f10f226);
  text-decoration: underline !important;
  transition: 0.3s;
}
.elementor-widget-text-editor a:hover,
.elementor-field-type-acceptance a:hover {
  color: var(--e-global-color-primary);
}

/**
 * Header
 */
.sc-logo-header img {
  transition: all 0.3s ease;
}

.sc-header-sticky .sc-logo-header {
  img {
    @media (min-width: 1025px) {
      max-width: 80px;
    }
    @media (max-width: 1024px) {
      max-width: 60px;
    }
  }
}

/**
 * Footer
 */
.sc-logo-footer {
  @media (max-width: 1470px) {
    right: 0 !important;
  }
}
