﻿/* ********************************************************************************************
* OntarioTECK VBA Developers
* Developed by Gustavo Miller
* 
* Date Created : 2026-06-07 6:54:38 PM
* 
* Location: D:\Curriculum Vitae\ASP.Net 6\CV\wwwroot\
* Filename: css\activities.css
* ********************************************************************************************/
:root {
    --page-bg: #ffe2ff;
    --card-bg: #ffceff;
    --icon-bg: #ffa7ff;
    --icon-fg: #6c006c;
    --font-color: #0a000a;
    --grad-start: #5f0a5f;
    --grad-mid: #762276;
    --grad-ends: #944094;
    --icon-hover-bg: #ffceff;
    --icon-hover-fg: #5f0a5f;
    --font-hover-color: #ffe2ff;
}

body {
    background-color: var(--page-bg);
}

.recent-activities-section {
    background: var(--page-bg);
    padding: 60px 40px;
    border-radius: 25px;
}

.activities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: var(--card-bg);
    width: 370px;
    min-height: 420px;
    padding: 35px;
    border-radius: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(108,0,108,0.08);
    position: relative;
    overflow: hidden;
    color: var(--font-color);
}

    .activity-card:hover {
        background: linear-gradient( 135deg, var(--grad-start) 0%, var(--grad-mid) 50%, var(--grad-ends) 100% );
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(95, 10, 95, 0.18);
        color: white;
        transition: all 0.3s ease;
    }

.activity-card {
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.activity-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--icon-bg); /* rgba(255,255,255,0.6) */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

    .activity-icon i {
        font-size: 32px;
        color: var(--icon-fg);
        transition: all 0.4s ease;
    }

.activity-card:hover .activity-icon {
    background: var(--icon-hover-bg);
}

    .activity-card:hover .activity-icon i {
        color: var(--icon-hover-fg);
    }

.activity-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.activity-summary {
    font-size: 17px;
    line-height: 1.8;
    margin-top: 25px;
}

.activity-category {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255,255,255,0.55);
    color: #6c006c;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.activity-date {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

.activity-tech {
    margin-top: 18px;
    font-size: 14px;
    font-style: italic;
}

.activity-card:hover .activity-category {
    background: #ffceff;
    color: #6c006c;
}

.page-title {
    font-size: 52px;
    font-weight: 800;
    color: #6c006c;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    max-width: 1200px;
}

/** Designer tab */
#designer-panel.open {
    left: 0;
}

#designer-panel {
    position: fixed;
    top: 120px;
    left: -300px;
    width: 300px;
    height: 80vh;
    background: white;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    padding: 25px;
    transition: left 0.4s ease;
    z-index: 9999;
}

#designer-tab {
    position: fixed;
    top: 55px;
    left: 0;
    width: 70px;
    height: 40px;
    background: white;
    border-radius: 0 0 18px 0;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.color-selector {
    width: 200px;
}

input:hover {
    cursor: pointer;
}

/* gradient box */
#gradientbox {
    border: 1px solid #c8c8c8;
    border-radius: 10px;
    padding: 12px;
    margin-top: 0px;
    background: #f7f7f7;
}

.gradient-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .gradient-item:last-child {
        margin-bottom: 0;
    }

    .gradient-item label {
        font-size: 14px;
        color: #333;
    }

    .gradient-item input[type="color"] {
        width: 42px;
        height: 28px;
        border: none;
        background: none;
        cursor: pointer;
    }

/* When using mark tags make use of the theme */
mark {
    background-color: var(--icon-bg);
    color: var(--icon-fg);
    padding: 0.15rem 0.35rem;
    border-radius: 0.35rem;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease;
}

strong {
    color: var(--icon-fg);
    font-weight: 600;
}

/* Used in the color picker utility, it enables a label overlap the input */
.color-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-right: 2px !important;
    margin-left: 2px !important;
}

.color-selector {
    width: 100%;
    height: 30px;
    border: none;
    padding: 0;
    cursor: pointer;
}

.color-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #000;
    pointer-events: none; /* label doesn’t block clicking the input */
}
