#sp-welcomewrap{
    background: #9f88ff;
    padding-bottom: 5vh;
}

#gjmainlogo{
    height: max(30vh, 20vw);
    fill: #c7ff7a;
}

.welcometext{
    font-family: 'Wix Madefor Display', Arial, Helvetica, sans-serif;
    color: black;
    font-weight: bold;
    font-size: 3em;
    display: inline;
    padding: .15em .5em .15em .3em;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    line-height: 1.5;
    font-style: italic;
    background: white;
}

#sp-calendarwrap{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2vh 0 2vh 0;
}

#sp-newswrap{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 10vh 0 5vh 0;
    background: #f28ade;
    background-image: url(/imgs/newsbg.png);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: min(300vh, 300vw);
}

.news-preview{
    width: calc(100% - min(10vh, 10vw));
    margin: 0%;
    margin-top: 10vh;
    height: fit-content;
}

.news-preview .sm-fwdbutton{
    float: right;
}

.news-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    white-space: nowrap;
    width: 100%;
    height: fit-content;
    border-radius: 0px;
    position: relative;
}

.news-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: none;
    width: 30%;
    height: fit-content;
    margin-bottom: 3vh;
    border: none;
    border-radius: 5pt;
    overflow: hidden;
    white-space: pre-wrap;
    scroll-snap-align: center;
    transition: filter 0.18s;
    transition: opacity 0.1s;
    cursor: pointer;
    backdrop-filter: blur(20px);
    background: white;
    transition: .3s ease;
}

.news-card:hover {
    scale: 1.01;
    background: #c7ff7a;
}

.news-card h3 {
    font-size: clamp(2vh, 3vh, 5vw);
    margin-top: 0.5vh;
    width: calc(100% - 20pt);
    text-align: left;
    color: black;
    font-weight: bold;
    border-radius: 5pt;
    padding: 10pt 10pt 5pt 10pt;
    transition: .3s ease;
}

.newscard-imgwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5pt;
    margin-bottom: 2vh;
    width: 100%;
    height: 30vh;
    min-height: 13vw;
    transition: .3s ease;
}

.newscard-imgwrap img{
    align-self: center;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.5s ease;
    transform-origin: center center;
}

.news-card:hover .newscard-imgwrap img {
    transform: scale(1.05);
    max-width: 100%;
}

.news-card p {
    width: calc(100% - 20pt);
    margin: 0;
    text-align: justify;
    line-height: normal;
    font-size: 2vh;
    color: black;
    padding: 5pt 10pt 0 10pt;
}

.sp-fwdbtn {
    margin: 5vh 0 5vh 0;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: black;
    text-shadow: -.5vh .3vh 1vh rgba(0,0,0,0.1);
    font-size: 2vh;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 0 min(2.5vh, 5vw) 0 min(2.5vh, 5vw);
    width: fit-content;
    border: none;
    height: fit-content;
    min-height: 5vh;
    border-radius: 2vh;
    cursor: pointer;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    background: white;
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.1);
}

.sp-fwdbtn:hover {
    scale: 1.1;
    color: black;
    background: #c7ff7a;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.3);
}

#sp-donatewrap{
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
    background: #c7ff7a;
    padding: max(2vh, 2vw);
}

#sp-donatewrap h2{
    color: black;
    background-color: #ff8568;
    width: fit-content;
    padding: 10pt;
    border-radius: 5pt;
    line-height: 1.1;
}