@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* the drawn underline of the kevin y liu title */
.title-underline {
  display: block;
  margin: -17px auto;
  margin-bottom: 20px;
  max-width: 180px; 
  width: 100%; 
  height: auto;
  opacity: 0.6!important;
  animation: autoflip3 10s infinite;

  position: relative;
  left: 0px;          
}


/* shorter scroll */
.title-wrapper {
  position: relative; 
  display: block;     
  line-height: 1;
  text-align: center;  
  margin: 0 auto;       
}

.title-wrapper h2 {
  position: relative;
  z-index: 2; 
  line-height: 1;
}

.scroll-underline {
  position: absolute;
  left: 49%;
  top: 50%;
  transform: translate(-50%, -30%) scaleY(1.1);
  width: 300px; 
  height: auto;
  z-index: 1;
}


/* for the video box of andrew tomec */
.video-box {
  display: flex;
  justify-content: center!important; 
  left: 65px;
  margin: 0px 0!important;          
}
/* wider scroll */
.title-wrapper2 {
  position: relative;
  display: block;      
  text-align: center;   
  margin: 0 auto;         
}

.title-wrapper2 h2 {
  position: relative;
  z-index: 2; 
  text-align: center;
}

.scroll-underline2 {
  position: absolute;
  left: 49%; 
  top: 50%;
  transform: translate(-50%, -26%) scaleY(1.1); 
  width: 370px; 
  height: auto;
  z-index: 1; 
  opacity: 1; 
}


.logo-underline {
  display: block;
  margin: -7px auto;
  width: 80px;
  max-width: 80px;
  height: auto;
  opacity: 0.6;

  animation: autoFlip2 10s infinite;
  transform-origin: center;
  backface-visibility: visible;
}

@keyframes autoFlip2 {
  0%, 80% {
    transform: rotateY(0deg) scaleX(1.2);
    /* blue */
    filter: none; 
  }
  85%, 95% {
    transform: rotateY(180deg) scaleX(1.2);
    filter: brightness(0) saturate(100%) invert(66%) sepia(96%) saturate(654%) hue-rotate(-3deg) brightness(104%) contrast(105%);
    /* yellow */
  }
  100% {
    transform: rotateY(0deg) scaleX(1.2);
    filter: none; 
  }
}

@keyframes autoFlip3 {
  0%, 80% {
    transform: rotateY(0deg);
    /* blue */
    filter: none; 
  }
  85%, 95% {
    transform: rotateY(180deg);
    filter: brightness(0) saturate(100%) invert(66%) sepia(96%) saturate(654%) hue-rotate(-3deg) brightness(104%) contrast(105%);
    /* yellow */
  }
  100% {
    transform: rotateY(0deg);
    filter: none; 
  }
}



/*projects title text */
#content-area h2 { 
  font-size: 1.3rem;
  color: var(--yellow); 
  /* text-shadow: 
    0 2px 0 var(--red),
    -10px 10px 8px #360030; */
  font-weight: 900;
  letter-spacing: 0px;
  font-family: "Montserrat", sans-serif;
  text-shadow: 
    -3px 3px 7px rgba(0, 123, 255, 0.4),   
    -8px 8px 20px rgba(0, 123, 255, 0.4); 

 
}

#content-area p {
  text-align: center;
  font-weight: 300;

}




.label {
  font-weight: 300;
}

/* for the photo slideshow */
.bordered-img {
  border-radius: 20px; 
  transition: 0.2s ease-out;
  border: 3px solid var(--blue);
  width: 540px;    
  height: 360px;     
  object-fit: cover;  
  object-position: center; 
  
   


  box-shadow: 
      
  -1px 1px 0 var(--shadow),
  -2px 2px 0 var(--shadow),
  -3px 3px 0 var(--shadow),
  -4px 4px 0 var(--shadow),
  -5px 5px 0 var(--shadow),
  -6px 6px 0 var(--shadow),
  -7px 7px 0 var(--shadow),
  -8px 8px 0 var(--shadow),
  -9px 9px 0 var(--shadow),
  -10px 10px 0 var(--shadow),
  0 0px 8px #170015,
  -10px 10px 8px #170015,
  -10px 10px 8px rgba(0, 123, 255, 0.2),   
  -20px 20px 20px rgba(0, 123, 255, 0.2);  
}

.status-text{
 margin-top: 50px;
}








