* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #f0f8ff; */
    background-image: url('./assets/bg.png');
}

h1,
#heading {
    font-family: Ubuntu, sans-serif;
    font-size: 2.0rem;
    margin-bottom: 1rem;
    color: #f0f8ff;
}

#welcome h1 {
    font-size: 3.0rem;
    font-weight: 800;
}

a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

h1,
p,
span,
li {
    color: #f0f8ff;
}

#definition,
#paragraph {
    display: none;
}

#Logo {
    height: auto;
    width: auto;
}

#Logo img {
    height: 99px;
    width: auto;
}

#hero {
    text-align: center;
    padding: 1px 0;
    max-height: 100dvh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

#sub-welcome span {
    font-size: 2.5rem;
    font-weight: 600;
}

#nav-bar,
#sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#nav-bar {
    background-color: transparent !important;
}

#nav-bar ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#nav-bar li {
    margin-right: 1rem;
    height: 50px;
}

#nav-bar a {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 0 8px;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: all .55s ease-in-out;
}

#nav-bar a:hover {
    border-bottom: 2px solid #333;
}

button {
    background-color: #fff;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    transition: all 500ms ease-in-out;
}

#sidebar {
    padding-left: 11px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#sidebar li a {
    color: #000;
    list-style: none;
    text-decoration: none;
}

#sidebar li {
    width: 100%;
}

#res {
    display: none;
}

#ser {
    display: flex;
    justify-content: flex-end;
}

button:hover {
    background-color: #dbdbdb;
}

#buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

#button-min,
#button-bod {
    margin: 10px;
}

#navLogo a img {
    height: 32px;
    width: auto;
}

@media (max-width: 800px) {
    #nav-bar {
        display: none;
    }
    #res {
        display: block;
    }
}

@media (max-width: 1535px) {
    header {
        padding: 15px 3%;
        transition: .2s;
    }
}

@media (max-width: 700px) {
    header {
        padding: 7px 2%;
        transition: .2s;
    }
}

@media (max-width: 330px) {
    #sidebar {
        width: 100%;
    }
}

@media (max-width: 413px) {
    #sidebar {
        width: 80%;
    }
}

@media (max-width: 613px) {
    h1,
    #heading {
        font-size: 2.3rem;
    }
}

@media (max-width: 399px) {
    h1,
    #heading {
        font-size: 1.7rem;
    }
}

#res svg path,
#ser svg path {
    fill: #000;
}

@media (prefers-color-scheme: dark) {
    #res svg path,
    #ser svg path {
        fill: #fff;
        /* Change the color to your desired color for dark mode */
    }
    #hero {
        max-height: 100dvh;
    }
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    span,
    a,
    li {
        color: #f0f8ff
    }
    #sidebar {
        background-color: rgba(0, 0, 0, 0.1);
    }
    #sidebar li a {
        color: #f0f8ff;
    }
    button {
        background-color: #333;
        color: #f0f9ff;
    }
    button:hover {
        background-color: #444;
    }
    #nav-bar a:hover {
        border-bottom: 2px solid #f0f0ff;
    }
}
