/*
Theme Name: UDF Januar 2026
Text Domain: UDF Januar 2026
Version: 1.0
Description: udf
Tags: udf, wide
Author: Jan Gubser
*/

/* CSS RESET */

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}




















/* *************************************************************************************** */
/* GLOBAL SETUP */
/* *************************************************************************************** */

/* Body */
body {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100px;
    padding: 20px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    z-index: 2;
}

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

.logo h1 {
    font-size: 18px;
    line-height: 1.2;
}

.logo .sub {
    font-weight: bold;
    letter-spacing: 0.5px;
}

.defaveri-logo {
    color: #868686;
}

/* Burger Menu */
.udf_menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  /* margin-right: 20px;
  margin-bottom: 20px; */
  display: none;
  cursor: pointer;
}

.udf_menu-burger {
  display: block;
}

.udf_menu-cross {
  display: none;
}

.udf_burgerline {
  position: absolute;
  height: 3px;
  width: 20px;
  background-color: #000;
  border-radius: 30px;
  right: 0px;
}

.line1 {
  top: 13px;
}

.line2 {
  top: 18px;
}

.line3 {
  top: 23px;
}

.line4 {
  top: 18px;
  right: 0px;
  width: 20px;
  transform: rotate(45deg);
}

.line5 {
  top: 18px;
  right: 0px;
  width: 20px;
  transform: rotate(-45deg);
}

/* DESKTOP NAV */
/* Use Montserrat for nav */
.nav-links * {
    /* text-transform: uppercase; */
    margin-left: 25px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    /* font-size: 18px; */
    transition: color 0.3s ease;
}

.nav-links ul {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
}

/* can color be applied from cmb2 metabox??? */
.nav-links ul li h2:hover {
    color: #868686; /* light green to match the hero section */
    text-decoration: none;
}

/* MOBILE NAV */
.udf_mobile-nav {
  position: fixed;
  /* 100px -1 */
  top: 99px;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  /* z-index: 1; */

  display: none;
}
body.admin-bar .udf_mobile-nav {
    /* 145px - 1 */
    top: 145px;
}
.no-scroll {
  overflow: hidden;
}

.udf_mobile-nav__flexwrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

/* .tt_nav-footer {
  width: 100%;
  min-height: 30%;
  padding: 1rem;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  background-color: #ebebeb;
  background-image: url("https://www.transparenttextures.com/patterns/groovepaper.png");
  background-blend-mode: exclusion;
  border-top: 2px solid currentColor;
}
body.dark-mode .tt_nav-footer {
  background-color: #2b2b2b;
} */

/* .tt_nav-socials {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  height: 30px;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: animateMenu .3s ease-in-out .5s forwards;
  
}

.tt_nav-socials a {
  color: inherit;
  transition: color 0.3s;
  cursor: pointer;
} */

.udf_mobile-nav nav {
  position: relative;
  /* width: fit-content; */
  width: 100%;
  /* margin: 10rem auto; */
  padding: 20px;
  margin: 0 auto;
  /* margin-top: calc(60px + 15vh); */
}

.udf_mobile-nav nav ul {
  list-style: none;
  text-align: right;
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
}

.udf_mobile-nav nav li {
  /* max-width: fit-content; */
  /* text-shadow: 7px 7px 18px #0000005d; */
  /* opacity: 0;
  transform: translateY(30px);
  animation: animateMenu .3s ease-in-out .2s forwards; */
}

.udf_mobile-nav nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
  /* padding-bottom: 4px; */
  /* transition: color 0.3s; */
  
}

.udf_mobile-nav nav a:hover {
  color: #868686;
}

/* Hero */
.hero {
    /* Colors are now handled by metabox */
    /* background-color: #aae47d; */
    padding: 80px 0;
    
}

.hero-title {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

.hero h2 {
    font-size: 64px;
    color: white;
    font-weight: 700;
}

/* Main content */
main {
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

main ul {
    list-style-position: inside;
}

.content {
    margin: 60px auto;
    max-width: 800px;
    padding: 0 20px;
    font-size: 18px;
}

.content p, .content ul, .content table {
    margin-bottom: 20px;
}

.content h1 {
    font-size: 3rem;
}

.content h2 {
    font-size: 2rem;
}

.content h3 {
    font-size: 1.5rem;
}

/* Footer */
footer {
    min-height: 8rem;
    margin-top: 3rem;
    background-color: #ebebeb;
}

.footer-box {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 20px 20px;
    font-size: 0.95rem;
}

.udf_footer-section {
    width: 100%;
    text-align: center;
}

.udf_footer-section p {
    margin-bottom: 0.5rem;
}
  
.udf_footer-section a {
    position: relative;
    text-decoration: underline;
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: color 0.3s;
    padding-bottom: 2px;
    cursor: pointer;
}

.udf_footer-address {
    text-align: left;
}

.udf_footer-contact {
    text-align: center;
    align-content: center;
}

.udf_footer-socials {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-self: center;
    gap: 2rem;
    height: 30px;
    font-size: 1.5rem;
}

.udf_footer-links {
    text-align: right;
    align-content: center;
}





@media (max-width: 782px) {
    .udf_menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }

    .hero h2 {
        font-size: 10vw ;
    }

    .footer-box {
        flex-flow: column nowrap;
    }

    .udf_footer-address,
    .udf_footer-contact,
    .udf_footer-links {
        text-align: left;
    }
}

@media (min-width: 300px) and (max-width: 500px) {
    .content {
        margin: 60px auto;
        max-width: 800px;
        padding: 0 20px;
        font-size: 20px;
    }

    .content p, .content ul, .content table {
        margin-bottom: 20px;
    }

    .content h1 {
        font-size: 9vw;
    }

    .content h2 {
        font-size: 7vw;
    }

    .content h3 {
        font-size: 6vw;
    }

}