body {
    margin: 0;
}

body,
td,
th {
    font-family: 'Ubuntu', 'Trebuchet MS', 'Arial', serif;
    font-size: 18px;
}

.logo {
    text-align: center;
}

table.table,
table[align=center]:not([border="0"]) {
    border-collapse: collapse;
    border: 1px solid black;
    margin-bottom: 30px;
}

:where(
    table.table, 
    table[align=center]:not([border="0"])
) tbody :where(td, th) {
    padding: 8px;
}

input {
    padding: 8px;
}

button,
input[type=submit] {
    cursor: pointer;
    line-height: 1.6;
    border: none;
    border-radius: 5px;
    padding: 6px 18px;
    background-color: #fbc867;
}

button.is-main {
    font-size: 1.0rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

input {
    border: 1px solid #899198;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 25%);
}

input:invalid {
    border: 1px solid red;
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgb(220 53 69 / 25%);
}

/* Footer */

footer {
    z-index: 1001;
    background-color: #1e222d;
    position: relative;
    color: #eee;
    padding: 21px 111px 50px 111px;
    line-height: 1.3rem;
    font-size: 16px;
}

footer a {
    color: #3097d1;
}

footer a:hover {
    color: #216a94;
    text-decoration: underline;
}

.footer-div {
    display: flex;
    justify-content: flex-start;
    gap: 107px;
    align-items: baseline;
    margin: 0 auto;
    width: 65%;
}



/* cart element */
.cart-container {
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #f33;
    border-bottom-left-radius: 14px;
    transform-origin: top right;
    /* animation-name: scale;
      animation-duration: 0.2s; */
}

.cart-icon {
    height: 48px;
    width: 48px;
    margin: 6px;
}

.cart-counter {
    position: absolute;
    right: 3px;
    top: 1px;
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
    border: 4px solid #ff3233;
    background-color: white;
    color: black;
    border-radius: 14px;
    padding: 2px 3px;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 17px;
}

.cart-add {
    animation-name: scale;
    animation-duration: 0.5s;
}

.add-to-cart-button {
    cursor: pointer;
    font-size: 18px;
    line-height: 1.6;
    border: none;
    border-radius: 5px;
    padding: 6px 18px;
    background-color: #fbc867;
}

input[type=submit],
input[type=button],
input[type=reset] {
    font-size: 18px;
    line-height: 1.6;
    border: none;
    border-radius: 5px;
    padding: 6px 18px;
    background-color: #fbc867;
}

a.is-main {
    font-size: 1.0rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

a.is-button {
    font-size: 18px;
    line-height: 1.6;
    border: none;
    border-radius: 5px;
    padding: 6px 18px;
    background-color: #fbc867;
    display: inline-block;
    text-decoration: none;
    color: inherit;}

@keyframes scale {
    0% {}

    50% {
        transform: scale(1.5);
    }

    100% {}
}

@keyframes shake {
    25% {
        transform: translateX(6px)
    }

    50% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(2px);
    }

    100% {
        transform: translateX(0);
    }
}