html {
 
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  color: black;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}

/* Darkmode */
:root {
    --dmtext: #f5efea;
    --dmbackround: black;
}


body {
  width: 1440px;
  margin: 0 auto;
  padding: 0 50px 20px 50px;
  background-color: #f5efea;

  /* Darkmode?
  background-color: var(--dmbackround);*/
}




h1,
h2,
h3,
a {
    color: black;
    font-size: 1rem;
    font-weight: 400;
}

h1 {
  margin-top: 1rem;
  margin-bottom: 0;
}

p {
  margin-top: 0;
}

li,
ul {
  list-style: none;
  padding: 0;
  margin-top: 0;
}

/* link unterstreichung bissl tiefer */
a {
  text-underline-offset: 4px;
}


header {
    padding: 20px;
}

header ul {
  padding-top: 1rem;
  display: flex;
  gap: 7rem;
}


/* favicon png später einfügen!!! */
header img {
  width: 100px;
  height: 50px;
}



.nav-outerbox {
  position: sticky;
  top: 0;
  background: #f5efea;
  z-index: 1;
  border-bottom: 1.5px solid black;
}

.nav-innerbox {
  list-style: none;
  margin: 0;
  padding-bottom: 1rem;
  display: flex;
}



.nav-logo {
  margin-right: auto;
  display: flex;
  width: 2rem;
  border: 1px solid magenta;
}

.main-headline {
  margin-bottom: 3rem;
  margin-top: 10%;
}

.main-subtitle {
  font-weight: 300;
  font-style: italic;
}

.main-textdescription {
  width: 430px;
  margin-bottom: 5rem;
}

/*brauchts das?*/
img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}


/* Main Box allumfassend */
.main-contentbox {
}


.introductionbox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  margin-bottom: 40%;
  margin-top: 10%;
}




.introductiontext {
  width: 430px;
  padding-top: 5%;
}

.introductionpic {
  width: 50%;
}


.projectsallbox {
  display: flex;
  width: 900px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20%;
}

.projectsolobox {
 width: 425px;
}



.projectsolotext {
  padding-bottom: 5%;
}



.main-contact-contentbox {
  height: 350px;
  display: flex;
  justify-content: start;
  padding-top: 20px;
  border-top: 1.5px solid black;

}

.contact-footer-content-row {

}


.contact-footer-content-leftmiddle {
  width: 34%;
}

.contact-footer-content-right {
  width: 32%;
}


.footer-contentbox {
  height: 60px;
  display: flex;
  justify-content: start;
  padding-top: 20px;
  border-top: 1.5px solid black;
}


/* spezielle Inhalte*/

.about-portrait {
  margin-bottom: 15%;
}


.project-pics {
  margin-bottom: 10%;
}




/*Problemkind*/
.main-contact-contentbox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;

}

.contact-header {

}


.contact-list {

}







/*Problemkind*/
@media (min-width: 500px) {
  .main-contact-contentbox {
    grid-template-columns: 1fr fr;
    align-items: start;
  }

  .contact-header {
    grid-column: 1;
  }

  .contact-list {
    grid-column: 2;
  }
}


@media (max-width: 500px) {

  body {
  width: 100%;
  padding: 0 15px 20px 15px;
}


.introductionpic {
  width: 100%;
}

.introductiontext {
  margin-top: 15%;
  padding-top: none;

}

.main-headline {
margin-top: 2%;
}

.introductionbox {
  margin-bottom: 15%;
  margin-top: 0%;
}

.projectsallbox {
  width: 450px;
  margin-bottom: 10%;
}

.projectsolobox {

}

.main-contentbox {
  width: 100%;
}

}