/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
  }
  body {
    margin-bottom: 60px;
    position: relative;
    background-color: #fafafa;
  }

  /* --- STYLE TUERIE POUR LES ARTICLES --- */

/* 1. Typographie de lecture optimale */
.article-content {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.15rem; /* Texte un peu plus grand */
    line-height: 1.8;   /* Lignes aérées */
    color: #2c3e50;
}

.article-content h2 {
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    position: relative;
}

/* Soulignement stylé pour les H2 */
.article-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #149f98;
    margin-top: 10px;
    border-radius: 2px;
}

.article-content h3 {
    font-weight: 700;
    margin-top: 2.5rem;
    color: #34495e;
}

/* 2. Citations "Insight" (Callouts) */
.article-content blockquote {
    background: #f8f9fa;
    border-left: 6px solid #149f98; /* Votre couleur turquoise */
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 3. Code Blocks "MacBook Terminal Style" (LA TUERIE) */
.article-content pre {
    background: #1e1e1e; /* Fond sombre VS Code */
    color: #dcdcdc;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem; /* Padding haut pour les boutons Mac */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid #333;
}

/* Les 3 petits points Mac (Rouge, Jaune, Vert) */
.article-content pre::before {
    content: "• • •";
    color: #ff5f56; /* Rouge */
    font-size: 2rem;
    position: absolute;
    top: -12px;
    left: 15px;
    line-height: 0;
    letter-spacing: -3px; /* Rapproche les points */
    text-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f; /* Jaune et Vert via ombres */
}

/* Code inline (ex: `variable`) */
.article-content code {
    background-color: #eef2f5;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9em;
}

/* Pour le code dans les blocs, on enlève le fond rose par défaut de Bootstrap */
.article-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.95em;
}

/* 4. Images dans l'article */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* --- AMÉLIORATIONS RESPONSIVE (SMARTPHONES) --- */

/* 1. Ciblage des petits écrans (jusqu'à 767px de large) */
@media (max-width: 767px) {
    
    /* 1.1. Optimisation du Hero Header */
    
    .jumbotron-fluid {
        min-height: 300px !important; /* Réduire la hauteur minimale du header */
    }

    .jumbotron-fluid .display-3 {
        font-size: 2.2rem !important; /* Réduire la taille du titre principal sur mobile */
        line-height: 1.3;
    }

    /* 1.2. Méta-données sous le titre (Auteur, Vues) */
    .jumbotron-fluid .d-flex {
        flex-direction: column; /* Empiler l'avatar et les infos */
        align-items: flex-start !important;
        text-align: left;
    }
    
    .jumbotron-fluid .d-flex img {
        margin-right: 0 !important;
        margin-bottom: 10px; /* Ajouter de l'espace sous l'avatar */
    }

    .jumbotron-fluid .d-flex small {
        display: block; /* Forcer les meta-infos à être sur plusieurs lignes */
        margin-left: 0 !important;
    }
    
    /* 1.3. Ajuster les badges catégories */
    .jumbotron-fluid .badge {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem !important;
    }

    /* 2. Optimisation du Corps de l'Article */

    .article-content {
        font-size: 1.05rem; /* Réduire légèrement la taille du texte pour le confort mobile */
        padding-left: 15px;
        padding-right: 15px;
    }

    .article-content h2 {
        font-size: 1.8rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }

    /* 3. Ajustement des éléments spécifiques (Code et Citations) */

    /* Retirer les marges latérales des citations pour maximiser l'espace */
    .article-content blockquote {
        margin: 1.5rem 0 !important;
        padding: 1rem 1rem 1rem 1.5rem !important;
    }

    /* Ajustement de l'ombre des blocs de code pour éviter l'overflow horizontal */
    .article-content pre {
        padding: 2.5rem 0.8rem 0.8rem 0.8rem; /* Moins de padding */
        margin: 1.5rem -15px !important; /* Utiliser une marge négative pour aller jusqu'au bord si nécessaire */
        border-radius: 0; /* Optionnel: enlever le border-radius aux bords pour les sites pleine largeur */
        box-shadow: none;
    }
    
    /* Décalage des 3 points Mac pour rester dans le bloc */
    .article-content pre::before {
        top: 0px; 
        left: 8px;
        font-size: 1.6rem;
    }

    /* 4. Gestion des images et tableaux */
    .img-fluid, .article-content img {
        margin: 1.5rem 0 !important;
    }
    
}

