*{
    margin: 0;
    padding: 0;
}

body{
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(270deg,rgb(207, 206, 206),rgb(254, 240, 214));
    color: black;
}
body.dark-mode {
    background: linear-gradient(270deg, rgb(0, 123, 110),rgb(62, 62, 62));
    color: white;
}
#navbar{
    display: flex;
    position: fixed;
    width: 100%;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(270deg,rgba(166, 166, 166,0.5),rgba(255, 232, 186,0.5));
    backdrop-filter: blur(10px);
    align-items: baseline;
    z-index: 10;
}
#navbar.dark-mode{
    background: linear-gradient(270deg,rgb(0, 55, 50),rgb(53, 53, 53));
}
#logo{
    font-weight: bolder;
    color: chocolate;
    font-family:"Poppins";
    font-size: 2rem;
    text-shadow: 
    0 0 10px white, /* Inner glow */
    0 0 20px white, /* Outer glow */
    0 0 30px rgb(255, 229, 181) /* Extended outer glow */
}
#logo.dark-mode{
    color: rgb(251, 220, 198);
    text-shadow: 
    0 0 10px rgb(0, 97, 97), /* Inner glow */
    0 0 20px rgb(7, 73, 0), /* Outer glow */
    0 0 30px rgb(239, 156, 2) /* Extended outer glow */
}
#logo:hover{cursor: pointer;}
.btn{
    text-align: center;
    margin-right: 1rem;
    background: linear-gradient(135deg,pink,cornsilk);
    padding: 9px;
    border-radius: 3px;
    text-decoration: none;
    border: none;
    color: rgb(33, 0, 99);
}
#lyt_drk{margin-right: 2rem;}
.btn.dark-mode{
    color: white;
    background: linear-gradient(135deg,rgb(2, 126, 20),rgb(1, 178, 148));
}
.btn:hover{background: linear-gradient(135deg,rgb(255, 102, 128),rgb(253, 217, 73));}
.btn:hover.dark-mode{background: linear-gradient(135deg,rgb(3, 99, 17),rgb(1, 122, 102));}
#allscreensizenav{
    margin-right: 0.5rem;
}
#mobilehamburger{display: none;}
#sidebar{
    position: absolute;
    display: none;
    flex-direction: column;
    right: 1rem;
    padding: 2rem;
    width: 30vh;
    /* height: 100vh; */
    background-color: rgb(255, 206, 115);
    z-index: 10;
    border-radius: 6px;
    box-shadow: 0px 0px 1px 1px orange;
}
#sidebar.dark-mode{
    background-color:lightgreen;
    box-shadow: 0px 0px 1px 1px green;
}
#closesidebar{background: linear-gradient(270deg,red,rgb(150, 150, 150));}
.sidebarbtn{
    display: inline;
    margin-bottom: 1rem;
    width: auto;
}
/* Scroll bar */

/* For the entire scrollbar */
::-webkit-scrollbar {
    width: 9px; /* Width of the scrollbar */
}

/* Track of the scrollbar (background) */
::-webkit-scrollbar-track {
    background:linear-gradient(120deg,rgb(207, 206, 206,0.8),rgb(254, 240, 214)); 
}
.dark-mode::-webkit-scrollbar-track {
    background:linear-gradient(120deg,rgba(0, 0, 0, 0.8),rgb(1, 104, 62)); 
}

/* draggable part */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,rgb(254, 153, 170),rgb(255, 234, 152));
    border-radius: 2xpx; /* Rounded corners */
}
.dark-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg,rgb(2, 206, 32),rgb(22, 175, 150));
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg,rgb(255, 102, 128),rgb(253, 217, 73));
}



/* animation */
.dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 165, 0, 0.7);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
    z-index: -1;
}
.dot.dark-mode{
    background-color: aliceblue;
}

@keyframes float {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-50px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (max-width:960px){
    body{
        font-size: 0.7rem;
    }
    #navbar{
    padding: 1rem;
    }
    #logo{
        font-size: 1.1rem;
        text-shadow: 
        0 0 5px white, /* Inner glow */
        0 0 10px white, /* Outer glow */
        0 0 15px rgb(255, 229, 181) /* Extended outer glow */
    }
    .btn{
        margin-right: 0.5rem;
        padding: 9px;
        border-radius: 3px;
        font-size: 0.7rem;
    }
    #lyt_drk{
        margin-right: 1rem;
    }
    .dot {
        width: 9px;
        height: 9px;
    }
}

@media(max-width:445px){
    #career,#Terms,#Policy{display: none;}
    #allscreensizenav{
        display: none;
    }
    #mobilehamburger{
        display: inline;
        margin-right: 70px;
    }
}   