/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50; /* Dark background color */
    color: white; /* White text color for contrast */
    display: flex;
    justify-content: center;
}

/* Background Layer */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    background-image: 
        radial-gradient(#ffffff 8%, transparent 8%),
        radial-gradient(#ffffff 8%, transparent 8%);
    background-position: 0 0, 50px 50px;
    background-size: 100px 100px;
    animation: move-background 20s linear infinite;
}

@keyframes move-background {
    0% {
        background-position: 0 0, 50px 50px;
    }
    100% {
        background-position: 100px 100px, 150px 150px;
    }
}

/* Container Styles */
.container {
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.header-title {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 300;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* New Note Button */
.new-note-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-note-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Login Button */
.login-btn {
    background: transparent;
    border: 2px solid #2575fc;
    color: #2575fc;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #2575fc;
    color: white;
}

/* Notes Grid */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Note Card */
.note-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #6a11cb;
}

.note-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Note Header */
.note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.note-title {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.note-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.note-preview {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Note Footer */
.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

/* Like Button */
.like-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.like-button:hover {
    color: #e74c3c;
}

.like-button svg {
    margin-right: 0.5rem;
}

/* Creation Date */
.creation-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .notes-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #2c3e50; /* Matching the background color */
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2575fc;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

