@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap');

body {
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #dcd6f7);
    margin: 0;
    padding: 0;
    color: #444;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
    margin: 0 0 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.4em;
    color: #6a1b9a; /* Dark purple */
}

h2 {
    font-size: 2em;
    color: #7e57c2; /* Medium purple */
}

h3 {
    font-size: 1.8em;
    color: #9c27b0; /* Lighter purple */
}

h4 {
    font-size: 1.6em;
    color: #ba68c8; /* Light purple */
}

h5 {
    font-size: 1.4em;
    color: #ce93d8; /* Very light purple */
}

h6 {
    font-size: 1.2em;
    color: #e1bee7; /* Soft purple */
}

p {
    margin: 25px 0;
    line-height: 1.8;
    color: #444;
}

a {
    color: #6a1b9a; /* Dark purple */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a148c; /* Even darker purple */
    text-decoration: underline;
}

ul, ol {
    padding-left: 20px;
    margin: 20px 0;
}

li {
    margin-bottom: 10px;
}

blockquote {
    background: #f9f9f9;
    border-left: 4px solid #6a1b9a; /* Dark purple */
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 6px;
    font-family: 'Courier New', Courier, monospace;
    color: #6a1b9a; /* Dark purple */
}

pre {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #6a1b9a; /* Dark purple */
}

form {
    margin-bottom: 25px;
}

label {
    text-align: center;
    transition: color 0.3s ease;
}

input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 1rem;
}

input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"], 
input[type="tel"] {
    background-color: #fafafa;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
input[type="tel"]:focus {
    border-color: #6a1b9a; /* Dark purple */
    box-shadow: 0 0 8px rgba(106, 27, 154, 0.3);
    outline: none;
}

textarea {
    background-color: #fafafa;
    resize: vertical;
}

textarea:focus {
    border-color: #6a1b9a; /* Dark purple */
    box-shadow: 0 0 8px rgba(106, 27, 154, 0.3);
    outline: none;
}

select {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 12px;
    appearance: none;
    background: #fafafa url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KICA8cGF0aCBkPSJNMTAsNkgxMDAsNTBDNTAsNDAsNzAsNTAsNiw1MEwxMiwzMEwyMiw1MEwtMywwSDAsNkwxMCw1MEw2LDEwMEw4LDAsNTAsOTAsNiw3MCwwIiBmaWxsPSJibGFjayIvPjwvc3ZnPg==') no-repeat right 15px center;
    background-size: 12px;
}

select:focus {
    border-color: #6a1b9a; /* Dark purple */
    box-shadow: 0 0 8px rgba(106, 27, 154, 0.3);
    outline: none;
}

option {
    background: #fff;
    color: #333;
}

input::placeholder, 
textarea::placeholder {
    color: #bbb;
}

label:hover {
    color: #6a1b9a; /* Dark purple */
    text-align: center;
}

button {
    background: linear-gradient(to right, #8e24aa, #6a1b9a); /* Gradient from medium to dark purple */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-size: 1.2em;
    box-shadow: 0 5px 15px rgba(142, 36, 170, 0.4);
}

button:hover {
    background: linear-gradient(to right, #6a1b9a, #8e24aa); /* Reversed gradient */
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(142, 36, 170, 0.5);
}

.post {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.post h3 {
    margin-top: 0;
    color: #555;
    font-weight: 700;
}

.message {
    background: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.message:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.message h4 {
    margin-top: 0;
    color: #555;
    font-weight: 700;
}

.profile {
    text-align: center;
}

.profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.profile-picture:hover {
    box-shadow: 0 0 12px rgba(142, 36, 170, 0.4); /* Light purple */
    transform: scale(1.1);
    border-color: #6a1b9a; /* Dark purple */
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.6em;
    }

    input, textarea, select {
        padding: 12px;
    }

    button {
        padding: 12px 25px;
    }

    .post, .message {
        padding: 20px;
    }

    .profile-picture {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.3em;
    }

    input, textarea, select {
        padding: 10px;
    }

    button {
        padding: 10px 20px;
    }

    .post, .message {
        padding: 15px;
    }

    .profile-picture {
        width: 50px;
        height: 50px;
    }
}
