/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 1.7em;
  margin: 0.67em 0;
  font-weight: 300;
}
h2 {
  font-weight: 300;
}
h3 {
  font-weight: 300;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  appearance: textfield;
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


body {
  font-family:'Montserrat', Arial, sans-serif;
  font-size: 15px;



  /*font-size: calc(22pt - 0.7vw);*/
  line-height: 1.7;
  color: #333;
  background-color: #ffffff;
  overflow-y: scroll;
}
/* Media query for mobile devices with a maximum width of 768px */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}
header {
  background-color: #ffffff;
  height: 35px;
  padding-right: 10px;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0px 0px 2px #003E44;
}
footer {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 20px;
  border-top: solid;
  border-top-width: normal;
  border-color: #eeeeee;
}


/* styles general */

a:-webkit-any-link {
  cursor: pointer;
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a{
  color: #003E44;
  font-weight: 500;
}

p {
  text-align: justify;
	text-align-last: none;
}

main {
  background-color: #ffffff;
  color: #333;
  justify-content: space-between;
  max-width: 100%;
  width:auto;
  /*min-width: 650px;*/
  margin: 0 auto;
  margin-top: 0px;
  padding-top: 85px;
  padding-bottom: 5%;
  padding-left: 4%;
  padding-right: 4%;
  /* box-shadow: 0px -100px 500px #1a1a1a42;*/
}




.banner {
  max-width: 100%;
  width:50%;
  
  /*min-width: 650px;*/
}
@media (max-width: 768px) {
  .banner {
      width: 100%;
  }
}





/* Style Navigationsbereich */

nav ul {
  list-style: none;
  display: flex;
  padding-left: 10px;
}
 
nav ul li {
  margin-right: 14px;
  position: relative;
  justify-content: space-between;
  align-content: center;
  display: flex;
  padding-bottom: 25px;
  flex-wrap: wrap;
  white-space: nowrap;
  
}

nav ul li a {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 1rem;
  justify-content: space-between;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: all 0.3s ease-in-out;
  padding-bottom: 10px;

  position: relative;
  z-index: 1;
  opacity: 1;
  
}
nav ul li a.active {
  font-size: 1rem;
}

nav ul li a::before {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 7px;
  position: relative;
  content: attr(data-text);
  z-index: 0;
  font-weight: bold;
  opacity: 1;
}


nav ul li a:hover {
  color: #003E44;
  font-weight: bold;
}

.logo {
  min-width: 80px;
  min-height: auto;
  max-width: 10%;
  max-height: auto;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  transition: all 0.3s ease-in-out;
  padding-bottom: 10px;
  position: relative;
  z-index: 1;
  opacity: 1;
  cursor: pointer;
}
.dropbtn::before {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 7px;
  position: relative;
  content: attr(data-text);
  z-index: 0;
  font-weight: bold;
  opacity: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  padding-bottom: 2px;
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  width: 240px;
  height: 18px;
  text-align: left;
  flex-wrap: nowrap;
  padding-left: 10pt;
  padding-bottom: 10px;
  margin-bottom: 0;
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  margin-left: 0px;
  align-self: center;
  /*border-bottom: 1px solid #003E44;*/
  /*border-right: 1px solid #003E44;*/
  display: block;
}


.dropdown:hover .dropdown-content {
  display: block;
}
@media (max-width: 768px) {
.dropdown:hover .dropdown-content {
  display: none;
}
nav ul li a.active {
  color: #003E44; /* Active link color */
  font-weight: bold; /* Bold for active link */
}
}

.dropdown:hover .dropbtn {
  background-color: #ffffff;
}








/* Style NEWS Page */





.intro {
  max-width: 100%;
  width:75%;
  /*min-width: 650px;*/
  padding-bottom: 5%;
  margin: 0 auto;
  vertical-align: bottom;
}
@media (max-width: 768px) {
  .intro{
      width: 100%;
      font-size: medium;
  }
}
.intro h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}
.intro h1 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  margin-top:0px;
  text-align: left;
  font-weight: 300;
}

.intro p {
  text-align: justify;
	text-align-last: none;
  padding-bottom: 15px;
  border-bottom: solid;
  border-bottom-width: thin;
  padding-top:25px;
}
.feed {
  vertical-align: bottom;
  text-align: justify;
  text-align-last: none;
  padding-bottom: 15px;
  border-bottom: solid;
  border-bottom-width: thin;
  padding-top: 25px;
  position: relative;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .feed {
      width: 100%;
      
  }
}

.feed p{
  position: absolute;
  bottom: 0;
}









/* Style Projektliste */

.projectlist {
  /*max-width: 100%;
  width:75%;
  /* min-width: 650px;*/
 /* padding-bottom: 5%;
  list-style: none;*/
  vertical-align: bottom;
  text-align: justify;
  text-align-last: none;
  padding-bottom: 15px;
  border-bottom: solid;
  border-bottom-width: thin;
  padding-top: 25px;
  position: relative;
  width: 75%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .projectlist {
      width: 100%;
  }
}
.projectlist h2 {
  font-size: 1.5rem;
}


.projectlist p {
  text-align: justify;
	text-align-last: none;
}

.projectlist ul{
  margin-bottom: 12%;
  list-style: none;
  padding-inline-start: 0;
}

