.header{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    z-index: 16;
    background-color: rgb(255 255 255 / 13%);
    display: flex;
    align-items: center;
    justify-content: space-between;    
    padding: 10px 20px;
    height: 70px;
  }

.header .decor.bulb { 
  left: 120px;
  width: 8vw;
}
.header .card { 
    /* padding: 10px 10px 5px; */
    /* padding: 5px 10px  ; */
    display: table;
    /* width: 100px; */
    position: relative;
    transform: rotate(-12deg);
    /* margin-left: 20px; */
/* margin-top: -5px; */
}
 
.header .title{   
  font-size: 16px;
  padding: 10px 30px;
  border-width: 1px;
  border:1px solid #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  justify-content: center;
}
 
.header .logo {
  line-height: 1;
  text-align: center;
}
.header .logo-primary {
  font-family: "Adlery Pro";
  font-size: 16px;
  color: rgba(255, 255, 255, 0.63);
  margin-bottom: -3%;
  text-align: center;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.99);
}
.header .logo-secondary {
  font-family: Oswald, sans-serif;
  font-optical-sizing: auto;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.77);
  text-align: center;
  font-weight: 800;
  text-shadow: 0 0 50px #000;
  letter-spacing: 0.15vw;
}
.header .card .line {
  position: absolute;
  height: 1px;
  background-color: #fff;
  opacity: 0;
}
.header .line.top {
left: -17%;
    width: 70%;
    top: 0px;
}
.header .line.bottom {
left: 40%;
    width: 80%;
    bottom: -7px;
}

.header .mobile-burger {
    display: block;
    position: static;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s, visibility .5s;
}
.header .mobile-burger.active{
    opacity: 0;
    visibility: hidden;
}

.header .menu{   
    clip-path: circle(0.3% at 0% 0);
    -webkit-clip-path: circle(0.3% at 0% 0);
    transition: clip-path 0.65s, opacity 0.6s, visibility 1s;
    opacity: 0;
    visibility: hidden;
}
.header .menu .btn-close{
    display: block;
    right: 20px;
    top: 18px;
    font-size: 22px;
} 
/* .menu {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    padding: 1vh 1vw 16vh;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 19;
    background: url("../img/background.jpg") 19% 2% / auto 120% no-repeat;
    clip-path: circle(0.3% at 0% 0);
    -webkit-clip-path: circle(0.3% at 0% 0);
    transition: clip-path 0.65s, opacity 0.6s, visibility 1s;
    opacity: 0;
    visibility: hidden;
  } */
  .header .menu.active {
    clip-path: circle(148% at 0% 0);
    -webkit-clip-path: circle(148% at 0% 0);
    opacity: 1;
    visibility: visible;  
  }

  .footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 15;
    background-color: rgb(255 255 255 / 13%);
    display: flex;
    align-items: center;
    justify-content: space-between;    
    padding: 8px 20px;
    height: 100px;
    gap: 20px;
  }
  .footer .contacts{
    position: static;
  } 
 
  .footer .social{ 
    position: static;
    width: auto;
  }
  .footer .contacts a {
    gap: 10px;
  }
 
  .footer .contacts a .icon {
    width: 36px;
    height: 36px; 
      border-width: 1px;
    padding: 8px;
}
  .footer .contacts a .text {
    font-size: 16px; 
    color: #fff;
}
  .footer .btn {
    font-size: 18px;
    padding: 14px 40px;
    border-width: 1px;
 
}
.footer .social ul{
  gap: 20px;
}

.footer .text{
  color:#fff ;
  font-size: 18px;
  line-height: 1.2;
  flex: auto;
  text-align: center;
}
  .page-template-page-category:before{
    content:"";
    position:fixed;
    left:0;
    top:0;
    right:0;
    bottom:0;    background: url(../img/background.jpg) top center / cover no-repeat;
    z-index:1;
  }

.main{
    z-index: 1;
}
.main-category{
  padding: 70px 0 100px;
}
.main-category:after {
    content: "";
    position: absolute;
    transform: rotate(-7deg);
    box-shadow: -4px 6px 2vw #000;
    top: 6vh;
    width: 45vw;
    padding: 21%;
    right: 2%;
}
.container{
  overflow: auto;
  max-width: 1380px;
  height: 100%;
  padding:0 15px;
  padding-top: 15px;
  display: flex;
  gap: 5%;
  margin: auto;
  z-index: 10;
}

.main-category .gallery{
  width: 50%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap; flex: auto;
}

.main-category  .image{
  width: calc(50% - 10px);
  overflow: hidden;
  position: relative;
}
.main-category  .image:before{
  padding-top: 100%;
  content: "";
  display: block;
}
.main-category  .image img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main-category .content {
    flex: auto;
    color: #fff;
    width: calc(50% - 10px);
    font-size: 14px;
    position: sticky;
    line-height: 1.5;
    max-height: calc(100vh - 330px);
    top: 5%;
    padding: 0;
    overflow: auto;
    padding-left: 5%;
}
.main-category .content p{
  margin-bottom: 5px;
}

@media (max-width:992px){
  .header .menu{
    width: 400px;
  }
  .header .menu li {
        font-size: 18px; 
    }
  .main-category .container{
    flex-wrap: wrap;
    padding-bottom: 15px;
    height: auto;
    width: 100%;
  }
  .main-category .content{
    width: 100%; 
    display: block;
    overflow: visible;
    max-width: 100%;
    max-height: inherit;
    padding: 25px 0;
  }
  .footer{
    position: relative;
    flex-direction: column;
    height: auto;
    padding: 25px 15px;
    backdrop-filter: blur(10px);
  }
  .main-category {
    padding: 70px 0 0;
    height: auto;
    background: none;
    overflow: visible;
    max-height: none;
  }
  .header{
    backdrop-filter: blur(10px);
  }
  .footer .btn{
    color: #fff;
  }
  .page-template-page-category{
    height: auto!important;
    background: url(../img/background.jpg) top center / cover no-repeat;
    background-attachment: fixed;
  }
  .footer .contacts ul a{
    justify-content: center;
  }
  .main-category .content p {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  .main-category:after{
    content: none;
  }
  .header .menu{
    bottom: 0;
    min-height: 100vh;
    z-index: 19;
  }
}


@media (max-width:550px){
    .footer .btn {
    font-size: 15px;
    padding: 12px 23px; 
}
.header .menu {
        width: 100%;
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
  .header {
    padding: 10px 14px;
  }
  .header .menu .btn{
    position: sticky;
    bottom: calc(16px + env(safe-area-inset-bottom));
    margin-top: 26px;
   width: calc(100% - 30px);
  }
  .header .menu ul{
      padding-bottom: 40px;
      max-height: calc(100% - 90px);
  }
  .main{
    min-height: inherit;
  }
  .header .card{
    width: auto;
    padding: 0
  }
  .header .decor.bulb {
      left: 85px;
      width: 65px;
  }  
  .header .title {
    font-size: 14px;
    padding: 5px 20px;
    max-width: 150px;
    line-height: 1.2;
    min-height: 46px;
  }
  .footer { 
    align-items: flex-start;
  }
  .footer > .text{
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (min-width:550px){
  .header .menu ul{
    background: url(../img/background.jpg) top center / cover no-repeat;
  }
}