@import url("https://haylamday.com/css/font.css"); 
body {
    margin: 0;
    font-family: vuonghiep; 
}

nav {
    background-image: linear-gradient(to bottom, #CDDC39, #440000);
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    background-color: white;
    display: block;
    height: 3px;
    width: 25px;
    margin: 5px 0;
}

.logo {
    display: none; /* Hidden by default */
}

.logo img {
    height: 40px; /* Adjust size as needed */
}


.nav-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
}

.nav-menu a:hover {
    background-color: #575757;
}

/* Responsive styling */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .logo {
        display: block; /* Show the logo on small screens */
        margin: 0 auto; /* Center logo horizontally */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute; /* Position menu absolutely */
        top: 49px; /* Adjust this to the height of your header */
        left: 0;
        background-color: #333;
        z-index: 1000; /* Ensure menu appears above other content */
        transition: max-height 0.3s ease, opacity 0.3s ease;
        max-height: 0; /* Hide menu initially */
        opacity: 0; /* Hide menu initially */
    }

    .nav-menu.active {
        display: flex;
        max-height: 500px; /* Adjust this value based on your menu's height */
        opacity: 1; /* Show menu */
    }

    .nav-menu a {
        padding: 14px;
        border-top: 1px solid #444;
        width: 100%;
        text-align: center;
        height: 10px;
        line-height: 0.7;
    }
}
#toan-trang {
      max-width: 800px;
      margin: 0 auto;
      border: solid 3px #501405;
      padding: 10px;
      margin-top: -3px;
}