.bordered-img:hover { 
   background: linear-gradient(45deg, #2B0028, #2B0028);
 transform: translate(-10px, 10px);  
 box-shadow: 
     -1px 1px 0 var(--black);
}



/*projects experiences and achievements sections */
#content-area ul {
  font-size: 1rem;     
  color: var(--green);   
  margin: 5px 0;          
  line-height: 1.4;       
}

#content-area ul a {
  color: var(--purple);    
  text-decoration: none;
}
.k11-link {
  color: var(--purple);    
  text-decoration: none;   
}

.k11-link:hover {
  text-decoration: underline; 
}


#content-area ul a:hover {
  text-decoration: underline; 
}

/*skills and contact sections */
#content-area p {
  font-size: 1rem;       
  color: var(--green);     
  margin: 5px 0;          
  line-height: 1.4;       
}



/*style links inside the <p> */
#content-area p a {
  color: var(--purple);    
  text-decoration: none;
}

#content-area p a:hover {
  text-decoration: underline; 
}

/*how many columns of game cards per row*/
.game-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 6px;
    margin-top: 40px;
    perspective: 1000px; 
    
}


.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*the little light highlight line at the top of the nav bar */
    height: 4.85px;
    background: rgba(255, 255, 255, 0.07);
    /*animation: scanline 5s ease-out infinite;*/
    z-index: 1;
}



.game-card {
  overflow: hidden;
    /* background: linear-gradient(45deg, #2B0028, #4F003E); */
    background: var(--dark);
    
    border: 3px solid var(--darkpurple);
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease;
    transform-origin: center;
    position: relative;
    overflow: hidden;
    color: inherit;
    
    /*width and height of game cards*/
    width: 215px;
    height: 285px;
    transform: translate(-10px, 10px);
    
    transition: transform 0.2s ease-out, background 0.2s ease-out, box-shadow 0.2s;


    overflow: hidden;
    position: relative;
    align-self: flex-end; 
    box-shadow: 
      
    -1px 1px 0 var(--shadow),
    -2px 2px 0 var(--shadow),
    -3px 3px 0 var(--shadow),
    -4px 4px 0 var(--shadow),
    -5px 5px 0 var(--shadow),
    -6px 6px 0 var(--shadow),
    -7px 7px 0 var(--shadow),
    -8px 8px 0 var(--shadow),
    -9px 9px 0 var(--shadow),
    -10px 10px 0 var(--shadow),
    0 0px 8px #170015,
    -10px 10px 8px #170015,
    -10px 10px 8px rgba(0, 123, 255, 0.2),   
    -20px 20px 20px rgba(0, 123, 255, 0.2);  
    margin: 0; 
    align-self: flex-start; 
}

.game-card::after {
    content: "";
    position: absolute;
    top: 9px;      
    right: 13px;     
    width: 5px;   
    height: 5px;
    /* background: #FFBAD3; */
    border-radius: 50%;  
    opacity: 1;     
    pointer-events: none;
    box-shadow: none;    
}

.game-card:hover::after {
    /* background: #FF8FBA;  */
    opacity: 0.7;        
}

.game-card.rise {
  transform: translate(0, 0);
}

.game-card:nth-child(1)  { transform: translateZ(-12px);  z-index: 1; }
.game-card:nth-child(2)  { transform: translateZ(-12px);  z-index: 1; }
.game-card:nth-child(3)  { transform: translateZ(-12px);  z-index: 1; }

.game-card:nth-child(4)  { transform: translateZ(-6px);   z-index: 2; }
.game-card:nth-child(5)  { transform: translateZ(-6px);   z-index: 2; }
.game-card:nth-child(6)  { transform: translateZ(-6px);   z-index: 2; }

.game-card:nth-child(7)  { transform: translateZ(-12px);  z-index: 3; }
.game-card:nth-child(8)  { transform: translateZ(-12px);  z-index: 3; }
.game-card:nth-child(9)  { transform: translateZ(-12px);  z-index: 3; }

.game-card:nth-child(10)  { transform: translateZ(-6px);   z-index: 4; }
.game-card:nth-child(11)  { transform: translateZ(-6px);   z-index: 4; }
.game-card:nth-child(12)  { transform: translateZ(-6px);   z-index: 4; }


.game-card:nth-child(1):hover,
.game-card:nth-child(2):hover,
.game-card:nth-child(3):hover {
  transform: translateZ(-12px) translate(-10px, 10px);
}

