@charset:"UTF-8";

@media screen and (min-width: 769px){
body{
  position: relative;
}
header{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  background: #000;
  color: #fff;
  position: fixed;
  top: 40px;
  right: 0;
  width: 360px;
  height: 80px;
  z-index: 999999;
}
/*-------
menu-btn
-------*/
.menu-btn{
    position: absolute;
    top: calc(50% - 25px);
    right: 10px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    transition: all ease 0.8s;
}
.menu-btn span,
.menu-btn span:after{
    content: '';
    display: block;
    height: 2px;
    width: 32px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before{
    content: '';
    display: block;
    height: 2px;
    width: 32px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
    bottom: 10px;
}
.menu-btn small{
    bottom: -8px;
    position: absolute;
}
.menu-btn span:after{
    top:10px;
}
#menu-btn-check:checked ~ .menu-btn{
    right: 10px;
}
#menu-btn-check:checked ~ .menu-btn span{
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before{
    width: 32px;
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check_footer:checked ~ .menu-btn_footer span::before{
    width: 22px;
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after{
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check{
    display: none;
}
.menu-content {
    background-color: rgb(6 6 6 / 50%);
    transition: all 0.8s;
    overflow-y: auto;
    white-space: nowrap;
    max-width: 360px;
    width: 50%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 80;
}
#menu-btn-check:checked ~ .menu-content{
    right: 0;
}
.menu-content .menu{
    margin: 130px auto 0;
    padding: 0;
    width: 80%;
}
.menu-content .menu li{
    list-style: none;
    margin: 0 0 10px;
    padding: 0 0 0;
    width: 100%;
    height: 50px;
    position: relative;
    border-bottom: 1px solid #fff;
}
.menu-content .menu li a{
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 0 40px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
}
}

@media screen and (max-width: 768px){
body{
    position: relative;
}
header{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    background: #000;
    color: #fff;
    position: absolute;
    top: 30px;
    right: 0;
    width: 80%;
    height: 60px;
    z-index: 999999;
}
/*-------
menu-btn
-------*/
.menu-btn{
    position: absolute;
    top: calc(50% - 25px);
    right: 10px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    transition: all ease 0.8s;
}
.menu-btn span,
.menu-btn span:after{
    content: '';
    display: block;
    height: 2px;
    width: 32px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
}
.menu-btn span:before{
    content: '';
    display: block;
    height: 2px;
    width: 32px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
    bottom: 10px;
}
.menu-btn small{
    bottom: -12px;
    position: absolute;
}
.menu-btn span:after{
    top:10px;
}
#menu-btn-check:checked ~ .menu-btn{
    right: 10px;
}
#menu-btn-check:checked ~ .menu-btn span{
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before{
    width: 32px;
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check_footer:checked ~ .menu-btn_footer span::before{
    width: 22px;
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after{
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check{
    display: none;
}
.menu-content {
    background-color: rgb(6 6 6 / 50%);
    transition: all 0.8s;
    overflow-y: auto;
    white-space: nowrap;
    max-width: 360px;
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 80;
}
#menu-btn-check:checked ~ .menu-content{
    right: 0;
}
.menu-content .menu{
    margin: 100px auto 0;
    padding: 0;
    width: 80%;
}
.menu-content .menu li{
    list-style: none;
    margin: 0 0 10px;
    padding: 0 0 0;
    width: 100%;
    height: 50px;
    position: relative;
    border-bottom: 1px solid #fff;
}
.menu-content .menu li a{
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 0 40px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
}
}

