.profile-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: 0% 80%; 
  border-radius: 50%;
}

#top-section-profile-image {
  position: absolute;
  top: -15px;
  right: 30px;
}

h2 {
  margin-top: 60px;
}

h2:first-child {
  margin-top: 0;
}

#profile-content-section {
  grid-auto-rows: auto;
  margin-top: 60px;
}

.cv-item-container {
  position: relative;
  height: fit-content;
  border-radius: 20px;

  & .cv-item-container-header {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--container-header-bg-color);
    opacity: .85;
    border-radius: 20px 20px 0 0;
    padding: 10px 20px;
    z-index: 1;
  }

  & .cv-item-container-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-auto-rows: 50px;
    gap: 1rem;
    padding: 20px;
    background-color: var(--light-color);
    opacity: .87;

    & span, li {
      color: var(--text-color2);
      font-size: .9rem;
    }

    & p, span {
      font-weight: 600;
    }
  }
  
  & .cv-item-container-footer {
    background-color: var(--primary-color1);
    padding: 10px;
    border-radius: 0 0 20px 10px;
    opacity: .85;
    
    & span {
      color: var(--light-text-color);
    }
  }

}

/* .cv-item-container-main:hover img {
  z-index: -1;
  opacity: .1;

} */


/* .cv-item-container-image-overlay {
  position: absolute;
  top: 0;
  background-color: var(--light-color);
  background-image: linear-gradient(135deg, var(--secondary-color1), var(--primary-color1) 170%);
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 20px;
  opacity: .95;
} */

.cv-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--body-bg-color1);
  border-radius: 25px;
  color: var(--light-text-color);
  font-size: .9rem;
}

.cv-item-wrapper svg {
  width: 15px;
  height: 15px;
  fill: var(--body-bg-color1);
  opacity: 1;
}

#certificate-cv-item-body {
  grid-auto-rows: auto;
}

#certificate-cv-item-body .cv-item-wrapper {
  border: none;
}

.cv-item-certificate {
  width: 100%;
  height: auto;
}
