@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
}

#intro {
    background-image: url(img/agape-banner.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 200px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 8rem;
}

#header-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

#header-buttons a {
    text-decoration: none;
    cursor: pointer;
}

#header-buttons a button {
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 0 2px 2px #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

#staff {
    padding: 2rem 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.staff-item {
    display: flex;
    justify-content: start;
    align-items: stretch;
    gap: 0.5rem;
    background-color: #f5f5f5;
    border: 1px solid #e7e5e6;
    border-radius: 4px;
}

.staff-image {
    max-height: 170px;
    min-width: 240px;
}

.staff-image img {
    width: 240px;
    height: 100%;
    max-height: 170px;
    border-radius: 4px 0 0 4px;
}

.staff-image.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 170px;
}

.staff-image.placeholder img {
    max-width: 140px;
    max-height: 140px;
}

.staff-info {
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-info h3 {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 22px;
}

.staff-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.staff-actions a {
    width: 100%;
}

.staff-actions a button {
    width: 100%;
    border: none;
    border-radius: 4px;
    box-shadow: 0 0 1px 1px #ccc;
    padding: 1rem;
    cursor: pointer;
}

.actions-read button {
    background-color: #e73d32;
    color: #fff;
}

.actions-donate button {
    background-color: #fab43d;
}

/* Staff page */
.staff-content {
    margin: 2rem 0;
}

.staff-content h1 {
    margin: 0;
    margin-bottom: 2rem;
    text-align: center;
}

img.staff-photo {
    width: 100%;
}

.staff-give {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.staff-give p {
    display: block;
    font-size: 18px;
    line-height: 125%;
}

.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer {
    padding: 2rem;
    background-color: #e7e5e6;
}