body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header (nav) styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000; /* the largest z-index is on top */
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    color: rgb(0, 0, 0);
}

.brand {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    /* 1 rem = 16px (default) */
    align-items: center;
}

.brand a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.clinic-name {
    font-size: 30px;
    vertical-align: middle;
    font-weight: bold;
}

.firsttitle {
    color: #023f67;
    vertical-align: middle;
}

.secondtitle {
    color: #7dcf0c;
    vertical-align: middle;
}

.clinic-logo {
    width: 40px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

.emoji {
    font-size: 24px;
    margin-left: 5px;
}

.links {
    display: flex;
    align-items: center;
}

.links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    margin: 0 15px;
    font-size: 16px;
}

nav .action-buttons {
    display: flex;
    flex-wrap: wrap;
}

nav .action-buttons button {
    padding: 8px 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.small-link {
    transition: transform 0.1s;
    font-weight: bold;
}

.small-link:hover {
    transform: scale(1.05);
    transform-origin: 50% 60%;
}

.large-button {
    background-color:
        #00b38f;
    color: white;
}

.large-button:hover {
    background-color: #00997a;
    color: white;
}

.logout-button {
    background-color: #ff6666;
    color: white;
}

.logout-button:hover {
    background-color: #ff1a1a;
    color: white;
}


/* Main style */
main {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f2f2f2;
}

main .content {
    width: 75%;
}

.footer {
    background-color: #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 70%;
    margin: auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    width: 33%;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: #333;
    margin-bottom: 15px;
}

.footer-column ul,
.footer-column ul li a {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #888;
    text-decoration: none;
}

.footer-column ul li a:hover,
.social-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #555;
    font-size: 1.2em;
}

.footer-bottom-text {
    text-align: center;
    color: #555;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}