@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@100;200;300;400;500;600;700&display=swap');
html {
    scroll-behavior: smooth;
  }
:root {
    --box: 0 1.5px 12px 2px rgb(0 0 0 / 6%); 
    --main: #9273ac;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sarabun', sans-serif;
}
p {
    line-height: 1.8;
    color: #6f6f6f;
    font-size: 16px;
}
h2 {
    line-height: 1.8;
}
button {
    font-size: 16px;
    cursor: pointer;
}
button.action-popup:hover, #confirm:hover {
    background-color: #754099;
}
#cansel {
    transition: all .3s ease-in-out;
}
#cansel:hover {
    background-color: #d2d1d1ef;
}
img {
    width: 100%;
}
section {
    padding: 15px 20px;
}
.container {
    max-width: 1170px;
    margin: auto;
}
header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-width: 350px;
}
.social {
    gap: 8px !important;
}
.social img {
    width: 35px !important;
    height: 35px !important;
}
.slide {
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    justify-content: center;
    align-items: end;
}
.top-aution {
    box-shadow: var(--box);
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    color: var(--main);
    display: flex;
    gap: 10px;
}
.top-aution h1 {
    font-size: 35px;
    text-align: center;
}
.top-aution h2 {
    text-align: center;
}
.lists-auction {
    max-width: 500px;
    margin: auto;
}
button.action-popup {
    padding: 20px 60px;
    border: 0;
    background-color: var(--main);
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: var(--box);
    color: white;
    margin: auto;
    margin-top: 30px;
}
.detail {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.detail img {
    max-width: 300px;
}
footer {
    background-color: #efefefef !important;
}
@media (max-width: 800px) {
    .top-aution {
        flex-direction: column;
        text-align: center;
    }
    .top-aution div {
        border: 0px !important;
    }
}
@media (max-width: 600px) {
    header {
        flex-direction: column;
    }
    .slide {
        grid-template-columns: 1fr;
    }
    .detail {
        flex-direction: column;
        align-items: center;
    }
}