/* ============================= */
/* Bootstrap overrides */
/* ============================= */

.bg-darkblue {
  background-color: #005b7f;
}

.text-darkblue {
  color: #005b7f;
}


/* ============================= */
/* Layout général */
/* ============================= */

.br-mobile {
  display: none;
}

@media (max-width: 768px) {
  .br-mobile {
    display: block;
  }
}


/* ============================= */
/* Sections */
/* ============================= */

#a-propos,
#competences,
#projets,
#stages,
#certifications,
#contacts {
  scroll-margin-top: 65px;
}


/* ============================= */
/* Cards / Projets / Stages */
/* ============================= */

.carte {
  transition: filter 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.carte:hover {
  filter: drop-shadow(0px 0px 12px #b9b6e7);
  transform: translate(0,-5px);
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body .row {
  margin-top: auto;
}


/* ============================= */
/* Badges logiciels */
/* ============================= */

.badges-logiciels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  cursor: default;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.badge-tech:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-vscode {
  background-color: #02375a;
}

.badge-androidstudio {
  background-color: #005207;
}

.badge-eclipse {
  background-color: #2d0568;
}

.badge-phpmyadmin {
  background-color: #8f5805;
}


/* ============================= */
/* Images */
/* ============================= */

.user-pfp {
  padding: 2.5px;
}

.image-competences {
  user-select: none;
}

.blur {
  filter: blur(1.5px);
}

.background-image {
  background-image: url('./ressource/illustration/coding-illustration.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(11px) brightness(30%);
  transform: scale(1.1);
}


/* ============================= */
/* Icônes */
/* ============================= */

.icon:hover {
  filter: drop-shadow(0px 0px 9px #adadad);
  width: 30.5px;
  height: 30.5px;
  transition: all 0.3s ease;
}


/* ============================= */
/* Compétences / Marquee */
/* ============================= */

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.skill {
  flex: 0 0 auto;
  text-align: center;
  margin: 0 40px;
}

.skill img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 10px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}