@font-face {
    font-family: 'framboisier';
    src: url('../fonts/framboisier-bold.ttf');
}

@font-face {
    font-family: 'oxygen-regular';
    src: url('../fonts/oxygen-regular.ttf');
}

* {
  user-select: none;
}

.subheadline {
  font-family: 'oxygen-regular', Verdana, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

p {
    width: fit-content;
    margin: 0;
}

.tiles .tile-cont .tile .bottom p {
  text-transform: uppercase;
}

.disNone {
  display: none !important;
}

.display-flex-column {
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 320px) {
    body {
        background-image: url('../images/overall-background.png');
        background-position: top left;
        margin: 0;
    }

    .page-cont {
        width: 320px;
        margin: 0 auto;
        background-color: white;
        overflow-x: hidden;
    }

    .page-cont-bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        background-color: #B59A76;
        background-image: url('../images/index-bg-320.svg');
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 100%;
        margin-top: -20px;
        padding-bottom: 50px;
    }

    .hide-at-375 {
      display: none;
    }

    .hide-at-768 {
        display: block;
    }

    .hide-at-1139 {
        display: none;
    }

    .show-at-1139 {
        display: none;
    }

    .top {
        display: flex;
        justify-content: space-between;
        width: calc(260%/3);
        margin: 73px 0 0 19px;
    }

    .top .top-left {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 18px;
    }

    .top .top-left h1 {
        width: 193px;
        font-family: 'framboisier';
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
        margin: 0;
    }

    .top .page-number {
        align-self: flex-start;
        margin-top: 14px;
    }

    .audio {
        display: flex;
        flex-direction: column;
        column-gap: 10px;
        margin: 10px 0px 0px 57px;
    }

    .audio .listen-to-text-reading {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        width: fit-content;
        margin-left: 3px;
    }

    .audio p {
        font-family: 'oxygen-regular', Verdana, sans-serif;
        font-size: 16px;
        font-weight: 400;
    }

    .textblock {
        width: 263px;
        /* margin: 74px auto 0 auto; */
        margin: 114px auto 0 auto;
    }

    .textblock p {
        font-family: 'oxygen-regular', Verdana, sans-serif;
        font-size: 18px;
        line-height: 22px;
        font-weight: 400;
    }

    .tiles {
        display: flex;
        flex-direction: column;
        width: 306px;
        margin: 35.54px auto 0 auto;
    }

    .tiles .tile-cont {
        width: fit-content;
        position: relative;
        margin-top: -71px;
        width: 198.4px;
        height: 199.59px;
    }

    .tiles .tile-cont .tile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background-color: white;
        width: 100%;
        height: 100%;
    }

    .tiles .tile-cont .tile .top {
        display: flex;
        align-items: center;
        justify-content:center;
        width: 100%;
        padding: 0;
        margin: 0 !important;
    }

    figure {
      display: flex;
      margin: 0 !important;
    }

    .tiles .tile-cont .tile .top img {
      width: 100%;
    }

    .tiles .tile-cont .tile .bottom {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 59px;
        padding-top: 5px;
        box-sizing: border-box;
    }

    .tiles .tile-cont .tile .bottom p {
        font-family: 'framboisier', Verdana, sans-serif;
        font-size: 15.5px;
        font-weight: 400;
        width: fit-content;
    }

    .tiles .tile-cont .tile-arrow {
        position: absolute;
        bottom: -14.21px;

    }

    .tiles .tile-cont:nth-child(1) {
        margin-top: 0;
    }

    .tiles .tile-cont:nth-child(2n-1) {
        align-self: flex-start;
    }

    .bottom figure img {
      width: 32px !important;
      height: auto !important;
      position: absolute;
      top: 84%;
    }

    .tile-cont:nth-child(2n-1) .tile .bottom figure img {
      left: 50%;
    }

    .tile-cont:nth-child(2n) .tile .bottom figure img {
      right: 48%;
    }

    /* .tiles .tile-cont:nth-child(2n-1) .tile {
        clip-path: polygon(calc(1335%/199.59) calc(1526%/197.4), calc(8694%/199.59) calc(84%/197.4), calc(19959%/199.59) calc(11381%/197.4), calc(12678%/199.59) calc(19740%/197.4), calc(0%/199.59) calc(19740%/197.4), calc(0%/199.59) calc(7879%/197.4));
    } */

    /* .tiles .tile-cont:nth-child(1) .tile {
        width: 199.33px;
        height: 197.37px;
        clip-path: polygon(calc(86.23%*100/199.33) calc(0.03%*100/197.37), calc(199.33%*100/199.33) calc(112.85%*100/197.37), calc(126.78%*100/199.33) calc(197.4%*100/197.37), calc(0%*100/199.33) calc(197.37%*100/197.37), calc(0%*100/199.33) calc(77.98%*100/197.37), calc(13.38%*100/199.33) calc(14.14%*100/197.37));
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
        clip-path: polygon(calc(86.23%*100/195.59) calc(0.03%*100/197.4), calc(199.33%*100/195.59) calc(112.85%*100/197.4), calc(126.78%*100/195.59) calc(197.4%*100/197.4), calc(0%*100/195.59) calc(197.4%*100/197.4), calc(0%*100/195.59) calc(77.98%*100/197.4), calc(13.38%*100/195.59) calc(14.14%*100/197.4));
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(19.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(%*100/191.49) calc(%*100/195.66));
        clip-path: polygon(calc(86.23%*100/199.59) calc(0.03%*100/197.4), calc(199.33%*100/199.59) calc(112.85%*100/197.4), calc(126.78%*100/199.59) calc(197.4%*100/197.4), calc(0%*100/199.59) calc(197.4%*100/197.4), calc(0%*100/199.59) calc(77.98%*100/197.4), calc(13.38%*100/199.59) calc(14.14%*100/197.4));
        clip-path: polygon(calc(91.75%*100/181.34) calc(0.61%*100/180.46), calc(172.16%*100/181.34) calc(13.5%*100/180.46), calc(181.09%*100/181.34) calc(45.65%*100/180.46), calc(181.34%*100/181.34) calc(180.46%*100/180.46), calc(0.13%*100/181.34) calc(180.46%*100/180.46), calc(0%*100/181.34) calc(108.43%*100/180.46));
        clip-path: polygon(calc(86.23%*100/199.33) calc(0%*100/197.37), calc(199.33%*100/199.33) calc(112.82%*100/197.37), calc(126.78%*100/199.33) calc(197.37%*100/197.37), calc(0%*100/199.33) calc(197.37%*100/197.37), calc(0%*100/199.33) calc(77.95%*100/197.37), calc(13.38%*100/199.33) calc(14.12%*100/197.37));
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
    }

    .tiles .tile-cont:nth-child(2) .tile {
        width: 191.49px;
        height: 195.66px;
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
    }

    .tiles .tile-cont:nth-child(3) .tile {
        width: 199.59px;
        height: 197.4px;
        clip-path: polygon(calc(86.23%*100/195.59) calc(0.03%*100/197.4), calc(199.33%*100/195.59) calc(112.85%*100/197.4), calc(126.78%*100/195.59) calc(197.4%*100/197.4), calc(0%*100/195.59) calc(197.4%*100/197.4), calc(0%*100/195.59) calc(77.98%*100/197.4), calc(13.38%*100/195.59) calc(14.14%*100/197.4));
    }

    .tiles .tile-cont:nth-child(4) .tile {
        width: 191.49px;
        height: 195.66px;
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
    }

    .tiles .tile-cont:nth-child(5) .tile {
        width: 199.59px;
        height: 197.4px;
        clip-path: polygon(calc(86.23%*100/199.59) calc(0.03%*100/197.4), calc(199.33%*100/199.59) calc(112.85%*100/197.4), calc(126.78%*100/199.59) calc(197.4%*100/197.4), calc(0%*100/199.59) calc(197.4%*100/197.4), calc(0%*100/199.59) calc(77.98%*100/197.4), calc(13.38%*100/199.59) calc(14.14%*100/197.4));
    }

    .tiles .tile-cont:nth-child(6) {
      width: fit-content;
      height: fit-content;
    }

    .tiles .tile-cont:nth-child(6) .tile {
        width: 181.34px;
        height: 180.46px;
        /clip-path: polygon(calc(91.75%*100/181.34) calc(0.61%*100/180.46), calc(172.16%*100/181.34) calc(13.5%*100/180.46), calc(181.09%*100/181.34) calc(45.65%*100/180.46), calc(181.34%*100/181.34) calc(180.46%*100/180.46), calc(0.13%*100/181.34) calc(180.46%*100/180.46), calc(0%*100/181.34) calc(108.43%*100/180.46));
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
    }

    .tiles .tile-cont:nth-child(7) .tile {
        width: 199.33px;
        height: 197.37px;
        clip-path: polygon(calc(86.23%*100/199.33) calc(0%*100/197.37), calc(199.33%*100/199.33) calc(112.82%*100/197.37), calc(126.78%*100/199.33) calc(197.37%*100/197.37), calc(0%*100/199.33) calc(197.37%*100/197.37), calc(0%*100/199.33) calc(77.95%*100/197.37), calc(13.38%*100/199.33) calc(14.12%*100/197.37));
    }

    .tiles .tile-cont:nth-child(8) .tile {
        width: 191.49px;
        height: 195.66px;
        clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
    } */

    .tiles .tile-cont:nth-child(2n-1) .tile {
        width: 199.59px;
        height: 197.4px;
        clip-path: polygon(calc(0*100%/199.33) calc(77.95*100%/197.37), calc(13.38*100%/199.33) calc(14.12*100%/197.37), calc(86.23*100%/199.33) calc(0*100%/197.37), calc(199.33*100%/199.33) calc(112.82*100%/197.37), calc(126.78*100%/199.33) calc(197.37*100%/197.37), calc(0*100%/199.33) calc(197.37*100%/197.37));
    }

    .tiles .tile-cont:nth-child(2n-1) .tile .bottom {
        background-color: black;
        padding-left: 5px;
        box-sizing: border-box;
    }

    .tiles .tile-cont:nth-child(2n-1) .tile .bottom p {
        color: white;
    }

    .tiles .tile-cont:nth-child(2n-1) .tile-arrow {
        left: -4px;
    }

    .tiles .tile-cont:nth-child(2n) {
        align-self: flex-end;
    }

    .tiles .tile-cont:nth-child(2n) .tile {
        align-self: flex-end;
        width: 191.49px;
        height: 195.66px;
            clip-path: polygon(calc(104.26%*100/191.49) calc(0.29%*100/195.66), calc(177.11%*100/191.49) calc(14.4%*100/195.66), calc(190.49%*100/191.49) calc(78.24%*100/195.66), calc(190.49%*100/191.49) calc(195.66%*100/195.66), calc(74.84%*100/191.49) calc(195.66%*100/195.66), calc(0.04%*100/191.49) calc(120.05%*100/195.66));
        /* clip-path: polygon(calc(100% - 1335%/199.59) calc(1526%/197.4), calc(100% - 8694%/199.59) calc(84%/197.4), calc(100% - 19959%/199.59) calc(11381%/197.4), calc(100% - 12678%/199.59) calc(19740%/197.4), calc(100% - 0%/199.59) calc(19740%/197.4), calc(100% - 0%/199.59) calc(7879%/197.4)); */
    }

    .tiles .tile-cont:nth-child(2n) .tile .bottom {
        justify-content: flex-end;
        background-color: white;
        padding-right: 5px;
        box-sizing: border-box;
    }

    .tiles .tile-cont:nth-child(2n) .tile .bottom p {
        color: black;
        text-align: right;
    }

    .tiles .tile-cont:nth-child(2n) .tile-arrow {
        right: -4px;
    }

    .tiles .tile-cont:last-child .tile {
      /* clip-path: polygon(calc(100% - 1335%/199.59) calc(1526%/197.4), calc(100% - 8694%/199.59) calc(84%/197.4), calc(100% - 19959%/199.59) calc(11381%/197.4), calc(0% - 12678%/199.59) calc(19740%/197.4), calc(100% - 0%/199.59) calc(19740%/197.4), calc(100% - 0%/199.59) calc(7879%/197.4)); */
    }
}

