#sp-welcomewrap-bg {
    background: linear-gradient(to bottom, #14282a 0%, #003a3b 30%, #d0f8bd 150%);
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    overflow: visible;
    padding: 0px;
    box-sizing: border-box;
}

#sp-welcomewrap {
    position: relative;
    justify-self: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: visible;
    justify-content: center;
    align-items: center;
    width: 95vw;
    height: calc(100vh - 5vw);
    align-self: center;
    margin-top: 2.5vw;
    pointer-events: none;
}

#sp-welcomeframe {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 65vw;
    max-width: 150vh;
    height: 65vh;
    max-height: 85vw;
    justify-self: center;
    align-self: center;
    background: linear-gradient(to bottom right, #d0f8bd55, #003a3b55);
    backdrop-filter: blur(20px);
    box-shadow: 0vh 0 3vh 0px rgba(0,0,0,0.2);
    border: none;
    overflow: visible;
    pointer-events: none;
    border-radius: 5pt;
}

#sp-mainportrait {
    position: absolute;
    z-index: 3;
    height: 75vh;
    max-height: 95vw;
    max-width: 80vw;
    object-fit: contain;
    object-position: bottom left;
    bottom: 0;
    left: 40%;
    transform: translateX(-50%);
    pointer-events: none;
    filter: drop-shadow(.5vh -1vh 2vh rgba(0, 0, 0, 0.6));
}

#sp-welcome-bg {
    position: relative;
    z-index: 0;
    bottom: 0;
    height: calc(100% - min(7vw, 6vh));
    width: calc(100% - min(7vw, 6vh));
    object-fit: cover;
    pointer-events: none;
    object-position: bottom;
    border-radius: 2pt;
    box-shadow: 0vh 0 1vh 0px rgba(0,0,0,0.5);
}

#sp-welcome-bgtext {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 1;
    pointer-events: none;
    height: fit-content;
    width: 90vw;
    max-width: 180vh;
}

.sp-welcome-bgnum {
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    color: #d0f8bd;
    text-shadow: 1.5vh 1.5vh 5vh rgba(0,0,0,0.6);
    font-weight: 500;
    font-size: min(35vw, 60vh);
    display: inline-block;
}

.sp-welcome-p {
    position: absolute;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #d0f8bdd5;
    font-weight: lighter;
    z-index: 1;
    font-size: min(10vw, 8vh);
    margin: 0;
}

#sp-welcome-candidatename {
    top: calc(40vh - min(50vw, 42vh));
    left: 2vw;
}

#sp-welcome-candidatemotto {
    bottom: calc(40vh - min(50vw, 42vh));
    right: 2vw;
}

#sp-welcometext {
    position: relative;
    width: 80vw;
    margin-top: 15vh;
    align-self: left;
    margin-left: 10vw;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
}

#sp-teamwrap {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    background: linear-gradient(to bottom, #d0f8bd, #003a3b);
    height: fit-content;
    margin: 0;
    padding-bottom: 10vh;
}

#sp-teamtitle {
    position: relative;
    font-size: min(13vh, 12vw);
    font-weight: 600;
    padding: 0;
    line-height: 1;
    margin: min(-11vh, -10vw) 0 0 5vw;
    width: 100%;
    text-align: left;
    padding-left: 5vh;
    color: #003a3b;
    pointer-events: none;
}

#sp-teamtext {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    position: relative;
    font-size: min(3vh, 5vw);
    font-weight: lighter;
    padding: 0;
    line-height: 1;
    width: calc(100% - min(10vh, 10vw));
    text-align: left;
    padding-left: min(5vh, 5vw);
    color: #003a3b;
    pointer-events: none;
}

#sp-teamsilhouette {
    position: relative;
    margin-top: 10vh;
    z-index: 0;
    bottom: -.5vh;
    width: 100vw;
    min-height: 35vh;
    object-fit: cover;
    object-position: left;
    left: 0;
    pointer-events: none;
    fill: #d0f8bd;
}

#sp-teamgridcontainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(30vh, 40vw), 1fr));
    gap: min(8vh, 5vw);
    padding: 5vh;
    width: calc(100% - min(10vh, 10vw));
    height: fit-content;
}

.sp-teamgriditem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: calc((2 / 3) + 5vh);
    background: linear-gradient(to bottom right, #d0f8bd30, #003a3b50);
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.1);
    border-radius: 5pt;
    padding: 0pt;
    transition: .3s ease;
}

.sp-secondaryteamcard{
    display: none;
}

.sp-teamgriditem:hover {
    box-shadow: 0vh 0.3vh 1.8vh 0px rgba(0,0,0,0.3);
    scale: 1.05;
}

.sp-teamgriditem:hover img{
    scale: .9;
    box-shadow: 0vh 0.3vh 2vh 0px rgba(0,0,0,0.2);
}

.sp-teamgriditem:hover p{
    scale: 1.1;
    color: #d0f8bd;
    text-shadow: -.5vh .3vh 1vh rgba(0,0,0,0.3);
}

.sp-teamgriditem img{
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 5pt;
    box-shadow: 0vh 0.3vh 5vh 0px rgba(0,0,0,0.5);
    transition: .3s ease;
}

.sp-teamgriditem p{
    width: 100%;
    text-align: center;
    height: fit-content;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: -.5vh .3vh 1vh rgba(0,0,0,0.1);
    font-size: 2vh;
    transition: .3s ease;
}

#sp-newswrap{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 10vh 0 0 0;
    background: #003a3b;
    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: linear-gradient(to bottom right, #d0f8bd40, #00000000);
    box-shadow: 0vh 0 3vh 0px rgba(0,0,0,0.5);
    transition: .3s ease;
}

.news-card:hover {
    scale: 1.01;
}

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

.news-card:hover h3 {
    color: #d0f8bd;
}

.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;
    box-shadow: 0vh 0.3vh 2vh 0px rgba(0,0,0,0.5);
}

.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: rgba(255, 255, 255, 0.5);
    padding: 5pt 10pt 0 10pt;
}

.sp-fwdbtn {
    margin: 5vh 0 5vh 0;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    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: linear-gradient(to bottom right, #d0f8bd40, #00000000);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.1);
}

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