/*
Theme Name: Naturheilpraxis
Theme URI: https://naturheilpraxisflorin.ch/
Author: Timothée Floure
Author URI: https://tfloure.ch
Requires at least: 6.4
Requires PHP: 7.0
Version: 0.1
License: Proprietary
*/

:root {
  --menu-hover: #31b300;
  --menu-base: #003c37;
  --content-background: #003c37;
  --footer-text: #003C37;

}

/** Fonts **/

@font-face {
  font-family: didot-w01-italic;
  src:
    url("/wp-content/themes/naturheilpraxisflorin/assets/didot-w01-italic.woff2")format("woff2")
}

/** Top-level structure **/

html {
  height: 100%;
}

body {
  font-family: 'Montserrat Light', sans-serif;
  display: flex;
  height: 100%;
  flex-direction: column;
  margin: 0;
}

main {
  background-color: var(--content-background);
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/** Generic tags **/

a {
  text-decoration: none;
  color: inherit;
}


h1,
h2,
h3,
h4,
h5 {
  font-family: didot-w01-italic;
  font-weight: 300;
}

h2 {
  line-height: 1.4em;
}

/** Header **/

header {
  background-color: white;
}

header .container {
  width: 900px;
  margin: auto;
  display: flex;
  padding-bottom: 0px;
  justify-content: space-between;
}

header .logo img {
  height: 74px;
  width: auto;
  margin-top: 5px;
  margin-bottom: 2px;
}

header .menu {
  align-self: flex-end;
}

header .menu ul {
  list-style: none;
  margin-bottom: 7px;
}

header .menu ul li {
  display: inline-block;
  padding: 0 10px;
  line-height: 30px;
  font-size: 16px;
}

header .menu-item a {
  line-height: 30px;
  text-decoration: none;
  color: var(--menu-base);
}

header .current-menu-item a,
header .menu-item a:hover {
  color: var(--menu-hover);
}


@media screen and (max-width: 900px) {
  header {
    text-align: center;
  }

  header .container {
    width: 100%;
    flex-direction: column;
  }

  header .menu ul {
    padding-left: 0;
  }

  header .menu ul li {
    display: block;
  }

  header .menu {
    align-self: center;
  }
}


/** Footer **/

footer {
  background-color: white;
  z-index: 999;
  padding: 5px;
  color: var(--footer-text);
  letter-spacing: 0.01em;
  font-size: 12px;
}

footer .container {
  display: flex;
  width: 840px;
  margin: auto;
  justify-content: space-between;
}


@media screen and (max-width: 900px) {
  footer .container {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
}

/** Pages **/

#main-content {
  color: white;
  width: 840px;
  margin: auto;
  line-height: 1.5em;
  font-size: 16px;
  height: calc(100% - 132px);
}

h1.page-title {
  text-align: center;
  height: 1.4em;
  font-style: italic;
  font-size: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
  font-weight: lighter;
}

.frontpage-text-container {
  width: 900px;
  margin: auto;
}

@media screen and (max-width: 900px) {
  #main-content {
    width: 100%;
  }

  #main-content>p {
    padding: 0 5px;
  }
}

/** Misc **/


.text-large {
  font-size: 34px;
}

.text-bold {
  font-weight: bold;
}


.flex-container {
  display: flex;
}

.alignfull {
  width: 100vw;
  display: block;
  margin-left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

figure.wp-block-image {
  width: 100%;
}

.wp-block-columns {
  padding: 0;
  gap: 0;
  margin-bottom: 0;
}

.wp-block-cover {
  padding: 0 !important;
}

.font-size-45 {
  font-size: 45pt;
}

.font-size-40 {
  font-size: 53.3px;
}

.no-border {
  border: 0;
}

.wp-block-group {
  margin-top: 0;
}

.aligncenter {
  text-align: center;
}