/**
Theme Name: Moleco Base Theme
Theme URI: https://example.com
Author: Moleco GmbH
Author URI: https://moleco.de
Description:  This is a base theme for many projects.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: - 
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* html {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
} */
html {
  scroll-behavior: smooth;
}
 body {
  /* min-height: 100dvh;
  min-height: -webkit-fill-available; */
  /* display: flex;
  flex-direction: column; */
  font-size: 16px;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* overflow-y: auto; */
}



/* global styles */
h1,h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 3rem;
  margin-top: 1.5rem;
}

h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 2rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-transform: uppercase;
  color: var(--brand-secondary-color);
  margin-top: 0.9em;
}

p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: inherit;
}
img {
  object-fit: cover;
}

img,
video {  
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: disc;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
li::marker {
  color: var(--brand-secondary-color);
}
ul.link-list {
list-style: none;
padding-left: 0;
}
select, textarea, input {
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 16px 22px;
  border: 1.5px solid #c6c6c6;
  border-radius: 5px;
}
input[type='checkbox'] {
    appearance: none;
    padding: 0 !important;
    padding-right: 15px !important;
    border: none;
    align-self: flex-start;
    position: relative;
    cursor: pointer;
    height: 20px !important;
    width: 20px !important;
}
input[type='checkbox']::after {
    content: '';
    text-align: center;
    color: white;
    position: absolute;
    background-color: transparent;
    align-self: flex-start;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border: 1.5px solid #c6c6c6;
    border-radius: 5px;
    transition: background-color 0.3s ease, border 0.3s ease;
}
input[type='checkbox']:checked::after {
    content: '✓';
    font-size: 0.8rem;
    text-align: center;
    color: white;
    background-color: var(--brand-accent-color);
    border: none;
}
.text-content {
  margin-bottom: 1.2rem;
}
.text-content > * + * {
  margin-top: 1.2rem;
}
.no-scroll {
  overflow: hidden;
}
html.no-scroll {
  overflow: hidden;
}


/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;         /* 8px 16px */
  border-radius: 0.375rem;      /* ~6px */
  font-size: 0.875rem;          /* 14px */
  font-weight: 500;
  line-height: 1.25rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Primary button */
.btn.primary {
  background-color: var(--brand-primary-color);
  color: var(--brand-primary-color-text);
}
.btn.primary:hover {
  background-color: color-mix(in srgb, var(--brand-primary-color) 90%, var(--brand-primary-color-text));
}
.btn.primary:active {
  background-color: color-mix(in srgb, var(--brand-primary-color) 80%, var(--brand-primary-color-text));
}
.btn.primary:focus {
  outline: 2px solid var(--brand-secondary-color);
  outline-offset: 2px;
}

/* Secondary button */
.btn.secondary {
  background-color: var(--brand-secondary-color);
  color: var(--brand-secondary-color-text);
}
.btn.secondary:hover {
  background-color: color-mix(in srgb, var(--brand-secondary-color) 90%, black);
}
.btn.secondary:active {
  background-color: color-mix(in srgb, var(--brand-secondary-color) 80%, black);
}
.btn.secondary:focus {
  outline: 2px solid var(--brand-secondary-color);
  outline-offset: 2px;
}

/* spacing and gap */
.spacing-top {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}
.spacing-bottom {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}
.gap-1 {
  gap: 0.25rem !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}
.gap-4 {
  gap: 1.5rem !important;
}
.gap-5 {
  gap: 3rem !important;
}
.h-100 {
  height: 100%;
}
.offset-top {
  padding-top: 130px !important;
}
.offset-bottom {
  padding-bottom: 130px !important;
}
.flex-end {
  justify-content: flex-end;
}

/* Custom alert */
.alert {
  padding: 20px;
  background-color: #dd7577c0;
  color: white;
  margin-bottom: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  text-align: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(15px);
}


/* responsive */

@media (max-width: 768px) {
  .spacing-top {
    padding-top: 0.8rem;
    margin-top: 1.5rem;
  }
  .spacing-bottom {
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
  }
  h1, h2 {
    font-size: 2.2rem;
    line-height: 2.2rem;
  }
  h3 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.7rem;
  }
  h4 {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3rem;
  }
  h5 {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .offsets > * {
    margin: 20px 0 10px 0;
  }
  .offset-top {
    padding-top: 70px !important;
  }
  .offset-bottom {
    padding-bottom: 70px !important;
  }
  .mt-5 {
    margin-top: 0;
  }
  .mb-150 {
    margin-bottom: 50px;
  }
}