/* --- AMÉLIORATIONS RESPONSIVE (CARTES D'INDEX) --- */

@media (max-width: 767px) {
    
    /* 1. Ajustement général des cartes sur mobile */
    .card {
        margin-bottom: 20px; /* Assurer un espacement vertical clair entre les cartes empilées */
        border-radius: 8px !important;
    }
    
    /* 2. Optimisation des images de cartes */
    .card-img-top {
        height: 180px !important; /* Réduire légèrement la hauteur de l'image de la carte */
        object-fit: cover;
    }

    /* 3. Réduction de la taille du texte dans le corps de la carte */
    .card-body {
        padding: 1.25rem !important;
    }

    .card-title {
        font-size: 1.2rem !important; /* Réduire la taille du titre */
        line-height: 1.3;
    }

    .card-text {
        font-size: 0.95rem; /* Rendre la description plus compacte */
    }

    /* 4. Compteur de Vues/Méta (si présent dans la carte) */
    .card-footer small {
        font-size: 0.7rem;
    }
}
/* --- STYLE TUERIE POUR LES ARTICLES --- */

.article-content {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.15rem; 
    line-height: 1.8;   
    color: #2c3e50;
    text-align: justify; 
}


/* ... le reste du CSS de l'article ... */
  /* --- SECTION CONTACT : LE HUB --- */

/* 1. Cartes d'Information (Gauche) */
.contact-action-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Style pour l'effet de notification */
@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
.animate__flash {
    animation-name: flash;
}
.animate__infinite {
    animation-iteration-count: infinite;
    animation-duration: 2s;
}

