.cards {
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem 2rem 1rem;
    align-items: stretch;
    gap: 1rem;
    
}

.card {
    background-color: #f9fafb; 
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    display: flex;
    flex-flow: column;
    padding: 1rem 0.5rem 1rem 0.5rem;
    justify-self: center;
    margin: 0.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #4b5563;
    align-items: center;
    flex: 1 1 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    min-width: 10rem;
    max-width: 10rem;
    
}
.card:hover{
    font-size: 1.1rem;
    border-radius: 4px;
    background-color: #f8fafc;
    border-color: #d1d5db;
    text-align: center;
    color: #111827;
    flex-grow: 1;
    text-decoration: none;
}
.card-title {
    font-weight: bold;
    color: #2c3e50;
}


.card-image{
    max-width: 10rem;
    width: 100%;
    border-radius: 10px;
}

.form-container {
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: fit-content;
}
.form-field {
    margin: 1rem;
    font-size: 1.1rem;
}
.form-button {
    width: 100%;
    padding: 0.35rem;
    border-radius: 10px;
    background-color: transparent;
    color: #1f2937;
}
.form-field textarea {
  min-height: 96px;
  resize: vertical;
}
.form-button:hover{
    font-size: 1.1rem;
    background-color: #e2e8f0;
}

.text {
    background-color: #ffffff;
    margin: 1rem;
    color: #222222;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.text:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease;
}
h2 {
    color: black;
    background-color: whitesmoke;
    border-radius: 4px;
    padding: 1rem;
    margin: 2px;
    width: 4rem;
    font-size: large;
    font-weight: normal;
    text-align: center;
    
}
ul {
    padding: 0rem 1.5rem 0rem 1.5rem;
    margin: 1rem 0rem;
    color: #4b5563;
    line-height: 1.75;
}

ul li{
    margin: 0 0.5rem 0 0;
}
p {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.6;
}
h3 {
    color: #2563eb;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: 0.03rem;
    margin: 1.5rem 0rem 0.75rem 0rem;
}

.form-field {
  display: grid;
  gap: 6px;        
}

.form-field label {
  display: block;
}

.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 5px 5px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}