body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0 0 120px 0;
    background-color: #f6f7f9;
}

h2 {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.toggle-container {
    display: flex;
    align-items: center;
}

.dark-mode-toggle {
    height: 1.2em;
    width: 1.2em;
    margin-left: 5px;
    border: 1px solid black;
}

input[type="password"] {
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 2.5em;
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    text-align: center;
}

button {
    font-size: 14px;
    padding: 6px 10px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 8px;
}

.save-button {
    margin-bottom: 2%;
}

.delete-account-button {
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: white;
}

.navbar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    z-index: 1000;
}

.navbar {
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    color: white;
}

.navbar div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.navbar div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: white;
}

.navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.navbar img {
    height: 32px;
    width: 32px;
}

@media (max-width: 700px) {
    body {
        margin: 0;
        padding: 12px 12px 90px 12px;
        overflow-x: hidden;
    }

    .navbar-container {
        height: 80px;
    }

    .settings.container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .profile-card {
        width: 100%;
        max-width: 18rem;
        margin: 0 auto;
    }

    input[type="password"] {
        width: 100%;
    }

    .save-button,
    .delete-account-button,
    .sign-out-button {
        width: 100%;
        margin: 8px 0;
    }

    #update-password {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 701px) {
    .navbar-container {
        height: 72px;
    }

    .navbar img {
        height: 48px;
        width: 48px;
    }

    .settings.container {
        max-width: 420px;
        margin: 20px auto 100px auto;
        padding: 10px;
    }

    .profile-card {
        width: 100%;
        max-width: 18rem;
        margin: 0 auto 20px auto;
    }

    .profile-card img {
        height: 260px;
        object-fit: cover;
    }

    input[type="password"] {
        width: 100%;
        max-width: 400px;
    }

    #update-password {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .save-button,
    .delete-account-button,
    .sign-out-button {
        width: 100%;
        margin: 8px 0;
    }
}