* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a:hover {
  color: #16a5a5; /* Aqua */
  text-decoration: underline;
  text-decoration-color: none; /* Pink underline */
  text-decoration-thickness: 2px;
  transition: all 0.3s ease;
  text-decoration-style: wavy;
}

.button {
  background: transparent;
  color: #ffffff; /* White text */
  border: none;
  font-size: 20px;
  cursor: pointer;
  border-radius: 100%;
  box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1); /* Light shadow */
  width: 80px;
}

.button:hover {
  box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.8); /* Cyan glow */
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #d4d0e9; /* Elegant gradient */
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #000000; /* Light gray text */
  min-height: 100vh;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(223, 23, 47, 0.02); /* Subtle overlay */
  pointer-events: none;
}

.banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  position: relative;
  
}

.banner .slider {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 10%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(0deg);
  animation: autorun 20s infinite linear;
  
}

.banner .slider .item {
  position: absolute;
  inset: 0;
  background: url('https://picsum.photos/1200/800') no-repeat center center/cover;
  transition: background-image 1s ease-in-out;
  transform:
  rotatex(0deg)
    rotateY(calc((var(--position) - 1) * (360deg / var(--quantity))))
    translateZ(650px);
}

@keyframes autorun {
  from {
    transform: perspective(10000px) rotateY(0deg);
  }
  to {
    transform: perspective(10000px) rotateY(360deg);
  }
}

.text-box {
  width: 100%;
  height: 100%;
  background: rgba(225, 225, 225, 0.1); 
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-style: italic;
  color: #000000; 
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: "Papyrus", "fantasy", monospace;
}

.circular-image {
  border-radius: 50%;
  border: 1px solid #00bcd4; 
  object-fit: cover;
  width: 20px;
  height: 20px;
}

.circular-imagee {
  border-radius: 50%;
  border: 1px solid #00050600; 
  object-fit: cover;
  width: 200px;
  height: 200px;
  margin-top: 20px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: cornflowerblue; /* Dark nav bar */
  display: flex;
  justify-content: center;
  align-items: center;

}

li {
  float: left;
}

li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #010000; /* White nav text */
  text-align: center;
  padding: 20px;
  text-decoration: none;
  height: 60px;
}

li a:hover {
  background-color: lightblue;
  font-size: 22px; /* Slightly lighter hover */
}

table, th, td {
  border: 3px solid #011316; /* Cyan border */
  font-family: "Papyrus", "fantasy", monospace;
}

th, td {
  background-color: cornflowerblue; /* Very light cell background */
  text-align: center;
  padding: 15px;
  font-family: "Papyrus", "fantasy", monospace;
  font-size: 20px;
  color: #040000; /* Dark text */
}

#myTable {
  margin: 20px auto;
  width: 80%;
  border-collapse: collapse;
}

#myTable th, #myTable td {
  padding: 10px;
  text-align: center;
}

.input-section {
  text-align: center;
  margin-top: 20px;
  color: #ffffff; /* Input section text */
}
.circle-mask {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.circle-mask .full-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 1.98s ease;
  pointer-events: none;
}

.circle-mask:hover .full-img {
  transform: scale(0.57)  translate(-57%, -18%);
}

.intro {
  text-align: center;
  padding-left: 5%;
}

.intro h1 {
  font-size: 30px;
  font-weight: bold;
}

.intro p {
  font-size: 18px;
}

.dynamic-text {
  background: yellow;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}
.bodyy {
  height: 100vh;
  width: 100vw;
  background-color: cornflowerblue;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Papyrus", "fantasy", monospace;
}
.hobby td {
  position: relative;
  overflow: hidden;
  background-color: beige;
  color: black;
  text-align: center;
  padding: 30px;
  font-size: 20px;
  font-family: sans-serif;
  border: 3px solid black;
  transition: background 0.5s ease;
}

.hobby td::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: var(--bg);
  background-image: url(""); /* fallback */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.hobby:hover td::before {
  opacity: 0.4;
}

.hobby td {
  position: relative;
  z-index: 1;
}
