/*
Theme Name: Classic
Theme URI: https://nordic-web-art.de/
Author: David Holst
Author URI: https://nordic-web-art.de/
Description: Ein minimalistisches und individuelles WordPress-Theme, entwickelt für saubere Strukturen und kreative Freiheiten.
Version: 1.0.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nordic-web-art
Tags: custom-logo, custom-menu, responsive-layout, block-editor-style
*/

.burger,
body {
  flex-direction: column;
}
.nav-links li,
.nav-links li a,
body {
  position: relative;
}

.sub-menu,
nav {
  background: #1C3557;
}
.nav-links li,
.sub-menu,
nav ul {
  list-style: none;
}
body,
html,
nav ul {
  padding: 0;
  margin: 0;
}
main {
  padding: 80px 6vw;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.8rem;
}
h4, h5, h6 {
  font-size: 1.6rem;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

h1, h2 {
  font-family: 'Merienda';
  font-weight: bold;
}

strong {
  font-weight: bold;
}

nav {
  display: flex;
  text-align: center;
  box-sizing: border-box;
}
.sub-menu,
body,
html {
  overflow-x: hidden;
}
.header-logo img,
nav ul li a {
  transition: 0.3s ease-out;
}
body{
  overflow-wrap: break-word;
 
}

/*Merienda*/
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-Black.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-Light.ttf") format("truetype");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: Merienda;
  src: url("fonts/Merienda/Merienda-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
/*Merienda*/

/*Work sans*/
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-Black.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-Light.ttf") format("truetype");
  font-display: swap;
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: WorkSans;
  src: url("fonts/Work_Sans/WorkSans-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
/*Work sans*/

body {
  display: flex;
  min-height: 100vh;
  font-optical-sizing: auto;
  color: rgb(0, 0, 0);
  background-color: #F7F3EC;
  font-size: 1.2rem;
  font-family: 'WorkSans';
  font-weight: normal;
  hyphens: auto;
  overflow-wrap: break-word;
}
a {
  display: inline-block;
  color: rgb(255, 255, 255);
  transition: 0.3s ease-out;
}
a:hover{
  transform: scale(1.06);
}
nav {
  position: fixed;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  height: 80px;
  width: 100%;
  z-index: 1000;
  border-bottom: solid 0.4px white;
}
.nav-links {
  display: flex;
  flex-direction: row;
  position: static;
  opacity: 1;
  transform: none;
}
.nav-links li a {
  display: block;
  padding: 10px;
  text-decoration: none;
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 999;
}

.sub-menu-arrow {
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  margin: 0 10px;
  transform: translateY(-50%);
  transition: transform 0.8s;
  opacity: 0.7;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  padding: 4px;
  display: flex; 
  text-align: end; 
  align-items: end;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border: solid 1px white; 
  border-top: none;
  pointer-events: none;
  transition: max-height 1.2s ease, opacity 0.8s ease;
}
.burger,
.burger-menu {
  display: none;
  cursor: pointer;
}
.sub-menu li {
  width: 90%;
}
.sub-menu li a {
  padding: 8px;
  display: block;
  font-size: 1.4rem;
  text-decoration: underline;
}
.nav-links li.active > .sub-menu {
  max-height: 500px;
  opacity: 1;
}

.nav-links li.active .sub-menu-arrow {
  transform: rotate(180deg);
}
.header-logo {
  display: flex;
  justify-content: center;
  text-align: center;
}
.header-logo img {
  height: 50px;
  padding: 6px;
  background-color: #fff;
  border-radius: 6px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  align-items: center;
}
nav ul li a {
  color: rgb(255, 255, 255);
  display: inline-block;
  font-size: 1.4rem;
  font-family: 'Merienda';
}
nav ul li a:hover {
  transform: scale(1.06);
}
nav ul li {
  margin: 0 30px;
}
.burger {
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  padding: 6px;
}
.burger div {
  width: 100%;
  height: 6px;
  margin: 6px 0;
  border-radius: 2px;
  background-color: rgb(28, 163, 230, 0.8);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
    1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
  transition: 1s;
}

.burger-menu {
  font-size: 1.2rem;
  border: none;
  color: #fff;
  z-index: 10;
}
.background-black-transparent {
  z-index: 3;
  position: relative;
}
header {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 100px 0;
  overflow: hidden;
}

.background-black-transparent {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 10px;
  max-width: 600px;
  border: solid 4px rgba(202, 202, 202, 0.6);
}
.wp-block-button {
  font-family: Merienda;
  font-weight: bold;
  min-width: 240px;
  max-width: 300px;
  height: auto;
}
.wp-block-button__link {
  transition:
    background-color 0.6s cubic-bezier(.4,0,.2,1),
    color 0.6s cubic-bezier(.4,0,.2,1),
    border 0.6s cubic-bezier(.4,0,.2,1);
}
.wp-block-button__link:hover  {
  background-color: #f7f3ec !important;
  transform: none;
  color: #254b4e !important;
  border: 2px solid #254b4e !important;
}

@media (max-width: 1024px) {

  nav ul li {
    margin: 6px;
  }

  header {
    height: 80vh;
    padding: 80px 10px 0;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 80%;
    top: 100%;
    right: 0;
    background: #1C3557;
    padding: 10px 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s, transform 0.8s;
    transform: translateY(-10px);
  }
  .nav-links .sub-menu {
    position: static;
    background: 0 0;
  }
  
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    text-align: start;
    border-bottom: solid 1px white;
  border-left: solid 1px white;
  }

  h1 {
    font-size: 2.3rem;
  }
  h2, h3 {
    font-size: 1.8rem;
  }
  h4, h5, h6 {
    font-size: 1.5rem;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    padding: 2px;
    cursor: pointer;
  }
  .burger div {
    width: 34px;
    height: 5px;
    margin: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.8s;
  }
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 9px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -9px);
  }

  .footer-bottom {
  flex-direction: column;
}
footer {
  padding: 20px !important;
  padding-bottom: 50px !important;
}

}
@media (min-width: 769px) and (max-width: 1024px) {
  
  header {
    height: 80vh;
    padding: 100px 60px 0;
  }
}

