/* nav bar */
#nav-bar {
    display: flex; /* Make the navbar a flex container */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Align items vertically */
    background-color: transparent; /* Keep background transparent for now */
    padding: 0px 0; /* Add padding around the navbar */
    width: 100%;
}

#nav-bar ul {
    list-style: none; /* Remove bullet points */
    margin: 0; /* Reset margin */
    padding: 0; /* Reset padding */
    display: flex; /* Arrange list items horizontally */
    gap: 20px; /* Add space between the items */
}

#nav-bar ul li {
    margin: 0;
    padding: 0;
}

#nav-bar ul li a {
    text-decoration: none; /* Remove underline */
    color: white; /* Black text color by default */
    background-color: #0073e6; /* Light blue tabs by default */
    font-size: 1.1em; /* Adjust font size */
    font-family: Arial, sans-serif; /* Use a clean font */
    padding: 10px 15px; /* Add padding around the text */
    border-radius: 5px; /* Rounded corners for tab effect */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Hover effect: darken the background and change text color */
#nav-bar ul li a:hover {
    background-color: #0073e6; /* Slightly darker blue on hover */
    color: white; /* White text on hover */
    cursor: pointer;
}

#home_icon {
    height: 15px;
    stroke: white;
    stroke-width: 4;
    fill: none;
    align-self: center;
}

#home_link {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* cube at the top of the screen aligned to the left of the title in outer_container */
#cube {
    position: -webkit-sticky;
    position: sticky;
    top: 5px;
    transform: translate(-50px, 34px);
    padding-bottom: 0;
}

#cube-box {
    display: flex;
    transform: translate(-50px, 0);
}

#outer_container {
    padding-top: 5rem;
    margin: 0 auto;
    width: calc(100vw - 15rem);
}

@media screen and (min-width: 1350px) {
    #outer_container {
        width: 1040px;
    }
}

@media screen and (max-width: 510px) {
    #outer_container {
        width: 80vw;
    }

    #cube {
        transform: translate(-35px, 34px);
    }
}
