@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Thasadith:wght@400;700&display=swap');

body {
    font-family: "Montserrat", 'Thasadith', sans-serif;
    background-color: #eaeaeafa;
    color: #566566;
    position: relative;
}

h1 {
    text-align: center;
    font-size: 3em;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.soaps {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

#soaps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .soap-row {
        flex-direction: column;
    }
}

.soap-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}


@media (min-width: 768px) {
    .soap {
        display: flex;
        flex-direction: column;
        margin: 25px;
        width: 30%;
    }
}

@media (max-width: 768px) {
    .soap {
        display: flex;
        flex-direction: column;
        margin: 25px;
    }
}

.soap img {
    width: 100%;
    margin: 0 auto;
}

.soap-name {
    font-size: 2em;
    font-weight: bold;
    padding: 10px 0;
    margin: auto;
}

.soap-description {
    width: 80%;
    font-size: 1.2em;
    padding: 10px 0;
    margin: auto;
}

.soap-avail {
    font-size: 1.2em;
}

.quantity {
    width: 40px;
    text-align: center;
    margin: 0 10px;
}

.quantity {
    font-size: 1em;
    padding: 10px 0;
    border-radius: 10px;
}

.minus,
.plus {
    font-size: 1em;
    padding: 15px 15px;
    width: 3em;
    height: 3em;
    border-radius: 1.5em;
    border: 1px solid gray;
}

.minus:hover,
.plus:hover {
    background-color: #ee1657;
    cursor: pointer;
}

.reservation-form {
    margin-top: 20px;
}

.reservation-form input {
    font-size: 1.5em;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #444;
}

#reserve-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.message-bar {
    position: fixed;
    top: 0;
    left: 15%;
    width: 70%;
    background-color: #FFFFFF;
    color: #333333;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

.message-bar.error {
    background-color: #FF5555;
    color: #FFFFFF;
}

.bubble-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Adjust the height of the bubble container */
    pointer-events: none;
    z-index: -1;
}

.bubble {
    position: absolute;
    background-color: #f3fcff;
    border: 1px solid #e1f5ff;
    border-radius: 50%;
    animation: float-bubble 3s infinite ease-in-out;
}

@keyframes float-bubble {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-60px);
        opacity: 0;
    }
}

.large {
    font-size: 1.5em;
}


/* ORDER SUMMARY PAGE */

.summary-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.back-to-home {
    text-align: center;
    margin-top: 20px;
}

.back-to-home a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.order-summary-list {
    list-style: none;
    padding: 10px;
    text-align: center;
}

.order-summary-list li {
    margin-bottom: 20px;
}

.soap-thumb {
    width: 200px;
}

/* Orders summary */

.acp-summary-container {
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 1.2em;
}

.summary-table {
    background-color: #EEE;
    margin: auto;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    border-collapse: collapse;
}

.summary-table td {
    padding: 10px;
}

.summary-table tr:nth-child(even) {
    background-color: #f7e0e7;
}

.summary-table tr:nth-child(odd) {
    background-color: #ffedf3;
}

.summary-table ul {
    list-style: none;
    padding: 20px;
}

.summary-table button {
    padding: 10px;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    color: black;
    font-size: 0.8em;
    cursor: pointer;
}