.p-nav,
.p-nav__sub{
    position: fixed;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    top: 0;
    background-color: rgba(55,55,55,0);
    z-index: 999;
    transition: all .3s;
}
.p-nav.active,
.p-nav__sub.active{
    background-color: rgba(55,55,55,.35);
    height: 100vh;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(12px);
}
.p-nav > ul,
.p-nav__sub > ul{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    top: 0;
    right: 0;
    gap: 2px;
    margin: 30px 0 0 0;
    padding: 0;
    z-index: 999;
}
.p-nav > ul > li,
.p-nav__sub > ul > li{
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 80px;
    max-height: 0;
    padding: 0 30px;
    background-color: white;
    color: #202020;
    list-style: none;
    transition: all .3s;
}
.p-nav.active > ul > li,
.p-nav__sub.active > ul > li{
    max-height: 80px;
}
.p-nav__inner{
    display: flex;
    align-items: center;
    text-align: left;
}
.p-nav__icon{
    display: flex;
    width: 60px;
    margin: 0 auto;
}
.p-nav__icon > img{
    max-width: 50px;
}
.p-nav__title{
    text-align: left;
    width: fit-content;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    margin: 5px 0 0 0;
}
.p-nav__about{
    width: 140px;
    font-size: 1rem;
    margin: 5px 0 0 10px;
}

.p-nav__menu{
    display: flex;
    justify-content: center;
    position: relative;
    border: none;
    background: none;
    width: 100%;
    height: 25px;
    z-index: 9999;
    padding-top: 40px;
}
.p-nav__menu > span.menu-icon,
.p-nav__menu > span.menu-icon::before,
.p-nav__menu > span.menu-icon::after {
    content: "";
    position: absolute;
    display: block;
    height: 2px;
    width: 25px;
    background-color: #FFF;
    transform: rotate(0);
    -webkit-transition: .3s all;
            transition: .3s all;
}
.p-nav__menu > span::before {
    top: -8px;
}
.p-nav__menu > span::after {
    top: 8px;
}
.p-nav__menu[aria-expanded="true"] > span.menu-icon{
    background-color: transparent;
}
.p-nav__menu[aria-expanded="true"] > span.menu-icon::before {
    top: 0;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.p-nav__menu[aria-expanded="true"] > span.menu-icon::after {
    top: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
.p-nav__menu .u-visuallyHidden {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%); 
    margin: -1px;
}


@media screen and (min-width: 769px){
    .p-nav{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        top: 160px;
    }
    .p-nav__sub{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        top: 0;
    }
    .p-nav__sub::before{
        position: absolute;
        content: '';
        display: block;
        justify-content: flex-end;
        align-items: center;
        width: 115px;
        height: 360px;
        top: 30px;
        background-color: #f5f5f5;
        border-radius: 0 5px 5px 0;
        z-index: 999;
    }
    .p-nav > ul{
        position: fixed;
        width: 110px;
        top: 130px;
        right: 0;
        gap: 10px;
    }
    .p-nav__sub > ul{
        position: fixed;
        width: 110px;
        top: 0;
        right: 0;
        gap: 10px;
    }
    .p-nav > ul > li,
    .p-nav__sub > ul > li{
        justify-content: center;
        width: 110px;
        height: 100px;
        max-height: unset;
        padding: 0;
        border-radius: 5px 0 0 5px;
        cursor: pointer;
    }
    .p-nav__inner{
        display: block;
        text-align: center;
    }
    .p-nav__icon > img{
        max-width: unset;
        max-height: 30px;
        margin: 0 auto;
    }
    .p-nav__title{
        text-align: center;
        width: 100%;
        margin: 5px 0 0 0;
        font-size: 1.3rem;
    }
    .p-nav__about{
        width: fit-content;
        margin: 5px 0 0 0;
        font-size: .8rem;
    }
    .p-nav__menu{
        display: none;
    }
}
