/*
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.3.0
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;
}

body {
  background: rgb(255, 255, 255);
}

.sub-menu,
nav {
  background: #5d6060;
}
.nav-links li,
.sub-menu,
nav ul {
  list-style: none;
}
body,
html,
nav ul {
  padding: 0;
  margin: 0;
}
main {
  padding: 80px 6vw 0 6vw;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.7rem;
}
h3 {
  font-size: 2.3rem;
}
h4, h5, h6 {
  font-size: 1.8rem;
}
h1, h2, h3, h4, h5, h6 {
  color: #252525;
  font-weight: 600;
}
header,
nav {
  display: flex;
  text-align: center;
  box-sizing: border-box;
}
.sub-menu,
body,
header,
html {
  overflow-x: hidden;
}
.header-logo img,
button,
nav ul li a {
  transition: 0.3s ease-out;
}

h1, h2, h3, h4, h5, h6,nav ul li a,
button {
   word-wrap: break-word;
   text-shadow:
  -1px 1px 1px #abaeb0,
  0.5px -0.5px 0px #252525;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/Barlow_Condensed/BarlowCondensed-Thin.ttf") format("truetype");
  font-display: swap;
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/Barlow_Condensed/BarlowCondensed-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/Barlow_Condensed/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/Barlow_Condensed/BarlowCondensed-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/Barlow_Condensed/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 900;
  font-style: normal;
}

body {
  display: flex;
  min-height: 100svh;
  font-optical-sizing: auto;
  color: #252525;
  font-size: 1.6rem;
  font-family: "Barlow Condensed";
  font-weight: 400;
  word-break: break-word;
  hyphens: auto;
}
a {
  display: inline-block;
  transition: 0.3s ease-out;
  color: #252525;
}
a:hover{
  transform: scale(1.06);
}
nav {
  position: fixed;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  height: 70px;
  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: underline;
  font-weight: 400;
}
.sub-menu-arrow {
  font-size: 1.4rem;
  position: absolute;
  top: 50%;
  margin: 0 10px;
  transform: translateY(-50%);
  transition: transform 0.8s;
  opacity: 0.7;
}
.header-title {
  font-size: 6rem;
}
.header-text {
  font-size: 1.8rem;
}
.sub-menu {
  position: absolute;
  display: flex;
  text-align: end;
  align-items: end;
  top: 100%;
  left: 0;
  width: 240px;
  padding: 4px;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s, opacity 0.8s;
  border: solid 1px white;
  border-top: none;
}
.burger,
.burger-menu {
  display: none;
  cursor: pointer;
}
.sub-menu li {
  width: 90%;
}
.sub-menu li a {
  padding: 8px 30px 8px 8px;
  display: block;
  font-size: 1.8rem;
  text-decoration: underline;
  color: #ffffff;
    text-shadow: none;
    font-weight: 400;
}
.nav-links li.active > .sub-menu {
  max-height: 500px;
  opacity: 1;
}
.nav-links li > .sub-menu {
  display: block;
}
.nav-links li.active .sub-menu-arrow {
  transform: rotate(180deg);
}
.header-logo {
  display: flex;
  justify-content: center;
  text-align: center;
}
.header-logo img {
  height: 60px;
  border-radius: 12px;
  width: auto;
  display: block;
}
.header-logo img:hover {
  transform: scale(1.06);
}
nav ul {
  display: flex;
  justify-content: space-around;
  flex-grow: 1;
  align-items: center;
}
nav ul li a {
  color: #ffffff;
  display: inline-block;
  font-size: 1.8rem;
}
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: #ffffff;
  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: 2rem;
  border: none;
  color: #abaeb0;
  z-index: 10;
}
.background-transparent,
button {
  z-index: 3;
  position: relative;
}
header {
  position: relative;
  height: 100svh;
  width: 100vw;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 100px 0;
}

.background-transparent {
  background: rgba(196, 196, 196, 0.8);
  border-radius: 20px;
  padding: 0px;
  max-width: 600px;
  border: solid 4px rgba(37, 37, 37, 0.8);
}
button {
  padding: 10px;
  margin: 20px 0;
  color: #ffffff;
  background-color: #e35959;
  border-radius: 20px;
  border: 2px solid #5d6060;
  font-family: "Barlow Condensed";
  font-weight: 700;
  width: 220px;
  height: 50px;
  font-size: 1.3rem;
  text-shadow: none;
}
.button:hover {
  transform: scale(1.06);
  color: #252525;
  background-color: #99b4d9;
}
@media (max-width: 1024px) {
  
  nav ul li {
    margin: 6px;
  }
   header {
    height: 70svh;
    padding: 100px 60px 0;
  }
  .header-title {
  font-size: 4rem;
}
.header-text {
  font-size: 1.6rem;
}
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 80%;
    top: 100%;
    right: 0;
    background: #5d6060;
    padding: 10px 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.6s, transform 0.8s;
    transform: translateY(-10px);
  }
  .sub-menu {
    position: static;
    background: 0 0;
  }
  
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    text-align: start;
    border-bottom: solid 1px #abaeb0;
  border-left: solid 1px #abaeb0;
  }

  .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: #ffffff;
    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);
  }
}

@media (max-width: 768px) {
  
  .text-1, .text-2, .text-3 {
align-items: flex-start !important;
}
.header-title {
  font-size: 3rem;
}
.header-text {
  font-size: 1.4rem;
}
.text-spalte {
  flex-direction: column;
  align-items: center !important;
}
.footer-bottom {
  flex-direction: column;
}

}

.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: #5d6060;
  padding: 20px 6vw;
  z-index: 4;
  position: relative;
  border-top: solid 0.4px #abaeb0;
}

footer a, 
footer ul,
footer p {
  color: #ffffff;
  margin: 4px 0;
}

footer button {
  margin-top: 0;
}

.footer-line {
  border-bottom: solid 2px #abaeb0;
}

footer h2,
footer h3 {
  text-align: left;
  color: #e35959;
  text-shadow:
  -1px 1px 1px #abaeb0,
  0.5px -0.5px 0px #252525;
}



footer h2 {
  text-decoration: underline;
}

footer ul {
  list-style: disc;
  padding-left: 20px;
  margin: 30px 0;
}

.footer-logo {
  height: 80px;
  width: auto;
  display: flex;
}

.footer-logo img {
  height: 80px;
  border-radius: 12px;
  width: auto;
}

.footer-bottom {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.block-2 p {
  text-align: center;
  font-size: 1rem;
}

.block-3 {
  text-align: right;
}

.block-1,
.block-2,
.block-3 {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.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-1,
.text-2,
.text-3 {
  flex: 1;
  align-content: center;
  padding: 10px;
  box-sizing: border-box;
  width: 60vw;
}

.border-grey-inset {
    box-shadow: inset 0 0 8px #abaeb0;
    padding: 20px;
    
} 

.border-red-inset {
    box-shadow: inset 0 0 8px rgba(227, 89, 89);
    padding: 20px;
    
}

.border-blue-inset {
    box-shadow: inset 0 0 8px #99b4d9;
    padding: 20px;
    
}

.border-black-inset {
    box-shadow: inset 0 0 8px rgba(37, 37, 37);
    padding: 20px;
    
}