@font-face {
    font-family: Futura_Medium;
    src: url(../fonts/Futura_Medium.woff2);
}

body{
    margin-top: 70px !important;
}
.header{
    width: 100%;
    background: #e73234;
    height: 66px; /* 7.2% */
    position: fixed;
    top: 0;
    z-index: 3;
}
.header:after{
    content: "";
    inset-inline: 0;
    height: 14px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none;
    position: absolute;
    top: 100%;
    margin-top: -1px;
}

.logoContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 66px;
}

.logo{
    opacity: 1;
    width: 5rem; /* 5rem */
    max-width: 500px;
    margin-top: 12px;
    transform: translateY(0px);
}
.logo svg{
    width: 100%;
    height: 100%;
}

.puzzle-logo-module__vquEUG__descriptor{
    font-family: Futura_Medium; 
    font-weight: 500;
    opacity: 0;
}

.burger-btn {
  opacity: 1;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  top: 13px;
  right: 13px;
  outline: 0;
}

.line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  border-radius: 2px;
}

.line.topLine {
  top: 6px;
}

.line.middleLine {
  top: 18px;
}

.line.bottomLine {
  top: 30px;
}

.basket{
    opacity: 1;
    position: absolute;
    top: 14px;
    left: 14px;
}

.basket a{
    font-family: Futura_Medium; 
        display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    
}

.basket img{
    width: 2rem;
}

.basket span{
    text-align: left;
    position: absolute;
    top: -4px;
    right: -10px;
    background-color: black;
    color: white;
    border-radius: 50px;
    padding-left: 9%;
    padding-right: 10%;
}

#searchIcon{
    position: absolute;
    top: 14px;
    right: 65px;
    width: 37px;
    cursor: pointer;
}

#searchIcon img{
    width: 100%;
    height: 100%;
}

.searchBarContainer{
    /* opacity: 0;
    visibility: hidden; */
    /* margin-top: 55px; */
}

.searchBarForm{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.searchBar{
    width: 95%;
    padding: 14px;
    border-radius: 50px;
    outline: 0;
    border: 0;
    font-size: 1rem;
}

.headerContent{
    overflow: hidden;
    height: 66px;
}
.menuContainer{
  display: flex;
  flex-direction: column;
  transform: translateY(70px);
  width: 95%;
  margin: auto;
  height: 75vh;
  justify-content: space-between;
}
.menuContainer > ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  position: relative;

}

body.is-active {
  overflow: hidden;
  touch-action: none;
}

.menuContainer > ul > li{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Futura_Medium;
    flex: 0 0 calc(33.333% - 11px);
    height: 12rem;
    font-size: clamp(20px, 2vw, 50px);
}

.menuContainer > ul > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.menuContainer > ul > li:first-of-type > a{
    
    pointer-events: none;
    
}

.menuContainer > ul > li:first-of-type:hover{
cursor: pointer;
}


.menuContainer > ul > li:nth-child(-n+3){
    border-bottom: 1px solid black;
}

.menuContainer > ul > li:nth-child(2){
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.menuContainer > ul > li:nth-child(4){
    border-left: 1px solid black;
}

.menuContainer > ul > li:nth-child(5){
    border-left: 1px solid black;
    border-right: 1px solid black;
}
.productSubMenuContainer{
    font-family: Futura_Medium;
    width: 100%;
    position: absolute;
    top: 50%;
    background-color: #e73234;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1rem;
    height: 0%;
    overflow: hidden;
    display: flex;
    visibility: hidden;
}

.puzzleSubMenu, .gamesSubMenu{
    width: 50%;
}
.puzzleSubMenu ul, .gamesSubMenu ul{
    font-size: clamp(16px, 1vw, 25px);
    column-count: 2;
    column-gap: 0px;
}

.puzzleSubMenu ul li a:hover, .gamesSubMenu ul li a:hover{
    font-weight: bold;

}

.gamesSubMenu .title, .puzzleSubMenu .title{
 font-family: Futura_Medium !important;
 font-size: clamp(20px, 2vw, 50px);
 padding-bottom: 1rem;
}

.socialMediaBar{
    /* position: absolute;
    bottom: 5%;  */
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.social a{
    font-family: Futura_Medium !important;
    display: flex;
    align-items: center;
    font-size: clamp(20px, 1vw, 40px);
    text-align: center;
    justify-content: center;
}

.social a:hover{
    text-decoration: underline;
}
.social img{
    width: 7%;
    margin-right: 2%;
}



@media screen and (max-width: 800px){
    .menuContainer ul li a:nth-child(1){
        pointer-events: auto;
    }
    
    .productSubMenuContainer{
        display: none;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

@media screen and (max-width: 500px){
    .socialMediaBar{
         flex-direction: column;
    }

    .social{
        padding-bottom: 3%;
    }
    .menuContainer{
        display: flex;
        justify-content: space-between;
        height: 60vh;
        width: 90%;
        margin: auto;
    }
    .menuContainer ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .menuContainer ul li{
        flex: unset;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid black;
        height: 9vh;
    }
}

@media (max-width: 1000px) and (max-height: 400px) {
  .menuContainer{
    height: unset;
  }

 .menuContainer > ul > li {
    flex: 0 0 calc(20% - 11px);
    height: 6rem;
 }

 .menuContainer > ul > li:nth-child(-n+3) {
    border-bottom: 0;
 }

 .socialMediaBar {
        margin-top: 2%;
 }
}