@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;1,200;1,400;1,500&display=swap');
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
    font-family:'Poppins', sans-serif;
    cursor: pointer;
}

#wrapper {
    /* Kích thước màn hình là 1280 x 720 */
    width: 100%;
    height: 100vh;
}
#header {
    width: 100%;
    padding:0px 30px;
    margin-top:33px;
    display: flex;
    justify-content: space-between;
    align-items: center;    
}

#menu {
    list-style:none;
    display: flex;
}

#menu .item {
    margin:0px 25px;
}

#menu .item a {
    color:#666161;
    text-decoration: none;
}


#actions {
    display: flex;
}

#actions .item {
    margin-left:22px;
}





#banner {
    width: 100%;
    background-image :url("assets/Datlich.png");
    height: 463px;
    margin-top:40px;
    display: flex;
    padding:0px 133px;
    position:relative;
}

#banner .box-left ,#banner .box-right {
    width: 50%;
}

#banner  .box-left h2 {
    font-size:48px;
    margin-top:75px;
    color:#fff;
}

#banner .box-left p {
    color:#696767;
}

#banner .box-left button {
    width: 191px;
    height: 40px;
    margin-top:41px;
    background:#1d1a1a;
    border:none;
    outline:none;
    color:#fff;
    font-weight: bold;
    border-radius: 20px;
    transition:0.4s;
}

#banner .box-left button:hover {
    background:orange;
}

#banner .box-right {
    padding-left:200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#banner .box-right img {
    margin:0px 10px;
    animation :animation 3s infinite linear; 
}


#banner .box-right img:nth-child(1)
{
    animation-delay: 0.5s;
}
#banner .box-right img:nth-child(2)
{
    
    animation-delay: 1s;
}
.doc1 {
  width: 40%;
  border-radius: 20px;
  object-fit: cover;
}

.doc2 {
  width: 40%;
  border-radius: 20%;
  object-fit: cover;
}

.doc3 {
  width: 40%;
  border-radius: 20px;
  object-fit: cover;
}

@keyframes animation {
    0%{
        transform:translateY(0px);
    }
    50%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0px);
    }
    
}

.to-bottom {
    position:absolute;
    bottom:-40px;
    left:50%;
    transform:translateX(-50%);
}



#wp-products {
    width:100%;
    padding-top: 50px; /* Giảm padding-top để dịch lên trên */
    padding-bottom: 78px;
    margin-left: 0; /* Dịch qua phải bằng cách đặt margin-left */
   /* Dịch qua phải thêm bằng transform */
}

#wp-products h2 {
    text-align: left;
    margin-bottom: 76px;
    font-size:32px;
    color:#181818;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#box {
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}
#list-products {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: flex-start; 
    align-items: flex-start;     
   
    gap: 30px;                   /* khoảng cách giữa các item */
}

#list-products .item {
    width: calc(50% - 15px);  /* 2 cột, trừ khoảng cách (30px / 2) */
    height: 374px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 0;          /* dùng gap rồi, không cần margin-bottom nữa */
}
#list-products .item img {
    display: block;
    margin:0px auto;
    margin-top:17px;
    width: 25%;
}

#list-products .item .stars {

    display: flex;
    margin:0px auto;
    width: 50%;
}

#list-products .item .name {
    text-align: center;
    color:#fff;
    font-weight: bold;
    margin-top:21px;
}

#list-products .item .desc {
    text-align: center;
    color:#626a67;
}

#list-products .item .price {
    text-align: center;
    color:#f42424;
    font-weight: bold;
    margin-top:20px;
}


.list-page {
    width: 50%;
    margin:0px auto;
}

.list-page {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.list-page .item {
    margin:0px 15px;
    width: 37px;
    height: 37px;
    background:#362f2f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-page .item a {
    color:#fff;
    text-decoration: none;
}


#saleoff {
    width: 100%;
    display: flex;
    height: 250px;
    background: #2980B9;
}
#saleoff .box-left, #saleoff .box-right {
    width: 50%;
    height: 100%;
   
    justify-content: center;
    align-items: center;
}
#saleoff .box-left {
    background: #2980B9;
    text-align: center;
    color: white;
}
#saleoff .box-right {
    background: #2980B9;
}


#comment {
    width: 1012px;
    height: 478px;
    margin:0px auto;
    margin-top:184px;
    margin-bottom: 50px;
}

#comment h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size:32px;
    color:#626a67;
}


#comment-body{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    height: 400px;
    list-style: none;
    overflow: hidden;
}

#list-comment {
    width: 100%;
    height: 100%;
    list-style: none;
    transition: 0.5s;
}

#list-comment .item {
    width: 100%;
    height: 100%;
    background: #5DADE2;
    border-radius: 20px;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


#list-comment .item .avatar {
    width: 500px; /* Điều chỉnh lại kích thước phù hợp với ảnh */
    height: 375px; /* Giữ đúng tỷ lệ ảnh */
    overflow: hidden; /* Đảm bảo ảnh không tràn ra ngoài */
    border-radius: 20px; /* Bo góc nhiều hơn */
    display: flex; /* Đảm bảo căn giữa ảnh */
    justify-content: center; /* Căn giữa ngang */
    align-items: center; /* Căn giữa dọc */
}

#list-comment .item .avatar img {
    width: 100%; /* Zoom ảnh ra */
    height: auto; /* Giữ đúng tỷ lệ ảnh */
    object-fit: cover; /* Đảm bảo ảnh lấp đầy khung và giữ tỷ lệ */
}

#list-comment .item .stars {
    display: flex;
    margin: 0px auto;
    width: 50%;
    margin-top: 32px;
    justify-content: center;
    align-items: center;
}

#list-comment .item .name {
    text-align: center;
    font-weight: bold;
    color: #fff;
}

#list-comment .item .text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

#footer {
    width: 100%;
    background:#2980B9;
    height: 322px;
    margin-top:338px;
    padding:0px 63px;
    padding-top:57px;
    display: flex;
    justify-content: space-around;
}

#footer .box {
    width: 250px;
    color:#fff;
}

#footer .box .quick-menu {
    margin-top:40px;

}


#footer .box .quick-menu .item{
    margin-bottom:12px;

}
#footer .box .quick-menu ,.item a{
    color:#fff;
    text-decoration: none;
}



#footer .box form input {
    width: 294px;
    height: 42px;
    background: #2980B9; /* Nổi lên với màu nền */
    border: 2px solid #fff; /* Viền trắng để phân biệt */
    padding-left: 20px;
    color: #fff;
    margin-top: 30px;
    border-radius: 5px; /* Bo góc nhẹ */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Hiệu ứng nổi */
}

#footer .box form button {
    background:#a89999;
    box-shadow: 5px 5px 4px rgba(0,0,0.25);
    width: 163px;
    height: 38px;
    margin-top:29px;
    color:#fff;
}
  #menu {
                display: flex;
                gap: 20px;
                align-items: center;
            }
            #menu .item {
                position: relative;
            }
            #menu .dropdown-content {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                min-width: 180px;
                background: #fff;
                box-shadow: 0 4px 16px rgba(0,0,0,0.12);
                z-index: 100;
                border-radius: 6px;
                padding: 10px 0;
            }
            #menu .dropdown-content a {
                display: block;
                padding: 8px 20px;
                color: #222;
                text-decoration: none;
                white-space: nowrap;
                transition: background 0.2s;
            }
            #menu .dropdown-content a:hover {
                background: #f0f0f0;
            }
            #menu .dropdown:hover .dropdown-content {
                display: block;
            }