/* Style du Bouton de Réaction (J'aime/Cœur) */
.reaction-btn {
    transition: all 0.2s;
    border: none;
    font-weight: 500;
}
.reaction-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Règle pour la photo de profil (à créer si elle n'existe pas) */
.post-header img.rounded-circle {
    object-fit: cover;
}
.contact-action-card:hover {
    transform: translateX(10px); /* Léger décalage vers la droite */
    box-shadow: 0 10px 20px rgba(20, 159, 152, 0.15) !important; /* Ombre colorée */
    border-color: #149f98;
}


/* --- SECTION A PROPOS : STYLE INGENIEUR --- */

/* 1. Photo de Profil Dynamique */
.profile-wrapper {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.profile-card {
    position: relative;
    z-index: 1;
}

.profile-img {
    border-radius: 20px; /* Carré arrondi moderne, pas rond */
    border: 4px solid white;
    transition: transform 0.4s ease;
    max-width: 300px;
}

.profile-wrapper:hover .profile-img {
    transform: scale(1.02) rotate(-2deg);
}

/* Badges Flottants */
.floating-badge {
    position: absolute;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    color: #333;
}

.badge-top-right { top: 10%; right: -10px; animation-delay: 0s; }
.badge-bottom-left { bottom: 10%; left: -10px; animation-delay: 1.5s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 2. Terminal Window Style */
.terminal-window {
    background: #1e1e1e; /* Fond sombre IDE */
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', monospace;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: #999;
    font-size: 0.8rem;
}

.terminal-body {
    padding: 25px;
}

.prompt {
    color: #27c93f; /* Vert terminal */
    margin-right: 10px;
    font-weight: bold;
}

.console-text {
    color: #fff;
    margin-bottom: 20px;
    border-right: 2px solid rgba(255,255,255,0.75);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    max-width: fit-content;
}

/* Animation Machine à écrire */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgba(255,255,255,0.75); }
}

/* 3. Accordéon Moderne (Déroulement de blocs) */
.custom-accordion .card {
    border-radius: 8px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-accordion .card-header {
    padding: 0;
    border-bottom: 0;
}

.custom-accordion .btn-link {
    padding: 1.2rem;
    text-decoration: none;
    transition: background 0.2s;
}

.custom-accordion .btn-link:hover {
    background: #f8f9fa;
    color: #149f98 !important;
}

/* Rotation de la flèche quand ouvert */
.custom-accordion .btn-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s;
}
.custom-accordion .fa-chevron-down {
    transition: transform 0.3s;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #149f98, #0e756f); /* Dégradé Thème */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(20, 159, 152, 0.3);
}

/* Bouton Copier */
.copy-btn {
    opacity: 0.5;
    transition: all 0.2s;
}
.copy-btn:hover {
    opacity: 1;
    background-color: #e2e6ea;
    color: #149f98;
}

/* 2. Cartes Réseaux Sociaux (Droite) */
.social-card {
    border-radius: 15px;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Effet de brillance au survol */
.social-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: -1;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Couleurs Spécifiques des Réseaux */
.linkedin-card {
    background: linear-gradient(135deg, #0077b5, #005582);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.github-card {
    background: linear-gradient(135deg, #333, #1a1a1a);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.twitter-card {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.resume-card {
    background: linear-gradient(135deg, #149f98, #0e756f); /* Votre couleur thème */
    box-shadow: 0 5px 15px rgba(20, 159, 152, 0.3);
}

/* --- MODAL DE CONTACT STYLISÉ (Jolie Superposition) --- */
.modal-content-custom {
    border-radius: 15px;
    /* Ombre subtile pour donner un effet de "flottaison" */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-body .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.2s;
}

.modal-body .form-control:focus {
    border-color: #149f98; /* Couleur d'accent au focus */
    box-shadow: 0 0 0 0.2rem rgba(20, 159, 152, 0.25);
}

.message-btn {
    opacity: 1 !important; /* Pour s'assurer que le bouton est visible */
}
  
  /* --- Pour la navigation principale (navbar) --- */

.nav-item.active .nav-link,
.nav-item .nav-link.active {
    /* Changer la couleur du texte de l'onglet actif pour qu'il contraste avec le fond blanc */
    color: #3A3A3A !important; 
    /* Si le fond de l'onglet actif est aussi blanc, ceci rendra le texte gris foncé */
}

/* --- Styles pour la Timeline Académique --- */
/* --- STYLE PROJET "TUEUR D'EXPERT" --- */

/* La Carte Principale */
.project-card-pro {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px; /* Arrondi moderne */
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); Ombre douce et large */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet de ressort au survol */
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    top: 0;
    /* On renforce légèrement l'ombre pour la faire flotter du fond #fafafa */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.project-card-pro .card-body {
    display: flex;
    flex-direction: column;
    flex: 1; /* C'est la clé : ça force le corps à occuper tout l'espace vertical libre */
}
.project-card-pro .card-text {
    /* Coupe le texte proprement après 3 ou 4 lignes et met des "..." */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Nombre de lignes max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem; /* Espace garanti sous le texte */
}

.project-card-pro .card-footer {
    margin-top: 0; /* Pas de marge parasite */
}

/* Interaction au Survol de la Carte */
.project-card-pro:hover {
    transform: translateY(-10px); /* La carte monte */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* L'ombre s'intensifie */
}

/* Zone Image */
.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Zoom Image au Survol */
.project-card-pro:hover .project-img {
    transform: scale(1.1); /* Zoom cinématique */
}

/* Badge Statut */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Overlay (Voile sombre au survol de l'image) */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 159, 152, 0.85); /* Votre couleur thème en transparence */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-pro:hover .project-overlay {
    opacity: 1; /* Apparaît au survol */
}

/* Boutons ronds dans l'image */
.overlay-btn {
    width: 50px;
    height: 50px;
    background: white;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card-pro:hover .overlay-btn {
    transform: translateY(0); /* Animation d'entrée des boutons */
}
.overlay-btn:hover {
    background: #333;
    color: white;
}

/* Stack Technique (Pillules) */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; /* Cela pousse ce bloc tout en bas du card-body */
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05); /*
}

.tech-pill {
    background: #f8f9fa;
    color: #555;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #eee;
    display: inline-flex;
    align-items: center;
}

.tech-pill i {
    margin-right: 5px;
    color: #149f98; /* Couleur thème */
}

/* Bouton du bas */
.transition-btn {
    transition: all 0.3s ease;
}
.transition-btn:hover {
    background-color: #149f98;
    border-color: #149f98;
    color: white;
    transform: scale(1.02);
}

/* Utilisation de la couleur thème */
.tech-pill i {
    margin-right: 5px;
    color: #149f98; /* C'est votre couleur d'accent */
}

.transition-btn:hover {
    background-color: #149f98;
    border-color: #149f98;
    color: white;
}
/* Le conteneur principal (position relative pour les points absolus) */
.timeline-container {
    position: relative;
    padding-left: 50px;
}

/* La ligne verticale centrale (l'innovation) */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #dee2e6; /* Ligne grise subtile */
    top: 0;
    bottom: 0;
    left: 20px; /* Positionnement de la ligne */
    z-index: 1;
}

/* Les points de la timeline (les cercles avec icônes) */
.timeline-point {
    position: absolute;
    top: 15px; /* Décalage pour aligner sur le titre */
    left: -45px;
    z-index: 2; /* Devant la ligne */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    border: 3px solid #fff; /* Effet d'anneau blanc */
    box-shadow: 0 0 0 1px #dee2e6;
}
.timeline-item {
    position: relative; /* <-- AJOUTER : C'EST LA CLÉ ! */
    margin-bottom: 20px; /* Espace entre les formations */
}
/* Ajustement du contenu de la carte */
.timeline-content {
    position: relative;
    margin-left: 20px; /* Décalage pour laisser la place au point/ligne */
    padding-left: 10px;
    border-left: 1px solid #eee;
}

/* Animation et Style au survol (UX Accrocheur) */
.timeline-content:hover {
    transform: translateY(-2px); /* Léger soulèvement */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease-in-out;
}

/* --- Effet thématique pour les listes de détails de formation --- */

.timeline-content .card-body ul {
    border-top: 2px solid #f0f0f0; /* Ligne de séparation subtile */
    padding-top: 15px;
    margin-top: 15px !important;
}

/* Style des éléments de liste avec transition de couleur au survol */
.timeline-content .card-body ul li {
    transition: color 0.3s ease-in-out;
}

.timeline-content .card-body ul li:hover {
    color: #149f98; /* La couleur de votre thème pour le survol */
}

/* --- Effet de Survol sur chaque Expérience --- */
.media.border-bottom {
    transition: all 0.3s ease-in-out;
    cursor: pointer; /* Indique à l'utilisateur que c'est interactif */
    border-bottom: 1px solid #e9ecef !important; /* Maintient une bordure subtile de base */
}

.media.border-bottom:hover {
    background-color: #fafafa; /* Très léger changement de fond */
    transform: translateY(-3px); /* Le soulèvement, l'effet "de ouf" */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Ombre douce */
    border-bottom: 1px solid transparent !important; /* Cache la bordure pour un look plus clean au survol */
}

.custom-filter-btn {
    /* La clé pour le raffinement : un padding plus petit */
    padding: 0.35rem 1.1rem !important; /* Petit padding vertical, bon padding horizontal */
    font-size: 0.9rem !important; /* Texte légèrement plus petit */
    line-height: 1.5; /* Assure un bon alignement du texte/icône */
    
    /* Le reste pour l'effet "de ouf" */
    font-weight: 600; 
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

/* Effet "De Ouff" au Survol ou à l'Activation */
.custom-filter-btn:hover {
    transform: translateY(-2px); /* Léger soulèvement */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Ombre plus forte */
}

/* Style de l'état ACTIF (bouton sélectionné) */
.custom-filter-btn.active {
    /* La couleur primaire de Bootstrap est déjà utilisée, on renforce l'ombre */
    box-shadow: 0 0 0 3px rgba(20, 159, 152, 0.4), /* Anneau coloré autour du bouton */
                0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.02); /* Léger agrandissement pour le mettre en évidence */
}

/* --- Pour les onglets de contenu (s'il y en a sur la page d'accueil) --- */

.nav-tabs .nav-link.active {
    color: #3A3A3A !important; 
    /* Assure que les titres des onglets de contenu (comme les "highlights") sont lisibles */
}

/* Le fond des onglets actifs peut aussi être ajusté si nécessaire: */
.nav-tabs .nav-link.active {
    background-color: #f0f0f0; /* Un gris très léger pour marquer l'onglet actif */
}
  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
  }

code {
    font: 0.85em Monaco, Courier, Monospace;
}


a.highlighted, a.highlighted:link {
  color: black;
  text-decoration: none;
  background-position-y: -0%;
  background-image: linear-gradient( white 50%, rgb(242, 123, 54) 50%);
  transition: background 500ms ease;
  background-size: 2px;
  background-size: auto 175%;
}

a.highlighted:hover {
  background-position-y: 100%;

}

.dumbarton-home{
    width:50%;
    max-width:300px;
    max-height:150px;
    padding-right: 10px;
    padding-top: 10px;
}

.dumbarton-icon{
  padding-right: 10px;
  padding-left: 2px;
  padding-top: 2px;
}


.dumbarton-spacer {
  padding-bottom: 50px;
  padding-top: 50px;
}


.dumbarton-spacer-sm {
  padding-bottom: 5px;
  padding-top: 5px;
}
.publications {
  text-align: left;
}

/* Layout */
* {
  @include box-sizing(border-box);
}

/* Styling */
.timeline {
  margin: 4em auto;
  position: relative;
  max-width: 46em;
  
  &:before {
    background-color: $color-1;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
  }
}

.timeline-event {
  position: relative;
  
  &:hover {
  
    .timeline-event-icon {
      @include rotate (-45deg);
      background-color: $color-3;
    }
    
    .timeline-event-thumbnail {
      @include box-shadow(inset 40em 0 0 0 $color-3);
    }
  }
}

.timeline-event-copy {
  padding: 2em;
  position: relative;
  top: -1.875em;
  left: 4em;
  width: 80%;
  
  h3 {
    font-size: 1.75em;
  }
  
  h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
  }
  
  strong {
    font-weight: 700;
  }
  
  p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
  }
}

