@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Righteous&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
}

#navbar {
    width: 100%;
    height: 80px; /* Reduce the height to fit the content better */
    position: fixed;
    top: 0;
    left: 0;
    background: #b3d9e6;
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center; /* Add this to distribute the items evenly */
    padding: 0px 20px; /* Add horizontal padding to create space around the items */
    z-index: 999; /* Add a higher z-index to ensure the navbar appears above other elements */
    transition: all 0.5s;
}

#navbar > * + * {
    margin-left: 10px; /* Add margin between each item */
}


.navbar_item {
    border-radius: 20px;
    transition: all 0.5s;
}

.navbar_text {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    padding: 10px 20px;
    cursor: pointer;
    color: #004a8c;
}

.navbar_logo {
    font-family: 'Righteous', monospace;
    font-weight: bold;
    font-size: 30px;
    line-height: 30px;
    color: #003060;
}

#navbar .navbar_item:not(.no_hover):hover, #navbar .navbar_item.current {
    background: linear-gradient(to top, #6fa8dc, rgba(111, 168, 220, 0.5));
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    scale: 1.05;
}

#navbar .navbar_item.current:hover {
    scale: 1.1;
}

#navbar_toggle {
    display: none; /* Initially hide the toggle button */
}

.content {
    padding-top: 75px; /* Add padding to the top of the content to prevent it from being hidden by the navbar */
}

@media (max-width: 915px) {
    #navbar {
        flex-direction: column; 
        padding: 20px 0px; 
        /* Stack the items vertically instead of horizontally */
    }

    #navbar.open {
        height: 300px;
    }

    .navbar_item {
        display: none; /* Hide navbar items on smaller screens */
    }

    #navbar > * + * {
        margin-top: 10px; /* Add margin between each item */
    }
    
    .navbar_item.no_hover, .navbar_item.show {
        display: flex; /* Display the current navbar item */
    }
    
    #navbar_toggle {
        display: flex; /* Display the toggle button */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }
    
    #navbar_toggle div {
        width: 100%;
        height: 3px;
        background-color: #000;
        border-radius: 5px;
    }

    .content {
        padding-top: 105px; /* Add padding to the top of the content to prevent it from being hidden by the navbar */
    }
}

a.no_a_format {
    color: inherit; /* Use the same color as the parent element */
    text-decoration: none; /* Remove underline */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px;
  }
  
  th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
  }
  
  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }
  
  td em {
    font-style: italic;
  }
  
  @media screen and (max-width: 600px) {
    th, td {
      padding: 5px;
    }
  }
