/*Global Styling*/
body {
    font-family: Consolas;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}
main{
    min-height: 100vh;
}
/* Main Headings */
h1 {
    font-size: 5rem;
    font-weight: bolder;
    font-family: Consolas;
    color: chartreuse;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 20vh;
    background-color: #131521;
    color: #effafd;
    #copyright{
        color: darkslategrey !important;
    }
}
/*About.php Styling*/
/* About Container */
.about-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    border-radius: 12px;
    animation: fadeIn 1s ease-in-out forwards;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Consolas', monospace;
    color: chartreuse;
    margin-bottom: 10px;
    text-shadow: 0px 0px 8px chartreuse;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    margin: 40px 0;
    padding: 25px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-in-out forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 12px;
    font-size: 1.2rem;
    transition: transform 0.3s, background 0.3s;
}

.features li:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Contact Section */
.contact a {
    color: #ff4b2b;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* Main chat container */
#chat-container {
    display: flex;
    flex-direction: column;
    height: 50vh;
    max-width: 50%;
    margin: 40px auto;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1e1e1e;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.2);
}

/* Message display area */
#message-container {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #1a1a1a;
    color: #dcdcdc;
    font-family: Consolas, monospace;
    border-bottom: 1px solid #333;
}

/* Individual messages*/
#message-container-other-message{
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #194700;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 255, 0, 0.1);
}

/* Individual messages*/
#message-container-your-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #050e00;
    border-radius: 6px;
    text-align: right;
    box-shadow: 0 1px 3px rgba(0, 255, 0, 0.1);
}


/* Message input section */
#message-form {
    display: flex;
    padding: 12px;
    background-color: #2b2b2b;
    align-items: center;
}

/* Message input box */
#message-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #121212;
    color: #f1f1f1;
}

/* Send button */
#send-button {
    margin-left: 10px;
    padding: 10px 18px;
    border: none;
    background-color: chartreuse;
    color: black;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: limegreen;
}

/* File upload button */
#file-upload-label {
    margin-left: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#file-upload-label:hover {
    background-color: #0056b3;
}
