.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    padding: 15px 2rem;

    background-color: #4169E1;
    backdrop-filter: blur(10px);

    background: rgba(65, 105, 225, 0.9);
    backdrop-filter: blur(12px);
}

 /* header name */
 .header .content_name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
}

.header .content_name p {
    color: aliceblue;
    font-weight: bold;
}

.header .content_name .text-rotate {
    height: 1.5rem;
    overflow: hidden;
    display: inline-block;
    color: #FF0000;
    font-weight: bold;
}
.header .content_name .text-rotate span {
    display: block;
    line-height: 1.5rem;
    animation: rotateText 5s infinite;
}

@keyframes rotateText {
    0%, 45% {
        transform: translateY(0);
    }

    50%, 95% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

 /* desktop nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: bold;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color .2s, opacity .2s;
}

.nav-links a:hover {
    border-bottom-color: aliceblue;
}

 /* header action */

.header .action button 
{
    cursor: pointer;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    color: #ffff;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.menu-toggle {
    display: none;
}

/* drawer (mobile) */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .3s;
}

.drawer-backdrop.is-visible {
    opacity: 1;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    height: 100dvh;
    width: min(78vw, 320px);
    padding: 5rem 1.75rem 2rem;

    background: #2b4bb5;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .35);

    transform: translateX(100%);
    transition: transform .3s ease;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    cursor: pointer;
    background: transparent;
    color: aliceblue;
    font-size: 22px;
    display: inline-flex;
    padding: 8px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-links a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 768px) {
    .header {
        padding: 12px 1.25rem;
    }

    .header .content_name {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (min-width: 769px) {
    .drawer,
    .drawer-backdrop {
        display: none;
    }
}
