/* Style for the search form */
.search-form {
    display: flex; /* Align elements horizontally */
    margin-bottom: 20px; /* Space below the form */
    gap: 10px; /* Space between input and button */
}

/* Style for text input */
.search-form input[type="text"] {
    flex: 1; /* Take up remaining space */
    padding: 10px;
    border: 1px solid var(--border_color); /* Light gray border */
    border-radius: 4px;
    font-size: 16px;
    /* Focus styles */
    outline: none; /* Remove default focus outline */
    box-shadow: var(--box_shadow); /* Subtle shadow on focus */
}

/* Style for the search button */
.search-form button {
    padding: 10px 20px;
    background: var(--primary_button_color); /* Main Blue */
    color: var(--primary_button_text_color); /* White text */
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    /* Focus styles */
    outline: none; /* Remove default focus outline */
    box-shadow: var(--box_shadow); /* Subtle shadow on focus */
}

/* Hover effect for the search button */
.search-form button:hover {
    background: var(--primary_button_hover_color); /* Light Blue on hover */
    color: var(--primary_button_hover_text_color);
}

/* Style for the list of demonstrations */
.demonstrations-list {
    list-style-type: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
}

/* Style for each list item */
.demonstrations-list li {
    padding: 15px;
    border-bottom: 1px solid var(--border_color); /* Light gray line between items */
    margin-bottom: 10px;
    background: var(--container_background); /* White background for list items */
    border-radius: 4px; /* Rounded corners for list items */
    box-shadow: var(--box_shadow); /* Subtle shadow for depth */
}

/* Remove border for the last item */
.demonstrations-list li:last-child {
    border-bottom: none;
}

/* Style for links in the list */
.demonstrations-list a {
    color: var(--primary_text_color); /* Main Blue */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    /* Font size adjustment for readability */
    font-size: 18px;
}

/* Hover effect for links in the list */
.demonstrations-list a:hover {
    text-decoration: underline; /* Underline on hover */
    color: var(--orange); /* Secondary Orange on hover */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 15px; /* Adjust padding for medium screens */
    }
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column; /* Stack input and button vertically */
    }
    
    .search-form button {
        margin-left: 0; /* Remove left margin when stacked */
        margin-top: 10px; /* Add top margin for spacing */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px; /* Further adjust padding for small screens */
    }
    
    .search-form input[type="text"], 
    .search-form button {
        font-size: 14px; /* Smaller font size for very small screens */
    }
}

/* index.css */

.container_welcome {
    background: var(--background);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--box_shadow);
}

.container_welcome h2 {
    font-size: 24px;
    color: var(--header_color);
    margin-bottom: 10px;
}

.container_welcome p {
    font-size: 16px;
    color: var(--secondary_text_color);
    line-height: 1.5;
}

.container_form {
    flex-direction: column;
    gap: 15px;
    /* background: var(--container_background); */
    border-color: var(--border_color);
    margin-top: var(--margin_top_bottom);
    margin-bottom: var(--margin_top_bottom);
    align-self: center;
    position: inherit;
    border-radius: 4px;
    background: var(--background_light);
    padding: 20px;
    text-align: center;
}

.grid-item {
    background: var(--background);
    border: 1px solid var(--border_color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px var(--box_shadow_color);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
}

/* For a grid item that takes up 2x2 space */
.grid-item-2x {
    grid-column: span 2; /* Span 2 columns */
    grid-row: span 2; /* Span 2 rows */
}

.grid-item-2x .title {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 0px;
}
