/* Custom Styles */

:root {
    --primary-color: #4CAF50;
    --secondary-color: #81C784;
    --accent-color: #E8F5E9;
    --text-color: #2E7D32;
}

body {
    background-color: #FAFFF9;
    color: #333;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transform-origin: center;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.navbar-light .navbar-brand,
.navbar-light .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar-light .nav-link:hover {
    color: var(--accent-color) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.tool-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tool-card .card-body {
    padding: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.display-4 {
    color: var(--text-color);
    font-weight: 600;
}

.lead {
    color: #666;
}

footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white;
    padding: 2rem 0;
}


/* Tool-spezifische Styles */

.color-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 1.5rem auto;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.color-preview:hover {
    transform: scale(1.1);
}

.text-analysis-result {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.list-check li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card {
    border-radius: 15px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #eee;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}


/* Animationen */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}