*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Intar', sans-serif;
}
body{
    background-color: #131535;
    color:white;
    min-height:100vh;
    overflow-x:hidden;
    background-image: url('video/w.jpg');
    background-repeat: no-repeat;                  
    background-size: cover;                        
    background-position: center center;          
    background-attachment:fixed;
}
.background-video{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-1;
    opacity:0.6;
}
.navbar{
    background:rgba(19,21,53,0.9);
    border-bottom:1px solid rgba(255,255,255,0.1);
    z-index:1;
    position:fixed;
    top:0;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    height:100px;
}
.logo img{
    height:60px;
    width: auto;
    border-radius:15px;
    border:1px solid rgba(255,255,255,0.2);
}
.searchbox{
    display:flex;
    align-items:center;
    border-radius:4px;
    border:1px solid rgba(255,255,255,0.2);
    padding:0 0 0 10px;
    height:35px;
    width:100%;
    max-width:600px;
    background-color: hwb(0 100% 0%);
    overflow: hidden;
    margin-right:2px;
    margin-left:100px;
}
.searchbox input{
    flex:1;
    border:none;
    background:transparent;
    color:#000000;
    font-size:16px;
    outline:none;
}
.searchbox button{
    background-color: orange;
    border:none;
    cursor:pointer;
    height:100%;
    padding:0px 20px;
}
.danhmuc{
    display: flex;
    font-size: 30px;
    margin-left:100px;
    gap:150px;
}
.danhmuc a{
    color:rgb(68, 64, 121);
    text-decoration:none;
    margin:0 10px;
}
.chuong{
    position:relative;
    margin-left:auto;
    display: flex;
    align-items: center;
}
.chuongicon-btn{
    height:30px;
    width: auto;
    background-color:rgba(19,21,53,0.9);
    font-size:20px;
}
.chuong-content{
    position:absolute;
    top:50px;
    left: 50%;
    transform:translateX(-50%);
    width:auto;
    white-space: nowrap;
    text-align: center;
    background: #1c2035; 
    border:1px solid rgba(255,255,255,0.1);
    z-index:2;
    display:none;
    padding: 10px; 
}
.chuong-content.show {
    display: block;
}
.lichhenicon img{
    height:30px;
    width: auto;
    border-radius:90px;
    border:none;
    margin-left:20px;
    margin-right:20px;
}
.taikhoan{
    font-size: 15px;
    font-weight: bolder;
    font-style: italic;
    border:1px solid rgba(255,255,255,0.2);
    border-radius:4px;
    padding:8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}
.taikhoan a{
    color:white;
    text-decoration:none;
}
.dangnhap:hover{
    border:1px solid rgba(255,255,255,0.2);
    border-radius:4px;
}
.dangky:hover{
    border:1px solid rgba(255,255,255,0.2);
    border-radius:4px;
}
.user-avatar-round {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid greenyellow;
    cursor: pointer;
    transition: transform 0.2s;
}
.user-avatar-round:hover {
    transform: scale(1.1);
}
.hotro{
    width:100%;
    display:flex;
    justify-content:center;
    margin-top:250px;
    margin-bottom:100px;
}
.ohotro {
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 800px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
}
.ohotro input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 25px;
    color: white;
    font-size: 18px;
    outline: none;
}
.ohotro input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.ohotro button {
    background-color: orange;
    color: #131535;
    border: none;
    cursor: pointer;
    height: 100%;
    padding: 0 30px;
    font-weight: bold;
    font-size: 16px;
}
.cauhoi{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    gap: 15px;
}
.cauhoi h2 {
    margin-bottom: 10px;
    color: whitesmoke;
}
.cauhoi p {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    text-align: left;
    border-left: 4px solid #3498db;
    cursor: pointer;
    transition: background 0.2s;
}
.cauhoi p:hover {
    background: rgba(255, 255, 255, 0.1);
}
@media screen and (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 10px 10px;
        gap: 10px;
    }

    .logo img {
        height: 40px;
    }

    .searchbox {
        margin-left: 5px;
        max-width: 150px;
        height: 30px;
    }
    
    .searchbox input {
        font-size: 13px;
    }

    .searchbox button {
        padding: 0 10px;
        font-size: 13px;
    }

    .danhmuc {
        margin-left: 5px;
        gap: 10px;
        font-size: 14px;
    }

    .danhmuc a {
        margin: 0 2px;
    }

    .chuongicon-btn {
        font-size: 16px;
    }

    .lichhenicon img {
        height: 24px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .taikhoan {
        font-size: 11px;
        padding: 4px;
        min-width: auto;
    }

    .user-avatar-round {
        width: 32px;
        height: 32px;
    }
    
    .banner {
        margin-top: 90px;
    }
    
    .tieude {
        margin-top: 100px;
    }
    
    .hotro {
        margin-top: 120px;
    }
}