@media (max-width: 768px) {
  
  .text-1, .text-2, .text-3 {
align-items: flex-start !important;
max-width: 250px;
}
.text-spalte {
  flex-direction: column;
}

}

@media (hover: hover) {
  .nav-links li:hover > .sub-menu {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li:last-child > .sub-menu {
    left: auto;
    right: 0;
  }
}

.zoom-in, .slide-in-left, .slide-in-right {
  opacity: 0;
  transform: scale(0.9);
  transition: all 1.5s ease-out;
}

.show.zoom-in {
  opacity: 1;
  transform: scale(1);
}

.show.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.show.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  transform: translateX(-60px);
}

.slide-in-right {
  transform: translateX(60px);
}



footer {
  background: #254B4E;
  padding: 20px 6vw;
  padding-bottom: 50px;
  z-index: 4;
  position: relative;
}

.footer-line {
  border-bottom: solid 2px white;
}

footer p,
footer h2,
footer h3 {
  text-align: left;
  color: rgba(255, 255, 255);
}

footer h2,
footer h3 {
text-decoration: underline;
font-family: 'Merienda';
font-weight: bold;
font-size: 1.6rem;
}

footer a {
  color: rgb(255, 255, 255);
  margin: 4px 0;
  font-weight: normal;
}

footer ul {
  list-style: disc;
  padding-left: 20px;
  margin: 30px 0;
  color: rgba(255, 255, 255);
  font-weight: normal;
}

.footer-logo {
    width: auto;
    display: block;
    height: 70px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    padding: 6px;
    border-radius: 6px;
    background-color: #fff;
}

.footer-bottom {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.block-2 p {
  text-align: center;
}

.block-3 {
  text-align: right;
}

.block-1,
.block-2,
.block-3 {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.text-spalte {
  margin: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.text-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.text-2 {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.text-2 h3, .text-2 h2 {
  text-align: right;
}

.text-1,
.text-2,
.text-3 {
  flex: 1;
  align-content: center;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
}

.border-grey-inset {
    box-shadow: inset 0 0 8px #1a1a1a;
    padding: 4px;
    height: 100%;
    border-radius: 10px;
} 



.full-width {
  margin-left: -6vw;
  margin-right: -6vw;
  width: calc(100% + 12vw);
  padding: 6vw; 
}

.block-columns {
	justify-content: center;
}

/*fixierter Button unten*/

.cta-donate-button {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  font-family: 'Merienda', cursive;
  font-weight: bold;
  width: 240px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F6E7A1;
  color: #1C3557;
  border: 2px solid #1C3557;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  transition:
    background-color 0.6s cubic-bezier(.4,0,.2,1),
    color 0.6s cubic-bezier(.4,0,.2,1),
    border 0.6s cubic-bezier(.4,0,.2,1),
    box-shadow 0.3s ease;
}
.cta-donate-button:hover,
.cta-donate-button:focus {
  background-color: #f7f3ec;
  color: #254b4e;
  border: 2px solid #254b4e;
  transform: none !important;
}
@media (max-width: 600px) {
  .cta-donate-button {
    width: auto;
    padding: 0 20px;
    height: 48px;
    font-size: 0.95rem;
  }
}

/*fixierter Button unten*/
