<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Congratulations Dr. Kennyde Smith!</title>
<style>
:root {
--teal: #008080;
--white: #ffffff;
--black: #000000;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: Arial, sans-serif;
background-color: var(--white);
color: var(--black);
line-height: 1.5;
}
header {
background-color: var(--teal);
color: var(--white);
text-align: center;
padding: 2rem 1rem;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
header p {
font-size: 1.25rem;
}
.carousel {
position: relative;
max-width: 800px;
margin: 1.5rem auto;
overflow: hidden;
border-radius: 8px;
}
.slides {
display: flex;
transition: transform 0.5s ease;
}
.slide {
min-width: 100%;
}
.slide img {
width: 100%;
display: block;
}
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0,0,0,0.5);
color: var(--white);
border: none;
padding: 0.5rem 0.75rem;
font-size: 1.5rem;
cursor: pointer;
border-radius: 50%;
}
.prev { left: 1rem; }
.next { right: 1rem; }
main {
max-width: 800px;
margin: 1rem auto 2rem;
padding: 0 1rem;
text-align: center;
}
main p {
font-size: 1.125rem;
margin-bottom: 1.5rem;
}
.donate-btn {
display: inline-block;
padding: 0.75rem 1.5rem;
background-color: var(--teal);
color: var(--white);
text-decoration: none;
font-size: 1.25rem;
border-radius: 5px;
}
@media (max-width: 600px) {
header h1 { font-size: 2rem; }
header p, main p { font-size: 1rem; }
.donate-btn { font-size: 1rem; }
}
</style>
</head>
<body>
<header>
<h1>Congratulations, Dr. Kennyde Smith!</h1>
<p>Class of 2025 — Doctor of Physical Therapy</p>
</header>
<div class="carousel">
<div class="slides">
<div class="slide"><img src="photo1.jpg" alt="Kennyde Graduation Photo 1"></div>
<div class="slide"><img src="photo2.jpg" alt="Kennyde Graduation Photo 2"></div>
<div class="slide"><img src="photo3.jpg" alt="Kennyde Graduation Photo 3"></div>
<div class="slide"><img src="photo4.jpg" alt="Kennyde Graduation Photo 4"></div>
<div class="slide"><img src="photo5.jpg" alt="Kennyde Graduation Photo 5"></div>
<div class="slide"><img src="photo6.jpg" alt="Kennyde Graduation Photo 6"></div>
</div>
<button class="prev" aria-label="Previous">❮</button>
<button class="next" aria-label="Next">❯</button>
</div>
<main>
<p>Join us in celebrating Dr. Kennyde Smith’s incredible achievement! After years of dedication, late nights studying, and hands-on clinical training, she’s officially earned her Doctor of Physical Therapy degree. Here’s to her passion for healing, her unstoppable drive, and the countless lives she’ll change in her career.</p>
<a href="https://cash.app/$JustKennn" class="donate-btn" target="_blank" rel="noopener">Send a Donation via Cash App</a>
</main>
<script>
(function() {
const slidesEl = document.querySelector('.slides');
const total = slidesEl.children.length;
let idx = 0;
function show(n) {
idx = (n + total) % total;
slidesEl.style.transform = `translateX(-${idx * 100}%)`;
}
document.querySelector('.prev').addEventListener('click', () => show(idx - 1));
document.querySelector('.next').addEventListener('click', () => show(idx + 1));
setInterval(() => show(idx + 1), 5000);
})();
</script>
</body>
</html>