.game-card:nth-child(4):hover,
.game-card:nth-child(5):hover,
.game-card:nth-child(6):hover {
  transform: translateZ(-6px) translate(-10px, 10px);
}

.game-card:nth-child(7):hover,
.game-card:nth-child(8):hover,
.game-card:nth-child(9):hover,
.game-card:nth-child(10):hover,
.game-card:nth-child(11):hover,
.game-card:nth-child(12):hover {
  transform: translateZ(0px) translate(-10px, 10px);
}


.game-card:hover {
  /* background: linear-gradient(45deg, #2B0028, #2B0028); */
    /*height: 170px; */
    /*box-shadow: 0 0px 70px rgba(0, 0, 0, 1);*/
    /*border-radius: 30px 30px 0 0;*/
    transform: translate(-10px, 10px);  
    /*background: linear-gradient(45deg, #380033, #380033);*/
      box-shadow: 
      -1px 1px 0 var(--black),
     
  
}







/*project title */
.game-card h3 {
  margin-bottom: 50px;
  color: var(--yellow);
    text-shadow: 
  -1px 1px 0 #2a6a92d2;
  font-weight: 800!important;
  font-size: 1.3rem!important;
  
}

.game-card .short-desc {
  font-weight: 300!important;
  font-size: 1.25rem!important;
  color: var(--red);
  text-decoration: none;
}

.game-card .extra-info {
  display: none;
  font-size: 1.25rem!important;
  color: var(--green);
  margin-top: 5px;
  line-height: 1.3;
}

.game-card:hover .short-desc {
  display: none; 
}

.game-card:hover .extra-info {
  display: block; 
}

#content-area .game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--yellow);
}

#content-area .game-card p {
  font-size: 1rem;
  color: var(--white);
}

/* the colors don't make sense since i changed it to just blue now */
:root {
    --dark: #250038;
    --black: #0496ff;
    --shadow: #006ab6;
    --background: #00558e67;
    --white: #0496ff;
    --yellow: #0496ff;
    --yellow2: #ffd30d;
    --red: #0496ff;
    --blue: #0496ff;
    --darkblue: #0496ff;
    /*dark dark purple not actually green now*/
    --green: #0496ff; 
    --purple: #0496ff;
    --darkpurple: #0496ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*font-family: "Press Start 2P", system-ui;*/
body {
  font-family: "Montserrat", sans-serif;
  padding: 20px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: #190025;

  background-image: 
    linear-gradient(to right, var(--background) 1px, transparent 1px),
    linear-gradient(to bottom, var(--background) 1px, transparent 1px);
    

  background-size: 40px 40px; 
  background-position: 0 0;

  background-attachment: scroll;
  animation: moveDots 20s linear infinite;
}


/* move the dots/stars in the background */
.dot {
  position: absolute;
  background: url("star.svg") no-repeat center/contain;
  animation: moveFade 4s forwards;
  z-index: -1 !important;
  border-radius: 0; 
}


@keyframes moveFade {
  0% {
    transform: translate(0, 0) scaleX(var(--flipX, 1));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scaleX(var(--flipX, 1));
    opacity: 0;
  }
}

@keyframes moveDots {
  from {
    background-position: 0 0, 0 0; 
  }
  to {
    background-position: 200px -200px, 200px -200px; 
  }
}


@keyframes moveStripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -400px 0; 
  }
}



.container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    
}



/* the KEVIN Y. LIU text */

.header h1 {
  font-size: 1.9rem;
  margin-bottom: 15px;
  color: var(--yellow);
  letter-spacing: -1px;
  text-align: center;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;

  /* Oval blue shadow to bottom-left */
  text-shadow: 
    -3px 3px 8px rgba(0, 123, 255, 0.4),   
    -8px 8px 20px rgba(0, 123, 255, 0.6);  
}


@keyframes floatText {
    0% { top: 0px; }
    50% { top: -7px; }  
    100% { top: 0px; }
}


@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}



/*machine learning intern... text*/

p strong {
  
   font-family: "Montserrat", sans-serif;
  
}


.header p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--white);
    max-width: 80%;
    margin: 0 auto;
    
  
}


.header {
 text-align: center;
 /*text-shadow: */
 /*       -1px 1px 0 #6E0A73;*/
 
}


#intro-text {
  height: 140px;             

}


