 /* Enhanced article animations */
 article {
     animation: slideInUp 0.8s ease;
 }

 @keyframes slideInUp {
     from {
         opacity: 0;
         transform: translateY(40px);
     }

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

 /* Parallax effect for images */
 .displayPortfolio img {
     transition: transform 0.5s ease;
 }

 /* Enhanced button */
 .centerImg button {
     position: relative;
     overflow: hidden;
     transition: all 0.3s ease;
 }

 .centerImg button::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.3);
     transform: translate(-50%, -50%);
     transition: width 0.5s, height 0.5s;
 }

 .centerImg button:hover::before {
     width: 300px;
     height: 300px;
 }

 .centerImg button:hover {
     transform: translateY(-3px);

 }

 /* Text reveal animation */
 .displayPortfolio p {
     opacity: 0;
     animation: fadeInText 1s ease forwards;
     animation-delay: 0.3s;
 }

 @keyframes fadeInText {
     from {
         opacity: 0;
         transform: translateX(-20px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 /* Credit tag enhancement */
 #CreditTag {
     position: relative;
 }

 #CreditTag::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 60px;
     height: 2px;
     animation: expandLine 1s ease forwards;
 }

 @keyframes expandLine {
     from {
         width: 0;
     }

     to {
         width: 60px;
     }
 }

 /* Typing effect base style */
.typewriter h3 {
  color:  rgb(239, 206, 19);
  font-size: 3.5rem;

  white-space: nowrap;
  overflow: hidden;
  letter-spacing: 0.1em;
  display: inline-block;

  animation: none; 
  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-style: normal;


  border-right: 8px solid rgb(239, 206, 19);
  width: 0;

  opacity: 1;

  margin-left: 20px;
  margin-bottom: 10px ;
  
}

.typewriter {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.typewriter.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

@keyframes typing {
  from { width: 0; }
  to { width: var(--chars); }
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}

@keyframes fade-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.divider {
  border: none;
  border-top: 6px solid rgb(239, 206, 19);
  width: 100%;                  /* Shrinks with screen */
  max-width: 100%;
  margin: 40px auto;           /* Centers the line */
}

.dividertwo{
    border: none;
  border-top: 3px solid rgb(255, 255, 255);
  width: 90%;                  /* Shrinks with screen */
  max-width: 100%;
  margin: 10px auto; 
}

@media only screen and (max-width: 799px) {
  .typewriter h3 {
  color:  rgb(239, 206, 19);
  /* font-family: monospace; */
  font-size: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid rgb(239, 206, 19);
  letter-spacing: 0.1em;
  display: inline-block;
  width: 0ch;
  animation: none; 

  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-style: normal;
 
}
}

 @media(min-width:1300px) {

     .centerImages p {
         text-align: center;
         padding: 15px;
     }

     article {
         background-color: rgb(231, 229, 229);
         margin: 20px;
     }

     .displayPortfolio {
         text-align: left;
         display: grid;
         grid-template-columns: 1fr 1fr;
         padding: 30px;
     }

     article img {
         height: 700px;
         width: auto;
     }

     p img {
         width: auto;
         height: 150px;
         padding-top: 25px;
         padding-left: 0pt;
         margin-left: 0pt;
     }

     article p {
         padding: 20px;
     }

     .centerImg img {
         display: block;
         margin: auto;
         width: 80%;
         height: auto;
         padding: 10px;
     }

     .centerImages img {
         display: block;
         margin: auto;
         width: auto;
         height: 60%;
         padding: 10px;
     }

     .displayPortfolio2 {
         text-align: left;
         display: grid;
         grid-template-columns: 1fr 1fr;
         padding: 40px;
     }

     .displayPortfolio2 img {
         width: auto;
         height: 500px;
         text-align: center;
     }

    }

     @media (min-width: 800px) and (max-width: 1299px) {

         article {
             background-color: rgb(231, 229, 229);
             margin: 20px;
         }

         .displayPortfolio {

             text-align: left;
             display: grid;
             grid-template-columns: 1fr 1fr;
             padding: 30px;
         }

         .displayPortfolio p {
             margin: 20px;
             font-size: 11pt;
         }

         article img {
             height: 650px;
             width: auto;
         }

         article p img {
             width: 100%;
             height: auto;
             padding-top: 25px;
         }

         .centerImg img {
             display: block;
             margin: auto;
             width: 80%;
             height: auto;
             padding: 10px;
         }

         .centerImages img {
             display: block;
             margin: auto;
             width: auto;
             height: 60%;
             padding: 10px;
         }

     }


     @media only screen and (max-width: 799px) {

         .centerImages p {
             text-align: center;
             padding: 15px;
         }


         article {
             background-color: rgb(231, 229, 229);
             margin: 20px;
         }

         .centerImages p {
             text-align: center;
             padding: 15px;
         }



         article {
             background-color: rgb(231, 229, 229);
             margin: 20px;
         }

         .displayPortfolio {
             padding: 10px;
         }


         article img {
             display: block;
             height: auto;
             width: 100%;
         }

         article p img {
             width: 100%;
             height: auto;
             padding-top: 25px;
         }



         .centerImg img {
             display: block;
             margin: auto;
             width: 80%;
             height: auto;
             padding: 10px;
         }

         .centerImages img {
             display: block;
             margin: auto;
             width: 80%;
             height: auto;
             padding: 10px;
         }

     }