/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply a more modern and professional font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Style the header */
header {
    width: 100%;
    background-color: #375238;
    padding: 15px 0;
    text-align: center;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pageTitle {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 0;
    font-style: normal;
}

.HealthMind {
    font-family: "Playwrite BE WAL", cursive;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-shadow: #0e8e00 0px 0px 10px;
}

.HealthMind-slogan {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 0;
    font-style: normal;
    font-size: 12px;
    text-shadow: #0e8e00 0px 0px 10px;
}

.HealthMind-dots {
    font-size: 12px;
    color: #0e8e00;
    letter-spacing: 5px;
}

/* Style the navigation links */
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
    font-weight: 600;
}

/* Style the main content area */
main {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style sections for user info, notes, etc. */
#user-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#health-stats p,
#notes,
#warnings {
    margin: 15px 0;
    text-align: left;
}

#user-notes {
    width: 100%;
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
}

#save-notes, #save-profile {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

#save-notes:hover, #save-profile:hover {
    background-color: #0056b3;
}

#tips {
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    box-shadow: inset 0 0 10px #007bff, 0 0 10px #007bff;
    margin-top: 10px;
}


.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 10px;
    box-shadow: 0 0 10px #0e8e00;
}

/* Styling for the footer */
footer {
    width: 100%;
    background-color: #375238;
    padding: 15px 0;
    text-align: center;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    bottom: 0;
    position: fixed;
    text-decoration: none;
}

footer .text {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    bottom: 0;
    text-decoration: none;
}

/* Styling for the link inside the footer */
footer .policy {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    position: absolute;
    right: 20px; /* Adjust this value as needed */
    bottom: 50%; /* Aligns vertically centered */
    transform: translateY(50%); /* Corrects vertical alignment */
}

footer .contact {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    position: absolute;
    right: 130px; /* Adjust this value as needed */
    
    bottom: 50%; /* Aligns vertically centered */
    transform: translateY(50%); /* Corrects vertical alignment */
}

footer .policy:hover, footer .contact:hover, footer .text:hover{
    color: white;
}


/* Responsive design for smaller screens */
@media (max-width: 600px) {
    main {
        width: 95%;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    #save-notes {
        width: 100%;
    }
}
