
 /*style of title*/
h1{
    color: #923b3b;
    display: flex;  
    justify-content: center;  /* Centering items horizontally  */
    align-items: center; /* Centering items vertically */
} 
/* nav.css */
nav ul {
    list-style-type: none;  /*remove dot*/
    padding: 0;
    margin: 0;
    display: flex;  
    justify-content: center;  /*horizontal alignment*/
    align-items: center; /*Vertical alignment*/
   
}
/* Style for each list item in the navigation */
nav ul li {
    margin: 0 30px;/*space between each list item*/
    
}
/* Style for the navigation links */
nav a {
    color: #923b3b;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    display: flex; 
    align-items: center;  
    padding-top: 40px;
}
/* Style for the navigation item container (icon + text) */
.nav-item {
    display: flex;
    flex-direction: column; /*icon and text in column*/
    align-items: center; 
}
/* Style for the navigation icons */
.nav-icon {
    width: 40px;  
    height: auto;
    margin-bottom: 10px;
}
/* Hover effect for the navigation links */
nav a:hover {
    color: darkseagreen;  
}


/* Style for the active navigation link */
nav a.active {
    color: darkseagreen;  
    font-weight: bold;  
    border-bottom: 2px solid darkseagreen;
}
/* Stack navigation items vertically and center-align text for mobile */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;  
        text-align: center;  
        justify-content: center;
    }

    nav ul li {
        margin: 0 0; 
    }

    .nav-item {
        flex-direction: column;
    }
}

.theme-button {
    border: 1px solid darkseagreen;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    background-color: #923b3b;  /* Set the background color of the button */
    color: white;  /* Set the text color of the button */
    border-radius: 5px;  /* Round the corners of the button */
    transition: background-color 0.3s ease;
  }
