* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
}

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 20;
	padding: 20px 0;
}

nav ul {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 100px;
}

nav a {
	text-decoration: none;
	color: black;
	font-size: 1.6rem;
	transition: color 0.3s ease;
}

nav a:hover {
	color: white;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  text-align: center;
  z-index: 10;
}

.hero-text h1 {
    font-size: clamp(14rem, 10vw, 14rem);
	letter-spacing: 3px;
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.slide.active {
  opacity: 1;
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

p {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

#home {
    position: relative;
    height: 100vh; 
    overflow: hidden;
    text-align: center;
}

#about {
    position: relative;
    height: 100vh; 
    overflow: hidden;
    text-align: center;
}

#projects {
    position: relative;
    height: 100vh; 
    overflow: hidden;
    text-align: center;
}

#contact {
    position: relative;
    height: 100vh; 
    overflow: hidden;
    text-align: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-image: url('jellyfish-5818601_1280.jpg');
    background-size: cover;
    background-position: right center;
    clip-path: polygon(100% 15%, 100% 0, 1000% 100%, -150% 100%);
    z-index: 0;
}

#home h2 {
    font-size: 5em;
    margin-bottom: 20px;
    z-index: 1;
    color: black;
    position: absolute;
    top: 50px;            
    center: 0;              
    padding: 5px 10px;      
}

#about h2 {
    font-size: 5em;
    margin-bottom: 20px;
    z-index: 1;
    color: black;
    position: absolute;
    top: 50px;            
    center: 0;              
    padding: 5px 10px;      
}

#projects h2 {
    font-size: 5em;
    margin-bottom: 20px;
    z-index: 1;
    color: black;
    position: absolute;
    top: 50px;            
    center: 0;              
    padding: 5px 10px;      
}

#contact h2 {
    font-size: 5em;
    margin-bottom: 20px;
    z-index: 1;
    color: black;
    position: absolute;
    top: 50px;            
    center: 0;              
    padding: 5px 10px;      
}


footer {
  background-color: black;
  color: #fff;
  padding: 40px 20px 20px 20px;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container div {
  flex: 1 1 250px;
}

.footer-container h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.footer-container p,
.footer-container a {
  color: #bbb;
  text-decoration: none;
}

.footer-container a:hover {
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #111;
  padding-top: 20px;
  font-size: 0.6rem;
}

.footer-bottom p {
	text-align: center;
	color: white;
	font-size: 0.9rem;
}
