/*
Theme Name: bf_ck
Author: Wolfgang Schellnast
Author URI: https://www.bureauf.com
Description: Responsive Theme for bureau f
Version: 1.0
*/

@import url("https://use.typekit.net/tjd0jpe.css");

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  background-color: #5cc0ff;
  color: black;

  font-family: "archivo-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
.h1 {
  font-size: 49px;
  margin: 0 0 3rem;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center;
  transform: scaleY(1.5);
  line-height: 1.5;
}

h2 {
  font-size: 1rem;
  padding-bottom: 1rem;
  margin-top: 3rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: normal;

  transform: scaleY(1.5);
}

a {
  color: inherit;
  text-decoration: underline;
}

p {
  transform: scaleY(1.5);
  line-height: 1;
  padding: 0.5rem 0;
}

.logo {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.rotate {
  transform: rotate(-13deg);
  margin-left: -44%;
}

.img {
  margin-top: -1rem;
  margin-bottom: -3rem;

  height: 63vh;
}

/* PAGES */

.wrapper-page {
  display: flex;
  flex-flow: column;
  align-items: center;

  min-height: 100vh;
}

.page-template-page-agb .wrapper-page,
.page-template-page-kontakt .wrapper-page {
  padding-bottom: 65px;
}

section.default {
  margin: 0;
  text-align: center;
  max-width: 600px;
}

/* HOME */
.page-template-page-home p {
  line-height: 1.5;
  padding: 0;
}
.page-template-page-home .wrapper-page {
  justify-content: center;
  padding-top: 30px;
}

.page-template-page-home section.default {
  margin: 0;
  padding-bottom: 30px;
}

.page-template-page-home .home-top {
  margin-top: 0.5rem;
}

.page-template-page-home .inner-grid p {
  margin-bottom: 0.5rem;
}

.img-home_01 {
  position: absolute;
  width: 38%;
  height: auto;
  top: 8%;
  left: 6%;
}
.img-home_02 {
  position: absolute;
  width: 41%;
  height: auto;
  top: 2%;
  right: 20px;
}
.img-home_03 {
  position: absolute;
  width: 48%;
  height: auto;
  bottom: 20%;
  right: 0;
  z-index: 10;
}
.img-home_04 {
  position: absolute;
  width: 38%;
  height: auto;
  bottom: -15%;
  right: 20px;
  z-index: 10;
}

.takeaway a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f15d22;
  border-radius: 50%;
  height: 65px;
  width: 65px;

  position: absolute;
  margin-top: -2.5rem;
  text-decoration: none;

  line-height: 1;
}

/* PAGE KONTAKT */
.inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem;
}

.inner-grid > p:nth-child(1) {
  text-align: left;
}

.inner-grid > p:nth-child(2) {
  text-align: right;
}

.page-template-page-kontakt section.default a {
  display: inline-block;
  transform: scaleY(1.5);
}

/* PAGE AGB */
.page-template-page-agb section.default,
.page-template-default section.default {
  max-width: unset;
  padding: 0 15%;
  margin-bottom: 100px;
}

/* FONTS */

.font-jp {
  font-family: "klee-one", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 38px;
}

.font-cf {
  font-size: 2rem;
  font-family: "canora-frente", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* FOOTER CHICKEN KARATE ONLY */

.wp-theme-bf_ck #footer-grid-2021 .bottom a {
  transform: scaleY(1.5);
  letter-spacing: 0.05em;
}

.wp-theme-bf_ck #footer-grid-2021 {
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  /* HOME PAGE */
  .page-template-page-home p {
    font-size: 15px;
  }
  .page-template-page-home .wrapper-page {
    padding-top: 15px;
  }
  .page-template-page-home .font-cf.home-top {
    font-size: 30px;
  }
  .page-template-page-home .font-cf {
    font-size: 26px;
  }
}
/* FOOTER MOCHI */

