:root {
    --mint-cake-color: #9bc8ab;
    --sunset-color: #f08050;
    --granite-color: #404141;
    --rosy-cheeks: #f6b09d;
    --sunrise-color: #F9B104;
    --cloudy-color: #ffffff;

    --text-color: #000000;
    --link-color: #8a4949;
}

.mint-cake {
    background-color: var(--mint-cake-color);
}

.rosy-cheeks {
    background-color: var(--rosy-cheeks);
}

.sunset-color {
    background-color: var(--sunset-color);
}

body {
    font-family: 'Assistant', Arial;
    font-size: 22px;
    margin: 0;
    background-color: var(--cloudy-color);
}

p, .content-body li {
    line-height: 1.5;
}

p a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-weight: bold;
    color: var(--link-color);
    transition: ease-out 0.3s 0.1s;
}

p a:hover {
    text-decoration: none;
}

.content-btn {
    background-color: var(--granite-color);
    color: white !important ;
    text-align: center;
    border: none;
    text-decoration: none;
    padding: 12px 16px;
    white-space: nowrap;
    border-radius: 6px;
}

.content-btn:hover {
    opacity: 0.6
}

.image-container {
    position: relative;
    color: white;
}

.image-container img {
    height: calc(100vh - 100px);
    width: 100%;
    object-fit: cover;
}

.image-container-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    text-align: center;
    text-shadow: 0px 0px 2px #000000;
}

.image-container-text h1 {
    font-size: calc(4 * 1rem);
    margin-top: 0px;
}

.image-container-text h4 {
    font-size: calc(2 * 1rem);
    margin-top: 0px;
    margin-bottom: 0px;
}

.content-centered {
    text-align: center;
}

.content-list {
    margin: 2vw 2vw 0vw 2vw;
}

@media screen and (min-width: calc(1600px + 4vw)) {
    .content-list {
        margin: 2vw auto 0vw auto;
        max-width: 1600px;
    }
}

.content-wrapper {
    margin-bottom: 2vw;
    border-radius: 6px;
}

.content-heading {
    font-family: "Assistant", Arial;
    font-weight: 700;
    font-size: 1.5em;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.content-body {
    padding: 0em 1.5em 0.75em 1.5em;
}

.form-heading {
    padding-bottom: 0.75em;
}

.field {
    margin-bottom: 0.75em;
}

.field > textarea {
    resize: none;
    min-height: 100px;
}

.field-title {
    display:block;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.field-element {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #ccc;
    font-family: 'Assistant', Arial;
    font-size: 14px;
    box-sizing: border-box;
}

.form-contact-btn {
    padding: 12px 16px;
    opacity: 1;
    transition: 0.3s;
    font-family: 'Assistant', Arial;
    font-size:16px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 2vw;
    grid-row-gap: 2vw;
    grid-row: 2vw;
    position: relative;
}

.quick-links-item {
    position: relative;
}

.quick-links-item img {
    vertical-align: middle;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.quick-links-item-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    color: white;
    text-align: center;
}

.quick-links-item-text h1 {
    text-shadow: 0px 0px 2px #000000;
    font-size: calc(2.5 * 1rem)
}

@media screen and (min-width: 500px) and (max-width: 1280px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1280px) {
    .quick-links {
        grid-template-columns: repeat(4, 1fr);
    }
    .quick-links-item-text h1 {
        font-size: calc(3 * 1rem)
    }
}

@media screen and (min-width: 1024px) {
    .image-container h1 {
        font-size: calc(7 * 1rem);
    }
    .image-container h4 {
        font-size: calc(3 * 1rem);
    }
}

/********** Events **********/

.event-item {
    margin: 1em 0 1em 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1fr 3fr;
    grid-column-gap: 1em;
}

.event-item-photo {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
}

.event-item-photo img {
    vertical-align: middle;
    object-fit: cover;
    height: 100%;
    width: 100%;
    aspect-ratio: 4/3;
}

.event-item-title {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-size: 24px;
}

.event-item-title a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-weight: bold;
    color: var(--link-color);
    transition: ease-out 0.3s 0.1s;
}

.event-item-title a:hover {
    text-decoration: none;
}

.event-item-title h3, .event-item-title h4 {
    margin: 0em;
}

.event-item-info {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.event-item-info-detail {
    padding-bottom: 0.5em;
    font-size: 24px;
}

.event-item-info-detail-separate {
    display: block;
}

.event-item-info-detail-combined {
    display: none;
}

@media screen and (max-width: 640px) {
    .event-item {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        grid-row-gap: 1em;
    }

    .event-item-title {
        grid-row: 1 / 2;
        grid-column: unset;
    }

    .event-item-photo {
        grid-row: 2 / 3;
        grid-column: unset;
        width: 100%;
    }

    .event-item-info {
        grid-row: 3 / 4;
        grid-column: unset;
    }

    .event-item-info-detail-separate {
        display: none;
    }
    
    .event-item-info-detail-combined {
        display: block;
    }
}

/********** Forms **********/

form {
    width: 80%;
    margin: 0px auto 0px auto;
}

form>p {
    width: 100%;
}

form label {
    display: block;
}

form input {
    width: 100%;
    border: 1px solid var(--granite-color);
    border-radius: 4px;
}

form input:focus {
    outline: 2px solid var(--mint-cake-color);
}

form textarea {
    width: 100%;
    border: 1px solid var(--granite-color);
    border-radius: 4px;
    resize: vertical;
}

form textarea:focus {
    outline: 2px solid var(--mint-cake-color);
}

form input[type="checkbox"] {
    width: auto;
}

form input[type="checkbox"]~label {
    display: inline;
}

form hr {
    width: 80%;
}

/********** Event Details **********/

.event-detail {
    margin: 2vw auto 0vw auto;
    max-width: 1200px;
}

.event-detail-title {
    font-size: 36px;
    margin: 0px;
    padding-top: 0.5em;
}

.event-detail-date {
    font-size: 24px;
    margin: 0px;
    padding-top: 0.5em;
}

.event-detail-list {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 0.5em 1em;
    margin-bottom: 1em;
}

.event-detail-item {
    text-align: right;
    grid-column: 1 / 2;
    font-weight: 700;
}

.event-detail-value {
    grid-column: 2 / 3;
}

.event-detail-value a {
    color: var(--link-color);
}

/********** Committee **********/

.committee {
    display: grid;
    grid-template-columns:  1fr 1fr 1fr;
    margin-left:100px;
    margin-right:100px;
    grid-column-gap: 100px;
    grid-row-gap: 100px;
}

.committee-item {
    text-align: center;
}

.committee-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.committee-name {
    display: block;
    font-weight: bold;
    font-size: larger;
}

.committee-role {
    display: block;
    font-size: smaller;
}

@media screen and (max-width: 1280px) {
    .committee {
        grid-template-columns:  1fr 1fr;
    }
}

@media screen and (max-width: 640px) {
    .committee {
        grid-template-columns:  1fr;
        margin-left:0px;
        margin-right:0px;
        grid-row-gap: 50px;
    }
}

/********** Past Walks **********/
.past-walks a {
    color: var(--link-color);
    font-weight: 400;
}

.past-walks-current {
    font-weight: 700;
}