body {
    padding-top: 20px;
    margin: 0;
    padding: 0;
    /* Set the background image */
    background-image: linear-gradient(rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.3)),
    url('1720314345.jpeg');
    /* Ensure the image covers the entire viewport */
    background-size: cover;
    /* Fix the background in place */
    background-attachment: fixed;
    /* Optional: Center the image */
    background-position: center;
    /* Optional: Prevent image from repeating */
    background-repeat: no-repeat;
    /* Fallback background color */
    background-color: #f0f0f0;
    /* Add some content to see scrolling effect */
    min-height: 200vh; /* Makes the page scrollable */

}
th {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    background-color: #777777;
    color: lightblue;
    text-align: left;
    padding: 10px;
    border: 1px solid #d1d1d1;
    }
td {
    font-size: 5;
    border: 1px solid #d1d1d1;
    padding: 5px;
}
ul {
    font-size: 4vw;
}
.text {
    font-size: 3p;
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}
.image-link {
    display: inline-block; /* Ensures padding/border work */
    border: 2px solid transparent; /* Optional: Improves hover effect */
    transition: all 0.3s ease; /* Smooth hover effects */
  }
  
  .image-link:hover {
    opacity: 0.9; /* Slight fade effect */
    transform: scale(1.02); /* Subtle zoom */
  }
  
  /* Style the image itself (optional) */
  .image-link img {
    display: block; /* Removes extra space below image */
    max-width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px; /* Optional: Rounded corners */
  }
h1 {
    padding-top: 50px;
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 1.95em;
}
table {
    width: 90%;
    margin: 0 auto;
    font-family: 'Times New Roman', Times, serif;
    border-collapse: collapse;
}
.center {
  margin-left: auto;
  margin-right: auto;  
}
tr:nth-child(even) {
    background-color: white;
}

tr:nth-child(odd) {
    background-color: lightgrey;
}
/* Whole animated gradient. Keyframes shift from one another. Speed is defined inside .navbar*/
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.navbar {
    background: linear-gradient(90deg, #007bff, #8a2be2, #ff5722);
    background-size: 200% 200%; /* make is bigger so there is space to move around */
    animation: gradientMove 2.5s infinite linear; /* this consumes power */
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* navbar shadow */
    z-index: 1000;
    transition: transform 0.1s ease-in-out; /* eases at the end and the start, so the animation doesnt look jerky */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.navbar ul li {
    margin: 0 15px;
}
.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease; /* animate yellow underline */
}
 /* Hover Animation for the links within Navbar */
.navbar ul li a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: #ffcc00;
    transition: width 0.3s ease, left 0.3s ease;
}
.navbar ul li a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}
.navbar ul li a:hover::before {
    width: 100%;
    left: 0;
}
.toggle-btn {
    position: relative;
    margin-top: 10px;
    right: -30px;
    color: azure;
    font-size: 1.5em;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.4s ease, color 0.3s ease;
}
.toggle-btn:hover {
    color: #ffcc00;
    transform: rotate(360deg) scale(1.3);
}