* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  background: white;
  color: #333;
  font-family: "Inter", sans-serif;
  text-align: center;
  background: var(--light-grey);
  color: var(--white);
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 25px;
  scroll-behavior: smooth;
}
 

h2{
  color: black;
}

.about-content h1{
  text-align: center;
  margin-bottom: 20px;
  display: flex;
}

.about-foto{
  margin: 0;
  width: 15rem;
  height: 20rem;
  border-radius: 30px;
  animation: glow 1.5s infinite alternate;
  margin-bottom: 35px;
}

.about-content{
  margin: 30px;
  text-align: justify;
  color: black;
  place-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
}
.container {
  width: 80%;
  margin: 0 auto;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.galeri-grid img {
  width: 100%;
  border-radius: 5px;
}

.Kata {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; 
    margin: 40px 0; 
    color: black;
}

.header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 50px 5px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.galeri-text{
  color: black;
  text-align: justify;
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3.5em;
    color:black;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: white;
    color: #4f46e5;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 61%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f0f2f5" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    animation: animateWave 10000s linear infinite;
}

@keyframes animateWave{
  0%{
    background-position-x: 1999999px;
  }
  
  100%{
    background-position-x: 0px;
  }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 3rem;
}

.hobbies-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;

}

.hobby-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.projects-section {
    background: #ffffff;
    padding: 100px 20px;
}

.project-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-input {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

textarea.contact-input {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #4338ca;
}

/* Footer Styles */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
}

.footer-section p{
  text-align:;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 30px;
    -webkit-tap-highlight-color: transparent;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hobby-card, .project-card {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 30px #5e41e9;
    }
    50% {
        box-shadow: 0 0 25px #5e41e9;
    }
    100% {
        box-shadow: 0 0 40px #5e41e9;
    }
}

.foto-1, .foto-2 {
    display: block;
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    animation: glow 1.5s infinite alternate;
}

@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

:root {
  --white: #ffffff;
  --light-grey: #edf0f1;
  --violet: #655be1;
  --dark-violet: #5146e1;
  --black: #21232a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}


.nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 100%;
  justify-content: center;
  bottom: 0;
  padding-bottom: 20px;
  border-top: 2px solid #303030;
  border-radius: 5px 5px 25px 25px;
  background: var(--white);
  box-shadow: 0 -5px 15px black;
  z-index: 1000;
}

.nav [type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.nav [type="checkbox"] + label {
  position: relative;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  background: var(--violet);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.2s;
}

.nav [type="checkbox"] + label:hover {
  background: var(--dark-violet);
}

.menu li {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s;
}

.menu li:nth-child(1) {
  transition-delay: 0.2s;
}

.menu li:nth-child(2) {
  transition-delay: 0.15s;
}

.menu li:nth-child(3) {
  transition-delay: 0.1s;
}

.menu li:nth-child(4) {
  transition-delay: 0.05s;
}

.menu li a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--violet);
}

.menu li a span {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(calc(-100% - 5px));
  width: 100%;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--black);
  font-weight: bold;
  color: cornflowerblue;
}

.nav input:checked + label {
  background: var(--black);
  transform: translateY(calc(-50% + 4px));
}

.nav input:checked ~ .menu li:nth-child(1) {
  top: -210px;
  transition-delay: 0.1s;
}

.nav input:checked ~ .menu li:nth-child(2) {
  top: -160px;
  left: calc(50% - 75px);
  transition-delay: 0.2s;
}

.nav input:checked ~ .menu li:nth-child(3) {
  top: -160px;
  left: calc(50% + 75px);
  transition-delay: 0.3s;
}

.nav input:checked ~ .menu li:nth-child(4) {
  top: -110px;
  transition-delay: 0.4s;
}

.nav input:checked ~ .menu li a span {
  opacity: 1;
  transition-delay: 0.9s;
}

.page-footer {
  position: fixed;
  right: 0;
  bottom: 60px;
  display: flex;
  align-items: center;
  padding: 5px;
  color: var(--black);
}

.page-footer a {
  display: flex;
  margin-left: 4px;
}

.slider {
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 400px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

#arrow-left {
    left: 10px;
}

#arrow-right {
    right: 10px;
}

.container p{
  text-align: justify;
  color: black;
}

.gym-foto{
  margin-top: 20px;
  width: 80%;
  height: 30%;
  animation: glow 1.5s infinite alternate;
  border-radius: 15px;
  margin-bottom: 20px;
}

.alam-foto {
  margin-top: 20px;
  width: 80%;
  height: 30%;
  animation: glow 1.5s infinite alternate;
  border-radius: 15px;
  margin-bottom: 20px;
}

.gym p{
  color: black;
  text-align: justify;
}

.gym h1{
  color: black;
  text-align: center;
  margin-top: 30px;
}

.alam h1{
  color: black;
  text-align: center;
  margin-top: 30px;
}

.alam p{
  color: black;
  text-align: justify;
  margin-top: 20px;
}

.alam h2{
  margin-top: 30px;
}

.footer-section p{
  text-align: justify;
}


@media (min-width: 900px){
  
.about-foto{
  margin: 0;
  width: 40rem;
  height: 50rem;
  border-radius: 30px;
  animation: glow 1.5s infinite alternate;
  margin-bottom: 35px;
}

.foto-1, .foto-2 {
    display: block;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    animation: glow 1.5s infinite alternate;
}

.galeri-grid{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
}

.gym h1{
  color: black;
  text-align: center;
  margin-top: 60px;
}

.alam h1{
  color: black;
  text-align: center;
  margin-top: 60px;
}

.alam p{
  color: black;
  text-align: justify;
  margin-top: 50px;
}

.alam h2{
  margin-top: 60px;
}

.about-content h1{
  color: black;
  text-align: center;
  font-size: 3rem;
}

h2{
  color: black;
  text-align: center;
  font-size: 2rem;
}
  }