* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

html, body {
    height: 100%; /* Occupy the full height of the viewport */
}

.navBar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 75px;
    background-color: #23b7f2;
    display: flex; /* Enable Flexbox for layout */
    justify-content: space-between; /* Spread out the children */
    align-items: center; /* Vertically center the content */
    padding: 10px 0 10px 0;
}

.nav-left {
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.nav-center {
    display: flex; /* Align links in a row */
    gap: 15px; /* Add space between links */
}

.nav-right {
    padding-right: 10px;
    display: flex; /* Align links in a row */
    gap: 10px; /* Add space between Login/Signup or Logout links */
}

.navBar a {
    text-decoration: none; /* Remove underline */
    color: white; /* Link text color */
    font-size: 16px; /* Adjust link font size */
}

.navBar a:hover {
    text-decoration: underline; /* Add underline on hover */
}

/* Ensure the mascot image is circular */
.mascot {
    width: 60px; /* Adjust the size of the mascot */
    height: 60px; /* Make the height equal to width for a perfect circle */
    border-radius: 50%; /* This makes the image circular */
    object-fit: cover; /* Ensures the image covers the circle without distortion */
    margin-right: 10px; /* Space between the mascot and the title */
}

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background-color: #23b7f2;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Align text inside the <p> */
}

.footer p {
    color: #fff;
    font-size: 10px;
}

/* Style for the main section */
#mainSection {
    display: flex; /* Flexbox to center the card */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
    background-color: #f3f4f6; /* Subtle background color */
    font-family: Arial, sans-serif; /* Clean font */
    margin: 0; /* Remove default margins */
}

/* Style for the form container */
#mainSection form {
    z-index: 10;
    background-color: white; /* White background for the form card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Card shadow */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Padding inside the card */
    width: 300px; /* Set card width */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    gap: 5px; /* Space between form elements */
}

/* Form elements styling */
#mainSection label {
    font-size: 14px;
    color: #333; /* Darker text for labels */
    font-weight: bold;
}

#mainSection input[type="text"],
#mainSection input[type="password"] {
    padding: 10px; /* Inner padding for inputs */
    font-size: 14px;
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 5px; /* Rounded corners for inputs */
    outline: none; /* Remove default outline */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

#mainSection input[type="text"]:focus,
#mainSection input[type="password"]:focus {
    border-color: #23b7f2; /* Highlight border on focus */
    box-shadow: 0 0 5px rgba(35, 183, 242, 0.5); /* Glow effect */
}

/* Submit button styling */
#mainSection input[type="submit"] {
    background-color: #23b7f2; /* Primary button color */
    color: white; /* White text on button */
    font-size: 16px;
    font-weight: bold;
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners for button */
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#mainSection input[type="submit"]:hover {
    background-color: #1a8ccc; /* Darker blue on hover */
}

#mainSection input[type="submit"]:active {
    transform: scale(0.98); /* Slight "press" effect */
}

/* Center text for the card */
#mainSection h2 {
    margin-top: 15px;
    text-align: center;
    color: #292929; /* Title color */
    margin-bottom: 10px;
}

.error {
    color: rgb(219, 45, 45);
}

.behind {
    position: relative;
    width: 150px;
    height: 100px;
    border-radius: 50%;
    left: 40px;
    z-index: 10;
    background-image: url('/static/mascot.png');
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Card shadow */
    background-size: cover;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between profile and notes */
    padding: 40px;
    justify-content: center;
    align-items: center;
}

.container img {
    width: 200px;
    height: 200px;
}

.notesDisplay {
    width: 100%; /* Full width within the notesContainer */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #f7f7f7;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}

/* Notes container */
.notesContainer {
    flex: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between individual notes */
    padding: 20px;
}

.profile {
    flex: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

@media (max-width: 700px) {
    .profile,
    .notesContainer {
        flex: 50%;
    }
}