/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a; /* Dark background */
    color: #f2f2f2; /* Off-white for text */
    overflow: hidden;
}

header {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
    color: #e53935; /* Reddish accent color for header */
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #252525;
    color: #bbb; /* Slightly lighter text for footer */
}

/* Chat Area */
#chat-container {
    width: 90%;
    max-width: 1200px;
    height: 60vh;
    background-color: #2a2a2a;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(229, 57, 53, 0.7); /* Red shadow for more dynamic look */
}

#conversation {
    height: 80%;
    overflow-y: auto;
    padding: 15px;
    background-color: #1e1e1e; /* Darker background for conversation */
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #f5f5f5; /* Keep text light for visibility */
}

.input-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-section input {
    width: 75%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
}

.input-section button {
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #e53935; /* Reddish button */
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.input-section button:hover {
    background-color: #b71c1c; /* Darker red on hover */
}

/* Sharingan Animation */
#intro-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 6s forwards;
}

.sharingan {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: black;
    border: 10px solid #e53935; /* Reddish border */
    animation: spin 10s infinite linear;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 5px solid #e53935; /* Reddish circles */
}

.outer-circle {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
}

.inner-circle {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
}

.tomoe {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #e53935; /* Tomoe in red */
    border-radius: 50%;
}

#tomoe1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

#tomoe2 {
    top: 50%;
    left: 90%;
    transform: translateY(-50%);
}

#tomoe3 {
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
}

.blood-text {
    color: #e53935; /* Blood red text */
    font-size: 3em;
    position: absolute;
    top: 70%;
    font-family: 'Blood Font', cursive;
    animation: pulse 1.5s infinite;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
    
}
/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text for readability */
}

header.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1f1f1f;
    color: #e53935; /* Reddish accent for professionalism */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-family: 'Verdana', sans-serif;
}

header p {
    margin: 5px 0;
}

nav.navbar ul {
    list-style-type: none;
    display: flex;
    gap: 15px;
    margin: 0;
}

nav.navbar ul li {
    display: inline;
}

nav.navbar ul li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav.navbar ul li a:hover {
    background-color: #e53935;
    color: #fff;
}

/* Chat Container */
#chat-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.input-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-section input {
    width: 75%;
    padding: 15px;
    font-size: 1.1em;
    background-color: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
}

.input-section button {
    padding: 15px 20px;
    background-color: #e53935;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-section button:hover {
    background-color: #b71c1c;
}

/* FAQ Section */
#faq {
    padding: 40px;
    background-color: #2b2b2b;
    margin: 20px 0;
}

.faq-item {
    background-color: #1c1c1c;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    margin: 0;
    color: #e53935;
}

/* Resources Section */
#resources {
    padding: 40px;
    background-color: #252525;
}

.resource-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.resource-list li a {
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px dashed #e53935;
    transition: color 0.3s ease;
}

.resource-list li a:hover {
    color: #b71c1c;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
}

.social-icons {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons li a {
    color: #e0e0e0;
    font-size: 1.5em;
    text-decoration: none;
}

.social-icons li a:hover {
    color: #e53935;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    font-size: 2em;
}
/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    height: auto; /* Allow the body to expand based on content */
    overflow: auto; /* Enable scrolling */
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
}

header {
    text-align: center;
    margin: 20px 0;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #1f1f1f;
}

/* Larger Chat Area */
#chat-container {
    width: 90%;
    max-width: 1200px;
    height: 60vh; /* Set a height to allow scrolling */
    max-height: 600px; /* Optional max height for better UX */
    background-color: #2a2a2a;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto; /* Allow scrolling within chat */
}

#conversation {
    height: auto; /* Allow height to expand with content */
    overflow-y: auto; /* Enable scrolling for conversation */
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.input-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-section input {
    width: 75%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
}

.input-section button {
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #3a3a3a;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
}

.input-section button:hover {
    background-color: #555;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
}

.social-icons {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons li a {
    color: #e0e0e0;
    font-size: 1.5em;
    text-decoration: none;
}

.social-icons li a:hover {
    color: #e53935;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    font-size: 2em;
}
