nav{
    position: relative;
    display: flex;
    justify-content: center;
    height: 76px;
    width: 100%;
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(109, 73, 73, 0.96) 0%, rgba(109, 73, 73, 0.96) 100%);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.16);
}
body.darkmode nav{
    background: linear-gradient(90deg, rgba(68, 45, 45, 0.96) 0%, rgba(68, 45, 45, 0.96) 100%);
}
nav .content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: inherit;
    width: 100%;
}
nav .left,
nav .right{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: inherit;
    width: fit-content;
    gap: 16px;
}
nav .right{
    gap: 0px;
}
nav .menu{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#btn_menu{
  display: none;
  justify-content: center;
  align-items: center;
  height: 44px;
  width: 44px;
  top: 10px;
  right: 10px;
  border: none;
  transition: 0.32s;
  border-radius: 6px;
  overflow: hidden;
  opacity: 1;
  z-index: 100;
}
body.darkmode #btn_menu{
  opacity: 1;
  box-shadow: none !important;
  background-color: transparent !important;
}
#btn_menu .img{
  height: 32px;
  width: 32px;
  transition: 200ms;
  background: url('../../assets/icons/menu.svg') no-repeat center;
  filter: invert(1);
  transform: rotate(0deg);
  pointer-events: none;
}
#btn_menu.active{
  display: flex;
}
#btn_menu.active .img{
  background: url('../../assets/icons/close.svg') no-repeat center;
  transform: rotate(180deg);
}
body.darkmode #btn_menu img{
  filter: invert(1) !important;
}
nav button:hover{
    box-shadow: none;
    text-decoration: underline !important;
}
body.darkmode nav button{
    background-color: transparent;
}
nav a{
    height: fit-content;
}

#link{
    width: 100%;
    height: 100%;
}

#darkMode_track{
    display: none;
    }
    #darkMode_track{
    display: flex;
    flex-wrap: wrap;
    height: 44px;
    width: 44px;
    overflow: hidden;
    }
    .darkMode_btn{
    justify-content: center;
    width: 100%;
    max-width: 44px;
    background-color: transparent !important;
    padding: none;
    border: none !important;
    transition: 150ms;
    border-radius: 0;
    z-index: 1;
    }

    .darkMode_btn img{
    margin: 0 !important;
    filter: invert(1);
    }
    .darkMode_btn.light img{
    filter: invert(1);
}

@media only all and (max-width: 665px) {
    h1{
        position: absolute;
        left: calc();
    }
    #btn_menu{
        display: flex;
    }
    nav .menu{
        display: none;
    }
    nav .menu button,
    nav .menu a{
        justify-content: flex-start !important;
        width: 100% !important;
        font-size: 15px;
    }
    #darkMode_track{
        position: absolute;
        top: 10px;
        right: 54px;
    }
    #darkMode_track,
    #darkMode_track button{
        height: 44px;
    }
    body.darkmode #navMenu{
        background: rgb(60 40 40);
    }
    #navMenu{
        position: absolute;
        display: flex;
        width: 64%;
        background-color: rgba(109, 73, 73, 1);
        border-radius: 6px;
        padding: 64px 32px 32px 32px;
        top: 6px;
        right: 14px;
        transition: opacity 0.12s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;
        -webkit-box-shadow: 0px 16px 5px 0px rgba(0, 0, 0, 0.16);
        -moz-box-shadow: 0px 16px 5px 0px rgba(0, 0, 0, 0.16);
        box-shadow: 0px 16px 5px 0px rgba(0, 0, 0, 0.16);
        pointer-events: none;
        overflow: hidden;
        opacity: 0;
        z-index: 99;
    }
    #navMenu:after{
        position: absolute;
        content: 'Menu';
        color: #fff;
        font-weight: 600;
        top: 24px;
        left: 32px;
    }
    #navMenu.active{
        opacity: 1;
        pointer-events: all;
    }
}