h1 {
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color:rgb(173, 182, 190);
    margin: 0;
}

body {
    font-family: 'Karla', sans-serif;
    font-size: 1.2rem;
}

input, select {
    font-size: 1.2rem;
}

@media screen and (min-width: 600px) {
    body, input, select {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 450px) {
    body, input, select {
        font-size: 2rem;
    }
}

.imageContainer {
    position: relative;
    margin:4px;
}

.imageTextCenter {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 800;
    position: absolute;
    font-size: 3rem;
    top: calc(40% - 3rem);
    left: 50%;
    transform: translate(-50%, -50%);
    rotate: -10deg;
}

.descriptionText {
    font-family: Arial, sans-serif;
    position: relative;
}

.buy-text {
    display: inline-block;
    white-space: wrap;
}

.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: #666;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.message-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #ffffff;
    padding: 0;
    border-radius: 5px 5px 0 0;
    font-family: Arial, sans-serif;
    margin: 0;
}

.checkout-corner {
    position: fixed;
    background-color: white !important;
    z-index: 1000;
    border-radius: 6px;
    padding: 8px;
    right: 20px;
    display: flex;
    align-items: center;
    font-weight: bolder;
    font-family: Arial, sans-serif;
}

.checkout-corner:hover {
    background-color: #6366F1!important;
}

.top-banner {
    position: relative;
    background-color: white !important;
    top: 12px;
    width: 100%;
    height: 2em;
}

.banner-buttons {
    top: 0;
    right: 180px;
}

#cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    cursor: pointer;
}

#cart-count {
    margin-left: 10px;
}

.p-button {
    color: #ffffff;
    background: #6366F1;
    border: 1px solid #6366F1;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    border-radius: 6px;
}

.p-button.p-button-link {
    background: none;
    border: none;
    color: #6366F1;
}

.p-button:enabled:hover, .p-button:not(button):not(a):not(.p-disabled):hover {
    background: #4F46E5;
    color: #ffffff;
    border-color: #4F46E5;
    cursor: pointer;
}

.p-button:enabled:active, .p-button:not(button):not(a):not(.p-disabled):active {
    background: #4338CA;
    color: #ffffff;
    border-color: #4338CA;
}

.p-button.p-button-outlined {
    background-color: transparent;
    color: #6366F1;
    border: 1px solid;
}

.p-button.p-button-rounded {
    border-radius: 3rem;
}

.p-button.p-button-success {
    color: #ffffff;
    background: #22c55e;
    border: 1px solid #22c55e;
}

.p-button.p-button-success:hover {
    background: #1da750;
    border: 1px solid #1da750;
}

#cartContainer {
    font-family: Arial, sans-serif;
    position: fixed;
    top: 80px;
    right: 20px;
    border: 1px solid black;
    padding: 10px;
    background-color: #f8f8f8;
    margin-bottom: 20px;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
}

#cartTotalPrice {
    border: 1px solid #ddd;
    margin: 4px 0;
    padding: 10px;
    display: flex;
    background-color: lightgray; 
    height: 3rem;
    align-items: center;
    justify-content: flex-end;
}

#cartItems .cart-item {
    border: 1px solid #ddd;
    margin: 4px 0;
    padding: 10px;
    background-color: #fff;
    display: flex;
}

#cartItems .cart-item p {
    margin-left: 12px;
}

#cartItems .quantity-item {
    display: flex;
    align-items: center; 
    justify-content: center;
    border-radius: 0%;
    border-top: 1px solid  #6366F1;
    border-bottom: 1px solid  #6366F1;
    padding:0 48px;
}

#cartItems .total-price {
    display: flex;
    align-items: center; 
    justify-content: center;
    margin-left: 16px;
}

.remove-item {
    background-color: #f44336;
    border: 1px #f44336;
}

.hide-cart {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
}