* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* SCROLLBAR  */
::-webkit-scrollbar {
    width: 8.5px;
  }
  ::-webkit-scrollbar-track {
    background: #929292;
  }
  ::-webkit-scrollbar-thumb {
    background: #535353;
    border-radius: 20px;
  }
  ::-webkit-scrollbar-thumb:hover{
    background: rgb(74, 74, 74);
  }

:root {
    --p_color: rgb(229, 229, 229);
    --nav_color: rgb(36, 36, 36);
    --nav_txt: rgb(191, 189, 189);
    --dark_bg: rgb(23,23,23);
}
#heading-tr{
    display: flex;
    justify-content: center;
    margin-top: 50px;
    color: var(--p_color);
    font-size: 1.9em;
    font-weight: 600;
}
.box-container {
    margin: 50px 20px;
    margin-bottom: 100px;
    grid-gap: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: minmax(100px, auto);
}


.box {
    width: 100%;
    min-height: 110px;
    word-wrap: break-word;
    border-radius: 12px;
    background-color: var(--nav_color);
    padding: 20px;
    color: black;
}
.box h2, p{
    color: var(--nav_txt);

}

.box h2 {
    font-size: 1em;
}

.box p {
    font-size: 0.8em;
}




body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--dark_bg);
    font-size: 18px;
    font-family: 'Nunito Sans', sans-serif;
}
.box img{
    display: none;}

.profile {
    display: none;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.desktop{
    transition: 0.3s ease-in-out;
}

.desktop a:hover{
    font-weight: 500;
    color: white;
}
.right li a{
    color: var(--nav_txt);
}
.right li .active-nav{
    font-weight: 700;
}





button {
    background-color: var(--p_color);
    color: black;
    border-radius: 10px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.container{
    width: fit-content;
    /* height: fit-content; */
    /* margin: 200px 0px; */
}
.form-container, .container{
    position: relative;
}
.form-container .active-form input,button{
    position: relative;
    width: 100%;
    margin: 10px 0px;
}
.form-container  h2{
    margin-top: 10px;
    margin-bottom: 30px;
}
.form-container .active-form input::placeholder{
    text-align: center;
    width: 100%;
    
}
.container button{
    transition: 0.3s ease-in-out;
}
.container button:hover{
    background-color: aliceblue;
    filter: drop-shadow(0px 0px 5px #1e87f185);
    color: var(--dark_bg);
}

@media screen and (max-width:800px) {
    .mobiles-top {
        width: 100%;
        background-color: var(--nav_color);
        color: white;
        text-align: center;
        display: inline-block;
        padding: 20px;
        padding-bottom: 0px;
        border-radius: 5px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.199);
        height: 11vh;
        position:sticky;
        top: 0;
    }
    

    .desktop {
        display: none;
    }

    .mobiles-top h2 {
        float: center;
    }
    .mobiles-bottom {
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
        margin: auto;
        display: flex;
        position: fixed;
        flex-wrap: nowrap;
        bottom: 0px;
        width: 100%;
        flex-direction: row;
        border-radius: 15px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        z-index: 9999;
        box-shadow: 0px 0px 20px rgba(58, 58, 58, 0.249);
        background-color: var(--nav_color);
        border-top: 1px solid var(--dark_bg);
    }

    .mobiles-bottom li {
        width: 70px;
        text-align: center;
        /* margin: 0px 30px; */
        padding: 10px;
        display: inline-block;
    }

    .mobiles-bottom img {
        display: inline-block;
        filter: invert();
        opacity: 50%;
        width: 25px;
        
    }

    .mobiles-bottom h4 {
        color: var(--nav_txt);
        font-size: 0.6em;
        /* align-items: center; */
        text-align: center;
    }

    #home-icon {
        float: left;
    }

    /* #reminder-icon {
        float: right;
    } */


    .mobiles-top img {
        width: 35px;
        float: right;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.582);
        border-radius: 100px;
    }

    .mobiles-bottom .active {
        filter: brightness(1);
        /* border-bottom: 1px solid black; */
    }
    
    .container h2{
        font-size: 1.3em;
    }
    .container p,a{
        font-size: 1em;
    }

    
    




}

@media screen and (max-width: 320px) {
    .mobiles-bottom li {
        /* margin: 10px; */
        width: 23%;
        padding: 10px 20px;
        text-align: center;
        align-items: center;
        margin: 0;
    }

  

    .mobiles-bottom img {
        align-items: center;
        width: 22px;
    }

    .mobiles-bottom h4 {
        display: none;
        font-size: 0.4em;
    }

    .mobiles-top h2 {
        font-size: 1em;
    }
    .mobiles-top{
        border-radius: 5px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .mobiles-top img {
        width: 25px;
    }
    
    
   
}

@media screen and (min-width: 800px) {
    body {
        
        height: 100%;
    }

    .mobiles-top {
        display: none;
    }

    .mobiles-bottom {
        display: none;
    }

  

    .desktop {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.468);
        border-radius: 5px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        background-color: var(--nav_color);
    }

    .desktop ul {
        display: flex;

    }

    .right {
        display: flex;
        position: fixed;
        right: 10px;
    }

   

   

    #logo {
        margin: 0px 20px;
        font-size: 1.2em;
        align-items: center;
        color: var(--nav_txt);
        align-self: center;
    }

    .desktop a {
        color: var(--nav_txt);
        font-size:0.9em;
    }

    .desktop li {
        justify-content: flex-end;
        color: black;
        padding: 10px;

        margin: 10px 10px;
    }

  
    .main {
        grid-column: 1/8;
        margin: 20px;
        margin-top: 80px;
        padding: 10px;
    }

    

    
    .left {
        display: flex;
        width: 100%;
        height: 64px;
    }
    .box-container{
        margin-top: 50px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
        #heading-tr{
            display: flex;
            justify-content: start;
            margin-top: 100px;
       
            font-size: 3em;
            margin-left: 50px;
            font-weight: 600;
        }
  
   
}

  
  
  
  @media (prefers-color-scheme: light){
    .content{
        box-shadow: 0px 0px 10px rgba(128, 128, 128, 0.34);
    }
    body{
        background-color: var(--p_color);
        color: var(--dark_bg);
    }
    
    .mobiles-bottom{
        background-color: var(--p_color);
        border: none;
    }
   
  
    .mobiles-top h2{
        color: black;
    }
    .mobiles-top{
        background-color: var(--p_color);

    }
    
    .desktop{
        background-color: var(--p_color);
    }
    .desktop li a{
        color: black;

    }
    a{
        color: black;
    }
    
    
    #logo{
        color:black;
    }
  
    .mobiles-bottom li{
        color: black;
    }
    .mobiles-bottom img{
        filter: invert(0);
    }
    .container{
        background-color: rgb(230, 230, 230);
        color: var(--nav_color);
    }
    input{
        background-color: var(--p_color);
    }
    .box{
        background-color: white;
    }
    .box h2,p{
        color: var(--dark_bg);
    }
    #heading-tr{
        color: var(--dark_bg);
    }
    .right li a:hover, #logo a h3{
        color: black;
    }
    


} 


  
  


