/*
Theme Name:           Builder Site
Theme URI:            Empty
Author:               Empty
Author URI:           Empty
Description:          Plugin builder site
Version:              1.00.00
Requires at least:    1.00
Requires PHP:         5.6
WC requires at least: 4.7
Text Domain:          Builder site
License:              Empty
License URI:          Empty
*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: Lato, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #707070;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ed1c24;
    margin-bottom: .5em;
    margin-top: 0;
    text-rendering: optimizeSpeed;
    width: 100%;
    font-weight: 700;
    font-style: normal;
}

p {
    margin-bottom: 1.3rem;
}
.sec_nd {
    word-break: break-word;
}
.fa-star {
  color: orange;
}
.star_icon_main {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}
.wp-caption {
    margin-bottom: 1em;
    width: max-content;
    margin: 0 auto 1.2rem auto;
    background: #e7e7e7;
    text-align: center;
}

.wp-caption .wp-caption-text {
    background: rgba(0, 0, 0, .05);
    font-size: .9em;
    font-style: italic;
    padding: .4em;
}

.wp-caption-text {
    text-align: center;
}

img {
    display: inline-block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.lazy-load-active {
    width: auto;
}

.container {
    max-width: 1270px;
    width: 100%;
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999;
}

.header-main {
    background-color: #fff;
    height: 90px;
}

.header-main>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo_img {
    height: 100%;
    width: 100%;
}

.logo_main {
    height: 100%;
    max-width: 100%;
}

.btn_link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.button {
    border-radius: 0.2rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.btn_xanh {
    background-color: #33df72;
    color: #fff;
}

.btn_do {
    background-color: #ec1c2b;
    color: #fff;
}

.header-bottom {
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
}

.header-bottom .main-nav {
    background-color: #f2f2f2;
}
.sec_nd ul {
    list-style: disc;
    margin-left: 1.6rem;
    margin-bottom: 1rem;
}
ul {
    list-style: none;
}

.nav-menu {
    list-style: none;
    display: flex;
}

a {
    text-decoration: none;
    color: #ed1c24;
}

.nav-menu li {
    padding: 1rem;
}

.nav-menu li:first-child {
    background-color: orange;
}

.nav-menu li:first-child a {
    color: #fff;
}

.box_game {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border: 2px solid red;
    border-radius: 0.5rem;
    padding: 0.8rem;
    align-items: center;
}

.sec_box_game {
    padding: 30px 0;
}

.sub_text {
    text-align: center;
}

.sub_text strong {
    color: red;
    font-size: 25px;
    margin-bottom: 1rem;
    display: block;
}

.img_game img:last-child {
    width: 140px;
}

.img_game,
.danh_gia,
.link_truy_cap {
    text-align: center;
}

.number_game span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    margin-top: -0.2rem;
}

.number_game {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
}

.link_truy_cap i {
    margin-right: 0.5rem;
}

.link_truy_cap a {
    background: linear-gradient(177deg, #ff185a, #9d080b);
    box-shadow: 1px 2px 6px 1px #00000047;
    padding: 0.8rem 1rem;
}

p.titnhacai {
    margin-bottom: -13px !important;
    text-align: center;
    background: #c9242b1c;
    display: block;
    width: max-content;
    margin: auto;
    padding: 10px 20px;
    font-size: 22px;
    border-radius: 15px;
    color: #c9242b;
    border: 1px solid white;
}

.list_brand_slider {
    margin: 3rem auto;
}

.sec_nd img {
    width: 100%;
}

.sec_nd figure {
    width: 800px;
    margin: 0 auto;
    margin-bottom: 1.6rem;
}
.menu-toggle {
    display: none;
}
.custom-wp-caption {
    text-align: center;
    margin: 10px auto;
}

.custom-wp-caption img {
    display: block;
    margin: 0 auto;
}

.custom-wp-caption-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}
.logo_main img {
	object-fit: contain;
}
/* Ẩn menu trên mobile */
@media only screen and (max-width: 900px) {
	.logo_main img {
		width: 100px !important;
	}
.wp-caption {
   width: 100% !important;
   font-size: 12px;
   margin-bottom: 1rem !important;
}
main {
    overflow: hidden;
}

.link_truy_cap {
   margin-top: 1rem;
}
.box_game {
    grid-template-columns: 100%;
    gap: 1rem;
    padding-bottom: 2rem;
}
.container {
padding: 0 15px;
}
    .main-nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
        background: #222;
        color: white;
        font-size: 24px;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 1001;
        border-radius: 5px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        padding: 15px;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
    }

    .nav-menu li {
        list-style: none;
        padding: 10px;
        text-align: center;
    }

    .nav-menu li a {
        text-decoration: none;
        color: white;
        font-size: 18px;
        display: block;
        transition: 0.3s;
    }

    .nav-menu li a:hover {
        color: #ffcc00;
    }

    /* Khi menu mở */
    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}