footer ul {
  padding-left: 0;
}
/* FOOTER Update - 2021 */
#footer-grid-2021 {
  /* background-color: #141414; */
  background-color: #000;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

#footer-grid-2021 .top {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 158px));
  border-bottom: 1px solid #f0f0f0;
  margin: 0 100px;
  justify-content: space-between;
  padding-bottom: 3rem;
  text-align: center;
  color: #f0f0f0;
}

#footer-grid-2021 .bottom {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr 1fr 0.6fr;
  margin: 30px 100px 0px;
}

#footer-grid-2021 p {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.8rem;
  margin: 0.5rem 0 0 0;
}

#footer-grid-2021 a,
#footer-grid-2021 a:hover {
  color: #f0f0f0;
  text-decoration: none;
  padding-bottom: 0;
  border-bottom: 0;
}

#footer-grid-2021 .bottom a {
  text-transform: uppercase;
  display: block;
  line-height: 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  color: #f0f0f0;

  transform: scaleY(1.5);
}

#footer-grid-2021 .bottom > div {
  border-right: 1px solid #f0f0f0;
  width: 100%;
}

#footer-grid-2021 .bottom div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer-grid-2021 .bottom div:nth-child(3) {
  display: flex;
  justify-content: center;
  text-align: center;
}

#footer-grid-2021 .bottom div:nth-child(4) {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
}

#footer-grid-2021 .bottom > div:last-of-type {
  border-right: 0px solid #f0f0f0;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

#footer-grid-2021 .bottom div,
#footer-grid-2021 .bottom .sub {
  display: table;
}

#footer-grid-2021 .bottom li {
  list-style: none;
}

@media (max-width: 991px) {
  #footer-grid-2021 p {
    font-size: 0.7rem;
  }
  #footer-grid-2021 .top {
    margin: 0 50px;
  }
  #footer-grid-2021 .bottom {
    margin: 30px 50px 0;
  }
  #footer-grid-2021 .bottom a {
    font-size: 0.7rem;
  }
}

@media (max-width: 810px) {
  #footer-grid-2021 .top {
    grid-template-columns: minmax(150px, 200px);
    grid-gap: 4rem;
    justify-content: center;
  }
  #footer-grid-2021 p {
    font-size: 1rem;
  }
  #footer-grid-2021 .bottom {
    grid-template-columns: 1fr;
    grid-gap: 2rem;
  }

  #footer-grid-2021 .bottom div,
  #footer-grid-2021 .bottom .sub {
    display: block;
    text-align: center;
    justify-content: center !important;
  }

  #footer-grid-2021 .bottom .sub {
    margin-bottom: 0;
  }

  #footer-grid-2021 .bottom div {
    border-right: 0px;
    border-left: 0px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
  }

  #footer-grid-2021 .bottom div:last-of-type,
  #footer-grid-2021 .bottom .sub {
    border-bottom: 0px;
  }
  #footer-grid-2021 .bottom a {
    font-size: 1rem;
  }
}

/* CSS ANIMATIONS */
img.ani-01 {
  animation: wiggle 2s ease-in-out infinite;
}

img.ani-02 {
  animation: soft-bounce 1.5s ease-in-out infinite;
}

img.ani-03 {
  animation: soft-bounce-02 3s ease-in-out infinite;
}

img.ani-04 {
  animation: wiggle-02 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
}

@keyframes wiggle-02 {
  0%,
  100% {
    transform: rotate(0deg);
  }
  15% {
    transform: rotate(1.5deg);
  }
  30% {
    transform: rotate(-1.5deg);
  }
  45% {
    transform: rotate(1deg) scale(1.1);
  }
  60% {
    transform: rotate(-1deg);
  }
  75% {
    transform: rotate(0.5deg);
  }
  90% {
    transform: rotate(-0.5deg) scale(1);
  }
}

@keyframes soft-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

@keyframes soft-bounce-02 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}
