* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/network.gif') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
}

.gif{
    width: 150;
    height: 150;
    object-fit: cover;
    border-radius: 50%;
}

.behance-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #3852FF;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.behance-btn:hover {
  background: #0d47a1;
}
.behance-btn img {
  filter: invert(1);
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: px;
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: 0 auto;
    margin-top: 150px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.behance-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.behance-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.behance-btn:hover::before {
    left: 100%;
}

.behance-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.behance-btn:hover .behance-icon {
    transform: rotate(360deg);
}

.school {
      background: #2c2c2c;
      border-radius: 15px;
      box-shadow: 0 0 15px #000;
      padding: 20px;
      width: 300px;
      margin: 20px;
    }

.footer {
  background-color: #2c2c2c;
  color: #fff;
  text-align: center; 
  padding: 10px 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -2px 10px rgba(69, 48, 255, 0.603);
  position: fixed;
  bottom: 0;
  left: 380;
  width: 60%;
  font-size: 14px;
}

.card-header {
      background: rgba(43, 43, 43, 0.6);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      transform: translateX(300px);
      border-radius: 15px;
      box-shadow: 0 0 15px rgba(69, 48, 255, 0.603);
      padding: 20px;
      width: 1200px;
      margin: 20px;
      text-align: center;
}

.info-section {
      background: rgba(43, 43, 43, 0.6);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      transform: translateX(300px);
      border-radius: 15px;
      box-shadow: 0 0 15px rgba(69, 48, 255, 0.603);
      padding: px;
      width: 1200px;
      margin: 20px;
      text-align: center;

}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Titres et listes */
.card h3 {
  margin-bottom: 10px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  margin: 6px 0;
  opacity: 0.9;
}

.card {
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.info-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Boutons onglets */
.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.tabs button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 20px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.tabs button.active,
.tabs button:hover {
  background: white;
  color: black;
}

/* Cartes */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #3852FF;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.github-btn:hover {
  background: #0d47a1;
}
.github-btn img {
  filter: invert(1);
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: px;
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin: 0 auto;
    margin-top: 150px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.github-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.github-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.github-btn:hover::before {
    left: 100%;
}

.github-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.githube-btn:hover .github-icon {
    transform: rotate(360deg);
}

.card ul li i {
      margin-right: 10px;
      width: 20px;
      text-align: center;
      color: #00bfff;
    }