.certifications-container{
    margin-top: 5vh;
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certifications-title {
    color: var(--text-primary);
}

.p-text {
    color: var(--text-secondary);
}

.certification-node-text {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 20px;
}

.certification-node-paragraph {
    color: var(--text-secondary);
    margin-bottom: 0;
    margin-right: 1rem;
}

.fa-circle-check {
    color: var(--accent);
    font-size: 24px;
    margin-left: 2rem;
    margin-right: 2rem;
}

.certification-node {
    background-color: var(--skills-badge-bg);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: left;
    align-items: center;
    width: 40vw;
    height: 15vh;
    margin-bottom: 2rem;
}

.certification-node:hover {
    transform: translateY(-0.1rem);
}

.img-certificate {
    width: 5rem;
    height: auto;
    border-radius: 1rem;
    border: 0.1rem solid black;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.7);
}

.image-frame {
  height: 80vh;
  width: fit-content;
  border: 0.2rem solid black;
  border-radius: 2rem;
  box-sizing: border-box;
  position: fixed;
  top: 10vh;
  overflow: hidden; /* Keeps the image inside the rounded border */
  z-index: 5;
  justify-self: center;

  animation: spawn 0.5s ease-out;
}

.image-frame.closing {
    animation: despawn 0.3s ease-in forwards;
}

.image-frame img {
  display: block;
  height: 100%;
  width: auto;
}

@keyframes spawn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes despawn {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.3);
    }
}

