html[data-theme="light"] header {
    --back-menu-mobile: #0D6073;
    --font-logo-mobile: #fff;
    --mobile-menu-active-color: #0D6073;
    --mobile-menu-active-back: #D9EEF3;
    --mobile-menu-color: #fff;
}

html[data-theme="dark"] header {
    --back-menu-mobile: #494F51;
    --font-logo-mobile: #fff;
    --mobile-menu-active-color: #fff;
    --mobile-menu-active-back: #04B2D5;
    --mobile-menu-color: #D8F8FF
}

html:not([data-theme]) header {
    --back-menu-mobile: #0D6073;
    --font-logo-mobile: #fff;
    --mobile-menu-active-color: #0D6073;
    --mobile-menu-active-back: #D9EEF3;
    --mobile-menu-color: #fff;
}

header {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    background-color: var(--back-menu-mobile);
    padding-bottom: 1px;
    height: 60px;
    overflow: hidden;
}

header.active {
    animation: pulldown 0.5s cubic-bezier(0.14, 1.05, 0.57, 1);
    height: 600px;
}

@keyframes pulldown {
    from {
        height: 60px;
    }
    to {
        height: 448px
    }
}

header nav {
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

header a.logo {
    text-decoration: none;
    color: var(--font-logo-mobile);
    text-align: center;
    display: flex;
    align-items: center;
    width: 200px;
    position: relative;
    top: 15px;
    left: 25px;
}

header a.logo .logo-img {
    width: 38px;
    height: 38px;
    background-image: url('/assets/images/t-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
}

header a.logo .logo-txt {
    font-size: 17px;
}

header a.logo .logo-txt span {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 21px;
}

.hamburger {
    width: 32px;
    height: 20px;
    position: absolute;
    right: 25px;
    top: 20px;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.hamburger:hover {
    cursor: pointer;
}

.hamburger, .hamburger span {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg)
}

.hamburger span {
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    background-color: #fff;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out
}

.hamburger span:first-child {
    top: 0
}

.hamburger span:nth-child(2) {
    top: 8px
}

.hamburger span:nth-child(3) {
    top: 16px
}

.hamburger.active span:first-child {
    top: 9px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg)
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -30px
}

.hamburger.active span:nth-child(3) {
    top: 9px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg)
}

header ul {
    list-style-type: none;
    padding: 0;
    width: 204px;
    margin: 0 auto;
    margin-top: 24px;
    animation: rollup 0.5s;
}

header ul li {
    text-align: center;
    margin: 10px 0;
}

header ul a {
    color: var(--mobile-menu-color);
    display: block;
    padding: 10px 10px 10px 10px;
    margin: 18px 10px;
    border-radius: 20px;
    background: transparent;
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
}

header ul a.link-active {
    color: var(--mobile-menu-active-color);
    background-color: var(--mobile-menu-active-back);
}

header ul a:hover {
    color: var(--mobile-menu-active-color);
    background-color: var(--mobile-menu-active-back);
}

@media (min-width: 1154px) {
    header {
        display: none;
    }
}