html, body {
    background: linear-gradient(to top, #40e0d0, #000000) !important;
    color: var(--light-turquoise);
    margin: 0;
    padding: 0;
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(to top, #40e0d0, #000000);
}

.project-description {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 2rem;
}

.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(64, 224, 208, 0.9) !important;
    color: #000000 !important;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 120px 0 2rem 0;
    font-weight: bold;
    border: 2px solid #40e0d0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

.dashboard-container {
    background: rgba(64, 224, 208, 0.6);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.dashboard-title {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #d9fffb;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tech-stack {
    color: #ffe066;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

.dashboard-iframe {
    width: 100%;
    height: 700px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
}

.project-section-title {
    color: #000000;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
}

.project-text {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.project-link {
    color: #3498db;
    text-decoration: none;
}

.project-details-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.project-details-column {
    flex: 1;
    min-width: 250px;
}

.project-subtitle {
    color: #000000;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-list {
    color: #000000;
    font-size: 1rem;
    padding-left: 20px;
}

.project-list-spaced {
    margin-bottom: 20px;
}

.project-figure {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.project-figure-image {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-figure-caption {
    color: #000000;
    font-size: 0.9rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        margin: 0 20px;
    }

    .project-description {
        padding: 1.25rem;
    }

    .project-details-grid {
        display: block;
    }

    .project-details-column,
    .project-figure {
        min-width: 0;
        width: 100%;
    }

    .project-figure {
        margin-top: 1.25rem;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }

    .dashboard-iframe {
        height: clamp(20px, 28vh, 170px);
    }
}
