html {
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    line-height: 1.5;
}

body {
    margin: 0;
}

footer {
    color: white;
    background-image: linear-gradient(to right, rgba(38, 17, 17, 1), rgba(17, 38, 17, 1))
}

a {
    text-decoration: none;
}

li {
    margin-bottom: 0.5rem;
}

/* GENERIC HTML */

.red_hover:hover {
    color:rgb(38 220 38);
}

.green_hover:hover {
    color:rgb(220 38 38);
}

.auto {
    margin-left: auto;
    margin-right: auto;
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

.white {
    color: white;
}

.text_center {
  text-align:center
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
    top: 0px;
    z-index: 10;
}

/* Header stuff */

/* * {
    box-sizing: border-box;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(229, 231, 235);
    background-color: white;
    box-shadow: 0 0 #0000;
} */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.screen {
    background-color: white;
    box-shadow: 0 0 #0000;
}

.topbar {
    background-color: white;
    box-shadow: 1px 2px 5px #0003;
}

.outerbar {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    
}

.innerbar {
    align-items: center;
    height: 4rem;
}

.directory_item {
    color: rgb(55, 65, 81);
    font-weight: 500;
    cursor: pointer;
    text-decoration: inherit;
    padding: 0 1em;
}

.background {
    background-image: linear-gradient(rgba(153, 27, 27, 0.85), rgba(22, 101, 52, 0.85)), url("christmas_background.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    justify-content: center;
    align-items: center;
    position: relative;
    /* margin: 0 -8px; */
}

.outerimg {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    max-width: 80rem;
    width: 100%;
}

.innerimg {
    text-align: center;
}

.charity_info {
    font-size: 1.5rem;
    line-height: 2rem;
    max-width: 48rem;
}

.charity_info a {
    background: linear-gradient(to right, rgba(230, 55, 55, 0.85), rgba(58, 209, 116, 0.85));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: underline;
}

.charity_info a:hover {
    background: linear-gradient(to right, rgba(153, 27, 27, 0.85), rgba(22, 101, 52, 0.85));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.goal_main {
    backdrop-filter: blur(4px);
    background-color: #ffffff1a;
    border-radius: 1rem;
    max-width: 56rem;
    margin-bottom: 2rem;
    padding: 2rem;
}

.goal_info {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.goal_bar {
    background-color: #fff3;
    border-radius: 9999px;
    width: 100%;
    height: 1rem;
    margin-bottom: 1rem;
}

.progress {
    /* width: 10%; */
    height: 1rem;
    transition-timing-function: cubic-bezier(0,0,.2,1);
    transition-duration: 1s;
    transition-property: all;
    background-image: linear-gradient(to right, #16a34a, #4ade80);
    border-radius: 9999px;
}

.goal_percent {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.large_text {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

/* people stuff */

.people {
    padding: 6rem 0 6rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

.person {
    border: rgb(209 213 219) solid 3px;
    border-radius: 1rem;
    /* background-image: linear-gradient(rgba(255, 243, 243, 0.85), rgba(238, 255, 245, 0.85)); */
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 10px 0 10px;
    overflow: hidden;

}

.person_name {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 1.5rem 0 1.5rem 0;

    font-size: 1.5em;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: color 0.3s;
}

/* .person_image {
} */

.person_image img {
    border-radius: 50%;
    width: 100%;
}

.person:hover img {
    transform: scale(1.05); 
}

.socials {
    justify-content: space-between;
    padding: 0 1rem 0 1rem;
}

.youtube {
    border-radius: 50%;
    background-color: #FF0000;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.youtube:hover {
    background-color: #b30000;
    font-size: 1.75rem;
}

.youtube:active {
    background-color: #660000;
}

.twitch {
    border-radius: 50%;
    background-color: #9146FF;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.twitch:hover {
    background-color: #5c00e3;
    font-size: 1.75rem;
}

.twitch:active {
    background-color: #350082;
}

.x {
    border-radius: 50%;
    background-color: #14171A;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.x:hover {
    background-color: #020203;
    font-size: 1.75rem;
}

.x:active {
    background-color: #000000;
}

/* Goal Page Stuff */
.goal_page_main {
    padding: 5rem 0 5rem 0;
}

.goal_info {
    text-align: center;
    margin-bottom: 4rem;
}

.goal_title {
    font-size: 3.75rem;
}

.goal_text {
    font-size: 1.25rem;
    max-width: 48rem;
}

.goal_div {
    position: relative;
    max-width: 80rem;
    padding-bottom: 500px;
}

.current_raised {
    text-align: center;
    margin-bottom: 3rem;
}

.current_raised_box {
    box-shadow: 0 10px 15px -3px #0001;
    padding: 1.5rem 2rem 1.5rem 2rem;
    display: inline-block;
    border-radius: 1rem;
}

.raised_text {
    color: rgb(75, 85, 99);
    font-size: .875rem;
    line-height: 1.25rem;
}

.raised_amt {
    color: #16a34a;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.5;
}

.goal_page_bar {
    position: relative;
    padding-bottom: 12000px;
}

.bar {
    height: 100%;
    min-height: 12000px;
    border-radius: 9999px;
    width: 2rem;
    left: 50%;
    position: absolute;
    background-color: rgb(209 213 219);
    transform: translateX(-50%);
}

.goal_progress {
    /* height: 2.5%; */
    transition-timing-function: cubic-bezier(0,0,.2,1);
    transition-duration: 1s;
    transition-property: all;
    background-image: linear-gradient(to bottom, #16a34a, #4ade80);
    width: 100%;
    border-radius: 9999px;
}

.button_div {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--money) * 1.5);
    z-index: 2;
}

.button {
    border-style: solid;
    border-color: rgb(209 213 219);
    border-radius: 9999px;
    border-width: 4px;
    height: 2rem;
    width: 2rem;
    background-color: #FFF;
    box-shadow: 0px 10px 15px -3px #0003;
}

.completed .button {
    background-color: rgb(34, 197, 94);
    border-color: rgb(22 163 74);
}

.goal_line {
    width: 4rem;
    height: .125rem;
    background-color: rgb(209 213 219);
    position: absolute;
    top: calc((var(--money) * 1.5) + 19px);
    z-index: 1;
}

.completed .goal_line {
    background-color: rgb(22 163 74);
}

.right .goal_line {
    left: 50%;
}

.left .goal_line {
    right: 50%;
}

 .right .goal_section {
    position: absolute;
    left: 54%;
}

 .left .goal_section {
    position: absolute;
    right: 54%;
}

.right .goal_tab {
    text-align: right;
}

.left .goal_tab {
    text-align: left;
}

.goal_tab_inside {
    box-shadow: 0px 10px 15px -3px #0003;
    padding: 1.5rem;
    border-color: rgb(209 213 219);
    border-radius: .75rem;
    border-style: solid;
    border-width: 0.125rem;
    position: relative;
    top: calc((var(--money) * 1.5) + 19px);
}

.completed .goal_tab_inside {
    border-color: rgb(22 163 74);
}

.goal_amt {
    color: rgb(75, 85, 99);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: .5rem 1rem .5rem 1rem;
    background-color: rgb(243, 244, 246);
    border-radius: 9999px;
    display: inline-block;
    margin-right: .5rem;
    margin-left: .5rem;
    margin-bottom: .75rem;
}

.completed .goal_amt {
    color: rgb(21, 128, 6);
    background-color: rgb(220, 252, 231);
}

.goal_complete {
    display: none;
}

.completed .goal_complete {
    display: inline-block;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    background-color: rgb(34, 197, 94);
    border-radius: 9999px;
    padding: .25rem .75rem .25rem;
}

.goal_name {
    color: rgba(17, 24, 39);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: .75rem;
    margin-top: 0;
}

.goal_disc {
    color: rgb(55, 65, 81);
    line-height: 1.625;
    margin-bottom: 1rem;
}

.goal_picture {
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    cursor: pointer;
}

.goal_img {
    visibility: hidden;
}

.completed .goal_img {
    visibility: visible;
    transition-duration: .3s;
    display: block;
}

.completed .goal_picture:hover .goal_img {
    transform: scale(1.05); 
}

.goal_pic_center {
    transition-duration: .3s;
    position: absolute;
    background-color: #14171A;
    justify-content: center;
    align-items: center;
    inset: 0;
    opacity: 100;
}

.completed .goal_pic_center {
    transition-duration: .3s;
    position: absolute;
    background-color: #0000;
    justify-content: center;
    align-items: center;
    inset: 0;
    opacity: 0;
}

.completed .goal_picture:hover .goal_pic_center {
    opacity: 100;
    background-color:#0000001a
}

.completed .tooltip {
    padding: .5rem 1rem .5rem 1rem;
    background-color: #0000;
    border-radius: 9999px;
}

.completed .goal_picture:hover .tooltip {
    background-color:#00000080
}

.untip {
    color: white;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    font-style: normal;
}

.completed .untip {
    display: none;
}

.tip {
    display: none;
}

.completed .tip {
    display: block;
    color: white;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    font-style: normal;
}

/* footer stuff */

.footer {
    padding: 3rem 2rem 3rem 2rem;
    max-width: 80rem;
}

.footer_grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 2rem;
    display: grid;
}

.footer_text {
    grid-column: span 2 / span 2;
    margin-right: 30%;
    border-width: 0.125rem;
}

.footer_title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.footer_info {
    color: rgb(209 213 219);
}

.links {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.linklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link {
    color: rgb(209 213 219);
    cursor: pointer;
    text-decoration: inherit;
    padding-bottom: 1rem;
}

.link:hover {
    color: white;
}

.copyright_bar {
    margin-top: 2rem;
    flex-direction: row;
    padding-top: 2rem;
    border-width: 0;
    border-top-width: 1px;
    justify-content: space-between;
    align-items: center;
    border-color: white;
    border-style: solid;
    box-sizing: border-box;
}

.copyright {
    color: rgb(156 163 175);
    font-size: .875rem;
    line-height: 1.25rem;
}