#intro-text p {
  text-align: center;
  font-size: 1.0rem !important;   
  
  /*text color*/
  color: var(--blue) !important; 
  line-height: 1.4 !important;  
   opacity: 0.1;
transition: all 0.2s ease-out, opacity 0.4s ease-out;

  
}



#intro-text.fade-in p {
  opacity: 1;
}

#main-title,
#intro-text {
  opacity: 0.4;
  transition: opacity 2s ease-out;
}

#main-title.fade-in,
#intro-text.fade-in {
  opacity: 1;
}


#main-title {
  animation: autoFlip3 10s infinite;
}


.p-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*the little light highlight line at the top of the nav bar */
    height: 4.85px;
    background: rgba(255, 255, 255, 0.07);
    /*animation: scanline 5s ease-out infinite;*/
    z-index: 1;
}


.p-box {
  overflow: hidden;
  /* background: linear-gradient(45deg, #2B0028, #4F003E); */
  background: #250038;
  color: var(--blue) !important;
  padding: 10px 20px; 
  max-width: 800px; 
  border: 3px solid var(--blue);
  text-align: center;
  margin: auto;
  border-radius: 20px;

  transform: translate(-10px, 10px);

  box-shadow: 
      
  -1px 1px 0 var(--shadow),
  -2px 2px 0 var(--shadow),
  -3px 3px 0 var(--shadow),
  -4px 4px 0 var(--shadow),
  -5px 5px 0 var(--shadow),
  -6px 6px 0 var(--shadow),
  -7px 7px 0 var(--shadow),
  -8px 8px 0 var(--shadow),
  -9px 9px 0 var(--shadow),
  -10px 10px 0 var(--shadow),
   0 0px 8px #170015,
   -10px 10px 8px #170015,
   -10px 10px 8px rgba(0, 123, 255, 0.2),   
   -20px 20px 20px rgba(0, 123, 255, 0.2);  

  transition: transform 0.8s ease-out, background 0.2s ease-out;
}


.p-box::after {
    content: "";
    position: absolute;
    top: 6px;       
    right: 11px;    
    width: 5px;     
    height: 5px;
    /* background: #FFBAD3; */
    border-radius: 50%; 
    opacity: 1;     
    pointer-events: none; 
    box-shadow: none;    
}

.p-box:hover::after {
    /* background: #FF8FBA;   */
    opacity: 0.7;         
}


.p-box.rise {
  transform: translate(0, 0); 
}

.p-box:hover {
  /* background: linear-gradient(45deg, #2B0028, #2B0028); */
  transform: translate(-10px, 10px);  
  box-shadow: 
      -1px 1px 0 var(--black);
}




/* rounded corners of the about me text */
#p1 { border-radius: 25px 25px 0 0 !important; }
#p2 { border-radius: 0px 0px 0px 0px!important; }
#p3 { border-radius: 0px 0px 0px 0px!important; }
#p4 { border-radius: 0 0 0px 0px!important; }
#p5 { border-radius: 0 0 25px 25px!important; }







#content-area .p-box2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*the little light highlight line at the top of the nav bar */
    height: 4.85px;
    /* background: rgba(255, 255, 255, 0.07); */
    opacity: 1;
    /*animation: scanline 5s ease-out infinite;*/
    z-index: 1;
}


#content-area .p-box2 {
  overflow: hidden;
  z-index: 2;
   position: relative; 
  /* background: linear-gradient(45deg, #2B0028, #4F003E); */
  background: #250038;
  color: var(--blue) !important;
  /* border-radius: px!important;  */
  padding: 20px 25px; 
  max-width: 550px; 
  border: 3px solid var(--blue);
  text-align: left;
  margin: auto;
  margin-bottom: 0px!important; 


  
  opacity: 1;
  

  box-shadow: 
      
  -1px 1px 0 var(--shadow),
  -2px 2px 0 var(--shadow),
  -3px 3px 0 var(--shadow),
  -4px 4px 0 var(--shadow),
  -5px 5px 0 var(--shadow),
  -6px 6px 0 var(--shadow),
  -7px 7px 0 var(--shadow),
  -8px 8px 0 var(--shadow),
  -9px 9px 0 var(--shadow),
  -10px 10px 0 var(--shadow),
   0 0px 8px #170015,
   -10px 10px 8px #170015,
   -10px 10px 8px rgba(0, 123, 255, 0.2),   
   -20px 20px 20px rgba(0, 123, 255, 0.2);  

  transition: all 0.2s ease-out, opacity 0.4s ease-out;
}