.timeline-event-icon {
  @include transition(transform 0.2s ease-in);
  @include rotate (45deg);
  
  background-color: $color-1;
  outline: 10px solid $color-2;
  display: block;
  margin: 0.5em 0.5em 0.5em -0.5em;
  position: absolute;
  top: 0;
  left: 2em;
  width: 1em;
  height: 1em;
}

.timeline-event-thumbnail {
  @include transition(box-shadow 0.5s ease-in 0.1s);
  color: $color-2;
  font-size: 0.75em;
  
  background-color: $color-1;
  @include box-shadow(inset 0 0 0 0em #ef795a);
  display: inline-block;
  margin-bottom: 1.2em;
  padding: 0.25em 1em 0.2em 1em;
}

.bd-example {
  position: relative;
  padding: 1rem;
  margin: 1rem -15px 0;
  border: solid #f7f7f9;
  border-width: .2rem 0 0;
}

.bd-example::after {
  display: block;
  clear: both;
  content: "";
}

#sticky-footer {
  flex-shrink: none;
  left: 0;
  bottom: 0;
  background-color: #f5f5f5;
}

#page-content {
  flex: 1 0 auto;
}


.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

.resp-sharing-button--linkedin {
  background-color: #0077b5;
  border-color: #0077b5;
}

.resp-sharing-button--linkedin:hover,
.resp-sharing-button--linkedin:active {
  background-color: #046293;
  border-color: #046293;
}

