/* 
Theme Name: Kremser Internist
Description: Homepage Dr. Gerhard Angermayr
Version: 1.0
Author: Mag. Hans Peter Kainz
Author URI: https://www.hpkainz.at
*/

@font-face {
  font-family :"Open Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf") format(ttf-variations);
}


@font-face {
  font-family :"Noto";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("fonts/Noto_Serif_Display/NotoSerifDisplay-VariableFont_wdth,wght.ttf") format(ttf-variations);
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  line-height: 1.4;
  font-family: "Open Sans", Verdana, sans-serif; 
  font-weight: 200;
  color: #555;
}

h1, h2, h3 {
  font-family:  Noto, Georgia, serif; 
  font-weight: 400;
}

h1 {
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 2px #555, -1px -1px 2px #555, 1px -1px 2px #555, -1px 1px 2px #555;
  font-size: 30px;
  letter-spacing: 0.03em;
}

h2 {
  font-size: 200%;
}

h3 {
  font-size: 170%
}

.address{
  position: sticky;
  top: 0.5em;
  color: #fff;
}  

.address a[href^=tel] {
  color: #fff;
}

header {
  background: transparent url(assets/images/stethoskop.jpg) center center no-repeat;
  background-size: cover; 
  padding: 2em;
}

nav {
  display: flex;
  align-content: flex-end;
  padding: 20px 20px;
}

nav li {
  display: inline-block;
  padding: 0 1em;
}

nav a {
  text-decoration: none;
  color: #000;
}

nav a:hover {
  text-decoration: underline;
}

nav .sub-menu {
  display: none;
}

nav li:hover .sub-menu {
  display: block;
}

main {
  grid-area: content;
  padding: 0 2em;
}

.wp-block-column {
  margin-bottom: 1em;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  border-radius: 2px;
  padding: 0 1em;
}

.address {
  color: #fff;
  background-color: #000;
  padding: 0.5em 1em;
  text-align: center;
}

footer {
  color: #fff;
  background-color: #000;
  padding: 0.5em 1em;
}

@media only screen and (max-width: 768px) {
 
  .wp-block-column {
    flex-direction: column;
  }
}
