* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Wittgenstein", serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #f4f4f4;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
}

.logo img {
    max-width: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bbb;
}

#title-container{
	max-width: 600px;
    margin: 1em auto;
    margin-bottom: 0;
	text-align: center;
	font-weight: bold;
    border: 1px solid #000;
    padding: 1em;
    border-radius: 8px;
}

.container {
    margin: 0 auto;
	padding: 0.5em;
    text-align: left;
    position: relative;
    border-radius: 8px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the same height as the navbar */
}

.footer p {
    margin: 0;
    font-size: 0.8rem; /* Decreased font size */
}

.footer .instagram-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer .instagram-link:hover {
    color: #bbb;
}

#expense-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

#member-section, #expense-section, #expense-list-section, #split-results-section {
    margin-bottom: 20px;
}

input[type="text"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: "Wittgenstein", serif;
}

#participants{
    margin-top: 10px;
}

#split-results-h3{
    margin-top: 10px;
    margin-bottom: 10px;
}

.remove-contributor-btn{
    margin-bottom: 10px;
}

.expense-contributor {
    font-family: "Wittgenstein", serif;
}

#participants-checkboxes {
    margin-top: 5px;
    margin-bottom: 10px;
}

button {
    padding: 10px 15px;
    background-color: #000/*#28a745*/;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-family: "Wittgenstein", serif;
}

button:hover {
    background-color: #444;
}

#expense-list, #split-results {
    list-style: none;
    padding: 0;
    text-align: left;
}

#expense-list li, #split-results li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#participants-checkboxes label {
    display: inline-block;
    margin-right: 10px;
}

#member-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style-type: none;
    padding: 0;
}

.member-item {
    background-color: #f4f4f4;
    padding: 5px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: left;
    border-radius: 5px;
    font-size: 13px;
    margin-top: 10px;
}

.remove-member-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 2px 5px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    margin-top: 2px;
}

.remove-member-btn:hover {
    background-color: darkred;
}

#ad-container {
    flex: 1;
    margin: 1em;
    /* Add styles for the advertisement container */
}

#ad-container img {
    width: 100%;
    padding: 1em;
}