:root {
    --main-bg-color: #5ccafe;
    --main-box-bg-color: #00CACA;
    --font-color: #000000;
    --gold: #F4AF36;
    --teal: #00CACA;
    --blue: #0265ff;
    --purple: #B036F3;
    --lime: #8EF438;
    --pink: #FF3DB7;
    --text-shadow: 2px 2px 2px #00000055;
    --header-color: #e45557;
}

body {
    background-color: var(--main-bg-color);
    margin: 0px;
    text-align: center;
    overflow-x: hidden;
    color: var(--font-color);
}

.GSS {
    font-size: 36px;
    color: var(--gold);
    text-shadow: var(--text-shadow);
}

.GSS em {
    font-size: 30px;
}

.next-event {
    font-size: 20px;
    color: black;
    rotate: z -7deg;
    position: absolute;
    top: 10px;
    left: 10px;
    transform-origin: top left;
}

div.welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
    font-size: 36px;
}

div.welcome p {
    max-width: 40ch;
    margin: 100px 30px;
    color: var(--gold);
    background-color: #e45557;
    padding: 20px;
    border-radius: 20px;
    text-shadow: 2px 2px 0px #000000;
    box-shadow: 5px 5px 5px 0px #00000085;
}

div.welcome_box {
    margin: 0px;
    padding: 0;
    justify-content: center;
    align-items: center;
    background-image: url(images/FourSeasonsOfGoldendale_SChoate6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

.blue-wave-divider {
    aspect-ratio: 900/80;
    background: no-repeat center;
    background-size: cover;
    background-image: url(images/blue-wave.svg);
    z-index: 99999999;
}

.upcoming-events {
    color: var(--gold);
    margin-top: 35px;
    text-shadow: 2px 2px #00000085;
    font-size: 34px;
}

@media (width > 1080px) {
    .events-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 5%;
    }
}

@media (width <= 1080px) {
        
    .events-container {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 30px;
        margin: 10%;
    }
}

.events-container a {
    display: grid;
}

.event {
    border-radius: 20px;
    box-shadow: 0px 8px 0px 0px #e1e1e1;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
}

.event:hover {
    scale: 1.03;
}

.MCT-event {
    background-color: white;
    display: flex;
    flex-direction: row;
}

.event img {
    width: 100%;
    border-radius: 20px;
}

.GSS-event {
    background-color: white;
}

.events-grid-item {
    background-color: var(--main-box-bg-color);
    padding: 0px;
    border-radius: 20px;
    box-shadow: 5px 5px 5px 0px #00000055;
    font-size: 20px;
    display: block;
    color: black;
    text-decoration: none;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    animation-duration: 2s;
    animation-name: pop-in;
    animation-timing-function: cubic-bezier(.64,.11,.49,1.26);
}

.events-grid-item:hover {
    scale: 103%;
}

.event-date {
    background-color: var(--pink);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 10px;
    border-style: none;
    width: fit-content;
    padding: 10px;
    font-size: 16px;
}

.event-title {
    font-size: 36px;
    color: var(--gold);
    text-shadow: var(--text-shadow);
    text-decoration-color: red;
}

.event-title em {
    font-size: 30px;
}


.events-grid-item p {
    margin: 5px;
    margin-bottom: 10px;
}

a.newsletter-button {
    display: inline-block;
    font-size: 24px;
    margin: 30px;
    margin-bottom: 10px;
    background-color: var(--gold);
    padding: 15px;
    border-radius: 20px;
    border-style: none;
    box-shadow: 0px 6px 0px 0px #a2762a;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    color: var(--font-color);
}

a.newsletter-button:hover {
    scale: 1.15;
    rotate: z 2deg;
    background-color: #ffd350;
    box-shadow: 0px 6px 0px 0px #a69036;
}

a.newsletter-button:active {
    box-shadow: 0px 0px 0px 0px #a2762a;
    translate: 0px 6px;
}

.donate-paragraph {
    margin-top: 60px;
    max-width: min(45ch, 60%);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

a.donate-button {
    display: inline-block;
    font-size: 24px;
    margin: 10px;
    margin-bottom: 10px;
    background-color: var(--gold);
    padding: 15px;
    border-radius: 20px;
    border-style: none;
    box-shadow: 0px 6px 0px 0px #a2762a;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    color: var(--font-color);
}

a.donate-button:hover {
    scale: 1.15;
    rotate: z 2deg;
    background-color: #ffd350;
    box-shadow: 0px 6px 0px 0px #a69036;
}

a.donate-button:active {
    box-shadow: 0px 0px 0px 0px #a2762a;
    translate: 0px 6px;
}

div.sponsors-div {
    padding: 15px;
}

.ty-sponsors {
    margin-top: 0px;
    font-size: 32px;
    color: var(--gold);
    text-shadow: 2px 2px #00000055;
    font-weight: 550;
}

.sponsor {
    font-size: 28px;
    color: #ffffff;
}

.wave-divider {
    aspect-ratio: 900/150;
    background: no-repeat center;
    background-size: cover;
    background-image: url(images/layered-waves-divider.svg);
}

footer {
    background-color: #EA3A3A;
    margin: 0px;
    padding-bottom: 10px;
    text-align: left;
    font-size: 24px;
    color: #e7efff;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

a.footer-text {
    color: var(--font-color);
    margin-left: 35px;
    margin-right: 35px;
}
