@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300,400;700&display=swap');
* {
    box-sizing: border-box;
}
body {
    font-size: 16px;   
    background-color: #FEFEFE;
    color: #444;
    margin: 0;
    padding: 0;
}



header {
    font-family: 'Montserrat Alternates', sans-serif;
    color: goldenrod;
}


.cancel-payment .form-actions button {
    background-color: #a94442;
    color: white;
}
header h1, .login-name {
    font-family: 'Montserrat Alternates', sans-serif;   
    font-size: 4rem;
    margin-bottom: 1rem;
    color: goldenrod;
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border: 1px solid #DDD;
    
}

.login-error {
    height: 1rem;
    font-family: 'Montserrat', sans-serif;
    color:#a94442;
    margin-bottom: 0.25rem;
    text-align: center;
}
.login-container button {
    color: white;
    background-color: #006838;
    transition: 0.2s all;
    width: 100%;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 4px;
}

.login-container button:hover {
    background-color: #44bd85;
}

.login-container {
    max-width: 400px;
}
.container {
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}


.smallHeader {
    width: 100%;
    padding: 1rem;
    min-height: 24px;
    position: fixed;
    display: flex;
    flex-direction: row;
    top: 0;
    font-family: 'Montserrat', sans-serif;
    align-items: center;
    z-index: 5000;
    background-color: white;
    border-bottom: 1px solid #F1F1F1;
}

.nav-greetings {
    flex-grow: 1;
}

.basket-container {
    padding: 2rem;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.actions-cell {
    padding-left: 0.5rem;

}
.product-table {
    font-size: 0.875rem;
    width: 100%;
}
.basket-back {
    padding: 0.5rem;
    border-radius: 3px;
    border: 2px solid #444;
    text-decoration: none;
    color: #444;
    font-weight: bold;
    transition: 0.3s all;
}


.no-products {
    text-align: center;
    font-weight: bold;
}
.basket-back:hover {
    background-color: #CCC;
}
.basket-container h1 {
    color: goldenrod;
}

.basket-intro {
    color: #666;
    margin-bottom: 2rem;
}
.nav-navigation, .nav-navigation-large {
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #444;    
    justify-self: flex-end;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.title-cell {
    padding: 0.5rem;
    text-align: left;
}
.amount-cell {
    font-weight: bold;
    text-align: right;
}
.nav-navigation-large {
    position: absolute;
    right: 1rem;
    top: 1rem;
    margin-top: 0%;
}

.nav-name {
    font-size: 1.5rem;
    font-family: 'Montserrat Alternates', sans-serif;
    color: goldenrod;
    margin-right: 1rem;
}

@media screen and (max-width: 495px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    }

    .nav-navigation-text {
        display: none;
    }

    .nav-greetings {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 350px) {
    .container {
        display: flex;
        flex-direction: column;
    }
}

.nav-navigation-text {
    margin-right: 1rem;
}

.icon-wrapper {
    position: relative;
    width: 36px;
    margin-right: 1rem;
    height: 36px;
}

.icon {
    position: absolute;
    left: 0;
    top: 0;
}

.counter {
    width: 18px;
    height: 18px;
    position: absolute;
    z-index: 100;
    left: -4;
    bottom: -4px;
    border-radius: 13px;
    color: white;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #006838;
}

.container .product-cell {
    position: relative;
    background-color: white;
    cursor: pointer;
    border-radius: 3px;
    padding: 0.5rem;
    border: 1px solid #F1F1F1;
}

.price-pill {
    position: absolute;
    bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    right: 1rem;
    font-weight: bold;
    font-size: 0.75rem;
    background-color: #006838;
    padding: 0.25rem 0.5rem;
    color: white;
    border-radius: 0.75rem;
}

.price-pill2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.75rem;
    background-color: #006838;
    padding: 0.25rem 0.5rem;
    color: white;
    border-radius: 0.75rem;
    display: inline-block;
    margin-left: 1rem
}

.product-cell-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.sold-out {
    opacity: 0.2;
}

.container div.picture {
    grid-column: 1 / span 2;
    aspect-ratio: initial;
}


.nog {
    font-weight: 300;
}
.container div.picture-vert {
    grid-row: span 2;
    aspect-ratio: initial;
}

header {
    padding: 1rem;
    text-align: center;
}

.modal {
    position: fixed;
    bottom: 0;
    left: 0;
    font-family: 'Montserrat', sans-serif;
    right: 0;
    background-color: white;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.25);
    border-top: 1px solid #DDD;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.6);
}

.product-detail {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.product-detail h3 {
    font-weight: bold;
    color: #006838;
    margin-top: 0;
}

.product-detail-desc {
    max-width: 600px;
    font-size: 0.875rem;;

}

.product-detail-image {
    max-width: 200px;
    max-height: 300px;
    margin-bottom: 1rem;
    align-self: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 2rem;

}

.product-detail-image-img {
    max-width: 200px;
    max-height: 300px;
    display: block;
}

@media screen and (max-width:640px)  {
    .product-detail {
        flex-direction: column;
    }

    .product-detail-image {
        max-width: 100px;
        max-height: 100px;
    }
    .price-pill2 {
        margin-top: .5rem;
    }
    .product-detail-image img{
        max-width: 100px;
        max-height: 100px;
    }
}


.picture {
    grid-column: span 2;
    grid-row: span 3;
    position: relative;
    min-height: 400px;
    border-radius: 3px;
    padding: 0.5rem;
    border: 1px solid #F1F1F1;
}


.actual-picture {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
}

.greetings {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    color:#444;
}

.add-product {
    margin-top: 2rem;
    width: 100%;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    padding: 2rem;
    box-sizing: border-box;
    border: 1px solid #F1F1F1;

}

.add-product label, .basket-form label {
    width: 100%;
    padding-bottom:0.25rem;
    font-weight: bold;
    display: block;
    color: #006838;
    box-sizing: border-box;

}

b {
    font-weight: bold;
}

.basket-form {
    margin-top: 2rem;
}

.add-product input, .basket-form input, .basket-form textarea {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #DDD;
    padding: 1rem;
}

.basket-form textarea {
    resize: none;
    height: 100px;
}

.basket-form input {
    margin-bottom: 1rem;
}
.add-product input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;

}
.input-prefix {
    padding: 1rem;
    border: 1px solid #DDD;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    font-weight: bold;
    color: white;
    background-color: #006838;


}

.button-group , .form-actions{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.form-actions button {
    margin-left: 0.5rem;
    transition: 0.2s all;
    background-color: #006838;
    cursor: pointer;
    padding: 1rem 1rem;
    font-weight: bold;
    font-size: 1.rem;
    color: white;
    border-radius: 4px;
    border: 0;
}

.form-actions button:disabled {
    background-color: #ddd;
    cursor:not-allowed;
}

.success-payment {
    color: #3c763d;
    padding: 1rem;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 3px
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
}

.cancel-payment {
    color: #a94442;
    padding: 1rem;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 3px
}

.action-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;

}

.action-button:hover {
    background-color: #CCC;

}

.form-actions button:hover {
    background-color: #44bd85;
}
.button-group button {
    font-weight: bold;
    font-size: 0.75rem;
    background-color: #44bd85;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    color: white;
    border-radius: 0.75rem;
    border: 0;
    margin-left: 0.25rem;
    transition: 0.2s all;
}

.button-group button:disabled {
    background-color: #ddd;
    cursor:not-allowed;
}

.button-group button:hover {
    background-color: #16442e;
}

.input-group {
    display: flex;
    flex-direction: row;

}

.form-group {
    margin-bottom: 1rem;
}
