/* Additional CSS added to template post download */

/* Portfolio Page CSS */

.shake-image:hover {
    animation: shake 1s ease-in-out infinite;
  }
  
  @keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    75% { transform: translateX(5px) rotate(5deg); }
    100% { transform: translateX(0); }
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  
  .bouncing-element:hover {
    animation-name: bounce;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }
  
  @keyframes rotate {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .rotating-element:hover {
    animation-name: rotate;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  @keyframes move-off-screen {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  .off-screen-element:hover {
    animation-name: move-off-screen;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .timeline {
    --tl-line-padding: 20px;
    --tl-bullet-size: 8px;
    --tl-line-size: 4px;
    --tl-left-col-size: 70px;
    --tl-line-color: rgb(85, 85, 85);
    --tl-bullet-color: rgb(180, 180, 180);
    --tl-bullet-padding: 1rem;
    --tl-line-height: 1.25rem;
    --tl-title-color: rgb(175, 191, 255);
    --tl-bullet-shadow: 0 0 5px var(--tl-line-color);
    --tl-border: var(--tl-line-size) solid var(--tl-line-color);
  }
  
  @media screen and (width < 450px) {
    .timeline {
      --tl-left-col-size: 60px;
    }
  }
  
  .tl-year-outer {
    display: flex;
  }
  
  .tl-year-outer.first {
    margin-top: 50px;
  }
  
  .tl-year-outer:not(.first) .tl-year {
    padding-top: 40px;
  }
  
  .tl-year-outer:not(.first) .tl-year::after {
    top: 40px;
  }
  
  .tl-year {
    width: var(--tl-left-col-size);
    padding-right: var(--tl-line-padding);
    position: relative;
  }
  
  .tl-year-linebox {
    border-left: var(--tl-border);
  }
  
  .tl-year::after {
    content: "";
    width: 11px;
    height: 11px;
    background: var(--tl-line-color);
    border: 3.5px solid var(--tl-bullet-color);
    border-radius: 99px;
    position: absolute;
    top: 0;
    right: calc(-1 * var(--tl-line-size) / 2);
    transform: translate(50%, -50%);
  }
  
  .tl-year h2 {
    letter-spacing: normal;
    margin: 0;
    font-weight: 400;
    color: var(--tl-bullet-color);
    transform: translateY(-50%);
  }
  
  .tl-list {
    margin: 0;
    padding: 0;
  }
  
  .tl-bullet {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .tl-bullet:nth-of-type(odd) {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent)
  }
  
  .tl-date {
    width: var(--tl-left-col-size);
    padding-right: var(--tl-line-padding);
    padding-top: var(--tl-bullet-padding);
    padding-bottom: var(--tl-bullet-padding);
    position: relative;
    display: flex;
    gap: 0.35rem;
    align-items: center;
    font-weight: 400;
    height: fit-content;
  }
  
  .tl-date::after {
    content: "";
    width: var(--tl-bullet-size);
    height: var(--tl-bullet-size);
    border-radius: 99px;
    background-color: var(--tl-bullet-color);
    box-shadow: var(--tl-bullet-shadow);
    position: absolute;
    right: calc(-1 * var(--tl-line-size) / 2);
    top: 50%;
    transform: translate(50%, -50%);
  }
  
  .tl-date > span {
    line-height: var(--tl-line-height);
  }
  
  .tl-date > span:first-of-type {
    color: var(--tl-bullet-color);
  }
  
  .tl-date > span:last-of-type {
    color: var(--tl-line-color);
  }
  
  .tl-info {
    flex: 1;
    padding-left: var(--tl-line-padding);
    padding-top: var(--tl-bullet-padding);
    padding-bottom: var(--tl-bullet-padding);
    border-left: var(--tl-border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tl-info > * {
    margin: 0;
  }
  
  .tl-info a {
    line-height: var(--tl-line-height);
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
    border: none;
    color: var(--tl-title-color);
    text-decoration: underline var(--tl-line-color);
    font-weight: 400;
  }
  
  .tl-info a:visited {
    color: var(--tl-title-color);
  }
  
  .tl-info p {
    line-height: 1.25em;
    color: var(--tl-bullet-color);
  }
  
  #About {
    text-align: justify;
}

.logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the circular container */
}
