@import url('colors.css');


html,body{
    height: 100%;
}
body, .table{
    font-family: 'Kanit';
    color: #5a5a5a;
}
a {
    color: rgba(var(--bs-primary-rgb), 1);
    text-decoration: none;
}

.object-fit-cover{
    object-fit: cover;
}
nav.bg-opacity-25 {
    transition: background-color .5s ease;
}
nav.bg-opacity-25:hover {
    --bs-bg-opacity: 1;
}
header .page-hero {
    padding-top: 80px;
    height: 300px;
    background-image: url(/pastel-green/images/objects/patoyao-1.png);
    background-size: 50px;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-position: bottom right;
}
header .page-hero .header-brand {
    width: 50px;
}
header .page-hero .card-title {
    color: #fff;
    font-size: 3rem;
    text-shadow: -1px -1px 1px rgb(255 255 255 / 10%), 3px 3px 1px rgb(0 0 0 / 30%);
    text-transform: uppercase;
}
header .page-hero .card-subtitle {
    color: #fff;
    font-size: 2rem;
}
header .site-name{
    font-size: 3rem;
    text-shadow: -1px -1px 1px rgb(255 255 255 / 10%), 3px 3px 1px rgb(0 0 0 / 30%);
}
.ratio-hero {
    /* margin-top: 72px; */
    /* --bs-aspect-ratio: 56.25%; */
    --bs-aspect-ratio: 120%;
}
.ratio-hero .carousel-caption {
    transform: scale(.8);
}

main section {
    padding: 100px 0 100px;
}

main section:nth-child(even) {background: #fbf9f6}

.card-blog {
    margin-top: 30px;
}
.card .card-image {
    height: 60%;
    position: relative;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: -30px;
    border-radius: 6px;
}
.card .card-image img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    pointer-events: none;
}
/* @media (orientation: landscape) {
} */

@media (min-width: 768px) {
    .ratio-hero {
        /* margin-top: 80px; */
        --bs-aspect-ratio: calc(100vh - 300px);
        /* --bs-aspect-ratio: 100vh; */
    }
    .ratio-hero .carousel-caption {
        transform: scale(1);
    }

    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    header .page-hero {
        background-size: unset;
        background-position: top right;
    }
    header .page-hero .card-title {
        font-size: 4rem;
    }
}
@media (min-width: 992px) {
    header .site-name{
        font-size: 5rem;
    }
}
@media (min-width: 1900px){
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1600px;
    }
}




.card-shopping {
    border-radius: 2rem;
}
.card-shopping .card-shopping-image{
    border-radius: 2rem;
}
.card-shopping .card-footer{
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.sale {
    position: absolute;
    top: 25px;
    right: 25px;
    display: inline-block;
    background: rgba(var(--bs-warning-rgb), 1);
    color: white;
    height: 2.5rem;
    width: 2.5rem;
    text-align: center;
    vertical-align: middle;
    line-height: 2.5rem;
    /* margin: 45vh 45vw; */
    transform: rotate(-20deg);
    animation: beat 1s ease infinite alternate;
}
.sale:before, .sale:after {
    content: "";
    position: absolute;
    background: inherit;
    height: inherit;
    width: inherit;
    top: 0;
    left: 0;
    z-index: -1;
    transform: rotate(30deg);
}
.sale:after {
    transform: rotate(60deg);
}
.sale.hot {
    background: rgba(var(--bs-danger-rgb), 1);
}
.sale.hot + .sale {
    top: 100px;
}
 @keyframes beat {
	 from {
		 transform: rotate(-20deg) scale(1);
	}
	 to {
		 transform: rotate(-20deg) scale(1.1);
	}
}