accent/*
 Theme Name:     Divi Child
 Theme URI:      http://www.elegantthemes.com
 Description:    Theme for Eigenbetrieb Abfallwirtschaft des Main-Kinzi-Kreis
 Author:         Roman Pretot
 Author URI:     https://www.pretot-design.de
 Template:       Divi
 Version:        1.0.0
*/
 
/* -------  Custom styles ------- */


/* ----------------- CUSTOM FONTS --------------------- */

/* open-sans-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('../divi-child/fonts/open-sans/open-sans-v44-latin_latin-ext-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ---------------- Variables -------------------- */

:root {
    --primary_1: #3E0B4B; /* 100 */
    --primary_2: #5B1B6A; /* 70 */
    --primary_3: #000000; /* 50 -- Default */
    --primary_4: #C593D1; /* 30 */
    --primary_5: #F3E9F6; /* 10 */

    --neutral_1: #2E2A2E; /* 100 */
    --neutral_2: #5F565F; /* 70 */
    --neutral_3: #8E7E8E; /* 50 -- Default */
    --neutral_4: #D6CDD6; /* 30 */
    --neutral_5: #F1EDF1; /* 10 */
    
    --accent_1: #375F4C; /* 100 */
    --accent_2: #368961; /* 70 */
    --accent_3: #24D37F; /* 50 -- Default */
    --accent_4: #75ECB2; /* 30 */
    --accent_5: #DAFAEA; /* 10 */
}



/* --- Basic styling --- */

html{
    font-size: 100%;
}

body {
    font-family:'Open Sans' !important;
    font-size: 1rem !important; 
    /* color: var(--neutral_2) !important;*/
}


h1, h2, h3, h4, h5, h6 {
    font-family:'Open Sans' !important;
    hyphens: auto;
    hyphenate-limit-chars: auto 3;
    hyphenate-limit-lines: 4;
    color: #000000 !important;
}


h1, h2, h3, h4, h5 {
    font-weight: 700 !important;
}

h1 {
    font-size: 2.5rem !important;
}

h2 {
    font-size: 2rem !important;
}


h3 {
    font-size: 1.5rem !important;
}


h4 {
    font-size: 1.25rem !important;
}

h5 {
    font-size: 1rem !important;
    color: var(--neutral_2) !important;
}

h6 {
    font-size: 1rem !important;
    font-weight: 300 !important;
    color: var(--neutral_2) !important;
}

p { 
    font-size: 1em;
    line-height: 1.4em;
    hyphens: auto;
    hyphenate-limit-chars: auto 3;
    hyphenate-limit-lines: 4;
    text-decoration: none;
}


a p {
    color: var(--primary_3) !important;
    text-decoration: underline;
}



a:focus {
    outline: 2px solid #702283; /* Secondary 1 */
    outline-offset: 2px 4px; /* Abstand von 2px */
}

a:hover {
    text-decoration: none;
}

.et_pb_menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
}


/* -- Navigation -- */

/* -- Footer menu -- */

.menu_footer .et_pb_menu__wrap,
.menu_footer .et_pb_menu__menu,
.menu_footer .et_pb_menu_inner_container {
  display: block !important;
}

.menu_footer nav.et-menu-nav > ul.et-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.2rem;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
  width: 100%;
}

.menu_footer nav.et-menu-nav > ul.et-menu > li {
  display: block !important;
  width: 100%;
  float: none !important;
}

.menu_footer nav.et-menu-nav > ul.et-menu > li > a {
  display: block;
  padding: 0;
  text-decoration: none;
  width: 100%;
  font-size: 1rem;
}

.menu_footer nav.et-menu-nav > ul.et-menu > li > a:hover {
  opacity: 0.9;
}


/* Burger-Icon + mobile Navigation komplett ausblenden */
.menu_footer .et_mobile_nav_menu {
  display: none !important;
}


/* -- Buttons -- */

.btn-primnary{
  display:inline-block;
  padding: 12px 24px;
  border-radius: 4rem;
  background:var(--primary_3);
  color:#fff !important;
  text-decoration:none;
  font-size: 17px;
}
.btn-primnary:hover { 
    background:var(--primary_1);
    transition: background-color 0.25s;
}

/* -- Posts -- */

.et-db #et-boc .et-l .et_pb_row {
    width: 90%;
}

/* -- Abfall-Kacheln -- */

.et-db #et-boc .et-l .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post {
    min-height: 100px;
}