/*
    Theme Name: Safira Speisekarte
    Theme URI: http://www.google.de
    Description: Digitale Speisekarte
    Version: 1.0
    Author: Orhan Demis
    Author URI: http://www.google.de
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/pgl-2.0.html
*/
@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Carter+One&family=Oleo+Script&display=swap");
/* @import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap'); */

@font-face {
  font-family: 'hoodson_script_free_demoRg';
  src: url('fonts/hoodson_free_font_-webfont.woff2') format('woff2'),
    url('fonts/hoodson_free_font_-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'hoodson_script_free_demoRg';
  src: url('fonts/hoodson_free_font_-webfont.woff2') format('woff2'),
    url('fonts/hoodson_free_font_-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

p{
  color:white;
}

.shortTimeOffer {
  position: absolute;
  right: 6%;
  top: -15%;
  z-index: 2;
}

@media (min-width: 320px) and (max-width: 575.99px) {
  .shortTimeOffer {
    position: absolute;
    right: -2%;
    top: -16%;
    z-index: 2;
  }
  .shape {
    position: relative;
    shape-outside: polygon(0% 0, 100% 100%, 100% 0);
    -webkit-shape-outside: polygon(0% 0, 100% 100%, 100% 0);
    clip-path: polygon(0% 0, 100% 100%, 100% 0);
    width: 20%;
  }
  .box__padding {
    padding: 5px 20px 5px 10px;
  }
}

@media (min-width: 576px) and (max-width: 767.99px) {
  .shortTimeOffer {
    position: absolute;
    right: 1%;
    top: -15%;
    z-index: 2;
  }

  .box__price-content {
    width: 15rem;
    text-align: right;
  }
}
@media (min-width: 425px) and (max-width: 575.99px) {
  .shortTimeOffer {
    position: absolute;
    right: 0%;
    top: -16%;
    z-index: 2;
  }
}

/* html {
  margin-top: 0 !important;
} */
/* .container {
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
  z-index: 10;
   overflow: auto;
   width: 100%;
   position: relative;
} */

.shape {
  position: relative;
  shape-outside: polygon(0% 0, 100% 100%, 100% 0);
  -webkit-shape-outside: polygon(0% 0, 100% 100%, 100% 0);
  clip-path: polygon(0% 0, 100% 100%, 100% 0);
  width: 15%;
}

.shape-header {
  position: relative;
  shape-outside: polygon(0% 0, 100% 100%, 100% 0);
  -webkit-shape-outside: polygon(0% 0, 100% 100%, 100% 0);
  clip-path: polygon(0% 0, 100% 100%, 100% 0);
  width: 20%;
}

.box {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.box:not(.box__title) .box__inner {
  shape-outside: polygon(0% 0%, 0% 100%, 100% 100%, 85% 0%);
  -webkit-shape-outside: polygon(0% 0%, 0% 100%, 100% 100%, 85% 0%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 85% 0%);
}

.box__inner {
  position: relative;
}

.box:before {
  content: "";
  /* display: block; */
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* z-index: 0; */
}

.box:not(.box__title):before {
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 85% 0%);
}

.box__price-content {
  padding: 0 16px;
}

.box__price-content--after:after,
.box__title-content--after:after {
  content: "";
  display: block;
  background: black;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 96.9% 0%); */
  z-index: -1;
}

.box__title-content--after:after {
  height: 20%;

}

.box__price-content--after:after {
  height: 100%;
  /* clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 96.9% 0%); */
}

.box__title {
  margin-top: 2rem;
}

body {
  overflow-x: hidden;
}

/* .box__title ~ .box__title{
  margin-top: 15rem;
} */
.box__title::after {
  height: 20%;
}

.box__content {
  margin-left: 2rem;
}

.box__header {
  font-size: 2rem;
  line-height: 1;
  /* color: white; */
}

.box__header-content {
  font-size: 1.6rem;
  /* color: white; */
}

.box__sub-header {
  /* color: #e6ef5f; */
  padding-bottom: .5rem;
  margin-top: -0.5rem;
}

.box__price-content {
  width: 10rem;
  text-align: right;
}

@media (min-width: 320px) and (max-width: 575.99px) {
  .box__container {
    width: 100%;
  }

  .box__header-content {
    font-size: 0.9rem;
    /* color: white; */
  }

  .box__sub-header {
    margin-top: -0.3rem;
    line-height: 1;
    font-size: 0.8rem;
  }

  .box__description {
    font-size: 0.8rem;
  }

  .box__price {
    font-size: 10px;
  }

  .box__price-content {
    width: 13rem;
    text-align: center;
  }

}

@media (min-width: 320px) and (max-width: 767.99px) {
  .box__header-mobile-container {
    width: 100%;
    /* max-width: 85%; */
    word-break: break-all;
  }
}

@media (min-width: 768px) and (max-width: 914.99px) {
  .shortTimeOffer {
    position: absolute;
    right: 3%;
    top: -15%;
    z-index: 2;
  }
}

@media (min-width: 425px) and (max-width: 575.99px) {
  .box__header {
    font-size: 2.6rem;
  }
  .box__header-content {
    font-size: 1.1rem;
  }
}

@media (min-width: 576px) {
  .box__header {
    font-size: 3rem;
    padding-top: 5rem;
  }
}

.box__header-price {
  font-size: 3rem;
  /* color: white; */
}

@media (min-width: 425px) and (max-width: 575.99px) {
  .box__header-price {
    font-size: 2.6rem;
  }
}

@media (min-width: 576px) {
  .box__header-price {
    font-size: 4rem;
    padding-top: 5rem;
  }
}

/* @media (min-width: 425px) and (max-width: 575.99px) {
  .box__price {
    font-size: 1rem;
  }
} */

@media (min-width: 425px) and (max-width: 575.99px) {
  .box__price {
    font-size: 0.7rem;
  }
}

@media (min-width: 576px) and (max-width: 929.99px) {
  .box__price {
    font-size: 1.0rem;
  }
}

@media (min-width: 930px) {
  .box__price {
    font-size: 1.1rem;
  }
}

.box__sup {
  font-size: 0.7rem;
  top: -0.9em;
}

.box__description {
  /* color: #F2FFD4; */
  font-family: "Carter One", cursive;
  width: 95%;
}


.box__price,
.box__header,
.box__sub-header,
.box__header-content {
  font-family: "Carter One", cursive;
  /* text-transform: uppercase; */
}

.box__image {
  width: 80%;
  object-fit: contain;
  z-index: 2
}

@media (min-width: 576px) {
  .box__image {
    width: 25%;
  }
}

.box__header,
.box__price,
.box__description {
  z-index: 4;
}

@media (min-width: 320px) and (max-width: 424.99px) {
  /* .box__details:before {
        font-size  : 4rem;
        top: 0;
    } */

  .box__no-image {
    margin-top: 8rem;
  }
}

.box__padding {
  padding: 5px 0px 5px 10px;
}

.box {
  overflow: visible;
}

/* .box__glow {
  display: block;
} */
.box__glow:before {
  content: "";
  display: block;
  width: 100%;
  /* z-index: 10; */
  position: absolute;
  left: 50%;
  height: 100%;
  bottom: 0;
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
}

.box .new {
  position: absolute;
  width: 7rem;
  left: -35px;
  top: -20px;
  z-index: 3;
}

@media (min-width: 425px) and (max-width: 575.99px) {
  .box .new {
    width: 9rem;
  }
}

@media (min-width: 320px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1200px;
  }
}