
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Header */
header {
    background: #333;
    color: #ffffff;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

header h1 {
    font-size: 24px;
    margin: 0;
}

/* Footer */
footer {
    background: #333;
    color: #ffffff;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    margin-top: auto;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}


.note-content-wrapper {
    margin: 20px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    text-align: left;
    word-wrap: break-word;
    white-space: pre-wrap;
    color: #444;
}

.note-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.note-content-wrapper::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.note-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999999;
}


button {
    background: #333;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background: #333;
}


a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
    }

    .container {
        padding: 15px 20px;
    }

    button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .note-content-wrapper {
        font-size: 14px;
    }
}
textarea {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    background: #f9f9f9;
}

textarea:focus {
    outline: none; 
    border-color: #007BFF; 
    background: #ffffff;
}
.success {
    margin-top: 20px;
    font-size: 16px;
    color: #28a745;
    padding: 10px 15px;
    border: 1px solid #28a745;
    border-radius: 5px;
    background: #e6f9eb;
    text-align: center;
}

.success a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.success a:hover {
    text-decoration: underline;
}