/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         Andreas Krüger
 Author URI:     https://www.creative-codes.de
 Template:       Divi
 Version:        1.0.0
*/

/* ==================================================
   IMPORTS
   ================================================== */
@import "css/fonts.css";
@import "css/variables.css";
@import "css/navigation.css";

/* ==================================================
   FOUNDATION / RESET
   ================================================== */

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

* {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

html,
body {
  height: 100%;
  position: relative;
  font-size: 1.2rem;
  font-family: "Quicksand";
}

/* ==================================================
   BASE / DOCUMENT
   ================================================== */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Quicksand", sans-serif;
  text-rendering: optimizeSpeed;
  color: var(--gray);
  font-weight: 400;
  font-size: 1rem;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-family: "Quicksand" !important;
  font-weight: 400;
  padding: 0;
  margin: 0;
  line-height: 1.2;
  hyphens: auto;
  word-wrap: break-word;
}

h1 {
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: var(--gcid-primary-color);
  font-size: 2.5rem;
  font-weight: 500;
}

h2 {
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: var(--gcid-secondary-color);
  font-size: 2rem;
  font-weight: 500;
}

h3 {
  letter-spacing: 0.125rem;
  color: var(--gcid-secondary-color);
  font-size: 1.75rem;
  font-weight: 500;
}

strong {
  font-weight: 700 !important;
}

p {
  line-height: 1.5 !important;
  margin-bottom: 0;
  padding-bottom: 0;
  font-family: "Quicksand";
  font-size: 1.2rem;
}

p:not(:last-of-type) {
  margin-bottom: 1rem;
}

li {
  line-height: 1.5 !important;
  font-weight: 400;
}

.homepage-text {
  font-family: "OpenSans";
  font-weight: 400;
}

/* ==================================================
   MEDIA ELEMENTS
   ================================================== */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* ==================================================
   FORMS
   ================================================== */

input,
button,
textarea,
select {
  font: inherit;
}

/* ==================================================
   LINKS
   ================================================== */

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none !important;
}

.entry-content a:hover {
  text-decoration: underline;
}

/* ==================================================
   LISTS
   ================================================== */

ul,
ol {
  list-style: none !important;
  position: relative;
}

#main-content ul li,
#main-content ol li {
  position: relative;
  padding-bottom: .5rem;
  font-size: 1.2rem !important;
  font-weight: 400;
  font-family: "Quicksand";
}

#main-content ul li::before {
  content: '';
  position: absolute;
  width: .5rem;
  height: .5rem;
  top: 1rem;
  left: -1.25rem;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 2px solid var(--gcid-primary-color);
  border-bottom: 2px solid var(--gcid-primary-color);
}

.white-list-points li::before {
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
}

/* ==================================================
   TABLES
   ================================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==================================================
   RESPONSIVE / MEDIA QUERIES
   ================================================== */

@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
    letter-spacing: 0.08rem;
  }
  h2 {
    font-size: 1.4rem;
    letter-spacing: 0.08rem;
  }
  h3 {
    font-size: 1.25rem;
    letter-spacing: 0.05rem;
  }
  p {
    font-size: 1rem;
  }
  #main-content ul li,
  #main-content ol li {
    font-size: 1rem !important;
  }
  #main-content ul li::before {
    left: -1.1rem;
  }
  .et_pb_button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  p {
    font-size: 0.95rem;
  }
  #main-content ul li,
  #main-content ol li {
    font-size: 0.95rem !important;
  }
  #main-content ul li::before {
    width: .4rem;
    height: .4rem;
    left: -1rem;
  }
}

/* ==================================================
   LAYOUT / DIVI
   ================================================== */

.et_builder_inner_content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.et_pb_text_inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entry-content .et_pb_section:last-child {
  margin-bottom: 4rem;
}

/* ==================================================
   LOGO
   ================================================== */

#logo {
  margin-top: .3rem;
}

/* ==================================================
   FOOTER
   ================================================== */

#footer-bottom {
  display: none;
}

#menu-footer {
  text-align: right;
}

/* ==================================================
   BUTTON
   ================================================== */

.et_pb_button:hover {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .1);
}

.et_pb_contact .et_pb_contact_field input, .et_pb_contact .et_pb_contact_field textarea {
  padding: 0.7em 1em;
}

/* ==================================================
   MAILLINK
   ================================================== */

.maillink {
  background: white !important;
  border-radius: .5rem !important;
  padding: .15rem .5rem;
}

.maillink span {
  color: var(--gcid-primary-color) !important;
}

/* ==================================================
   MISC / PLUGINS
   ================================================== */

.cmplz-manage-consent {
  display: none;
}