.container-menu {
    max-height: 100vh;
    width: 100%;
    transform-style: preserve-3d;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 5rem;
}

.menu {
    max-width: 72rem;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 4rem;
    margin-top: 20px;
    color: #fee715ff;
}

.hamburger-menu {
    height: 4rem;
    width: 3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bar {
    width: 1.9rem;
    height: 1.5px;
    border-radius: 2px;
    background-color: #eee;
    transition: 0.5s;
    position: relative;
}

.bar::before,
.bar::after {
    content: "";
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #eee;
    transition: 0.5s;
}

.bar::before {
    transform: translateY(-9px);
}

.bar::after {
    transform: translateY(9px);
}

.main {
    position: relative;
    width: 100%;
    left: 0;
    z-index: 5;
    overflow: hidden;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: 0.5s;
}

header {
    min-height: 100vh;
    width: 100%;
    background: url("../img/layout-banner.jpg") no-repeat top center / cover;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.header-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: top 0.8s ease-in-out;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.title-menu  {
    font-size: 3rem;
}

.description {
    margin: 10px 0;
    text-align: center;
    width: 50%;
    font-size: 1.5rem;
    color: #fff;
}

.container-menu.active .bar {
    transform: rotate(360deg);
    background-color: transparent;
}

.container-menu.active .bar::before {
    transform: translateY(0) rotate(45deg);
}

.container-menu.active .bar::after {
    transform: translateY(0) rotate(-45deg);
}

.container-menu.active .main {
    animation: main-animation 0.5s ease;
    cursor: pointer;
    transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(310px) scale(0.5);
}

.links {
    position: absolute;
    width: 40%;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 2;
    overflow: hidden;
    display: flex;
    margin-left: 10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.title-category {
    font-size: 3.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

ul {
    list-style: none;
}

.links a {
    text-decoration: none;
    color: #eee;
    padding: 0.7rem 0;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(10px);
    animation: hide 0.5s forwards ease;

}

.links input {
    appearance: none;
    /* Ẩn mặc định */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.links input:checked {
    background-color: #58cced;
    border-color: #58cced;
}

.links input:checked::before {
    content: "✔";
    font-size: 16px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.links label {
    font-size: 3rem;
    color: #eee;
    cursor: pointer;
    font-size: 700;

}

.links input:checked+label {
    color: #58cced;
    font-weight: bold;
}



.links input:checked+label {
    color: #58cced;
    font-weight: bold;
}

.links a:hover {
    color: #58cced;
}

.container-menu.active .links a {
    animation: appear 0.5s forwards ease var(--i);
}
.notification{
    color: #fff;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes hide {
    from {
        opacity: 1;
        transform: translateY(0px);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.credit {
    text-align: center;
    color: #fff;
    margin-top: 10px;
    font-size: 18px;
}

.credit a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }

    .container-menu {
        overflow: hidden;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .links {
        width: 100%;
        height: auto;
        position: relative;
        text-align: center;
        margin-top: 20px;
        align-items: center;
    }

    .links ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        gap: 12px;
    }

    .links a {
        font-size: 1.2rem;
        padding: 10px 0;
    }

    .main {
        transform: none !important;
    }

    header {
        display: none;
        min-height: 30vh;
        background-position: center;
    }

    .title-menu {
        font-size: 2rem;
    }

    .description {
        font-size: 1.2rem;
        width: 80%;
    }

    .hamburger-menu {
        width: 2.5rem;
        height: 3rem;
    }

    .bar {
        width: 1.5rem;
    }

    .bar::before {
        transform: translateY(-7px);
    }

    .bar::after {
        transform: translateY(7px);
    }

    .links label {
        font-size: 2rem;

    }

    .links li {
        display: flex;
        align-items: center;
    }

    .form-all {
        width: 100%;
        margin: 0;
        max-width: 100%;
        padding: 2em;
    }
    .title {
        font-size: 16px;
    }
    .heading-with-line {
        font-size: 16px;
    }
    label, .form-label {
        font-size: 14px;
    }
}

@media (min-width:360px) {


    .go-home {
        margin-bottom: 20px;
    }

    .wrapper-1 {
        height: auto;
    }
}

@media (min-width:600px) {
    .content {
        max-width: 1000px;
        margin: 0 auto;
        margin-bottom: 4em;
    }

        .content h1 {
            font-size: 4.5em;
        }

    .wrapper-1 {
        height: initial;
        max-width: 620px;
        margin: 0 auto;
        margin-top: 50px;
        box-shadow: 4px 8px 40px 8px rgba(88, 146, 255, 0.2);
    }
}

@media only screen and (max-width: 47em) {
    .wrapper-2 {
        padding: 0;
    }

    .content h1 {
        font-size: 1.5em;
    }

    .content {
        margin-bottom: 0 !important;
        width: 100%;
        padding: 1em;
    }

    .wrapper-2 p {
        font-size: 12px;
    }
}