.resp-sharing-button--reddit {
  background-color: #5f99cf;
  border-color: #5f99cf;
}

.resp-sharing-button--reddit:hover,
.resp-sharing-button--reddit:active {
  background-color: #3a80c1;
  border-color: #3a80c1;
}

.resp-sharing-button--hackernews {
  background-color: #FF6600;
  border-color: #FF6600;
}

.resp-sharing-button--hackernews:hover
.resp-sharing-button--hackernews:active {
  background-color: #FB6200;
  border-color: #FB6200;
}


.highlight .hll { background-color: #333333 }
.highlight  { background: #212121; color: #ffffff }
.highlight .c { color: #008800; font-style: italic; background-color: #0f140f } /* Comment */
.highlight .err { color: #ffffff } /* Error */
.highlight .esc { color: #ffffff } /* Escape */
.highlight .g { color: #ffffff } /* Generic */
.highlight .k { color: #fb660a; font-weight: bold } /* Keyword */
.highlight .l { color: #ffffff } /* Literal */
.highlight .n { color: #ffffff } /* Name */
.highlight .o { color: #ffffff } /* Operator */
.highlight .x { color: #ffffff } /* Other */
.highlight .p { color: #ffffff } /* Punctuation */
.highlight .ch { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Hashbang */
.highlight .cm { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Multiline */
.highlight .cp { color: #ff0007; font-weight: bold; font-style: italic; background-color: #0f140f } /* Comment.Preproc */
.highlight .cpf { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.PreprocFile */
.highlight .c1 { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Single */
.highlight .cs { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Special */
.highlight .gd { color: #ffffff } /* Generic.Deleted */
.highlight .ge { color: #ffffff } /* Generic.Emph */
.highlight .gr { color: #ffffff } /* Generic.Error */
.highlight .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #ffffff } /* Generic.Inserted */
.highlight .go { color: #444444; background-color: #222222 } /* Generic.Output */
.highlight .gp { color: #ffffff } /* Generic.Prompt */
.highlight .gs { color: #ffffff } /* Generic.Strong */
.highlight .gu { color: #ffffff; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #ffffff } /* Generic.Traceback */
.highlight .kc { color: #fb660a; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #fb660a; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #fb660a; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #fb660a } /* Keyword.Pseudo */
.highlight .kr { color: #fb660a; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #cdcaa9; font-weight: bold } /* Keyword.Type */
.highlight .ld { color: #ffffff } /* Literal.Date */
.highlight .m { color: #0086f7; font-weight: bold } /* Literal.Number */
.highlight .s { color: #0086d2 } /* Literal.String */
.highlight .na { color: #ff0086; font-weight: bold } /* Name.Attribute */
.highlight .nb { color: #ffffff } /* Name.Builtin */
.highlight .nc { color: #ffffff } /* Name.Class */
.highlight .no { color: #0086d2 } /* Name.Constant */
.highlight .nd { color: #ffffff } /* Name.Decorator */
.highlight .ni { color: #ffffff } /* Name.Entity */
.highlight .ne { color: #ffffff } /* Name.Exception */
.highlight .nf { color: #ff0086; font-weight: bold } /* Name.Function */
.highlight .nl { color: #ffffff } /* Name.Label */
.highlight .nn { color: #ffffff } /* Name.Namespace */
.highlight .nx { color: #ffffff } /* Name.Other */
.highlight .py { color: #ffffff } /* Name.Property */
.highlight .nt { color: #fb660a; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #fb660a } /* Name.Variable */
.highlight .ow { color: #ffffff } /* Operator.Word */
.highlight .w { color: #888888 } /* Text.Whitespace */
.highlight .mb { color: #0086f7; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0086f7; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0086f7; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0086f7; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0086f7; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #0086d2 } /* Literal.String.Affix */
.highlight .sb { color: #0086d2 } /* Literal.String.Backtick */
.highlight .sc { color: #0086d2 } /* Literal.String.Char */
.highlight .dl { color: #0086d2 } /* Literal.String.Delimiter */
.highlight .sd { color: #0086d2 } /* Literal.String.Doc */
.highlight .s2 { color: #0086d2 } /* Literal.String.Double */
.highlight .se { color: #0086d2 } /* Literal.String.Escape */
.highlight .sh { color: #0086d2 } /* Literal.String.Heredoc */
.highlight .si { color: #0086d2 } /* Literal.String.Interpol */
.highlight .sx { color: #0086d2 } /* Literal.String.Other */
.highlight .sr { color: #0086d2 } /* Literal.String.Regex */
.highlight .s1 { color: #0086d2 } /* Literal.String.Single */
.highlight .ss { color: #0086d2 } /* Literal.String.Symbol */
.highlight .bp { color: #ffffff } /* Name.Builtin.Pseudo */
.highlight .fm { color: #ff0086; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #fb660a } /* Name.Variable.Class */
.highlight .vg { color: #fb660a } /* Name.Variable.Global */
.highlight .vi { color: #fb660a } /* Name.Variable.Instance */
.highlight .vm { color: #fb660a } /* Name.Variable.Magic */
.highlight .il { color: #0086f7; font-weight: bold } /* Literal.Number.Integer.Long */


S - card-header Bootstrap 4CSS
 .heading-footer 
{ 
background-image: url(bg.jpg); 
background-size: cover; 
height: 175px; 
-webkit-box-shadow: none; 
box-shadow: none; 
border: 0px; 
border-radius: 0px; 
}   

.panel-profile-img 
{ 
max-width: 250px; 
margin-top: -160px; 
margin-bottom: 5px; 
border: 3px solid #fff; 
border-radius: 0%; 
}

.heading-footer 
{ 
background-image: url(/assets/img/publications.png); 
background-size: cover; 
height: 175px; 
-webkit-box-shadow: none; 
box-shadow: none; 
border: 0px; 
border-radius: 0px; 
}   
 
.panel-profile-img 
{ 
max-width: 250px; 
margin-top: -160px; 
margin-bottom: 5px; 
border: 3px solid #fff; 
border-radius: 0%; 
}


.sidenav {
  transform: rotateZ(90deg);
  transform-origin: bottom left;
  position: absolute;
  left: 0;
  margin-left: 0px;
  margin-right: 5px;
  top: -3rem;
  height: 2rem;
  width: 12rem;
  z-index: 0;
}

.sidewid {
  position: fixed;
  right: 0;
  margin-right: 0px;
  margin-top: 500px;
  top: 0rem;
  height: 10rem;
  width: 20 rem;
  z-index: 10;
}


.glowing-border {
  outline: none;
  border-color: #495464;
  box-shadow: 0 0 10px #495464;
}

.glowing-border:focus { 
  outline: none;
  border-color: #495464;
  box-shadow: 0 0 10px #495464;
}

.glowing-border:hover { 
  outline: none;
  border-color: #495464;
  box-shadow: 0 0 20px #495464;
}


.blogcard{
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
    transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
  padding: 14px 80px 18px 36px;
  cursor: pointer;
}

.blogcard:hover{
   transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.blogcard h3{
font-weight: 600;
}

.blogcard img{
position: absolute;
top: 20px;
right: 15px;
max-height: 120px;
}

.card-1{
background-image: url(https://ionicframework.com/img/getting-started/ionic-native-card.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 80px;
}

.card-2{
 background-image: url(https://ionicframework.com/img/getting-started/components-card.png);
    background-repeat: no-repeat;
  background-position: right;
  background-size: 80px;
}

.card-3{
 background-image: url(https://ionicframework.com/img/getting-started/theming-card.png);
    background-repeat: no-repeat;
  background-position: right;
  background-size: 80px;
}

@media(max-width: 990px){
.blogcard{
  margin: 20px;
}
} 

a:link {color: black;}      /* unvisited link */
a:visited {color: black;}   /* visited link */
a:hover {color: black;}     /* mouse over link */
a:active {color: black;}    /* selected link */



/* regular - font-weight: 400 */
@font-face {
  font-family: 'Proxima';
  src: url('https://static3.avast.com/10001188/web/o/f/400/proximanova-regular-webfont.woff2') format('woff2'), 
       url('https://static3.avast.com/10001188/web/o/f/400/proximanova-regular-webfont.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* bold - font-weight: 700 */
@font-face {
  font-family: 'Proxima';
  src: url('https://static3.avast.com/10001188/web/o/f/700/proximanova-bold-webfont.woff2') format('woff2'), 
       url('https://static3.avast.com/10001188/web/o/f/700/proximanova-bold-webfont.woff') format('woff'); 
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

$font-family: Proxima, Helvetica, Arial, sans-serif;

/* Badge */

.badge {
  font-family: Proxima;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge-primary {
  background-color: rgba(78, 34, 208, 0.1);
  color: #4e22d0;
}

.badge-secondary {
  background-color: rgba(255, 120, 0, 0.1);
  color: #ff7800;
}

/* Size modifications */
.badge-m {
  font-size: 13px;
  padding: 8px 16px;
}

.badge-s {
  font-size: 11px;
  padding: 5px 12px;
}

.badge-xs {
  font-size: 11px;
  padding: 3px 8px;
}

/* Tag */

.badge-pill {
  background-color: #e9e8f3;
  color: rgba(38, 28, 106, 0.7);
  padding: 10px 16px;
  &:hover {
  background-color: #514988 !important;
  color: #fff;
  }
  &:focus {
  background-color: #514988 !important;
  color: #fff;
  }
}

/* Layout */

.wrap {
  display: flex;
  font-family: Proxima;
  margin: 5% 0 0 15%;
}
