@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Kanit', sans-serif !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    user-select: none;
}

body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background-color: #142c52;
}

.block-content {
    position: relative;
}

.navbar {
    background-color: #064672;
    color: white;
    font-size: 2vh;
    font-weight: 500;
}

.navbar-brand {
    font-size: 3vh;
    font-weight: 700;
}

.footer {
    background-color: #064672;
    color: white;
    font-weight: 500;
    height: auto;
    padding: 15px;
}

.footer-brand {
    font-size: 2.25vh;
    font-weight: 600;
    margin: auto;
}

.footer-brand > .col > a:visited {
    color: rgb(252, 208, 13) !important;
}

.footer-brand > .col > a:active {
    color: rgb(252, 208, 13) !important;
}

.footer-brand > .col > a:focus {
    color: rgb(252, 208, 13) !important;
}

.header-title {
    text-align: center;
    font-weight: 600;
    border-top: 0.5vh solid white;
    border-bottom: 0.5vh solid white;
    color: white;
    font-size: 4vh;
    width: 100%;
    background-color: #064672;
}

.warpBar {
    padding: 5px;
    text-align: center;
    background-color: #08619c;
    transition: 0.3s;
}

.warpBar .col:hover {
    color: rgb(252, 208, 13);
}

.warpBar .row {
    font-size: 2.6vh;
    color: white;
}

.img-main-ad {
    position: relative;
    width: 100%;
    text-align: center;
}

.img-main-ad img {
    width: 40%;
    -webkit-box-shadow: 0px 0px 131px -35px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 131px -35px rgba(255,255,255,1);
    box-shadow: 0px 0px 131px -35px rgba(255,255,255,1);
}

.action-bar {
    position: fixed;
    bottom: 5%;
    right: 2%;
}

.btn-circle {
    width: 60px;
    height: 60px;
    text-align: center;
    padding: 9px 0;
    font-size: 30px;
    line-height: 1.428571429;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn:focus,.btn:active {
    outline: none !important;
    box-shadow: none;
}

.buy,.line,.msg {
    background-color: white;
    color: black;
    transition: 0.3s;
    background-size: 120% !important;
}

.buy:hover {
    background-color: #FF6600;
    color: white;
}

.line:hover {
    background-color: #21a700;
    color: white;
}

.line:hover {
    background-color: #21a700;
    color: white;
}

.msg:hover {
    color: white;
    background: rgb(60,192,255);
    background-position: center; /* change the direction of the change here */
    background-image: linear-gradient(to right, rgba(60,192,255,1) 0%, rgba(146,51,201,1) 51%, rgba(255,0,121,1) 100%);
}

.alert-flashsale {
    color: white;
    background-color: rgb(168, 0, 0);
    text-align: center;
}

.header-flash {
    color: rgb(255, 255, 52);
    font-size: 5vh;
}

.header-flash-remain {
    color: rgb(255, 255, 52);
    font-size: 4vh;
}

.block-clock {
    position: relative;
    background-color: rgb(53, 53, 53);
    width: 100%;
    font-size: 4vh;
}

.block-clock .col {
   width: 50px;
   height: auto;
   background-color: rgb(88, 81, 88);
}

.silder .carousel {
    width:40%;
    margin: 0 auto;
}

.orderselect {
    color: white;
    text-align: center;
}

.orderselect .col {
    border: 1px solid red;
}

.box-flex {
    width:100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 1%;
	transition:0.2s;
}

.box-product {
	background:rgba(80,80,80,0.7);
	width:100%;
	transition:0.2s;
	background-size:cover;
	background-position:center;
	position:relative;
    height: 305px;
    color: white;
    border: 1px solid white;
}

.box-product:hover {
    background:rgba(80,80,80,0.7);
    color: #F8C630;
	background-size:cover;
	background-position:center;
	filter:drop-shadow(0 0 10px #ffffff);
}

.box-product:hover > .box-price-name , .box-product:hover >  .box-promo {
    background-color:rgba(0, 0, 0, 0.836);
}

.box-product:hover > .box-price-name > .sale-price {
    color: red;
    font-size: 3.5vh;
}

.box-promo {
    position:absolute;
	left:50%;
	top:10%;
	width:100%;
	transform:translate(-50%,-50%);
	transition:0.2s;
	padding:2%;
	text-align:center;
    font-size: 3vh;
	background-color:rgba(30,30,30,1);
}

.box-price-name {
	position:absolute;
	left:50%;
	top:82%;
	width:100%;
	transform:translate(-50%,-50%);
	transition:0.2s;
	padding:2%;
	text-align:center;
    font-size: 3vh;
	background-color:rgba(30,30,30,1);
}

.box-product:hover > .box-price-name > .original-price {
    text-decoration:line-through;
}

.orderHere {
    height: auto;
    padding: 15px;
    border-radius: 5px;
    background-color: rgb(209, 209, 209);
    width: 800px;
}

.preview-product {
	background:rgba(40,40,40,0.6);
	width:200px;
    transform: translateX(-50%);
    left: 50%;
	transition:0.2s;
	background-size:cover;
	background-position:center;
	position:relative;
    height: 200px;
    color: white;
    border: 4px solid #064672;
}

.box-product-order {
    background-color: white;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
}

#orderPage {
    font-weight: 500;
}

@media screen and (max-device-width: 480px) and (orientation: portrait){
    .header-title {
        font-size: 3vh;
    }

    .img-main-ad img {
        width: 60%;
    }

    .header-flash {
        font-size: 3vh;
    }

    .header-flash-remain {
        font-size: 2vh;
    }

    .warpBar .row .col {
        font-size: 1.0vh;
    }
    
    .block-clock {
        font-size: 2vh;
    }
    .silder .carousel {
        width:60%;
    }
    .box-flex {
        width: 90%;
        grid-template-columns: 1fr 1fr;
    }
    .box-product {
        height: 155px;
    }

    .box-price-name {
        font-size: 2.0vh;
    }

    .box-promo {
        font-size: 2vh;
    }

    .box-product:hover > .box-price-name > .sale-price {
        color: red;
        font-size: 2.0vh;
    }

    .footer-brand {
        font-size: 1.0vh;
    }
}

@media screen and (max-device-width: 1100.98px) and (orientation: portrait){
    .navbar {
        font-size: 2vh;
    }
    
    .warpBar .row {
        font-size: 2vh;
    }
    
    .box-price-name {
        font-size: 2vh;
    }

    .box-promo {
        font-size: 2vh;
    }
    
    .box-product:hover > .box-price-name > .sale-price {
        color: red;
        font-size: 2.5vh;
    }

    .footer-brand {
        font-size: 1.0vh;
    }
}