* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  color: #f8f9fa !important;
}

p {
  font-size: 14px;
}

li {
  font-size: 14px;
}

body {
  background-color: #000125 !important;
}

.btn {
  font-size: 14px !important;
}

.btn-primary {
  background-color: #8875ed !important;
  border: none !important;
}

.btn-primary:hover {
  background-color: #5149a6 !important;
  border: none !important;
}

.btn-outline-primary {
  border: 1px solid #8875ed !important;
}

.btn-outline-primary:hover {
  border: 1px solid #8875ed !important;
  color: #f8f9fa !important;
  background-color: #5149a6 !important;
}

.bg-web {
  background-color: #282451 !important;
}

.btn-web {
  background-color: #282451 !important;
}
.btn-web:hover {
  background-color: #8875ed !important;
}

.gradient-text {
  font-weight: bold;
  background: linear-gradient(
    90deg,
    #a46cff 0%,
    #c2c0ff 31%,
    #ff888f 60%,
    #9757ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing {
  border-right: 2px solid #333;
  white-space: nowrap;
  overflow: hidden;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  background: #ffffff;
  animation: blink 0.7s steps(2, start) infinite;
  vertical-align: bottom;
  height: 1.2em;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

section {
  opacity: 0;
  scale: 0.5;
}

/* Navbar */
.navbar-nav .nav-item .nav-link {
  padding: 0 10px !important;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  font-size: 14px !important;
  color: #f8f9fa !important;
  border-bottom: 3px solid transparent;
  border-radius: 3px;
}

.navbar-nav .nav-link.active {
  color: #8875ed !important;
  border-bottom-color: #8875ed;
}
.navbar-nav .dropdown-item.active {
  color: #f8f9fa !important;
  background-color: #5149a6;
  border-bottom-color: #8875ed;
}
.navbar-nav .dropdown-item:hover {
  color: #f8f9fa !important;
  background-color: #5149a6;
  border-bottom-color: #8875ed;
}

.navbar-nav .nav-link:hover {
  color: #8875ed !important;
  border-bottom-color: #8875ed;
}

.navbar-collapse {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: #282451;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1050;
}

.navbar-collapse.show {
  right: 0;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  outline: none;
}

.navbar-toggler-icon {
  background-color: #8875ed;
  border-radius: 5px;
  width: 30px;
  height: 3px;
  display: block;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  border-radius: 5px;
  width: 30px;
  height: 3px;
  display: block;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

.navbar-nav .nav-link {
  padding: 10px 15px;
  font-size: 16px;
  text-align: center;
  color: #333 !important;
  transition: color 0.3s ease;
  margin-bottom: 10px;
}

.navbar-nav .nav-link:hover {
  color: #8875ed !important;
}

.img-skill {
  max-width: 50px;
  width: 100%;
}

.img-certif {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}



@media (min-width: 992px) {
  .navbar-collapse {
      position: static;
      width: auto;
      height: auto;
      background-color: transparent;
      box-shadow: none;
      right: 0;
  }
}