*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.container{
    max-width: 1200px;
    margin: auto;
}
.header{
    background-color: #fff200;
    text-align: center;
}
/*------------------nav-------------------*/
nav{
    background-color: black;
}
nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav ul li, a{
    color: white;
    font-size: 15px;
}
nav ul li:nth-child(2) a{
color: #fff200;
}
nav ul li:nth-child(3){
position: relative;
}
nav ul li:nth-child(3) input{
    height: 30px;
    width: 150px;
    border-radius: 6px;
    border: none;
    padding-left: 6px;
    outline: none;
}
nav ul li:nth-child(3) i{
    position: absolute;
    font-size: 15px;
    right: 2px;
    color: #333;
    line-height: 30px;
    cursor: pointer;
}
nav ul li:nth-child(4) button{
    height: 25px;
    padding: 0 8px;
    background-color: transparent;
    color: white;
    border: 1px solid #9e9c9c;
    border-radius: 3px;
    transition: all 0.3s ease;
}
nav ul li:nth-child(4) button i{
margin-right: 6px;
}
nav ul li:nth-child(4) button:hover{
    background-color: gray;
}
nav ul li:nth-child(5){
    text-align: center;
}
nav ul li:nth-child(5):hover a{
    color: #fff200;
}
nav ul li:nth-child(6) a{
color: #fff200;
}
.btn-content{
position: relative;
width: 10px;
height: 10px;
border-radius: 100%;
background-color: #fff200;
display: block;
float: left;
margin-right: 5px;
}
.btn-top{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: #fff200;
    z-index: -1;
    display: block;
    pointer-events: none;
    animation: btnXH 2s linear infinite;
}
@keyframes btnXH{
    from {
        opacity: 0.4;
    }
    to{
        transform: scale(3);
        opacity: 0;
    }
}
nav ul li:nth-child(7):hover a{
    color: #fff200;
}
nav ul li:nth-child(8):hover a{
    color: #fff200;
}
nav ul li:nth-child(9):hover a{
    color: #fff200;
}
/*---------------menubar--------------*/
.menu-bar{
    background-color: #ccab15;
}
    .menu-bar ul{  
    display: flex;
    justify-content: space-between;

}
    .menu-bar ul li a{
     color: black;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    }  
        .menu-bar ul li a i{
     margin-right: 6px;
    font-size: 16px;
        }
.menu-bar-content > ul > li {
padding: 15px 6px;
transition: 0.3s ease;
}
.menu-bar-content ul li :hover{
 background-color: white;
}
.menu-bar-content > ul > li:nth-child(9) {
position: relative;
}
.menu-bar-content > ul > li:nth-child(9):before {
position: absolute;
content: "Giảm 15%";
display: block;
height: 15px;
width: 45px;
background-color: red;
border-radius: 5px;
right: 0;
top: 0;
color: white;
font-size: 10px;
padding-left: 3px;
}
/*--------adress form-----------*/
.adress-form{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: none;
    z-index: 1000;
}
.adress-form-content{
    width: 400px;
    height: 450px;
    background-color: #fff;
    border-radius: 5px;
}
.adress-form-content form{
padding: 0 40px;
}
.adress-form-content h2{
color: #333;
font-size: 12px;
padding: 12px 0;
border-bottom: 1px solid #ddd;
position: relative;
}
.adress-form-content h2 span{
    display: block;
    position: absolute;
    height: 30px;
    padding: 0 6px;
    border: 1px solid #ddd;
    right: 12px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    line-height: 30px;
    color: #333;
    border-radius: 5px;
}
.adress-form-content form p{
    font-size: 16px;
}

.adress-form-content form input,select{
    height: 40px;
    display: block;
    width: 100%;
    margin: 20px;
    padding: 6px;
    border-radius: 5px;
}
.adress-form-content form button{
    margin-top: 20px;
    height: 40px;
    width: 80%;
    cursor: pointer;
    background-color: orangered;
    outline:none;
    border: none;
}
/*---------súng trường-----------*/
.menu-bar-content ul li{
position: relative;
}
.submenu{
    position: absolute;
    background-color: #ddd;
    width: 300px;
    height: auto;
    left: 0;
    top: 100%;
    padding: 12px;
    display: none;
    text-align: center;
}
.submenu ul{
display: flex;
flex-direction: column;
}
.submenu ul li{
    padding: 6px 0;
}
.submenu ul li:hover a{
    color: #fff200;
}
.submenu ul li:hover{
background-color: none;
}
.menu-bar-content ul li:hover .submenu{
display: block;
}
/*------------------slider-----------*/
li{
    list-style: none;
}
.slider{
    padding: 20px 0;
    height: 350px;
}
.slider-content{
    display: flex;
    justify-content: space-between;
}
.slider-content-left{
width: 65%;
}
.slider-content-left-top {
width: 100px;
height: 300px;
position: relative;
}
/*.slider-content-left-top:hover i{
    opacity: 1;
}*/
.slider-content-left-top img {
    width: 779%;
    height: 100%;
    object-fit: cover;
}
.slider-content-left-buttom {
display: flex;
justify-content: space-between;
border: 2px solid #ddd;
border-top: none;
height: 50px;
}
.slider-content-left-buttom li{
width: 20%;
text-align: center;
cursor: pointer;
padding: 6px 0; 
height: 100px;
line-height: 38px;
position: relative;
}
.slider-content-left-buttom li::before{
display: block;
content: "";
position: absolute;
height: 70%;
width: 1px;
background-color: #ddd;
right: 0;
}
.slider-content-left-buttom li.active{
    border-top: 4px solid #fff200;
}
.slider-content-right{
width: 35%;
display: flex;
flex-wrap: wrap;
padding: 0 30px;
justify-content: space-around;
}
.slider-content-right li{
    width: 50%;
    height: 50%;
    text-align: center;
    margin-bottom: 3px;
}
.slider-content-right li img{
height: 170px;
width: 170px;
}
.slider-content-left-top-btn {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.slider-content-left-top-btn i{
color: #333;
font-size: 32px;
height: 50px;
width: 25px;
background-color: #ddd;
display: flex;
justify-content: center;
align-items: center;
transform: translateY(-50%);
opacity: 50%;
border-radius: 5px;
transition: all 0.3s ease;
cursor: pointer;
}
.submenu{
z-index: 10;
}
/*-----------slider js1-------------*/
.slider-content-left-top img{
    position: absolute;
}
.slider-content-left-top a:nth-child(2) img{
    transform: translateX(100%);
}
.slider-content-left-top a:nth-child(3) img{
    transform: translateX(200%);
}
.slider-content-left-top a:nth-child(4) img{
    transform: translateX(300%);
}
.slider-content-left-top a:nth-child(5) img{
    transform: translateX(400%);
}
.slider-content-left-top-container{
    position: relative;
    overflow: hidden;
}
.slider-content-left-top-container:hover i{
opacity: 1;
overflow: visible;
}
.slider-content-left-top{
    transition: all 0.3s ease;
}
