html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(255, 187, 180) !important;
}

p {
    text-align: justify;
}

.navbar {
    transition: all 1s; 
}

.navbar-scrolled {
    background-color: rgb(255, 123, 108);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


.main-text {
    position: absolute;
    left: 50%;
    top: 40%; 
    transform: translate(-50%, -40%); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-text h1 {
    font-size: 8rem;
    color: rgb(76, 11, 11); 
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'DynaPuff', sans-serif; 
}
.main-text p {
    font-size: 0.875rem;
    color: rgb(76, 11, 11); 
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'DynaPuff', sans-serif;
    text-align: center; 
} 

.connect-button {
    display: inline-block; /* Make the anchor behave like a button */
    background-color: rgb(255, 123, 108); /* Set your desired button color */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
    font-family: 'Dyna Puff', cursive; /* Apply the font */
}

.connect-button:hover {
    background-color: darkpink; /* Change color on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}



#about-us {
    max-width: 1200px;
    width: 90%;
    margin: 0px auto;
    padding: 120px 0px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-gap: 50px; 
    align-items: center; 
}

.about-img {
    width: 100%;
    display: flex;
}

.about-img{
    width: 150%;
    object-fit: contain;
    object-position: center;
    animation: floating 6s infinite reverse;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); 
    }
    100% {
        transform: translateY(0);
    }
}

.floating {
    animation: floating 2s ease-in-out infinite; 
}

.card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    transition: transform 0.3s ease;
}

/* Styling for hover effect on cards */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Ensure position is set for overlay */
}

.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-hover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(251, 86, 86, 0.7);
    opacity: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    text-align: left;
    transition: opacity 0.3s ease;
}

.card-hover:hover .overlay {
    opacity: 1;
}

.overlay-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
}

.overlay-description {
    font-size: 0.9em;
    margin: 0;
}


.nav-tabs .nav-link.active {
    background-color: #ff0000;
    color: rgb(255, 69, 69);
    border-radius: 15px;
  }
  
  .nav-tabs .nav-link {
    color: black;
    font-weight: bold;
  }
  
/* Main container */
html, body {
    height: 100%; /* Ensure full height for body */
    margin: 0; /* Remove default margin */
}

#main {
    position: relative; /* Set position relative for absolute positioning of images */
    width: 100%; /* Full width of the viewport */
    min-height: 100vh; /* Minimum height to allow scrolling */
}

.main-bg, .cover-bg {
    position: absolute; /* Position absolute to layer the images */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Cover the entire area without distortion */
}

.cover-bg {
    opacity: 0.7; /* Optional: Adjust opacity for overlay image */
    z-index: 1; /* Place this image on top */
}

.main-bg {
    z-index: 0; /* Base image at the bottom */
}

/* Optional: Add padding or margin to create space for scrolling content */
.content {
    position: relative; /* Position relative for content */
    z-index: 2; /* Ensure content is above the background images */
    padding: 20px; /* Add padding for spacing */
    /* Add any other styles for your content here */
}


/* Overlay image (bg sakura) with animation */
.cover-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 100;
    pointer-events: none;
    animation: drift 3s linear infinite; /* Apply the animation */
}

