@font-face {
    font-family: "Font";
    src: url("../font/ae_Rehan.ttf") format("truetype");
}

*{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

body{
    font-family: "Font", Arial, sans-serif;
    -webkit-touch-callout: none;
}

::selection {
  background: transparent;
}
::-moz-selection {
  background: transparent;
}

header .toolbar{
    background: linear-gradient(135deg, #0f2027, #203a43, #005676);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: azure;
    gap: 20px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 0px rgba(0, 0, 0.1,0.5);
    position: fixed;
    width: 100%;
    height: 60px;
    top: 0%;
    left: 0%;
    flex: 1;    
}
.toolbar img{
    max-height: auto;
    max-width: 25px;
    filter: invert(1);
}
.toolbar input,
.toolbar h1{
    margin: 0;
    padding: 0;
    max-width: 300px;
    font-size: 40px;
    text-align: center;
    text-shadow: 0px 0px 6px yellow;
}
.toolbar input{
    text-shadow: none;
    border: red 1px solid;
    border-radius: 4px;
}
body #darkMode{
    content: url("../img/white_mode.png");
}
body.dark-mode #darkMode{
    content: url("../img/dark_mode.png");
}
/*footer*/
footer{
    padding: 8px;
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    gap: 10px;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    position: fixed;
    width: 100%;
    height: 50px;
    bottom: 0%;
}
footer img{
    width: auto;
    padding: 2px;
    height: 100%;
    filter: invert(1);
    border: white 1.2px solid;
    border-style: groove;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(232, 333, 231, 1);
}

/*Aside*/
#drawer{
    position: fixed;
    inset: 0;
    background-color: #005676;
    top: 0;
    right: 0;
    opacity: 0;
    width: 300px;
    height: 100%;
    background: #1c1c1e;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10000;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 20px 0 0 20px;
}
.DrawerOverLay{
    height: 100%;
    width: 100%;
    position: fixed;
    inset: 0;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 0.3s ease;
}
.DrawerOverLay.active{
    opacity: 1;
    pointer-events: all;
}
#drawer.active{
    opacity: 1;
    transform: translateX(0);
}
#drawer span{
    color: #fff;
    margin: 5px;
    text-align: center;
    font-weight: bolder;
    font-size: 20px;
    border-bottom: 2px solid white;
}

#drawer button{
    padding: 6px 14px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold; 
}
#drawer .contacts{
    display: flex;
    padding-top: 20px;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}
#drawer .contacts img{
    height: 50px;
    width: auto;
}

.category-bar{
    display: grid;
    flex-wrap: wrap;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    margin-bottom: 15px;
}
.category-bar button{
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}
.category-bar button.active{
    background: #263238;
    border-color: #263238;
}


@media (max-width: 768px){
    .toolbar input,
    .toolbar h1{
        max-width: 140px;
        font-size: 18px;
    }
    .toolbar img{
        width: 50px;
    }
}
