@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Qwitcher+Grypen:wght@400;700&family=Titan+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", serif;
}

body, html {
    height: 100%;
    margin: 0;
}
.container-fluid {
    flex: 1;
}
.hero-section {
    background: linear-gradient(to bottom right, #007bff, #6610f2);
    color: white;
    padding: 5rem 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.language-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Make sure the card size fits well in different screen sizes */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-text {
    color: rgba(0, 0, 0, .7);
}

/* Flexbox for main content */
.main-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.row {
    row-gap: 25px;
}

/* Keep footer at the bottom */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #343a40;
    color: white;
}

/* Style for search input */
#languageSearch {
    border-radius: 25px; /* Rounded corners */
    padding: 15px 20px; /* Add some padding for a better look */
    border: 2px solid #007bff; /* Subtle border color */
    font-size: 1.1rem; /* Slightly larger font */
    width: 60%; /* Limit the width for better alignment */
    margin: 0 auto; /* Center align the input */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for focus effect */
}

#languageSearch:focus {
    border-color: #6610f2; /* Change border color on focus */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow on focus */
    outline: none; /* Remove default outline */
}