.projectlist li{
    margin-bottom: 5%;
}

.projectlist ul li a h2 {
  text-decoration: none;
  text-emphasis: none;
  color: #003E44;
  transition: all 0.3s ease-in-out;
  padding-bottom: 5px;
  font-size: 1.5rem;
  margin-bottom: 0px;
  line-height: 0.8;
}

.projectlist ul li a h2:visited {
 text-decoration: none;
}
.projectlist-entry {
  text-decoration: none;
  /*height: min-content;*/
  border-bottom: solid;
  border-color: #003E44;
  padding-bottom: 3%;
  border-bottom-width: thin; 
  }
  .image-container {
   width: 100%;
   position: relative;
   align-content: center;
   text-align: justify;
   text-align-last: justify;
  }
  
  .image-container img {
    max-width: 50%;
    max-height: 50%;
    padding: 2px;
    box-shadow: inset 0 0 0 1px #ccc;
    margin: 0 auto;
    margin-right: 4px;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    object-fit: contain;
  }
 

  .description-container{
   width: 100%;
   align-content: center;
  }

.rdm-image {
  /* height: 25vh;  adjust this value as needed */
  /*width: 90vh;*/
  max-width: 60%;
  min-height: 140px;
  padding: 2px;
  border: 0px solid #ccc;
  box-shadow: inset 0 0 0 1px #ccc;
  border-radius: 0px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  /*float: left;*/
  margin-right: 20px;
}
@media (max-width: 768px) {
  .image-container img{
    max-width: 100%;
    width:100%;
    margin-right: 0px;

  }
  .rdm-image {
    margin-right: 0px;
  }
  .projectlist ul li a h2 {
        font-size: 1.2rem;
        margin-bottom: 0px;
  }
}











/* Style Gallerie elemente */

.gallery-container {
  display: flex;

  flex-wrap: wrap;
  justify-content:left;
  max-width: 100%;
  width:75%;
  /*min-width: 650px;*/
  max-height: max-content;
  height: fit-content;
  margin: 0 auto;
  padding-bottom: 5%;
  flex-direction: row;
}
@media (max-width: 768px) {
  .gallery-container {
    width: 100%;
    flex-direction: column;
  }
}
.gallery {
  /*flex: 1 0 48%;*/
  padding-top: 2%;
  align-items: center;
padding-left: 2%;
padding-right:2%;
/*min-width: 450px;*/
box-sizing: border-box;
}
/*.gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 48%;
  width: auto;
  margin-right:  2%;
  min-width: 650px;
}*/
.thumbnail {
  display: block;
  width: calc((100% / 7) - 3.6px);
  aspect-ratio: 1/1;
  margin: 1px;
  padding: 1px;
  cursor: pointer;
  object-fit: contain;
  background-color: #333;
}
.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5%;

}
.thumbnail-row {
  display: flex;
  width: 100%;
}

.thumbnail-highlight {
    filter: brightness(2.8) saturate(20%);
}

.main-image {
  display: block;
  /*height: 52vw;  /*adjust this value as needed */
  width: 100%;
  min-height: 240px;
  padding: 2px;
  border: 0px solid #ccc;
  box-shadow: inset 0 0 0 1px #ccc;
  margin: 0 auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.text-container {
  flex: 1 0 46%;
  align-items: center;
  padding: 2%;
  box-sizing: border-box;
  min-width: 20%;
}
.text-header {
  font-weight: 300;
  margin-top: 0%;
  line-height: 1.0;
}
.text-content {
  text-align: justify;
 }
.location-text-container {
  overflow: auto;
  text-align: justify;
	text-align-last: none;
}


/* about us styles */
.team-member-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  width:100%;
  /*min-width: 650px;*/
  margin-bottom: 4%;
}
@media (max-width: 768px) {
  .team-member-container{
      width: 100%;
  }
}


.team-image {
  display: block;
  /*height: 52vw;  /*adjust this value as needed */
  width: 100%;
  min-height: 240px;
  padding: 2px;
  border: 0px solid #ccc;
  box-shadow: inset 0 0 0 1px #ccc;
  margin: 0 auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.container-image {
  flex: 1 0 28%;
  min-width: 240px;
  align-content: center;
  padding: 2%;
}
.container-text {
  flex: 1 0 50%;
  /*min-width: 500px;*/
  align-content: left;
  padding: 2%

}
.container-rechts p {
  text-align: justify;
	text-align-last: none;
}

/* Footer Styles*/

.footer-container {
  /* Try yo avoid HTML tables for layout, use flexbox instead */
  display: flex;
  justify-content: space-between;

  width: auto;
  font-size: 1.0rem;
  font-weight: 300;
}
.footer-container a{

  font-weight: 500;
}

.footer-container .contact {
  display: flex;
  flex-direction: column;
  width: 30%;
  align-items: flex-end;
}
.footer-container .impressum {
  width: 40%;
  text-align: center;
}
.footer-container .partner {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.footer-container .contact p {
  margin: 0;
}
@media (max-width: 768px) {
  .footer-container {
    font-size: 0.6rem;
  }
  .footer-container a{

    font-weight: 300;
  }
  
}
/* Full-Screen Viewer Styles */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Close Button Styles */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

