/* -----------------------------------------------------------------------------------


----------------------------------------------------------------------------------- */


/* ======= Google fonts (Oswald & Didact Gothic) ======= */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* ======= Basic style ======= */
html,
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
}
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    word-wrap: break-word;
}
body {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    color: #999;
    overflow-x: hidden !important;
    background: #1A3A54;
}
p {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    color: #999;
    margin-bottom: 20px;
}

/**
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
    line-height: 1.25em;
    margin: 0 0 20px 0;
}
img {
    width: 100%;
    height: auto;
}
img {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    color: #323232;
}

b {
    font-weight: 400;
    color: #b19777;
}

*/


span,
a {
    display: inline-block;
    text-decoration: none;
    color: white;
}
a:hover {
	color: #D3D3D3;
}

/* Hauptseite - Header, Inhalt, Footer  */
.header { grid-area: header; }
.main { grid-area: main; }
.menu { grid-area: menu; }
.footer { grid-area: footer; }

.page-wrap {
	height: 100vh;
   display: grid;
   grid-template-columns: 1fr;
   grid-template-rows: 160px auto 72px 72px;
   
  

  grid-template-areas:
    'header'
    'main'
    'menu'
    'footer';
    
    gap: 0px;
}

/* **************** Ende Seitenstruktur ***************** */


.header { 
	background-color: #1A3A54;
	  display: flex; 
    justify-content: center; 
    align-items: center;
}
.main {
	background-color: #1A3A54;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-template-rows: repeat(4, 1fr);
	gap: 10px;
	padding-top: 30px;
	padding-bottom: 30px;
	
}

.menu {
	background-color: #1A3A54;
	  display: flex; 
    justify-content: center; 
    align-items: center;
    color: #fff;

}

.footer {
	background-color: #335988;
	  display: flex; 
    justify-content: center; 
    align-items: center;
    color: #fff;

}





.box {

  color: #fff;
  /*border-radius: 5px;*/
  padding: 0px;
  font-size: 150%;
    flex: 1 1 250px;
    align-content: top;
     object-fit: cover;
     text-align: center;
      justify-self: center;
      overflow:hidden;
      position: relative;
      display: inline-block;
      width: 100%;
}
.box > img {
	width: 250px;
	/* Bild zoom on hover *********************** */
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);

-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
-ms-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
margin: 0px;
      width: 100%;
}


.box:hover .overlay {
  opacity: 1;
}

.box:hover > img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}

.box > a {
	width: 250px;
}
/* text überlagerung */
/*.img-text {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-bottom: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  font-size: 20px;
  font-weight: bold; 
  background-color: #000;
  border: solid 1px red;
    width: 100%;
  height: 100%;
  opacity: 0;
}
*/
.overlay {
  position: absolute;
  padding-top: 110px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: white;
  font-size: 20px;
  font-weight: bold; 

  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}




.zwei-box {
  grid-row-end: span 2;
}
.drei-box {
  grid-row-end: span 3;
}

.randlinks1col {
	grid-column: 1/ 1;
	grid-row: 1 / 5;
	background-color: none;
}
.randrechts1col {
	grid-column: 8/ 9;
	grid-row: 1 / 5;
	background-color: none;

}
.mittelteil {
	grid-column: 2/ 8;
	grid-row: 1 / 5;

	padding: 0px;
	border: solid red 0px;
display: flex;
  align-items: center;
  justify-content: center;
  align-content: center; 
  margin-left: auto; margin-right: auto;
  margin-top: 0; vertical-Align: top;


}

/* Bilder-Galerie */
#galerie {
  display: flex;
  flex-wrap: wrap;

}
#galerie {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
grid-auto-rows: max-content;
grid-auto-rows: minmax(100px, 160px);
   
   gap: 10px;
   /* grid-auto-rows: minmax(150px, auto);*/
}


#headerlogo {
	  position: absolute;
  top: 10px;

	height: 120px;
	width: auto;
}

.fusszeile1 {
	border: solid 0px red;
	line-height: 20px;
	color: #fff; 
	width: 70%;
	text-align: center;
	
}

.menubtn { 
	width: 120px;
	border: solid 3px #333;
	background-color: #4A5563;
	color: #fff;
	text-align: center;
	margin-right: 15px;
	padding: 2px;;
}
.menubtn:hover {
	background-color: #1F98D1;
}

/* ======= Responsive style ======= */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}
@media screen and (max-width: 991px) {
    .bg-fixed {
        background-attachment: scroll !important;
    }
    .header {
        background-attachment: scroll !important;
        background-position: 50% 0% !important;
    }
/**    .hero-corner,
    .hero-corner2,
    .hero-corner3,
    .hero-corner4 {
        display: none;
    }*/
    .header .caption h1 {
        font-size: 40px;
    }
}
@media screen and (max-width: 767px) {
    .hero .intro h3 {
        font-size: 28px;
    }
    .hero .intro h4 {
        font-size: 20px;
    }
    .header .caption h1 {
        font-size: 30px;
        margin-bottom: 15px;
        letter-spacing: 10px;
        line-height: 1.35em;
    }
    .header .caption p {
        font-size: 15px;
        margin-right: 10px;
    }
    .header .caption .butn-light {
        margin-right: 10px;
    }
    .portfolio .filtering span {
        margin-bottom: 10px;
    }
    .bauen-blog .item .con h5,
    .bauen-blog .item .con h5 a {
        font-size: 20px;
    }
    .bauen-comment-section h3 span {
        margin-left: 0px;
    }
    .main-footer .sub-footer p.right {
        text-align: left;
    }
    .main-footer .abot .social-icon {
        text-align: left;
        margin-bottom: 15px;
    }
    .footer .logo {
        padding: 0;
        width: auto;
        margin: 0px 0;
    }
}
@media screen and (max-width: 480px) {
    .section-head h4 {
        font-size: 30px;
    }
    .footer {
        padding: 60px 0;
    }
    .text-left {
        text-align: left;
    }
    .text-center {
        text-align: center;
    }
    .text-right {
        text-align: center;
    }
}