@font-face {
    font-family: PokerFont; 
    src: url(CustomFonts/PokerKingsRegular-36K8.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('Images/Cursor.png'), pointer;
    text-align: center;

}

.navbar {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px;
    transform-origin: top left;
}

.nav-drawer {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    overflow: visible; 
    transition: all 0.4s ease;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 10px;
    padding: 10px; 
    max-width: 0;
    opacity: 0;
    transition: all 0.4s ease;
    overflow: visible;
    pointer-events: none; 
}

.nav-drawer.open .nav-items {
    max-width: 800px;
    opacity: 1;
    padding: 10px;
    pointer-events: auto; 
}

.nav-items li a {
    display: block;
}

.nav-items li a img {
    width: 100px;
    height: auto;
    image-rendering: pixelated;
    transition: all 0.3s ease;
    border: 3px solid red;
    background: transparent;
    display: block;
    border-radius: 5px;
    max-width: 100px;
}

.nav-items li a img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    cursor: url('Images/CursorHover.png'), auto; 
}

.arrow-btn {
    width: 60px;  
    height: 60px; 
    background: black;
    border: 3px solid red; 
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    max-width: 60px;   
    max-height: 60px;
}

.arrow-btn:hover {
    transform: scale(1.1);
}

.arrow-btn:hover .arrow {
    border-left-color: red;
    cursor: url('Images/CursorHover.png'), auto; 
}

.arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;   
    border-bottom: 15px solid transparent; 
    border-left: 18px solid white;         
    transition: all 0.3s ease;
}

.nav-drawer.open .arrow {
    transform: rotate(180deg);
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background: #000;
}

.columns-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
    background: #ffffff;
}

.column {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    image-rendering: pixelated;
    -ms-interpolation-mode: bicubic;
    opacity: 0.6;
}

header ul{
    border: double black 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 50px;
    padding-top:10px;
    background-color: white;
    
}
header ul li{
    display:inline;
    padding-top:20px;
    image-rendering: pixelated;
    transition: transform 0.4s ease;
    
}

header ul li img{
    width:150px;
}

.button-container {
    text-align: center;
    margin: 2vh 0;
}

.download-btn, .github-btn {
    display: block;
    padding: 1.5vh 3vw;
    border: 0.3vw solid red;
    border-radius: 0.5vw;
    text-decoration: none;
    color: red;
    font-size: clamp(64px, 2.5vw, 24px);
    font-family: PokerFont;
    background-color: white;
    transition: all 0.3s ease;
    margin: 2vh auto;
    margin-top:5vh;
    width: fit-content;
    
}

.download-btn:hover, .github-btn:hover {
    background-color: red;
    color: white;
    transform: scale(1.05);
    cursor: url('Images/CursorHover.png'), auto; 
}

.displayCards {
    text-align: center;
}

.displayCards {
    position: relative;
    width: 70%;
    margin: 0 auto;
}

.displayCards img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    margin-top: 30vh;
}

.about-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: red;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5% 5%;
    top:10%;
    bottom: 10%;
}

.about-text::-webkit-scrollbar {
    width: 10px;
}

.about img {
    margin-top: 10vh;  
}

.about-text h1 {
    font-family: PokerFont;
    font-size: clamp(40px, 15vw, 200px);
    color: red;
}

.about-text h3 {
    font-size: clamp(20px, 4vw, 50px);
    margin-top: 2vh;
}

.about-text p {
    color: red;
    font-size: clamp(14px, 2.5vw, 30px);
    max-width: 70%;
    padding: 0 2vw;
}

.about-text h2 {
    font-size: clamp(20px, 3.5vw, 40px);
    margin: 10vh 0;
}

.textCards {
    margin-top: 20vh;
    width: 70%;
    image-rendering: pixelated;
}

@media (max-width: 768px) {
    header img {
        width: 80%;
        margin-top: 5vh;
    }

    .about {
        width: 90%;
    }

    .download-btn {
        padding: 2vh 5vw;
    }
}

.credits-text {
    position: absolute;
    inset: 0;
    top: 10%;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: black;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.credits-text::-webkit-scrollbar {
    width: 10px;
}

.credits-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.credits-text::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 5px;
}

.credits-text::-webkit-scrollbar-thumb:hover {
    background: #333;
}

.credits-text h1 {
    margin-top: 20%; 
    font-family: PokerFont;
    font-size: clamp(30px, 10vw, 200px); 
}

.credits-text h3 {
    font-size: clamp(12px, 2.5vw, 35px);
    margin-top: 0.5vh; 
    margin-bottom: 0.5vh;
}

.credits-text a {
    text-decoration: none;
    font-size: clamp(10px, 2vw, 25px);
    display: block;
    margin-bottom: 1vh; 
}

.credits-text h2 {
    font-size: clamp(20px, 3.5vw, 40px);
    margin: 3vh 0; 
}

.credits-text br {
    display: none; 
}

.nav-tooltip {
    position: fixed;
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    border: 2px solid red;
    font-size: 14px;
    pointer-events: none;
    z-index: 102;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    opacity: 1;
}
.secret {
    opacity: 0;
    transition: all 0.4s ease;
}
.secret:hover {
    transition: all 0.4s ease;
    opacity: 0.5;
    cursor: url('Images/CursorHover.png'), auto; 
}
#banana{
    opacity: 0;
    transition:all 0.4s ease;
    float:left;
    position:absolute;
    
    
}
#banana:hover{
    opacity: 1;
    transition:all 0.4s ease;
    cursor: url('Images/CursorHover.png'), auto; 
}



#cube {
    width: 50px;
    height: 50px;
    background-color: red;
    position: fixed;
    top: 100px;
    left: 100px;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

#cube.visible {
    opacity: 1;
}

#target {
    width: 50px;
    height: 50px;
    background-color: green;  
    position: fixed;
    top: 500px;
    left: 1000px;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

#target.visible {
    opacity: 1;
}

#animation{
    width: 300px;  
    height: 300px; 
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    z-index: 1000; 
}
#animation.visible{
    opacity: 1;
}
.batman-container {
  display: inline-block;
  width: 100px;
  position: relative;
  cursor: pointer;
}

.batman-container img {
  width: 100%;
  display: block;
}

.batman-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  
}

.batman-container:hover .batman-hover {
  opacity: 1;
}


#animation {
  position: absolute;
  display: none;
  pointer-events: none; 
  transform: translate(-50%, -10%); 
  z-index: 9999; 
  transition: opacity 0.5s ease;
  opacity: 0;
  width: 50px; 
}

#animation img,
#animation .tenor-gif-embed {
  width: 100%;
  height: auto;
}

table{
    background-color: white;
    align-items: center;
    display: flex;
    justify-content: center;
    display:inline-table;
    border-collapse: collapse;
}
tr,td{
    padding:20px;
    text-align: center;
    border:black solid;
}

.tableName{
    background-color: aqua;
}
.tableRow{
    background-color: rgb(0, 255, 136);
}

#conclusion{
    background-color: rgb(8, 224, 8);
    margin:20px;
    border: greenyellow double;
    
    padding:20px;
    display: inline-block;
    

}

.yippe{
    opacity: 0;
    position:fixed;
    z-index: 9999;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    pointer-events: none; 

}

.yippe.visible{
    opacity: 1;
}

.click-sprite {
  position: fixed;
  width: 100px;
  height: 100px;
  background-image: url("Images/Click.png");
  background-repeat: no-repeat;
  background-size: 2200px 100px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  animation:
    playSprite 0.73s steps(22) forwards,
    fadeOut 0.73s ease-out forwards;
}

@keyframes playSprite {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -2200px 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}
