/* Custom styles for Portfolio Website */
html {
  scroll-behavior: smooth;
}

/* Hide scrollbars for a cleaner look */
body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Add a subtle animation to the project cards */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Style the contact form */
#contact input,
#contact textarea {
  transition: border-color 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #3b82f6; /* blue-500 */
}

/* Modal styles */
#options-modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#options-modal.hidden {
    opacity: 0;
    visibility: hidden;
}

#options-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

/* Tic-Tac-Toe specific styles */
.min-h-screen-minus-navbar {
    min-height: calc(100vh - 76px); /* Adjust 76px based on your navbar's actual height */
}

/* Animated Gradient Background */
#home {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism effect for skill items */
.skill-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}