/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/** FOOTER  stiycky at bottom */
footer {
  position: fixed;
  bottom: 1%;
  left:   5%;
  right:  5%;
  border-radius: 0.5em 0.5em;
  border: 2px solid #808080;
  background-color:#CCCCCC;
}

.link { text-decoration: none}

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

body {
  background: #fff;
  color: #444;
  font-family: Arial, "Open Sans", sans-serif;
  font-size: 12pt;
  width: 90%;
  margin: auto;
}

@media (min-width: 90em) {
  body {
    width: 81em;
  }
  footer {
    width: 80em;
    margin: auto;
  }
}


a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

a:hover{
  color: #0b6bd3;
  outline: none;
  text-decoration: underline;
}
 

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

img {
  width: 90%;         /* IMPORTANT! */
  text-decoration: none !important;
  border-width: 0px !important;
  outline:none;
}




/*--------------------------------------------------------------
# Overview
#
#  example:
#         default background --> overview
#         maybe overwritten with: style="background: #c0c0c0;"
#  <overview>
#    <productsummary>
#      <a href="http://jule.hallenrad.org">
#      <div class="box">
#                           default size --> productsummary .icon
#                           maybe overwritten with: height="" width=""
#        <div class="icon"><img src="JuLe.png" alt=""></div>
#        <h4 class="title">Lorem Ipsum</h4>
#        <p class="description">Voluptatum deleniti atque .... cupiditate non provident</p>
#      </div>
#      </a>
#    </productsummary>
#    ...
#  </overview>
#
--------------------------------------------------------------*/

.overview_container {
  box-shadow: inset 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  background: #ecf5ff;
}

.overview_container h1 {
  text-align: center;
  margin-left: 40px;
  font-weight: 700;
  margin-bottom: -1rem;
  padding-top: 0.8rem;
  font-size: 22px;
}

overview {
  padding: 2.5rem 1rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
  justify-items: center;
}

/*
 * picture gallery
 */
div.image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}


.gallery{
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1rem 1em 1rem;
  float: left;
  transition: all 0.3s ease-in-out;
}

.gallery:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}


/* 
 * responsive media for overview and gallery
 */

@media (min-width: 55em) {
  overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    width: 49.99999%;
  }
}

@media (min-width: 80em) {
  overview {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery {
    width: 33.333%;
  }
}


productsummary {
  max-width: 30em;
  grid-column-start: auto;
}

productsummary a {               /* whole box is a link --> no decoration */
 text-decoration: none;
 font-weight: normal;
}

productsummary a:hover {               /* whole box is a link --> no decoration */
  text-decoration: none;
  font-weight: normal;
}



.box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 45px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
}

.box:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.icon {
  position: absolute;
  left: 2px;
  top: calc(50% - 32px);
  width: 64px;
  height: 64px;
}

.title {
  margin-left: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  color: #111;
}

.box:hover .title {
  color: #007bff;
}

.description {
  //font-size: 14px;
  margin-left: 40px;
  line-height: 24px;
  margin-bottom: 0;
  /* font-family: "Open Sans", sans-serif; */
  color: #000;
}

.box:hover .description {
  /* avoid standard link hover color */
  color: #000;
}

@media (max-width: 35em) {
  .icon {
    width: 48px;
    height: 48px;
  }
  .description, .title { 
    margin-left: 20px;
  }
}

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


/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

about {
  display: grid;
  grid-template-areas:
      'header'
      'bild1' 'text1'
      'bild2' 'text2';
      'bild3' 'text3';
  grid-gap: 10px;
  padding: 10px;
  align-items: center;
  justify-items: center;
}

@media (min-width: 55em) {
  about {
    grid-template-areas:
       'header header header'
       'bild1 text1 text1'
       'text2 text2 bild2'
       'bild3 text3 text3';
  }
}

about_header { grid-area: header; }
about_img1 { grid-area: bild1; }
about_text1 { grid-area: text1; }
about_img2 { grid-area: bild2; }
about_text2 { grid-area: text2; }
about_img3 { grid-area: bild3; }
about_text3 { grid-area: text3; }

about_header {
  text-align: center;
  margin-left: 40px;
  font-weight: 700;
  padding-top: 0.2rem;
}

about_img1,
about_img2,
about_img3 {
  background-color: #f0f0f0;
  max-width: 25em;
}

about_text1,
about_text2,
about_text3 {
  background-color: #cccccc;
}


/*--------------------------------------------------------------
# welcome
--------------------------------------------------------------*/
.welcome {
  width: 70%;
  margin: auto;
  text-align: center;
}

.welcome p {
  text-align: justify;
  color: #444; 
}                             



/*--------------------------------------------------------------
# language selection
--------------------------------------------------------------*/

    langselect {
      padding: 1rem 1rem 0 1rem;
      display: grid;
      grid-template-rows: repeat(1, 1fr);
      align-items: center;
      justify-items: center;

      position: absolute;
      right: 0px;
      top; 0px;
    }

    flag {
      width: 2.5em;
      grid-column-start: auto;
      margin-top: 0.5em;
    }
   
    flag img:hover {
      border-width: 10px ;
      outline:solid;
    }
   

