:root {
    --bg-darker: #0f111a;
    --bg-dark: #1a1e29;
    --accent-purple: #b088ff;
    --accent-blue: #4468b7;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    font-family: "Playwrite GB J", cursive;
    margin: 0;
    padding: 0;
    animation: fadeIn 2s ease forwards;
}

.header, .footer {
    background-color: var(--text-muted);
    padding: 15px;
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer {
    display: block;
    border-radius: 20px 20px 0 0;
    color: var(--text-main);
    text-align: center;
}

.header-text {
    font-size: 20px;
    cursor: pointer;
    color: var(--bg-dark);
    transition: color 0.3s ease;
}

.hero {
    background-color: var(--bg-dark);
    color: var(--text-main);
    padding: 10px;
    margin: 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.hero:hover, .chat:hover {
    transform: translateY(-7px);
}

.hero-head {
    font-size: 20px;
}

.hero-italic {
    color: red;
}

.line {
    border: 1px solid var(--accent-purple);
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.chat {
    background-color: var(--bg-dark);
    padding: 10px;
    margin: 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.question {
    text-align: center;
    font-size: 20px;
}

.question-interviewer,
.question-seif {
    text-align: center;
    font-size: 17px;
    background-color: var(--accent-blue);
    color: var(--text-main);
    width: 50%;
    margin: 20px;
    padding: 10px;
    position: relative;
}

.question-seif {
    background-color: var(--accent-purple);
    margin-left: auto;
}

.question-interviewer-icon {
    position: absolute;
    left: -12px;
    top: -1.5px;
    color: var(--accent-blue);
}

.question-seif-icon {
    position: absolute;
    right: -12px;
    top: -1.5px;
    color: var(--accent-purple);
}

.fa-heart {
    color: red;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project-grid-card {
    background-color: var(--bg-dark);
    border-radius: 20px;
    transition: transform 0.3s ease;
    padding: 10px;
}

.project-grid-card:hover {
    transform: translateY(-7px);
}

.project-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--accent-purple);
}

.project-card-image {
    width: 100%;
}

.project-grid-card a {
    color: #4468b7;
}

.contact {
    text-align: center;
}

.contact-link {
    color: var(--accent-purple);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

