@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    background: linear-gradient(to right, #141e30, #243b55);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: rgb(255, 255, 255);
}

.navbar {
    background: rgba(53, 185, 5, 0.616) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-container {
    margin-top: 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.diary-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.diary-content {
    font-size: 16px;
    color: #f1f1f1;
}

.custom-btn {
    border-radius: 14px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.add-btn {
    background: #00b894;
    border: none;
}

.add-btn:hover {
    background: #00a383;
}


* {
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */

.custom-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;

    background: rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.logo-text i {
    color: #00d4ff;
    margin-right: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}