/* #content-area .p-box2::after {
    content: "";
    position: absolute;
    top: 6px;       
    right: 11px;    
    width: 5px;     
    height: 5px;
    background: #FFBAD3;
    border-radius: 50%; 
    opacity: 1;     
    pointer-events: none; 
    box-shadow: none;    
}
 */

.video-box {
  display: inline-block;
  position: relative;   
  z-index: 2;           
  border: 3px solid var(--blue);
  box-shadow: 
      
  -1px 1px 0 var(--shadow),
  -2px 2px 0 var(--shadow),
  -3px 3px 0 var(--shadow),
  -4px 4px 0 var(--shadow),
  -5px 5px 0 var(--shadow),
  -6px 6px 0 var(--shadow),
  -7px 7px 0 var(--shadow),
  -8px 8px 0 var(--shadow),
  -9px 9px 0 var(--shadow),
  -10px 10px 0 var(--shadow),
  0 0px 8px #170015,
  -10px 10px 8px #170015,
  -10px 10px 8px rgba(0, 123, 255, 0.2),   
  -20px 20px 20px rgba(0, 123, 255, 0.2);  
  margin: auto;
  margin-bottom: 0px!important; 
  transition: all 0.2s ease-out, opacity 0.4s ease-out;
}


/* .video-box:hover {
  background: linear-gradient(45deg, #2B0028, #2B0028);
  transform: translate(-10px, 10px);  
  box-shadow: 
      -1px 1px 0 var(--black);
} */





#content-area .p-box2:hover::after {
    background: #FF8FBA;  
    opacity: 0.7;         
}

#content-area .p-box2:hover {
  /* background: linear-gradient(45deg, #2B0028, #2B0028); */
  transform: translate(-10px, 10px);  
  box-shadow: 
      -1px 1px 0 var(--black);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center; 
  max-width: 800px;
  margin: auto;
}
.video-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
  max-width: 760px; 
  margin: 0 auto;
}


.video-box2 {
  transform: translateX(32px) !important; 
  text-align: center;
  border: 3px solid var(--blue)!important;
  padding: 10px;
  border-radius: 20px!important;
  background: #2B0028;
  color: white;

  box-shadow: 
      
  -1px 1px 0 var(--shadow),
  -2px 2px 0 var(--shadow),
  -3px 3px 0 var(--shadow),
  -4px 4px 0 var(--shadow),
  -5px 5px 0 var(--shadow),
  -6px 6px 0 var(--shadow),
  -7px 7px 0 var(--shadow),
  -8px 8px 0 var(--shadow),
  -9px 9px 0 var(--shadow),
  -10px 10px 0 var(--shadow),
   0 0px 8px #170015,
   -10px 10px 8px #170015,
   -10px 10px 8px rgba(0, 123, 255, 0.2),   
   -20px 20px 20px rgba(0, 123, 255, 0.2)!important;  
}

.video-box2 p {
  margin-bottom: 10px;
  font-weight: 800!important;
  font-size: 1rem;
    text-shadow: 
  -1px 1px 0 #2a6a92d2;
  
}


/* Collapse to 1 column on mobile */
/* @media (max-width: 768px) {
  .video-grid,
  .video-grid2 {
    grid-template-columns: 1fr;
    transform: none !important;
    max-width: 95%; 
    margin-left: auto;
    margin-right: auto;
  }
}

 */




.nav-container {
  background: #250038;
    position: relative;
    width: 120%;
    height: 45px;
    transform: translateX(-66px);
 
    overflow: hidden;
    border-radius: 20px;

    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 0px 50px rgba(0, 0, 0,1);
    box-shadow: 
      
    -1px 1px 0 var(--shadow),
    -2px 2px 0 var(--shadow),
    -3px 3px 0 var(--shadow),
    -4px 4px 0 var(--shadow),
    -5px 5px 0 var(--shadow),
    -6px 6px 0 var(--shadow),
    -7px 7px 0 var(--shadow),
    -8px 8px 0 var(--shadow),
    -9px 9px 0 var(--shadow),
    -10px 10px 0 var(--shadow),
   0 0px 8px #170015,
   -10px 10px 8px #170015,
   -10px 10px 8px rgba(0, 123, 255, 0.2),   
   -20px 20px 20px rgba(0, 123, 255, 0.2);  
}


