.pdf-files {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
  }
  
  .pdf__container h4 {
    font-size: 1.5rem;
    color: var(--main-color, #3e3f5e);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .pdf__container p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--secondary-color, #0e1538);
    opacity: 0.9;
  }

.portfolio-item {
    padding: 6rem 0;
    background-color: var(--white, #fff);
  }
  
  .portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .portfolio-description h4 {
    font-size: 1.5rem;
    color: var(--main-color, #3e3f5e);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
  }
  
  .portfolio-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--secondary-color, #0e1538);
    opacity: 0.9;
  }
  
  .portfolio-description ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
  }
  
  .portfolio-description ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--secondary-color, #0e1538);
    opacity: 0.9;
  }
  
  .portfolio-img {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .portfolio-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .portfolio-img img:hover {
    transform: scale(1.02);
  }
  
  /* Competences box */
  .competences-box {
    background-color: #f5f7fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .competences-box h4 {
    font-size: 1.5rem;
    color: var(--main-color, #3e3f5e);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
  }
  
  .competence-item {
    display: flex;
    margin-bottom: 1.2rem;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
  }
  
  .competence-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .competence-code {
    background-color: var(--main-color, #3e3f5e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 90px;
    text-align: center;
    align-self: flex-start;
  }
  
  .competence-desc {
    margin: 0;
    line-height: 1.6;
  }
  
  
  @media screen and (min-width: 768px) {
    .portfolio-content {
      flex-direction: row;
      flex-wrap: wrap;
    }
    
    .portfolio-description {
      flex: 2;
      padding-right: 2rem;
    }
    
    .competences-box {
      flex: 1;
      align-self: flex-start;
      position: sticky;
      top: 2rem;
    }
  }
  
  @media screen and (max-width: 767px) {
    .competence-item {
      flex-direction: column;
    }

    .pdf-files {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

    }
    
    .competence-code {
      margin-bottom: 1rem;
      margin-right: 0;
      align-self: flex-start;
    }
  }



  .shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.shape {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(120, 76, 251, 0.2);
    top: 15%;
    left: 10%;
    animation-delay: 0.5s;
}

.square {
    width: 60px;
    height: 60px;
    background-color: rgba(120, 76, 251, 0.15);
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
    transform: rotate(45deg);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(120, 76, 251, 0.1);
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.x-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 20%;
}

.x-shape::before,
.x-shape::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(120, 76, 251, 0.25);
    border-radius: 5px;
}

.x-shape::before {
    transform: rotate(45deg);
}

.x-shape::after {
    transform: rotate(-45deg);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}


.portfolio-item {
    position: relative;
}