body{
    width: 1200px;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.8857;
    text-align: center;
    margin: 0 auto;
    background-color: rgb(236, 229, 229);
    box-sizing: border-box;
}
.banner{
    margin-top: 5px;
    width: 100%;
    height: 200px;
    background-image: url(bannerss2.jpg);
    background-size: contain;
}
nav{
    background: #feb87d;
    width: 100%;
    top: 5px;
}
nav:after{
    content: '';
    clear: both;
    display: table;
}
nav .logo{
    float: left;
    color:rgb(175, 46, 201);
    font-size: 27px;
    font-weight: 600;
    line-height: 70px;
    padding-left: 90px;
}
nav ul{
    float: right;
    list-style: none;
    margin-right: 40px;
    position: relative;
}
nav ul li{
    display: inline-block;
    background: #feb87d;
    margin:  0 5px;
}
nav ul li a{
    color: white;
    text-decoration: none;
    line-height: 50px;
    font-size: 20px;
    padding: 8px 15px;
}
nav ul li a:hover{
    color: rgb(175, 46, 201);
    border-radius: 5px;
    box-shadow: 0 0 5px rgb(175, 46, 201),
                0 0 5px rgb(175, 46, 201);
}
nav ul li:hover > ul{
    top: 50px;
    opacity: 1;
    visibility: visible;
}
nav ul ul{
    position: absolute;
    top: 0px;
    border-top: 1px solid #fb7c0f;
    opacity: 0;
    visibility: hidden;
    transition:  top .3s;
    border-top: 1px solid rgba(0,0,0,.3);
}
nav ul ul li{
    position: relative;
    margin-left: -35px;
    width: 100px;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(0,0,0,.3);
    top: 10px;
    z-index: 1000;
    background-color: yellow;
}
nav ul ul li a{
    line-height: 35px;
    color: black;
    line-height: 50px;
}
nav ul ul li a:hover{
    color: rgb(175, 46, 201);
    box-shadow: none;
}
nav ul ul ul{
    position: absolute;
    top: 0px;
    border-top: 1px solid #fb7c0f;
    opacity: 0;
    visibility: hidden;
    transition:  top .3s;
}
nav ul ul ul li{
    position: relative;
    margin-left: 60px;
    width: 120px;
    float: none;
    display: list-item;
    border-bottom: 1px solid rgba(0,0,0,.3);
    top: -51px;
    z-index: 1000;
    background-color: rgb(126, 238, 122);
    cursor: pointer;
}
.content{
    width: 1200px;
    margin-top: 5px;
}
.menutrai{
    width: 250px;
    float: left;
    height: 500px;
    background-color: rgb(243, 174, 241);
    font-size: 16px;
    overflow: hidden;
}
.menutrai ul{
    list-style: none;
    margin: 0; padding: 0;
    /* border-radius: 4px; */
    position: relative;
}
.menutrai ul li a{
    display: block;
    text-decoration: none;
    color: black;
    padding: 8px 16px;
    font-size: 18px;
}
.menutrai ul li a.active{
    background-color: purple;
    font-weight: bold;
    color: white;
    width: 100%;
}
.menutrai ul li a:hover:not(active){
    background: yellowgreen;
    font-weight: bold;
    color: white;
    width: 100%;
}
.login{
    position: absolute;
    display: block;
    width: 200px;
    height: 240px;
    overflow: hidden;
    font-size: 13px;
    margin-left: 25px;
    background-color: white;
    border-radius: 10px;
    line-height: 2.5;
}
.login h4{
    text-align: center;
    border-bottom: 2px solid yellowgreen;
}
.login .form{
    padding: 0 20px;
    box-sizing: border-box;
}
input{
    width: 70%;
}
input[type="submit"]{
    width: 50%;
    background-color: yellowgreen;
    border-radius: 10px;
}
input[type="submit"]:hover{
    background-color: rgb(243, 84, 84);
    cursor: pointer;
}
.menuphai{
    width: 950px;
    float: left;
    height: 500px;
    background-color: orange;
    overflow-y: auto;
    position: relative;
}
.menuphai .p1{
    margin-top: 35px;
    margin-left: 25px;
    
}
.wrap-img{
    margin: 8px;
    float: left;
    width: 210px;
    height: 200px;
    position: relative;
}
.wrap-img img{
    width: 100%;
    height: 200px;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 1px 10px #3a3a3a;
}
.desc{
    position: absolute;
    left: 0;
    bottom: -100%;
    right: 0;
    height: 90%;
    background-color: yellowgreen;
    padding: 10px 10px;
    -webkit-transition: all .3s ease;
    transition: all 0.5s ease;
    opacity: 0;
    line-height: 1;
}
.desc p{
    line-height: 1.5;
}
.wrap-img:hover .desc{
    bottom: 0px;
    opacity: 1;
    cursor: pointer;
}
.img-trangchu{
    margin: 8px;
    float: left;
    width: 347px;
    height: auto;
    position: absolute;
    margin-top: 500px;
}
.img-trangchu img{
    width: 100%;
    height: auto;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.p2{
    position: absolute;
    margin: 450px 15px 0 400px;
}
.p2 h1{
    text-align: center;
    color:rgb(175, 46, 201);
}
.p2 h2{
    text-align: center;
    color:white;
}
.p2 h4 {
    text-align: justify;
    color: black;
    font-weight: normal;
    line-height: 2;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 18px;
}
.img-sanpham1{
    margin: 8px;
    float: left;
    width: 200px;
    height: auto;
    position: absolute;
    margin-top: 10px;
}
.p3{
    position: absolute;
    margin: 866px 15px 0 400px;
}
.p3 h4 {
    text-align: justify;
    color: black;
    font-weight: normal;
    line-height: 2;
    margin-right: 20px;
    margin-left: -360px;
    font-size: 18px;
}
.img-daubep{
    margin-left: 420px;
    margin-bottom: 8px;
    float: right;
    width: 210px;
    height: auto;
    position: absolute;
    margin-top: 900px;
}
.img-daubep img{
    width: 100%;
    height: auto;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.img-phucvu{
    margin-left: 650px;
    margin-bottom: 8px;
    float: right;
    width: 245px;
    height: auto;
    position: absolute;
    margin-top: 900px;
}
.img-phucvu img{
    width: 100%;
    height: auto;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.img-com{
    margin-left: 30px;
    margin-bottom: 8px;
    float: right;
    width: 240px;
    height: auto;
    position: absolute;
    margin-top: 1240px;
}
.img-com img{
    width: 100%;
    height: auto;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.p4{
    position: absolute;
    margin: 1200px 15px 0 780px;
}
.p4 h4 {
    text-align: justify;
    color: black;
    font-weight: normal;
    line-height: 2;
    margin-right: 20px;
    margin-left: -360px;
    font-size: 18px;
}
.p5{
    position: absolute;
    margin: 1500px 15px 0 300px;
}
.p5 h2 {
    text-align: left;
    color: white;
    font-weight: bold;
    line-height: 2;
    margin-right: 20px;
}
.img-res{
    margin-left: 30px;
    margin-bottom: 8px;
    float: right;
    width: 220px;
    height: auto;
    position: absolute;
    margin-top: 1600px;
}
.img-res img{
    width: 100%;
    height: auto;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.p6{
    position: absolute;
    margin: 1580px 15px 0 300px;
}
.p6 .cn{
    text-align: left;
    font-size: 18px;
}
.p5 h2 {
    text-align: left;
    color: white;
    font-weight: bold;
    line-height: 2;
    margin-right: 20px;
}
.menufooter{
    background-color: #feb87d;
    color: rgb(255, 255, 255);
    width: 1200px;
    height: 40px;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 2px;
    clear: both;
    margin-top: 5px !important;
}