@media only screen and (min-width: 375px) {
  .page-cont {
    width: 375px;
  }
  
  .page-cont-bottom {
    background-image: url('/fileadmin/templates/images/index-bg-375.svg');
  }
  
  .top .top-left h1 {
    font-size: 29px;
    line-height: 31px;
    width: 22opx;
  }

  .textblock {
    width: 307px;
  }
}

@media only screen and (min-width: 768px) {
    .hide-at-375 {
      display: block;
    }
  
    .hide-at-768 {
        display: none;
    }
    
    .hide-at-1139 {
        display: block;
    }

    .show-at-1139 {
      display: none;
    }

    .page-cont {
        width: 768px;
    }

    .page-cont-bottom {
        min-height: 869px;
        background-image: url('../images/index-bg-768.svg');
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 100%;
    }

    .top {
        width: calc(100% - 81px);
        margin-left: 17px;
    }
    
    .textblock {
        width: 593px;
        margin: 74px 0 0 59px;
    }

    .textblock p {
      font-size: 18px;
      line-height: 20px;
    }

    .tiles {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 33.05px;
        row-gap: 86px;
        width: 100%;
        padding-left: 59px;
        box-sizing: border-box;
    }
    
    .tiles .tile-cont {
        margin: 0;
    }
}

@media only screen and (min-width: 1139px) {
    .hide-at-1139 {
        display: none;
    }

    .show-at-1139 {
        display: block;
    }
  
    .page-cont {
        width: 1139px;
        height: 100vh;
    }

    .page-cont-bottom {
        background-image: url('../images/index-bg-1139.svg');
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 100%;
    }

    .top .top-left h1 {
        width: 384px;
        font-size: 34px;
        line-height: 36px;
    }

    .textblock {
        width: 730px;
        margin: 140px 0 0 59px;
    }
}