@charset "utf-8";

/* Main CSS */

/* Core Styles */

* {
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    color: #383838;
    font-family: klavika, sans-serif;
}

p {
    font-size: 0.875rem;
    font-weight: 300;
}

figure {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

.site-wrap {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.button {
    display: inline-block;
    color: #383838;
    background-color: #d5da26;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1875rem;
    letter-spacing: 0em;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.button a {
    display: inline-block;
    padding: 0.4em 0.8em;
    color: inherit;
    text-decoration: none;
}

.button a:hover {
    text-decoration: underline;
}

/* Site Header */

.site-header {
    display: flex;
    justify-content: space-between;
}

.claim h1 {
    margin: 0 1rem 0.8rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.claim h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #a6c0bf;
}

.claim p {
    margin: 0.4rem 0;
}

.logo {
    max-width: 120px;
}

/* Main Nav */

.btn-logout {
    position: absolute;
    top: 110px;
    right: 2rem;
}

.btn-logout a {
    color: #383838;
    text-decoration: none;
}

.btn-logout::before {
    content: url(../img/logout.png);
    position: absolute;
    top: -2px;
    left: -18px;
}

.main-nav {
    margin: 1.5rem 0 1rem 0;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul li {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.main-nav ul li a {
    color: inherit;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
    font-weight: 700;
    text-decoration: underline;
}

/* Main Content */

main {
    display: flex;
    flex-direction: column-reverse;
    /* height: 100%; */
}

/* Cards */

/* .card-wrap {
    width: calc(100% - 300px);
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
} */

.card-item-wrap {
    position: relative;
    width: calc(100% - 0rem);
    margin-bottom: 1rem;
    padding-bottom: 3rem;
    background-color: #ffffff;
    border: 2px solid #f6f6f7;
    box-shadow: 0px 4px 8px 0px rgba(56, 56, 56, 0.04), 0px 16px 24px 0px rgba(0, 0, 0, 0.08);
}

.card-item-wrap .button {
    position: absolute;
    left: 1rem;
    bottom: 0;
}

.card-content-wrap {
    padding: 1rem;
}

.card-content-wrap h3 {
    margin-bottom: 0.2rem;
}

.card-content-wrap .price {
    margin-top: 0.2rem;
    color: #a6c0bf;
    /* color: #d5da26; */
    font-size: 0.9rem;
    font-weight: 700;
}

/* Result Box */

.result-box-wrap {
    /* width: 300px; */
    /* min-width: 300px; */
    /* margin-left: 1rem; */
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f4f4f4;
    overflow-y: scroll;
}

.result-box-wrap h3 {
    padding-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

.result-box-inner-wrap {
    position: relative;
}

.result-box-wrap .button {
    width: calc(100% - 0);
    position: absolute;
    left: 0rem;
    bottom: -1rem;
    text-align: center;
}

.result-box {
    padding: 0 0 3rem 0;
}

.result-box h4 {
    margin: 0 0 0.2rem 0;
}

.result-box .cart-item {
    position: relative;
    padding: 0.5rem 2rem 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.result-box .cart-item a {
    position: absolute;
    top: 4px;
    right: 0;
}

.result-box .cart-item h4 {
    font-size: 1rem;
}

.result-box .cart-item span {
    font-size: 1rem;
    font-weight: 300;
}

.result-box .cart-item a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/trash-icon-green.png);
    background-size: 80%;
    background-repeat: no-repeat;
}

.result-box .cart-item a:hover::before {
    background-image: url(../img/trash-icon-black.png);
}

.cart-alert {
    color: red;
    font-weight: 400;
}

/* Login Form */

.fe-login-form input,
.fe-login-form button {
    padding: 1rem;
}

.fe-login-form button {
    background-color: #d5da26;
    border: 2px solid #d5da26;
}

.fe-login-form button:hover {
    border: 2px solid #383838;
}

.new-fe-passwd {
    padding-top: 2rem;
}

.fe-login-error {
    color: red;
}

/* Checkout Form */

#overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.checkout-form-wrap {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    max-width: 80%;
    height: auto;
    padding: 1rem;
    color: #383838;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: all 1s;
    z-index: 200;
}

#btn-checkout-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px;
    text-transform: uppercase;
    cursor: pointer;
}

.checkout-form-wrap p {
    margin: 0.4rem 0;
}

.checkout-form-wrap p input,
.checkout-form-wrap p textarea {
    width: 100%;
    padding: 0.4rem;
}

.checkout-form-wrap p textarea {
    height: 120px;
}

.checkout-form-wrap p input[type='submit'] {
    padding: 0.6rem 0.4rem;
    color: #383838;
    background-color: #d5da26;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.checkout-form-wrap p input[type='submit']:hover {
    color: #d5da26;
    background-color: #383838;
}

.checkout-form-wrap .datenschutz {
    margin: 1rem 0;
}

.checkout-form-wrap .datenschutz input {
    display: inline-block;
    width: auto;
    margin-right: 0.4rem;
}

.checkout-form-wrap .datenschutz a {
    color: #383838;
}

/* Checkout */

.checkout h2 {
    font-size: 2.5rem;
}

.checkout h3 {
    font-size: 1.5rem;
}

.checkout-send-msg p {
    font-size: 1.4rem;
    font-weight: 700;
}

.checkout-send-msg .mail-msg-ok {
    color: #d5da26;
}

.checkout-send-msg .mail-msg-fail {
    color: red;
}

.checkout-box {
    display: flex;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.checkout-customer {
    width: 40%;
}

.checkout-products .checkout-item {
    padding-bottom: 1rem;
}

.checkout-products .checkout-item p {
    margin: 0;
}

.checkout-products .checkout-item p:first-of-type {
    margin-bottom: 0.2rem;
    font-weight: bold;
}

/* Site Footer */

.site-footer {
    width: 100%;
    /* position: absolute;
    left: 0;
    right: 0;
    bottom: 0; */
    /* background-color: aqua; */
}

.site-footer .inprint {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
}

.site-footer .inprint li {
    font-size: 0.875rem;
}

.site-footer .inprint li::after {
    content: "|";
}

.site-footer .inprint li:last-child::after {
    content: "";
}

.site-footer .inprint li a {
    /* font-size: 0.875rem; */
    font-weight: 300;
    color: inherit;
    padding: 0 1rem;
    text-decoration: none;
}

/* Media Queries */

@media screen and (min-width: 800px) {
    .logo {
        max-width: 180px;
    }
    .main-nav {
        margin: 2.5rem 0 2rem 0;
    }
    main {
        flex-direction: row;
        height: calc(100% - 275px);
    }



    .btn-logout {
        top: 190px;
    }

    .card-wrap {
        width: calc(100% - 300px);
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        overflow-y: scroll;
    }




    .claim h1 {
        margin: 1rem 0 0.8rem 0;
        font-size: 3rem;
    }

    .card-wrap {
        width: calc(100% - 250px);
        gap: 2rem;
    }

    .card-item-wrap {
        width: calc(50% - 1rem);
        margin-bottom: 0;
    }

    .result-box-wrap {
        width: 250px;
        min-width: 250px;
        margin-left: 1rem;
        margin-bottom: 0;
    }

    .site-footer {
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* @media screen and (min-width: 840px) {
    .logo {
        max-width: 180px;
    }

    .claim h1 {
        font-size: 3rem;
    }

    .card-wrap {
        width: calc(100% - 250px);
        gap: 2rem;
    }

    .card-item-wrap {
        width: calc(50% - 1rem);
    }

    .result-box-wrap {
        width: 250px;
        min-width: 250px;
        margin-left: 1rem;
    }
} */

@media screen and (min-width: 1200px) {

    .logo {
        max-width: 200px;
    }

    .claim h1 {
        font-size: 3.5rem;
    }

    .card-wrap {
        width: calc(100% - 300px);
    }

    .card-item-wrap {
        width: calc(33.33% - 2rem);
    }

    .result-box-wrap {
        width: 300px;
        min-width: 300px;
    }
}


/* Fonts */

@font-face {
    font-family: klavika;
    src: url("../fonts/klavika/klavika-light.otf");
    font-weight: 300;
}

@font-face {
    font-family: klavika;
    src: url("../fonts/klavika/klavika-medium.otf");
    font-weight: 500;
}

@font-face {
    font-family: klavika;
    src: url("../fonts/klavika/klavika-bold.otf");
    font-weight: 700;
}