@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Dancing+Script:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Bricolage Grotesque', Arial, sans-serif;
    justify-content: center;
    background-color: #f3f3f3;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  h1{
    font-size: 1.5rem;
  }
  p{
    font-size: .8rem;
  }

  .profile-card{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    background-color: rgb(29, 28, 28);
    color: rgb(236, 236, 236);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* max-width: 8; */
    width: 100vw;
    height: fit-content;
    padding: 3rem;
  }



  .profile-card-top{
    flex-basis: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 2rem;
    border-right: 1px solid rgba(151, 151, 151, 0.05);
    z-index: 10;
    
  }
  .profile-card-top:hover .fa-webflow{
    scale: 1.3;
  }
  .fa-webflow{
    transition: scale .3s ease-in-out, color .3s ease-in-out;
  }
  .profile-card-down{
    flex-basis: 50%;
    z-index: 100;
  }

  .portfolio{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 2rem;
  }
  .portfolio i{
    transition: scale .3s ease-in-out, color .3s ease-in-out, rotate .3s ease-in-out;
  }
.profile-card-down:hover i.fa-business-time{
    color: rgb(142, 245, 83) !important;
    transform: rotate(15deg);
  }

  .left{
    flex-basis: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem; 
    margin-bottom: 1rem;
   
  }

  .right{
    flex-basis: 45%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(151, 151, 151, 0.03);
    border-top: 1px solid rgba(151, 151, 151, 0.03);
  }
 .profile-pic-container {
    width: 8rem;
    height: 8rem;
    overflow: hidden;
    border-radius: 50%;
    text-align: center;
 }
 .profile-picture{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(7deg);
    border-radius: 50%;
    transition: transform 0.3s ease;
 }
.profile-picture:hover {
  transform: scale(1.05) rotate(-2deg);
}
 .short-bio{
  font-size: 1.3rem;
    width: 100%;
    font-weight: lighter;
    line-height: 1.8;
    text-align: center;
    
 }
.short-bio span{
    font-weight: 600;
    color: rgb(142, 245, 83);
 }
 .short-bio span.changing-words{
    font-size: 1.7rem;
    font-weight: 600;
    color: rgb(142, 245, 83);
 }
 .hire-btn{
    animation:blink .8s infinite;
    transition: all .3s ease-in-out;
    color: #646363;
    font-size: small;
 }
 .social-links{
    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
 }

 .social-link {
    background-color: rgba(58, 57, 57, 0.185);
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    padding: .9rem;
    border-radius: .4rem;
    transition: all 0.3s ease;
    transform: translateY(0);
    animation: slideLeftIn 1s ease-in-out forwards; /* `forwards` keeps final state */
  }
  .social-link i {
    opacity: .3;
  }
.social-link:hover i {
    scale: 1.3;
    opacity: 1;
  }
  .social-link:hover {
    background-color: rgb(142, 245, 83);
    color: black;
    scale: 1.1;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .upwork{
    padding: .7rem 2rem;
  }
  .left div {
    animation: fadeIn 1s ease-in forwards;
  }
  .left h1 {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.2s;
  }
  .left p{
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.2s;
  }



 .job-title {
    color: rgb(142, 245, 83);
 }
 .current-location, .current-time{
    color: rgb(128, 128, 128);
 }
 .current-time{
    margin-top: 1rem;
 }


/* Projects */
.portfolio{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.project-card-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 16px; 
}

.project-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: .7rem;
  background-color: rgba(58, 57, 57, 0.185);
  border-radius: 1rem;
  transition: scale .3s ease-in-out;
  opacity: 1;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  transition: background-color .3s ease-in-out, transform .3s ease-in-out, box-shadow .3s ease-in-out, scale .3s ease-in-out;
}
.project-card:hover{
    scale: 1.05;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(126, 124, 124, 0.285);
}
.project-card:hover .project-image > img{
    transform: scale(1.05);
    transition: all .3s ease-in-out;
}

.project-name{
    color: rgb(142, 245, 83);
    font-weight: lighter;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
}
.project-image-container{
    width: 100%;
    /* max-height: 5rem; */
    object-fit: cover;
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: .5rem;
}
.project-image-container:hover img{
    transform: scale(1.2);
    transition: all .3s ease-in-out;

}

.project-image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-in-out;

}

.project-description{
    font-size: .8rem;
    font-weight: lighter;
    text-align: center;
    margin: auto auto;
    line-height: 1.5;
    margin-bottom: .5rem;
    width: 90%;
}
.project-link{
    font-size: .7rem;
    color: rgb(142, 245, 83);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgb(142, 245, 83);
    padding:3px;
    border-radius: .2rem;
}
.project-link:hover{
  color: #f3f3f3;
  background-color: rgb(142, 245, 83);
}


/* Shadow on scroll */

.profile-card-down.shadow-on-scroll {
  box-shadow: 0 15px 60px rgba(255, 254, 254, 0.1);
  transition: box-shadow 0.3s ease;
}


/* BREAK POINTS */
@media (min-width: 768px){
  
}

 @media (max-width: 768px) {
  body{
    padding: 0rem 0;
  }
    .profile-card{
     flex-direction: column;
     margin-top: 2rem;
     padding: 0rem;
     overflow: visible;
     height: fit-content;
     width: 100vw;
    box-shadow: 0 15px 60px rgba(255, 254, 254, 0.1);

    }
    .profile-card-top{
        border-right: none;
        padding: 0rem 1.2rem;
        position: sticky;
        top: 0;
    }
    .profile-card-down{
      position: relative;
      z-index: 22;
      background-color: rgb(29, 28, 28);
      border-radius: 20px;
      
    }
    .portfolio{
      padding: 1rem;
    }

  }
  /* Changing words */
  .changing-words {
    display: inline-block;
    animation: changeWords 5s infinite;
  }
.changing-words {
  font-family: 'Dancing Script', cursive;
  display: inline-block;
  position: relative;
  height: 1.3em;
  overflow: hidden;
  min-width: 100px; /* Optional: keep space stable */
}

.changing-words span {
  letter-spacing: 0.2em;
  display: inline-block;
  animation: dropWord 0.6s ease forwards;
}

@keyframes dropWord {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  60% {
    transform: translateY(10%);
    opacity: 1;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
  /* Animations */
  @keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  }

  @keyframes slideLeftIn {
    from {
      translate: 100%;  /* Start off-screen to the left */
      opacity: 0;
    }
    to {
      translate: 0;  /* Ensure it stays at the final position */
      opacity: 1;
    }
  }
  


/* Staggered delays */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}






