table + p {
    font-size: 10px;
    color: purple;
}
/* THIS IS VINAYA'S CODE; PLEASE DO NOT TAMPER WITH THIS*/
/* Basic Reset */
body, h1, h2, h3, p, ul, table {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Verdana', sans-serif;
    text-align: center;
}
hr {
  border-top: 2px dashed indigo;
}
a.links {
    color: rgb(75, 0, 75);
    font-family:monospace;
    font-size: 20px;
}
/* Body */
body {
    background-color: #f3f0ff; /* Light Purple */
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar */
nav {
    background-color: #4b0082; /* Dark Purple */
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a {
    color: #ffffff; /* White for readability */
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #dda0dd; /* Light Purple */
    text-decoration:underline;
}

/* Container */
div.container {
    background-color: #e6e6fa; /* Light Purple */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

/* Highlighted Span */
span:hover {
    color:white;
    background-color:thistle;
    padding: 2px 4px;
    border-radius: 3px;
}
/* Next Sibling Selector */
p + p {
    margin-top: 15px;
    color: #333;
    border-left: 4px solid #dda0dd; /* Plum */
    padding-left: 10px;
}

/* Descendant Selector */
div.container p {
    line-height: 1.6;
    color: #483d8b; /* Dark Slate Blue */
}

/* Child Selector */
ul > li {
    list-style-type: square;
    padding-left: 10px;
    color: #6a5acd; /* Slate Blue */
}

/* Special Selectors */
a:hover {
    text-decoration-style: dotted;
    color: #9400d3; /* Dark Violet */
}

p::before {
    content: "Note: ";
    font-weight: bold;
    color: #ba55d3; /* Medium Orchid */
}

p::first-letter {
    font-size: 150%;
    font-weight: bold;
    color: #9370db; /* Medium Purple */
}

/* Image Filter */
img.filtered {
    filter: grayscale(100%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: filter 0.5s, transform 0.5s;
}

img.filtered:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    transition: background-color 0.3s;
}

th {
    background-color: #8a2be2; /* Blue Violet */
    color: white;
}

td {
    background-color: #fafafa; /* Very Light Gray */
}

table:hover {
    transform: scale(1.02);
}

td:hover {
    background-color: #dcdcdc; /* Light Gray */
}

/* List */
ul.custom-list {
    padding: 0;
    margin: 20px 0;
    list-style-type: none;
    color: #4b0082; /* Indigo */
}

ul.custom-list li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease-in-out;
}

ul.custom-list li:hover {
    background-color: #e6e6fa; /* Light Purple */
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animated {
    animation: fadeIn 2s;
    color: #8a2be2; /* Blue Violet */
}

p.slide-in {
    animation: slideIn 1s ease-out;
}

/* Transition */
div.transition {
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
    padding: 10px;
    border-radius: 5px;
}

div.transition:hover {
    background-color: #4b0082; /* Indigo */
    color: white;
}

/* New Image Animations */
img.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Text Bounce Animation */
p.bounce-text {
    display: inline-block;
    animation: bounce-text 1.5s infinite;
}

@keyframes bounce-text {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* THIS IS THE END OF VINAYA'S CODE; PLEASE DO NOT TAMPER WITH THIS */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f4f4f4;
}
header {
    background:darkviolet;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
}
h1 {
    margin: 0;
}
section {
    margin-top: 20px;
    padding: 20px;
    background: #f3f0ff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h2 {
    color:darkmagenta;
}
ul {
    list-style-type: none;
    padding: 0;
}
ul li {
    padding: 10px;
    background: white;
    margin-bottom: 10px;
    border-radius: 5px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;Q
    margin: 10px 0;
}