/* Font */
@font-face {
    font-family: 'Mazzard H';
    src: url('assets/fonts/Pepper Type - MazzardH-Regular.woff2') format('woff2'),
    url('assets/fonts/Pepper Type - MazzardH-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mazzard H';
    src: url('assets/fonts/Pepper Type - MazzardH-Bold.woff2') format('woff2'),
    url('assets/fonts/Pepper Type - MazzardH-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Mazzard H', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

/*.container-fluid {
    max-width: 1699px;
}*/

img.website-logo {
    height: 45px;
    width: auto;
    position: relative;
}

/* Navbar */
.navbar-toggler:focus {
    box-shadow: unset;
}

.burger-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger-icon div {
    height: 3px;
    background-color: black;
}

/* Inner Menue */
.offcanvas-header {
    justify-content: flex-end;
}

.btn-close-custom {
    position: relative;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-close-custom span {
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease;
}
/* Erste Linie */
.btn-close-custom span:first-child {
    transform: rotate(45deg);
}
/* Zweite Linie */
.btn-close-custom span:last-child {
    transform: rotate(-45deg);
}

.offcanvas-end {
    transform: translateX(100%);
}

.list-group-item {
    border: none;
}

.list-group-item a {
    font-size: 20px;
    color: #000;
    text-decoration: none;
}

.list-group-item a:hover {
    color: #E3000F;
    text-decoration: none;
    transition: all 0.2s linear;
}

.offcanvas-footer {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    display: flex;
}
.offcanvas-footer a {
    font-size: 20px;
    text-decoration: none;
    color: #000;
    margin: 0.5rem 0;
    padding-right: 2rem;
}

.offcanvas-footer a:hover {
    color: #E3000F;
    transition: all 0.2s linear;
}

/* Main */
.row {
    margin: 0 3rem 0 3rem;
}

.content-block {
    /*height: 775px;*/
    position: relative;
    overflow: hidden;
    transform: skewX(-5deg);
    /*transform-origin: left top;*/
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.bg-image {
    max-width: 115%;
    height: auto;
    transform: skewX(5deg);
    position: relative;
    top: -5%;
    transition: transform 0.3s ease-in-out;
}

.content-block:hover img.bg-image {
    transform: scale(1.1) skewX(5deg);
}

.oblique-special {
    transform: skewX(0deg);
    width: 4px;
    height: 215px;
    background: #E3000F;
    position: absolute;
    z-index: 1;
    right: 0%;
    top: 0%;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1));
    transition: background-color 0.3s ease;
    z-index: 1;
    border-right: solid 4px #000;
}

.content-block:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}

img.centered-logo {
    position: absolute;
    z-index: 1;
    height: 75px;
    width: auto;
    bottom: 40%;
    transform: skewX(5deg);
}

.content {
    position: absolute;
    z-index: 2;
    color: #fff;
    background: #000;
    width: 100%;
    bottom: 0;
    border-right: solid 3px #E3000F;
    padding: 3rem;
}

.content-block:nth-child(4) .content {
    border-right: none;
}

.text {
    transform: skewX(5deg);
}

/* Footer */
.footer-content {
    padding: 1rem 3rem 1rem 3rem;
    text-align: right;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:last-child {
    padding-left: 1rem;
}

footer a:hover {
    color: #E3000F;
    transition: all 0.2s linear;
}

/* Responsive */
@media  (max-width: 1400px) {
    img.bg-image {
        max-width: 150%;
    }
}

@media  (max-width: 1200px) {
    img.bg-image {
        max-width: 175%;
    }

    .content {
        padding: 1rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .content-block:nth-child(3),
    .content-block:nth-child(4) {
        transform: skewX(5deg);
    }

    img.bg-image {
        max-width: 115%;
    }

    .content-block:nth-child(3) img.bg-image,
    .content-block:nth-child(4) img.bg-image,
    .content-block:nth-child(3) img.centered-logo,
    .content-block:nth-child(4) img.centered-logo,
    .content-block:nth-child(3) .text,
    .content-block:nth-child(4) .text {
        transform: skewX(-5deg);
    }

    .content {
        padding: 2rem;
    }

    .content-block:nth-child(4) .content {
        border-right: solid 3px #E3000F;
    }

    .oblique-special {
        display: none;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    .row {
        margin: unset;
    }

    .content-block::before {
        border: none;
    }

    .content-block:nth-child(1),
    .content-block:nth-child(3) {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
        transform: unset;
        transform-origin: unset;
    }

    .content-block:nth-child(2),
    .content-block:nth-child(4) {
        clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
        transform: unset;
        transform-origin: unset;
    }

    .content-block:nth-child(3) img.bg-image,
    .content-block:nth-child(4) img.bg-image,
    .content-block:nth-child(3) img.centered-logo,
    .content-block:nth-child(4) img.centered-logo,
    .content-block:nth-child(3) .text,
    .content-block:nth-child(4) .text {
        transform: skewX(0deg);
    }

    img.bg-image {
        max-width: 105%;
        transform: unset;
    }

    img.centered-logo {
        bottom: 45%;
        transform: unset;
    }

    .content {
        border: none;
        padding: 2rem 6rem 2rem 3rem;
    }

    .content-block:nth-child(4) .content {
        border-right: none;
    }

    .content-block:nth-child(1) .oblique,
    .content-block:nth-child(3) .oblique{
        transform: skewX(-3.5deg);
        width: 4px;
        height: 315px;
        background: #E3000F;
        position: absolute;
        z-index: 1;
        right: 7.5%;
        bottom: 0%;
    }

    .content-block:nth-child(2) .oblique,
    .content-block:nth-child(4) .oblique{
        transform: skewX(3.5deg);
        width: 4px;
        height: 315px;
        background: #E3000F;
        position: absolute;
        z-index: 1;
        right: 3%;
        bottom: 0%;
    }

    .text {
        transform: unset;
    }

    .footer-content {
        text-align: left;
    }
}