/*
    Fonts
 */

/*  FLF */

@font-face {
    font-family: 'FLF';
    src: url('../fonts/sansserifbldflf-italic-webfont.woff2') format('woff2'),
    url('../fonts/sansserifbldflf-italic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'FLF';
    src: url('../fonts/sansserifbldflf-webfont.woff2') format('woff2'),
    url('../fonts/sansserifbldflf-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'FLF';
    src: url('../fonts/sansserifflf-italic-webfont.woff2') format('woff2'),
    url('../fonts/sansserifflf-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'FLF';
    src: url('../fonts/sansserifflf-webfont.woff2') format('woff2'),
    url('../fonts/sansserifflf-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Ogg */

@font-face {
    font-family: 'Ogg';
    src: url('../fonts/Ogg-Regular.woff2') format('woff2'),
    url('../fonts/Ogg-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Ogg';
    src: url('../fonts/Ogg-Bold.woff2') format('woff2'),
    url('../fonts/Ogg-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Ogg';
    src: url('../fonts/Ogg-Italic.woff2') format('woff2'),
    url('../fonts/Ogg-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Ogg';
    src: url('../fonts/Ogg-BoldItalic.woff2') format('woff2'),
    url('../fonts/Ogg-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

/*
    Defaults
 */

:root {
    --font-heading: 'Ogg', 'Times New Roman', serif;
    --font-text: 'FLF', 'Helvetica', sans-serif;
    --text-color: #000000;
    --min-width-desktop: '769px';
    --color-text-heading: #000000;
}
* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    margin: 0;
    font-family: var(--font-text);
    font-size: 1.6rem;
    line-height: 1.15;
}
figure {
    margin: 0;
}
img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
}
h2 {
    font-size: 3.2rem;
}
a
p,
span,
li {
    font-family: var(--font-text);
}
a {
    color: var(--text-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
}

/*
     Header
 */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

header .logo {
    width: 190px;
    padding: 1rem;
    background: #FFFFFF;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*
    Sections
 */
main {
    width: 100%;
}
.section {
    width: 100%;
}
.hero {
    position: relative;
    padding: 1rem;
}
.hero .hero-content {
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    padding: 2.5%;
    display: flex;
    align-items: flex-start;
}
.hero .hero-content h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--color-text-heading);
    font-size: 3.2rem;
    line-height: 1;
}
.hero .hero-content .general {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    font-weight: bold;
    width: 300px;
    margin-left: auto;
    font-size: 2rem;
}
.hero .hero-content .general img {
    max-width: 200px;
    margin-left: 1rem;
    margin-right: 0;
}
.two-column .column-text {
    text-align: center;
    padding: 2rem 0 4rem;
}
.two-column .column-text p {
    font-size: 2rem;
}
.product-list-wrapper {
    padding: 2rem 0;
}
.product-list-wrapper .product-list {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem 0;
}
.product-list-wrapper .products-title h2 {
    font-family: var(--font-text);
    text-align: center;
    text-transform: uppercase;
}
.product-list-wrapper .products-title h2 span {
    width: 50px;
    height: 2px;
    background: #000000;
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    margin: 1rem 0;
}
.product-list-wrapper .product-list .item {
    margin-left: 2rem;
    flex-basis: calc(50% - 1rem);
}
.product-list-wrapper .product-list .item:first-child,
.product-list-wrapper .product-list .item:nth-child(2n + 3) {
    margin-left: 0;
}

.product-list-wrapper .product-list .item .item-image {
    position: relative;
}
.product-list-wrapper .product-list .item .item-image img {

}
.product-list-wrapper .product-list .item .item-image .main {
    position: relative;
    z-index: 1;
}
.product-list-wrapper .product-list .item .item-image .hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 2;
    transition: all .25s ease-in-out;
}
.product-list-wrapper .product-list .item .item-image:hover .hover {
    opacity: 1;
}
.product-list-wrapper .product-list .item .item-content {
    padding: 2rem 0 3rem;
}
.product-list-wrapper .product-list .item .subtitle {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 2.2rem;
}
.product-list-wrapper .product-list .item .title {
    margin-top: 0;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
footer.page-footer {
    text-align: center;
    padding: 2rem;
}
footer.page-footer .footer-menu {
    list-style: none outside none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 4rem;
    padding-left: 0;
}
footer.page-footer .footer-menu li {
    margin-top: 2rem;
}
footer.page-footer .footer-menu li:first-child {
    margin-top: 0;
}
footer.page-footer .footer-menu li a {
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .hero .hero-content {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        display: flex;
        flex-direction: column;
    }
    .hero .hero-content h1 {
        width: 100%;
        text-align: center;
        padding: 2rem 0;
    }
    .hero .hero-content h1 br {
        content: '';
    }
    .hero .hero-content h1 br:after {
        content: ' ';
    }
    .hero .hero-content .general {
        width: 100%;
        flex-direction: column;
    }
    .hero .hero-content .general img {
        margin-left: 0;
    }
    .product-list-wrapper .products-title h2 {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 769px) {

    h2 {
        font-size: 4.8rem;
    }
    .hero {
        padding: 2rem;
    }
    .hero .hero-content {
        top: 2rem;
        left: 2rem;
        right: 2rem;
        bottom: 2rem;
    }
    .hero .hero-content h1 {
        font-size: 6.4rem;
    }
    .two-column .column-text p {
        font-size: 3rem;
    }
    .two-column,
    .two-column > .container {
        display: flex;
        align-items: center;
    }
    .two-column > .column-text,
    .two-column > .container > .column-text {
        flex-basis: 55%;
        padding-left: 2.5%;
    }
    .two-column > .column-text:first-child,
    .two-column > .container > .column-text:first-child {
        padding-right: 2.5%;
        padding-left: 0;
    }
    .two-column > .column-image,
    .two-column > .container > .column-image {
        flex-basis: 45%;
    }
    .product-list-wrapper .products-title h2 span:before {
        content: '\00B7';
    }
    .product-list-wrapper .product-list .item {
        flex-basis: calc((100% / 3) - (4rem/3));
    }
    .product-list-wrapper .product-list .item:nth-child(2n + 3) {
        margin-left: 2rem;
    }
    .product-list-wrapper .product-list .item:first-child,
    .product-list-wrapper .product-list .item:nth-child(3n + 4) {
        margin-left: 0;
    }
    footer.page-footer .footer-menu {
        flex-direction: row;
    }
    footer.page-footer .footer-menu li {
        margin-top: 0;
        margin-left: 2rem;
    }
    footer.page-footer .footer-menu li:first-child {
        margin-left: 0;
    }

}

@media (min-width: 1024px) {

    .product-list-wrapper .products-title h2 span {
        width: auto;
        height: unset;
        background: transparent;
        display: inline;
        left: unset;
        position: unset;
        transform: none;
        margin: 0 0.5ch;
    }
    .product-list-wrapper .product-list .item {
        flex-basis: calc((100% / 4) - (6rem/4));
    }
    .product-list-wrapper .product-list .item:nth-child(3n + 4) {
        margin-left: 2rem;
    }
    .product-list-wrapper .product-list .item:first-child,
    .product-list-wrapper .product-list .item:nth-child(4n + 5) {
        margin-left: 0;
    }

}

@media (min-width: 1280px) {

    h2 {
        font-size: 6.4rem;
    }

    .product-list-wrapper .product-list .item {
        flex-basis: calc((100% / 5) - (8rem/5));
    }
    .product-list-wrapper .product-list .item:nth-child(4n + 5) {
        margin-left: 2rem;
    }
    .product-list-wrapper .product-list .item:first-child,
    .product-list-wrapper .product-list .item:nth-child(5n + 6) {
        margin-left: 0;
    }

}