tamarindo / index.html
Faustrix's picture
this has to be a video - Initial Deployment
118ccb2 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tamarindo Beach | Guanacaste, Costa Rica</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--sand: #F0E6D2;
--teal: #1BA8B1;
--jungle: #2C5E4F;
--sunset: #F47D4A;
--wave: #4A90E2;
}
.hero {
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80');
background-size: cover;
background-position: center;
height: 90vh;
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.gallery-item {
transition: transform 0.3s ease;
}
.gallery-item:hover {
transform: scale(1.03);
}
.map-container {
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
height: 0;
}
.map-container iframe {
left: 0;
top: 0;
height: 100%;
width: 100%;
position: absolute;
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: #f59e0b;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.active::after {
width: 100%;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 1s ease-out forwards;
}
.delay-100 {
animation-delay: 0.1s;
}
.delay-200 {
animation-delay: 0.2s;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Header -->
<header class="bg-white/90 backdrop-blur-md sticky top-0 z-50 shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<img src="https://cdn-icons-png.flaticon.com/512/8067/8067779.png" alt="Tamarindo Logo" class="h-12 mr-3">
<h1 class="text-2xl font-bold bg-gradient-to-r from-amber-400 to-teal-300 bg-clip-text text-transparent">Tamarindo Beach</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#home" class="nav-link text-gray-700 hover:text-amber-500 active">Home</a>
<a href="#about" class="nav-link text-gray-700 hover:text-amber-500">About</a>
<a href="#activities" class="nav-link text-gray-700 hover:text-amber-500">Activities</a>
<a href="#gallery" class="nav-link text-gray-700 hover:text-amber-500">Gallery</a>
<a href="#contact" class="nav-link text-gray-700 hover:text-amber-500">Contact</a>
</nav>
<button class="md:hidden text-gray-700" id="menu-toggle">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden bg-white py-2 px-4 shadow-md" id="mobile-menu">
<a href="#home" class="block py-2 text-gray-700 hover:text-amber-500">Home</a>
<a href="#about" class="block py-2 text-gray-700 hover:text-amber-500">About</a>
<a href="#activities" class="block py-2 text-gray-700 hover:text-amber-500">Activities</a>
<a href="#gallery" class="block py-2 text-gray-700 hover:text-amber-500">Gallery</a>
<a href="#contact" class="block py-2 text-gray-700 hover:text-amber-500">Contact</a>
</div>
</header>
<!-- Hero Section with Video Background -->
<section id="home" class="relative h-screen overflow-hidden">
<div class="absolute inset-0">
<video autoplay loop muted playsinline class="w-full h-full object-cover">
<source src="https://assets.mixkit.co/videos/preview/mixkit-sunset-over-the-beach-in-tamarindo-1080-large.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="absolute inset-0 bg-black/30"></div>
</div>
<div class="relative z-10 flex items-center justify-center h-full text-center px-4">
<div class="max-w-4xl">
<h1 class="text-5xl md:text-7xl font-bold mb-6 text-shadow-lg animate-fade-in">Welcome to <span class="text-amber-300">Tamarindo</span></h1>
<p class="text-2xl md:text-3xl mb-10 font-light text-white animate-fade-in delay-100">Where golden sands meet Pacific waves</p>
<a href="#about" class="bg-gradient-to-r from-amber-400 to-amber-500 hover:from-amber-500 hover:to-amber-600 text-white font-bold py-4 px-8 rounded-full transition-all duration-300 inline-block transform hover:scale-105 shadow-lg hover:shadow-xl animate-fade-in delay-200">
Discover Paradise <i class="fas fa-arrow-down ml-2 animate-bounce"></i>
</a>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-white to-transparent"></div>
</section>
<!-- About Section -->
<section id="about" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">About Tamarindo</h2>
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<img src="https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80"
alt="Tamarindo Beach Sunset"
class="rounded-2xl shadow-xl w-full hover:shadow-2xl transition-all duration-300">
</div>
<div class="md:w-1/2">
<p class="text-gray-700 mb-4">
Tamarindo is a vibrant beach town located on the Pacific coast of Guanacaste, Costa Rica. Known for its stunning golden sand beaches, world-class surfing, and lush tropical surroundings, Tamarindo offers the perfect blend of adventure and relaxation.
</p>
<p class="text-gray-700 mb-4">
Originally a quiet fishing village, Tamarindo has grown into one of Costa Rica's most popular tourist destinations while maintaining its laid-back charm. The town boasts a diverse international community and offers excellent dining, shopping, and nightlife options.
</p>
<p class="text-gray-700">
The beach stretches for nearly 2 kilometers and is famous for its consistent waves, making it ideal for surfers of all levels. Beyond surfing, visitors can enjoy sport fishing, snorkeling, scuba diving, and breathtaking sunsets.
</p>
</div>
</div>
</div>
</section>
<!-- Activities Section -->
<section id="activities" class="py-20 bg-gradient-to-b from-white to-blue-50">
<div class="container mx-auto px-4">
<h2 class="text-4xl font-bold text-center text-gray-800 mb-4">Experience Tamarindo</h2>
<p class="text-xl text-center text-gray-600 mb-12 max-w-2xl mx-auto">Discover the best adventures in Costa Rica's Pacific paradise</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Activity 1 -->
<div class="relative group overflow-hidden rounded-2xl shadow-lg hover:shadow-xl transition-all duration-500 h-96">
<img src="https://images.unsplash.com/photo-1505228395891-9a51e7e86bf6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80"
alt="Surfing in Tamarindo"
class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
<div class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6 w-full">
<div class="flex items-center mb-3">
<div class="w-8 h-1 bg-amber-400 mr-3"></div>
<span class="text-amber-400 font-medium">Adventure</span>
</div>
<h3 class="text-2xl font-bold text-white mb-3">Surfing</h3>
<p class="text-gray-200 mb-4">Ride the famous waves of Tamarindo with expert instructors</p>
<a href="#" class="inline-flex items-center text-white font-medium group-hover:text-amber-300 transition-colors">
Book now <i class="fas fa-arrow-right ml-2 group-hover:translate-x-1 transition-transform"></i>
</a>
</div>
</div>
<!-- Activity 2 -->
<div class="bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300 gallery-item">
<img src="https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="Sport Fishing" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Sport Fishing</h3>
<p class="text-gray-700">
Known as one of the best sport fishing destinations in Costa Rica. Catch sailfish, marlin, dorado, and roosterfish in the rich Pacific waters.
</p>
</div>
</div>
<!-- Activity 3 -->
<div class="bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300 gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Wildlife Tours" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Wildlife Tours</h3>
<p class="text-gray-700">
Explore the nearby Las Baulas National Marine Park, home to leatherback turtles, or take a boat tour through the mangrove estuaries to see monkeys, crocodiles, and exotic birds.
</p>
</div>
</div>
<!-- Activity 4 -->
<div class="bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300 gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Sunset Sailing" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Sunset Sailing</h3>
<p class="text-gray-700">
Experience Tamarindo's legendary sunsets from the water on a catamaran cruise, complete with snorkeling, dolphin watching, and tropical drinks.
</p>
</div>
</div>
<!-- Activity 5 -->
<div class="bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300 gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="ATV Adventures" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">ATV Adventures</h3>
<p class="text-gray-700">
Explore the backcountry of Guanacaste on an ATV tour, visiting hidden beaches, waterfalls, and local villages off the beaten path.
</p>
</div>
</div>
<!-- Activity 6 -->
<div class="bg-white rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition duration-300 gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Yoga & Wellness" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Yoga & Wellness</h3>
<p class="text-gray-700">
Rejuvenate with beachfront yoga classes, spa treatments, and wellness retreats that take advantage of Tamarindo's natural beauty and peaceful atmosphere.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- Gallery Section -->
<section id="gallery" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Gallery</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
<div class="gallery-item relative group overflow-hidden rounded-xl">
<img src="https://images.unsplash.com/photo-1564501049412-61c2a3083791?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80"
alt="Tamarindo Beach"
class="w-full h-48 object-cover rounded-xl group-hover:scale-110 transition-transform duration-500">
<div class="absolute inset-0 bg-black/20 group-hover:bg-black/40 transition-colors duration-300 flex items-center justify-center opacity-0 group-hover:opacity-100">
<span class="text-white font-medium">View More</span>
</div>
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Tamarindo Sunset" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Surfing" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Wildlife" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Town" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Restaurants" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Nature" class="w-full h-48 object-cover rounded-lg">
</div>
<div class="gallery-item">
<img src="https://images.unsplash.com/photo-1566438480900-0609be27a4be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1792&q=80" alt="Activities" class="w-full h-48 object-cover rounded-lg">
</div>
</div>
</div>
</section>
<!-- Map Section -->
<section class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Location</h2>
<div class="map-container rounded-lg shadow-xl">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3929.96373069395!2d-85.8415499241759!3d10.29873408987635!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8f9e3a8b9d8e8e9d%3A0x8f8e8e8e8e8e8e8e!2sTamarindo%20Beach%2C%20Guanacaste%2C%20Costa%20Rica!5e0!3m2!1sen!2sus!4v1620000000000!5m2!1sen!2sus" allowfullscreen="" loading="lazy"></iframe>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Contact Us</h2>
<div class="flex flex-col md:flex-row">
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
<h3 class="text-xl font-bold text-gray-800 mb-4">Get in Touch</h3>
<p class="text-gray-700 mb-6">
Have questions about visiting Tamarindo? Want recommendations for activities or accommodations? Contact us and we'll be happy to help!
</p>
<div class="space-y-4">
<div class="flex items-center">
<i class="fas fa-map-marker-alt text-amber-500 mr-4 text-xl"></i>
<p class="text-gray-700">Tamarindo Beach, Guanacaste, Costa Rica</p>
</div>
<div class="flex items-center">
<i class="fas fa-phone text-amber-500 mr-4 text-xl"></i>
<p class="text-gray-700">+506 2653 0078</p>
</div>
<div class="flex items-center">
<i class="fas fa-envelope text-amber-500 mr-4 text-xl"></i>
<p class="text-gray-700">[email protected]</p>
</div>
</div>
<div class="mt-8">
<h4 class="text-lg font-bold text-gray-800 mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-700 hover:text-amber-500 text-2xl"><i class="fab fa-facebook"></i></a>
<a href="#" class="text-gray-700 hover:text-amber-500 text-2xl"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-700 hover:text-amber-500 text-2xl"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-700 hover:text-amber-500 text-2xl"><i class="fab fa-tripadvisor"></i></a>
</div>
</div>
</div>
<div class="md:w-1/2">
<form class="bg-white/90 backdrop-blur-sm p-8 rounded-xl shadow-xl border border-white/20">
<div class="mb-4">
<label for="name" class="block text-gray-700 font-bold mb-2">Name</label>
<input type="text" id="name" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700 font-bold mb-2">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500">
</div>
<div class="mb-4">
<label for="subject" class="block text-gray-700 font-bold mb-2">Subject</label>
<input type="text" id="subject" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500">
</div>
<div class="mb-4">
<label for="message" class="block text-gray-700 font-bold mb-2">Message</label>
<textarea id="message" rows="4" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500"></textarea>
</div>
<button type="submit" class="bg-amber-500 hover:bg-amber-600 text-white font-bold py-2 px-6 rounded-lg transition duration-300 w-full">
Send Message
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gradient-to-b from-jungle to-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between">
<div class="mb-6 md:mb-0">
<div class="flex items-center mb-4">
<img src="https://cdn-icons-png.flaticon.com/512/3212/3212567.png" alt="Tamarindo Logo" class="h-8 mr-2">
<h3 class="text-xl font-bold">Tamarindo Beach</h3>
</div>
<p class="text-gray-400">
The premier destination for beach lovers, surfers, and nature enthusiasts in Guanacaste, Costa Rica.
</p>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 gap-8">
<div>
<h4 class="text-lg font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-400 hover:text-white transition duration-300">Home</a></li>
<li><a href="#about" class="text-gray-400 hover:text-white transition duration-300">About</a></li>
<li><a href="#activities" class="text-gray-400 hover:text-white transition duration-300">Activities</a></li>
<li><a href="#gallery" class="text-gray-400 hover:text-white transition duration-300">Gallery</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-white transition duration-300">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Activities</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Surfing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Fishing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Tours</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Yoga</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">ATV Tours</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Information</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Getting Here</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Weather</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Tides</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Local Events</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition duration-300">FAQ</a></li>
</ul>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 Tamarindo Beach, Guanacaste. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('menu-toggle').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
// Update active state
document.querySelectorAll('.nav-link').forEach(link => {
link.classList.remove('active');
});
this.classList.add('active');
// Hide mobile menu if open
const mobileMenu = document.getElementById('mobile-menu');
if (!mobileMenu.classList.contains('hidden')) {
mobileMenu.classList.add('hidden');
}
});
});
// Update active nav link on scroll
window.addEventListener('scroll', function() {
const scrollPosition = window.scrollY;
document.querySelectorAll('section').forEach(section => {
const sectionTop = section.offsetTop - 100;
const sectionHeight = section.offsetHeight;
const sectionId = section.getAttribute('id');
if (scrollPosition >= sectionTop && scrollPosition < sectionTop + sectionHeight) {
document.querySelectorAll('.nav-link').forEach(link => {
link.classList.remove('active');
if (link.getAttribute('href') === `#${sectionId}`) {
link.classList.add('active');
}
});
}
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Faustrix/tamarindo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>