.nav-container::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    
    z-index: -1;
    filter: blur(6px);
    /* animation: gradientShift 10s ease infinite; */
    border-radius: 12px;
}



.nav-container:hover {
    transform: translateX(-76px) translateY(10px);
    box-shadow: 0 0px 50px rgba(0, 0, 0,1);
       box-shadow: 
      
      -0px 0px 0 var(--black);
    
    /*box-shadow: 0 0 10px rgba(172,151,230, 0.2),*/
    /*            0 10px 20px rgba(0,0,0,0);*/
                
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* flip for the kevin y liu title  */

.flip-wrapper2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-container2 {
  width: 190px;
  height: 50px;
  perspective: 1000px;
}

.flip-card2 {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: autoFlip 10s infinite; 
  
  
}
/* the kevin y liu and k11 games svg images */

.flip-card2 img {
  width: 190px;
  height: 60px;
  transform: translate();
  object-fit: cover;
  position: absolute;
  backface-visibility: hidden;
  top: 0;
  left: -5px;
  
}

/* k11-games text */
.flip-card2 .back {
  transform: rotateY(180deg);
  left: -7px;
}







.flip-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-container {
  width: 190px;
  height: 190px;
  perspective: 1000px;
}

.flip-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  border-radius: 50%;
  animation: autoFlip 10s infinite; 
  
  
}

.flip-card img {
  width: 190px;
  height: 190px;
  transform: translate();
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  
}

.flip-card .back {
  transform: rotateY(180deg);
}

/* flip the logo  */
@keyframes autoFlip {
  0%, 80% {
    transform: rotateY(0deg);
  }
  85%, 95% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}




.nav-bar {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    width: 100%;
    height: 100%;
    padding: 5px;

   background: none;

    background-size: 200% 100%;
    animation: moveStripes 15s linear infinite;

/*the rectangle outline thats innermost in the navbar */
    border: 3px solid var(--black);
    border-radius: 20px; 
    position: relative;
    overflow: hidden;
    
}


@keyframes moveStripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200% 0;
    }
}




.nav-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*the little light highlight line at the top of the nav bar */
    height: 4.85px;
    background: rgba(255, 255, 255, 0.07);
    /*animation: scanline 5s ease-out infinite;*/
    z-index: 1;
}



.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 5px;
    text-decoration: none;
    color: var(--white);
    /*projects experience tabs...*/
    font-size: 1rem;
    transition: all 0.1s ease;
    cursor: pointer;
    z-index: 2;
    text-shadow: 
      0 2px 0 rgba(65, 7, 66, 0.5);
      font-weight: 300!important;
}

/*when hovered over a nav bar word like projects */
.nav-item:hover {
  transform: scale(1.0); 
  /* padding-bottom: 0px; */
  /* position: relative; */
  background-color: transparent; /* inside color */
  border-radius: 10px;
  border-left:  1px solid var(--blue);
border-right: 1px solid var(--blue);
border-bottom: 1px solid var(--blue);
border-top: 1px solid var(--blue);
/* opacity: 0.5; */
  padding: 4px 3px; 
  color: var(--yellow);
}

/*rectangle behind nav bar words like projects */
.nav-item.active {
  transform: scale(1.0); 
  /* padding-bottom: 0px; */
  /* position: relative; */
  background-color: transparent; /* inside color */
  border-radius: 10px 10px 10px 10px;
  border-left:  2px solid var(--blue);
border-right: 2px solid var(--blue);
border-bottom: 2px solid var(--blue);
border-top: 2px solid var(--blue);
  padding: 4px 10px; 
  color: var(--yellow);
  /* margin-top: -6.5px;
  padding-left: 20px!important;
  padding-right: 20px!important; */
  /* margin-bottom: -6px; */
}





.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 100;
    opacity: 0.15;
    pointer-events: none;
}

.crt-flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    animation: flicker 0.3s infinite alternate;
    pointer-events: none;
    z-index: 101;
}

p a {
  text-decoration: underline;
}


@keyframes scanline {
  0%   { top: 0; }
  20%  { top: 100%; }   
  100% { top: 100%; }   
}


@keyframes flicker {
    0% { opacity: 0.1; }
    100% { opacity: 0; }
  
}
