/*--------------------------------------------------------------
# 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;
  transition: 0.5s;
}

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


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.2rem;
}

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

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

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


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

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


productsummary .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;
}

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

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

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

productsummary .title {
  color: #111;
}

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

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

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

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


/*--------------------------------------------------------------
# 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;
}