/* Keyframes for the drifting animation */
@keyframes drift {
    0% {
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        transform: translateX(10px) translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Main text styling */
.main-text {
    text-align: center;
    color: #FFFFFF;
}

/* Bounce effect for each letter */
.bounce {
    display: inline-block;
    animation: bounce 0.6s ease infinite;
    animation-delay: calc(var(--i) * 0.1s); /* Set delay for each letter */
}

/* Bounce keyframes */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Set custom delay for each letter */
.bounce:nth-child(1) { --i: 0; }
.bounce:nth-child(2) { --i: 1; }
.bounce:nth-child(3) { --i: 2; }
.bounce:nth-child(4) { --i: 3; }
.bounce:nth-child(5) { --i: 4; }
.bounce:nth-child(6) { --i: 5; }

body {
    margin: 0;
    background-color: #f0f8ff; /* Optional: Light blue background */
  }
  
  .sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }
  
  .sakura {
    position: absolute;
    width: 40px; /* Adjust size as needed */
    animation: fall linear infinite;
  }
  
  @keyframes fall {
    0% {
      transform: translateY(-100px) translateX(0) rotate(0deg);
      opacity: 1;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: translateY(100vh) translateX(50px) rotate(360deg);
      opacity: 0;
    }
  }
  
  /* Adjusts each sakura for variation */
  .sakura:nth-child(1) {
    left: 20%;
    animation-duration: 6s;
  }
  
  .sakura:nth-child(2) {
    left: 50%;
    animation-duration: 8s;
    animation-delay: 2s;
  }
  
  .sakura:nth-child(3) {
    left: 70%;
    animation-duration: 4s;
    animation-delay: 4s;
  }
  
  .sakura:nth-child(4) {
    left: 80%;
    animation-duration: 5s;
    animation-delay: 4s;
  }

  .sakura:nth-child(5) {
    left: 100%;
    animation-duration: 3s;
    animation-delay: 4s;
  }
  @keyframes tilt {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(10deg);
    }
    50% {
      transform: rotate(0deg);
    }
    75% {
      transform: rotate(-10deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  .img-fluid {
    animation: tilt 3s ease-in-out infinite;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .social-media-footer {
    margin-top: auto;
    background-color: #fb6868;
    text-align: center;
    padding: 10px;
  }
  
  .social-icon {
    margin: 0 10px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icon:hover {
    color: #2724fc; /* Change to your preferred hover color */
  }
  
  html, body {
    height: 100%; /* Full height for html and body */
    margin: 0; /* Remove default margin */
}

body {
    font-family: Arial, sans-serif;
    background: url('img/bg-kucing.png') no-repeat center center fixed; /* Background image */
    background-size: cover; /* Ensure it covers the entire canvas */
}

.content {
    text-align: center; /* Center text within the content div */
    position: relative; /* Set relative positioning */
    z-index: 1; /* Ensure content is on top */
    padding: 20px; /* Add padding to content */
}

h1 {
    margin-bottom: 20px; /* Space below the title */
}

.video-container {
    display: flex; /* Flexbox layout for side by side */
    justify-content: center; /* Center the videos horizontally */
    align-items: flex-start; /* Align items at the top of the container */
    flex-wrap: wrap; /* Allow items to wrap on small screens */
    gap: 20px; /* Space between video previews */
}

.video-preview {
    max-width: 300px; /* Set a maximum width for each video preview */
    text-align: center; /* Center text within each video preview */
}

.video-title {
    font-size: 1.2em; /* Size for video titles */
    margin: 10px 0; /* Margin for titles */
}

iframe {
    width: 100%; /* Make iframe full width */
    height: 169p
}

.watch-link {
    display: inline-block; /* Inline block for button-like appearance */
    margin-top: 10px; /* Space above the button */
    text-decoration: none; /* Remove underline from link */
    background-color: #ff6969; /* Button background color */
    color: white; /* Button text color */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners */
    font-weight: bold; /* Bold text for emphasis */
    transition: background-color 0.3s ease; /* Smooth background transition */
}

.watch-link:hover {
    background-color: #ff4f4f; /* Darker shade on hover */
}

/* Only apply background to the Skills section */
#skillsCarousel {
    background-color: #ff6b6b; /* Light pink background */
    padding: 20px;
    text-align: center;
}

#skillsCarousel h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5em;
}

#skillsCarousel .custom-card {
    background-color: rgb(255, 187, 180);
    border: none;
    border-radius: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s;
    margin-bottom: 20px; /* Space between cards on smaller screens */
    height: 300px; /* Fixed height for uniformity */
}

#skillsCarousel .custom-card:hover {
    transform: scale(1.05);
}

#skillsCarousel .icon-style {
    width: 80px; /* Set a fixed width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 15px; /* Space below the icon */
}

#skillsCarousel .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

#skillsCarousel .card-text {
    color: #560404;
    font-size: 1rem;
    margin-bottom: 20px;
}

#skillsCarousel .btn-custom {
    background-color: #ff4a4a;
    color: #ffb4b4;
    border-radius: 20px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
}

#skillsCarousel .btn-custom:hover {
    background-color: #494cff;
    color: #fff;
}

.progress {
    height: 20px; /* Height of the progress bar */
    margin-top: 15px; /* Space above the progress bar */
    border-radius: 5px; /* Rounded corners */
    background-color: #f0d2d2; /* Light pink background for the progress container */
}

.progress-bar {
    background-color: #fa8072; /* Salmon color for the progress bar */
    transition: width 0.5s; /* Smooth transition for width change */
    border-radius: 5px; /* Rounded corners for the progress fill */
    text-align: center; /* Center the text inside the progress bar */
    color: white; /* Color for the text inside the progress bar */
    font-weight: bold; /* Make the text bold */
}





