/* General Styles */
body {
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(244, 244, 244);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Container Styles */
.container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.header {
    background-color: #0f62fe;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

.header::before,
.header::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translateY(-50%);
}

.header::before {
    left: -25px;
}

.header::after {
    right: -25px;
}

/* Main Styles */
main {
    padding: 20px;
}

/* Textarea Styles */
textarea {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus {
    border-color: #0f62fe;
    box-shadow: 0 0 5px rgba(15, 98, 254, 0.5);
    outline: none;
}

/* Button Styles */
button {
    background-color: #0f62fe;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0353e9;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(1px);
}

/* Example Link Styles */
.example-link {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #e0e0e0;
    color: black;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.example-link:hover {
    background-color: #c6c6c6;
    color: #0f62fe;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.example-link::after {
    content: attr(title);
    position: absolute;
    background-color: #0f62fe;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.3s ease;
    transform: translateY(-10px);
    z-index: 10;
}

.example-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Message Styles */
#message.success {
    background-color: #d4edda;
    color: #155724;
}

#message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .header,
    main {
        padding: 15px;
    }

    .logo {
        width: 100px;
    }

    .header::before,
    .header::after {
        display: none;
    }

    button {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .header {
        padding: 10px;
    }

    .logo {
        width: 80px;
    }

    button {
        padding: 12px;
    }
}