/*!
Theme Name: mutterteresahaus.at Wordpress Theme
Theme URI: https://www.juergenhuettner.com
Author: Juergen Huettner
Author URI: https://www.juergenhuettner.com
Description: Theme for mutterteresahaus.at
Version: 1.0
*/

/*
Usage:

h1 {
  font-size: 10px;

  @include tablet {
    font-size: 12px;
  }

  @include desktop {
    font-size: 20px;
  }
}

 */

/*
You need two HTML elements to make the aspect ratio mixin work. Both need to be either a block or an inline-block element.

<div class="outer-box">
   <div class="inner-box"></div>
</div>

In the SCSS, you need to define the aspect ratio within the arguments of the mixin and add the mixin to the outer element.

.outer-box {
  @include aspect-ratio(4, 3);
}
*/

.link-card {
  background-color: #A91633;
  color: #ffffff;
  text-decoration: none;
  padding: 40px 20px;
  text-align: center;
  font-family: nevisbold, serif;
  font-weight: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.link-card .link-card-content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.link-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
}

.link-card p {
  font-family: runda, serif;
  line-height: 1.6;
}

.link-card .icon {
  width: 120px;
  height: 120px;
}

.link-card .icon svg {
  fill: #ffffff !important;
}

.accordion .accordion-top {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion .accordion-top .accordion-title {
  color: #A91633;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  font-family: nevisbold, serif;
}

.accordion .accordion-top .accordion-arrow .icon {
  width: 18px;
  height: 10px;
}

.accordion .accordion-top .accordion-arrow .icon.icon--arrow-up {
  display: none;
}

.accordion .accordion-content {
  font-family: runda, serif;
  display: none;
  margin-top: 20px;
}

.accordion.is-open .accordion-top .accordion-arrow .icon--arrow-down {
  display: none;
}

.accordion.is-open .accordion-top .accordion-arrow .icon--arrow-up {
  display: block;
}

.accordion.is-open .accordion-content {
  display: block;
}

.job-content h4,
.job-content h5 {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 500;
}

.job-content .job-button {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  font-family: nevisbold, serif;
}

.job-content .job-button .icon {
  margin-left: 20px;
  width: 18px;
  height: 10px;
  transform: rotate(90deg);
}

footer {
  text-align: center;
  color: #A91633;
  line-height: 24px;
}

footer a {
  color: #A91633;
  text-decoration: none;
  font-weight: 500;
}

footer .footer-row {
  border-top: 1px solid #A91633;
  padding-top: 80px;
  padding-bottom: 80px;
}

footer .footer-row__top .footer-address {
  font-family: runda, serif;
  margin-bottom: 80px;
}

footer .footer-row__top .footer-address h4 {
  margin-top: 0;
  margin-bottom: 16px;
}

footer .footer-row__top .footer-address p:last-child {
  margin-bottom: 0;
}

footer .footer-row__top .footer-address:last-child {
  margin-bottom: 0;
}

footer .footer-row__middle .footer-name {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 80px;
  line-height: 28px;
}

footer .footer-row__bottom {
  font-size: 10px;
  font-family: runda, serif;
  line-height: 18px;
}

footer .footer-row__bottom .copyright {
  margin-top: 0;
  margin-bottom: 40px;
}

footer .footer-row__bottom ul {
  padding: 0;
  margin: 0;
}

footer .footer-row__bottom ul li {
  list-style: none;
  margin-bottom: 40px;
  line-height: 1;
}

footer .footer-row__bottom ul li a {
  font-weight: 500;
  text-transform: uppercase;
}

footer .footer-row .footer-row-column {
  flex: 1;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footer-row .icon--logo {
  width: 200px;
  height: 90px;
}

@media only screen and (min-width: 1366px) {
  footer .footer-row {
    display: flex;
  }

  footer .footer-row .footer-row-column {
    flex: 1;
    text-align: left;
  }

  footer .footer-row .footer-row-column-inner {
    justify-self: center;
  }

  footer .footer-row__top .footer-address {
    margin-bottom: 0;
  }

  footer .footer-row__middle .footer-name {
    margin-bottom: 0;
    line-height: 1;
  }

  footer .footer-row__bottom {
    justify-content: center;
  }

  footer .footer-row__bottom .copyright {
    margin-bottom: 0;
    margin-right: 40px;
  }

  footer .footer-row__bottom ul li {
    margin-bottom: 0;
    margin-right: 40px;
    display: inline-block;
  }
}