@media (min-width: 768px) {
    :root {
        --fs-xsmall: 14px;
        --fs-small: 16px;
        --fs-base: 20px;
        --fs-h4: 24px;
        --fs-h3: 32px;
        --fs-h2: 48px;
        --fs-h1: 72px;
    }
}

:root {
    --fs-xsmall: 14px;
    --fs-small: 16px;
    --fs-base: 16px;
    --fs-h4: 24px;
    --fs-h3: 24px;
    --fs-h2: 28px;
    --fs-h1: 40px;
}

.line {
    fill: none;
    stroke: black;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.layout {
    width: 100%;
    overflow-x: hidden;
}

.container-box {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: var(--fs-small);
}

.mobile-nav--menu {
    display: flex;
    height: 2.8rem;
    color: #24292e;
    font-weight: 600;
}

.mobile-nav--menu .button {
    position: fixed;
    right: 1rem;
    z-index: 100;
    height: 2.8rem;
    color: #fff;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.mobile-nav--menu .mobile-nav--shadow {
    left: 0;
    z-index: 30;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
}

.mobile-nav--menu .mobile-nav--overlay,
.mobile-nav--menu .mobile-nav--shadow {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.mobile-nav--menu .mobile-nav--overlay {
    right: 0;
    z-index: 50;
    display: flex;
    max-width: 32rem;
    transform: translateX(100%);
}

.mobile-nav--menu .mobile-nav--overlay a {
    text-decoration: none;
    color: #24292e;
}

.mobile-nav--menu .mobile-nav--overlay-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin-left: auto;
    padding: 4.8rem 0.8rem 0.8rem;
    overflow: auto;
    background-color: #fff;
}

.mobile-nav--menu .mobile-nav--overlay .mobile-nav--items {
    flex: 1;
}

.mobile-nav--menu.open .mobile-nav--shadow {
    opacity: 0.5;
    pointer-events: all;
}

.mobile-nav--menu.open .mobile-nav--overlay {
    transform: translateX(0);
    transition: all 0.3s ease-in-out;
}

.mobile-nav--menu.open .button {
    color: #24292e;
}

.mobile-nav--menu.open .title {
    color: #24292e;
}

@media (min-width: 1012px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav--menu .mobile-nav--items > a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #b7bfc7;
}

.mobile-nav--menu .mobile-nav--items > div {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #b7bfc7;
}

.mobile-nav--menu .actions {
    margin-top: 1rem;
    text-align: center;
}

.mobile-nav--menu .menu-button {
    display: inline-block;
    box-sizing: border-box;
    padding: 14px 24px;
    border: 1px solid #484f58;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.mobile-nav--menu .menu-button:hover {
    color: #24292e;
    background-color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown button {
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
    font-family: inherit;
    background: 0 0;
    border: none;
}

.dropdown .title {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown .title svg {
    margin-left: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.dropdown.isOpen .title svg {
    transform: rotateX(180deg);
}

.dropdown .submenu {
    display: none;
    padding-top: 1.8rem;
}

.dropdown .submenu.open {
    display: block;
}

.dropdown .submenu a {
    display: block;
    margin-bottom: 0.8rem;
}
