* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Century Gothic;
    background-image: url('image/body1.png'); /* Apply the image as the background */
    background-size: cover; /* Ensures the image covers the whole background */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the image fixed during scroll */
}
table {
    border-collapse: collapse;
    font-family: 'Century Gothic', sans-serif;
    /* text-align: center; */
}

@media (max-width: 768px) {
    table {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .header-icons {
        margin-top: 20px;
    }
}

/* Intro Section Styling */
.intro-section {
    background: linear-gradient(to right); /* Adjust as needed */
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between text and image */
    max-width: 1200px;
    width: 100%;
}

/* Text Styling */
.intro-text {
    flex: 1;
    text-align: left;
}

.intro-text h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff4c60;
    line-height: 1.2;
}

.intro-text h1 span {
    color: #ff4081; /* Accent color for 'I'm' */
	font-size: 0.8em;
}

.intro-text p {
    margin-top: 15px;
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
}


.intro-image img {
    max-width: 300px; /* Adjust size as needed */
    height: auto;
}

/* Styling for the Instagram Link */
.social-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

.social-icon {
    width: 30px; /* Adjust size as needed */
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2); /* Zoom effect on hover */
}
.about-me-section hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 20px auto;
    width: 80%;
}

.about-me-section h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
}

.about-me-section p {
    text-align: center;
    margin: 20px auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}


/* Intro Section Styles */
.intro-image {
    position: relative;
    display: flex;
    justify-content: center;  /* Centers the image horizontally */
    align-items: center;  /* Centers the image vertically within parent */
    margin: 20px auto;  /* Adds spacing around the image */
    width: max-content;
}

/* Background Shape Styling */
.intro-image .shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;  /* Adjusted size */
    z-index: 1;  /* Keeps shape behind the image */
    transition: all 0.5s ease-in-out;  /* Smooth transition on hover */
}

/* Image Styling */
.intro-image .animated-image {
    position: relative;
    z-index: 2;  /* Places image in front of the shape */
    width: 350px;  /* Increased size */
    border-radius: 10px;  /* Optional: rounded corners */
    transition: all 0.5s ease-in-out;  /* Smooth transition on hover */
}
/*----------------------Slide mira----------------------*/
* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


/* Hover Effect */
.intro-image:hover .shape {
    transform: scale(1.1);  /* Enlarges the shape slightly on hover */
}

.intro-image:hover .animated-image {
    transform: translateY(-20px);  /* Moves the image up on hover */
}

.introduction-nav {
    text-align: center; /* Centers the content within the nav */
    margin: 0 auto; /* Centers the nav itself if it's a block element */
}

.introduction-nav ul {
    list-style-type: none; /* Removes bullets */
    padding: 0;
    margin: 0;
    display: inline-block; /* Makes the list horizontally alignable */
}

.introduction-nav ul li {
    display: inline; /* Aligns list items horizontally */
    margin: 0 10px; /* Adds space between links */
}

.introduction-nav ul li a {
    text-decoration: none; /* Removes underline */
    color: #5a789d; /* Custom link color */
}

.introduction-nav hr {
    border: none;
    border-top: 1px solid #5a789d;
    width: 80%; /* Adjust width as needed */
    margin: 8px auto;
}

#video {
    margin: 30px auto;
    width: 80%;
    max-width: 800px;
}

#video h2 {
    text-align: center;
    color: #9286a6;
}

#video p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

#video .video-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.video-container div {
    text-align: center;
    flex: 1;
    max-width: 45%;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-container p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-top: 10px;
    color: #444;
}


/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .intro-image .shape {
        width: 250px;  /* Smaller size for mobile */
    }
    .intro-image .animated-image {
        width: 220px;  /* Resize image for smaller screens */
    }
}
/*-----------time-----------*/
/* Time Container */
.container {
  width: 12em; /* Slightly increased width for better spacing */
  display: grid;
  position: absolute;
  left: 10px; /* Align closer to the left of the page */
  top: 135px; /* Position near the top */
  color: #ffffff;
  align-items: center;
  grid-template-columns: 1fr; /* One column layout */
  grid-gap: 0.5em; /* Add spacing between elements */
  background-color: #fad8ee;
  border-radius: 0.5em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Improved shadow */
  padding: 1em; /* Better padding for spacing */
}

/* Clock Section */
.clock-container {
  background-color: #f7e7f1;
  color: #caa2bb;
  text-align: center;
  font-size: 1.5em; /* Adjusted font size for balance */
  margin: 0.2em;
  border-radius: 0.2em;
  padding: 0.5em;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle inner shadow for depth */
}

/* Date Section */
.date-container {
  background-color: #ffffff;
  color: #eab1d5;
  text-align: center;
  border-radius: 0.5em;
  padding: 0.5em;
  font-weight: bold;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle inner shadow for depth */
  font-size: 0.9em; /* Reduced font size slightly */
}

.date-container span {
  display: block; /* Each part of the date is on a new line */
  font-size: 0.8em; /* Smaller font size for individual elements */
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .container {
    width: 10em; /* Reduce width for smaller screens */
    left: 5px;
    top: 80px;
  }
  
  .clock-container,
  .date-container {
    font-size: 1em; /* Reduce font size for better fit */
  }
}


/*---------- Skills Section-------------- */
h2 {
    margin-top: 5px;
    font-size: 2.5rem;
}
.skills-section {
    padding: 40px;
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background-color: #dfebf6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-card i {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 10px;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 25px;
    margin: 10px 0;
    position: relative;
    height: 25px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background-color: #4caf50;
    border-radius: 25px;
    text-align: center;
    color: white;
    font-weight: 700;
    line-height: 25px;
}

/* Experience Section */
.experience-section {
    width: 80%;
    margin: 50px auto;
    text-align: center;
}

.experience-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
}

.experience-nav a {
    text-decoration: none;
    font-weight: bold;
    color: #4b79a1;
}

/* Styling for individual experience entries */
.experience-entry {
    margin: 30px 0;
    text-align: left;
    background-color: #fef4fb;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-entry h3 {
    color: #4b79a1;
}
.circle-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

/*----------------------kat sini start coding banner--------------------------*/
* {box-sizing: border-box}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


/*----------Fav songs------------*/
}
 .audio-container {
            position: relative;
            border-radius: 10px;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        video {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

        .controls {
            position: absolute;
            bottom: 10px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;
            color: white;
        }
/*------------------------Hobbies----------------------------*/
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*------gallery-----------*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 16px; /* Spacing between items */
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom on hover */
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in effect */
}

.gallery-item:hover .caption {
    opacity: 1; /* Show caption on hover */
}

/*------Contact area------------*/

.contact-container {
    background: #f5f5c2;
    padding: 20px;
    width: 50%;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

/* Visitor Counter Styles */
.visitor-counter {
    position: absolute;  /* Allows precise control of position */
    top: 2605px;  /* Adjust vertical position */
    left: 30px;  /* Adjust horizontal position from the left */
    margin-left: 0;  /* Removes extra margin */
}


footer {
	font-family: Century Gothic;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, #F8F1EC, #F8F1EC);
    color: #555;
    position: relative; /* Change this to relative */
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column; /* Stack text and image */
        text-align: center;
    }

    .intro-text {
        margin-bottom: 20px;
    }

    .intro-image img {
        max-width: 200px; /* Smaller image for mobile */
    }
}


