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

/** Top-level structure **/

html {
  height: 100%;
}

body {
  font-family: 'Lato', monserrat, arial;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 28px;
}

main {
  flex: 1 0 auto;
  overflow: hidden;
}

footer {
  flex-shrink: 0;
}

/** Generic tags **/

a {
  color: inherit;
}

a:hover,
.page-content a:hover {
  color: #e6384a;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Baloo Bhaijaan 2';
}

/** Wordpress blocks **/

.wp-block-columns.alignfull {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-table table td {
  border-left: none;
  border-right: none;
  border-top: 2px solid #008476;
  border-bottom: 2px solid #008476;
}

/** Header **/

header {
  background-color: white;
  width: 100%;
  position: fixed;
  z-index: 999;
}

header .container {
  display: flex;
  padding: 0px 20px 10px 20px;
  justify-content: space-between;
}

header .logo img {
  height: 50px;
  width: auto;
  margin-top: 20px;
}

header .menu ul {
  list-style: none;
  text-transform: uppercase;
}

header .menu ul li {
  display: inline;
  padding-right: 80px;
}

header .menu-item a {
  text-decoration: none;
  color: #1b4343;
  font-size: 22px;
}

header .current-menu-item a,
header .menu-item a:hover {
  color: #e84a5a;
}

.menu-item-object-custom a {
  color: #1b4343 !important;
}

.menu-item-object-custom a:hover {
  color: #e84a5a !important;
}

@media screen and (max-width: 800px) {
  header {
    position: absolute;
  }

  header .container {
    display: block;
    text-align: center;
  }
}

/** Front page **/

#frontpage-banner img {
  width: 100%;
  margin-top: 70px;
  object-fit: cover;
}

#isabelle-banner {
  padding: 20px 0px;
  background-color: #f9e0ba;
  color: #15887a;
  text-align: center;
}

#front-page .page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** Misc **/

#main-content {
  padding-top: 20px;
  padding-bottom: 100px;
}

.wp-block-columns {
  width: 1120px;
  margin: auto;
}

.page-content {
  width: 1120px;
  margin: auto;
}

.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%);
}

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

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

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

.background-rosarot {
  background-color: #fdebed;
}

.wp-block-accordion {
  border-bottom: 3px solid #2f8877;
  color: #2f8877;
  padding: 0 !important;
}

.wp-block-accordion-heading {
  font-weight: normal;
}

.wp-block-accordion-item {
  border-top: 3px solid #2f8877;
  margin-bottom: 0;
  margin-top: 0;
}

.wp-block-accordion-panel {
  padding-bottom: 50px;
}

.no-border {
  border: 0;
}

/** Extra responsiveness logic **/

@media screen and (max-width: 1120px) {

  .page-content,
  .wp-block-columns {
    width: 100%;
  }

  .page-content div {
    padding-left: 20px;
    padding-right: 20px;
  }

  #contact-banner .page-content {
    width: 100%;
  }

  #contact-banner .flex-container div {
    width: 100%;
  }

  #angebot-banner .flex-container {
    justify-content: center;
  }

  #contact-banner .flex-container {
    justify-content: center;
  }

}

.frontpage-wasistbalfolk-background {
  background-size: contain;
  background-position: center !important;
}

@media screen and (max-width: 1800px) {
  .frontpage-wasistbalfolk-background {
    background-size: cover !important;
  }
}

/* Colors */

.has-dark-green-background-color {
  background-color: #104a49;
}

.has-dark-green-color {
  color: #104a49;
}

.has-dark-green-border-color {
  border-color: #104a49;
}

.has-yellow-background-color {
  background-color: #f2bc66;
}

.has-yellow-color {
  color: #f2bc66;
}

.has-yellow-border-color {
  border-color: #f2bc66;
}

.has-white-background-color {
  background-color: #ffffff;
}

.has-white-color {
  color: #ffffff;
}

.has-white-border-color {
  border-color: #ffffff;
}

.has-red-background-color {
  background-color: #e04648;
}

.has-red-color {
  color: #e04648;
}

.has-red-border-color {
  border-color: #e04648;
}

.has-light-yellow-background-color {
  background-color: #fdf5e8;
}

.has-light-yellow-color {
  color: #fdf5e8;
}

.has-light-yellow-border-color {
  border-color: #fdf5e8;
}

.has-black-background-color {
  background-color: #000000;
}

.has-black-color {
  color: #000000;
}

.has-black-border-color {
  border-color: #000000;
}

.has-light-green-background-color {
  background-color: #008476;
}

.has-light-green-color {
  color: #008476;
}

.has-light-green-border-color {
  border-color: #008476;
}

/** Error pages **/

.error-page {
  margin-top: 100px;
  margin-left: 20px;
}

.error-page h1,
.error-page p {
  margin: 0;
}

.error-page a {
  text-decoration: underline;
}

/** Mic **/

figure {
  margin-bottom: 0 !important;
}

.transition-image {
  width: 100%;
}

.wp-block-table table td {
  border-top: 3px solid #008476;
  border-bottom: 3px solid #008476;
  border-left: none;
  border-right: none;
}