:root {
    --border-radius: .5rem;
    --shadow-1: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-2:  0 4px 8px rgba(0,0,0,0.2);
    --font-family: "Open Sans", sans-serif, -apple-system;
}

/* General body styles */
body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: #d7f3d9;
}

/* Header styles */
.header {
    background-color: #006634; /* Dark green background */
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.header .logo {
    width: 150px;
    margin-right: 20px;
}

h1 {
    margin: 0;
    font-size: 24px;
    flex-grow: 1;
    text-align: center;
}

/* Tab styles */
.tabs {
    overflow: hidden;
    background-color: #99C0AD;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align tabs to the start (left) */
    flex-wrap: wrap; /* Allow the tabs to wrap onto the next line on small screens */
    padding-left: 20px; /* Padding for the first tab */
}

.tablinks, .tablinks:link, .tablinks:visited {
    padding: 14px 16px;
    font-size: 17px;
    color: white;
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap; /* Prevent the text from wrapping */
}

.tablinks:hover, .tablinks.active {
    background-color: #CCDFD6;
    color: #333;
}

/* Tab content styles */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: white;
}

/* Grid container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* three columns */
    gap: 20px;
    padding: 20px;
    margin: auto; /* center the grid */
    max-width: 1200px; /* maximum width of the grid */
}

/* Card styles */
.card {
    background-color: #ffffff;
    color: black;
    border: 1px solid #ddd;
    padding: 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-2);
}

/* Responsive layout for grid */
@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* two columns for medium screens */
    }
}

@media screen and (max-width: 650px) {
    .grid-container {
        grid-template-columns: 1fr; /* one column for small screens */
    }
}

/* Section title styles */
.section-title {
    text-align: center; /* Center the text */
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
    position: relative; /* Position relative for the pseudo-element line */
}

/* Environment notes styles */
.environment-notes {
    padding: 15px;
    background-color: #e8e8e8;
    text-align: center;
    color: red;
    font-weight: bold;
    display: flex;
    justify-content: center; /* Center content */
    align-items: center; /* Align items vertically */
    margin: 20px 0; /* Margin top and bottom */
    border-top: 1px solid #ccc; /* Top border */
    border-bottom: 1px solid #ccc; /* Bottom border */
}

/* Red text box removed */
.red-text-box {
    display: none;
}
