@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f8f9fa;
    scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
    color: black;
}
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #6a11cb, #ff6f00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 4em;
    margin: 0;
    animation: fadeIn 2s ease-in;
}
.hero p {
    font-size: 1.2em;
    font-weight: 300;
    margin-top: 20px;
    animation: fadeIn 2.5s ease-in;
}
.emotion-analysis {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}
textarea {
    width: 100%;
    max-width: 700px;
    height: 200px;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #6a11cb;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
}
textarea:focus {
    border-color: #ff6f00;
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.2);
}
button {
    background-color: #6a11cb;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
}
button:hover {
    background-color: #ff6f00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}
.result {
    margin-top: 30px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}
.loading {
    font-size: 1.2em;
    color: #333;
    text-align: center;
    margin-top: 20px;
    animation: blink 1.5s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.analysis-container {
    font-family: 'Inter', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
}

.analysis-container h2 {
    font-size: 2em;
    color: #6a11cb;
    margin-bottom: 20px;
    text-align: center;
}

.analysis-container p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin: 10px 0;
}

.analysis-container strong {
    color: #2c3e50;
    font-weight: 600;
}
.instructions {
    padding: 80px 20px;
    background: #f8f9fa;
    text-align: center;
}

.instructions h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: black;
}

.instruction-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card i {
    font-size: 2em;
    color: #6a11cb;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .instruction-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    textarea {
        width: 90%;
        height: 150px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .analysis-container {
        padding: 15px;
    }

    .analysis-container h2 {
        font-size: 1.5em;
    }

    .analysis-container p {
        font-size: 1em;
    }
}
.footer {
    background-color: #6a0dad;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Inter', sans-serif; 
    transition: background-color 0.3s ease-in-out;
}

.footer:hover {
    background-color: #581890;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
	height: 43px;
}

.footer p {
    margin: 5px 0;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer:hover p {
    transform: scale(1.05);
    color: #e0e0e0; 
}
