/*
    WINTERSGIVING 2024 WEBSITE STYLESHEET
    (don't look at it too hard it isn't all that jolly)

    Created by Candycup. All rights reserved for Cartridge Collective,
    the organizers of Wintersgiving 2024. Feel free to have a look around.
 */

@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@100..900&display=swap');

:root {
    --primary-red: #A63D5D;
    --bruple: #BE7CD8;
    --balsamiq: 'Balsamiq Sans', sans-serif;
    --outfit: 'Outfit', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

main {
    overflow-x: hidden;
}
::selection {
    background-color: #BE7CD8;
    color: white;
}
#static-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background: rgb(108,40,59);
    background: linear-gradient(0deg, rgba(108,40,59,1) 0%, rgba(151,48,77,1) 100%); 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

header {
    background-color: var(--primary-red);
    color: white;
    font-family: var(--outfit);

    min-height: 60px;
    display: flex;
    align-items: center;

    box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.25);
}

header .header-contents {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 5%;
}

header .header-contents p {
    font-size: 20px;
}

.header-contents .header-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 12px;

    transition: 0.33s;
    cursor: pointer;
}

.header-item:hover {
    background-color: rgba(0, 0, 0, 0.10);
    scale: 1.05;
}

.header-item.active {
    background-color: rgba(0, 0, 0, 0.25);
}

.header-item a {
    color: snow;
    text-decoration: none;
    font-family: var(--outfit);
    font-weight: 600;
    font-size: large;
}

@media screen and (max-width: 768px) {
    header .header-contents {
        width: 95%;
    }

    .header-item {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 5px !important;
    }

    .header-item img {
        width: 20px;
    }
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;

    z-index: 1000;
}

footer {
    background-color: var(--primary-red);
    color: white;
    font-family: var(--outfit);

    height: fit-content;
    display: flex;
    justify-content: start;
    gap: 75px;

    box-shadow: 0px -4px 20px 0px rgba(0,0,0,0.25);

    padding-bottom: 20px;
    padding-top: 20px;

    padding-left: 7%;
    padding-right: 7%;
}

li {
    list-style-type: none;
}

footer img {
    width: 250px;
    margin-left: 7%;
    filter: invert(1) drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

footer #footer-section-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer #footer-section-2 {
    padding-top: 20px;
}

#footer-section-2 a {
    color: snow;
}

.box {
    margin-left: auto;
    margin-right: auto;
}

.box .box-titles {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.box .box-title.inactive {
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(166, 61, 92, 0.5)
}

.box .box-title.clickable {
    cursor: pointer;
    transition: 0.2s;
}

.box-title.clickable:hover {
    scale:  1.03;
}

.box .box-title {
    font-family: var(--balsamiq);
    font-size: 24px;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;

    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.33);

    padding: 15px 30px 15px 30px;
    background-color: var(--primary-red);
    border-radius: 12px;

    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));

    width: fit-content;
}

.box .box-contents {
    padding: 20px;
    background-color: var(--primary-red);
    border-radius: 12px;

    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));

    display: flex;
}

.box-contents.rundown {
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}

.box-contents.rundown p {
    font-family: var(--outfit);
    color: snow;
    font-size: larger;
    line-height: 1.5;
    max-width: 50%;
}

.box-contents.rundown b {
    font-family: var(--outfit);
    color: snow;
}

.main-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7%;
    margin-bottom: 5%;
}

#main-boxes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 100px;
}

.section {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.section h1 {
    font-family: var(--balsamiq);
    text-align: center;
    color: white;
}

.section p {
    font-family: var(--outfit);
    color: white;
}

#sponsors-section {
    text-align: center;
}

#sponsors {
    width: 50%;
    margin: auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#info-section h1 {
    margin-bottom: 40px;
}

#sponsors-section h1 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#sponsors-section h1 img {
    transition: all 0.3s ease;
}

#sponsors-section h1 img:hover {
    transform: scale(1.05);
}

#sponsors-section p {
    font-family: var(--outfit);
    text-align: center;
    color: white;
    margin-top: 10px;
}

#calendar-section p {
    margin-top: 10px;
}

#calendar-section .subtitle {
    text-align: center;
}

#info-section-accordions {
    width: 70%;
    margin: auto;
}

#cta-donate {
    margin-top: 50px;
    display: flex;
    align-items: center;
}

#cta-full-schedule {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

#schedule-titles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 100px;
    margin-left: 7%;
    margin-bottom: 50px;
    font-family: var(--outfit);
    color: snow;
}

#schedule {
    margin-left: 7%;
    margin-right: 7%;
    font-family: var(--outfit);
    color: snow;
}

#schedule-titles p {
    max-width: 50%;
}

.schedule-date .date-header {
    font-weight: 700;
    padding: 10px 40px 10px;
    background: var(--primary-red);
    width: fit-content;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    #schedule-titles {
        margin-left: 5%;
        margin-right: 5%;
    }

    #schedule {
        margin-left: 5%;
        margin-right: 5%;
    }

    #schedule-titles p {
        max-width: 90%;
    }

    #schedule-titles img {
        display: none;
    }

    #schedule-items {
        margin-top: 5% !important;
    }
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: rgba(0, 0, 0, 0.33);
    border-radius: 12px;
    margin-top: 20px;
    cursor: pointer;
    font-family: var(--balsamiq);
    color: white;
    font-size: 20px;
    transition: 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.accordion-content {
    padding: 20px;
    padding-top: 5px;
    border-radius: 12px;
    margin-top: 20px;
    font-family: var(--outfit);
    color: white;
    display: none;
}

.accordion-content a {
    color: white;
}

.accordion-header img {
    width: 32px;
    transition: transform 0.3s ease;
}

.accordion-header img.rotate {
    transform: rotate(180deg);
}

@media screen and (max-width: 950px) {
    #main-boxes {
        flex-direction: column !important;
        gap: 50px;
    }

    .box {
        width: 90% !important;
    }

    .total-raised-box {
        width: 50% !important;
        margin: auto;
    }

    .total-raised-box .box-title {
        margin: auto;
        margin-bottom: 20px;
    }

    .box-contents {
        padding: 30px !important;
    }

    #info-section-accordions {
        width: 90% !important;
    }

    #sponsors {
        margin-top: 30px;
        width: 90% !important;
    }

    #sponsors-section p {
        font-size: 17px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .total-raised-box .box-title {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .total-raised-box {
        width: 90% !important;
        margin: auto;
    }

    .total-raised-box .box-title {
        margin: auto;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 500px) {

    .total-raised-box .box-title {
        margin: auto;
        margin-bottom: 20px;
    }
}

.dono-header {
    display: flex;
    gap: 20px;
}

.dono-header h3 {
    font-family: var(--balsamiq);
    font-size: 24px;
    color: white;

    text-shadow: 1px 3px 3.5px rgba(0, 0, 0, 0.15);
}

.dono-badges {
    display: flex;
    gap: 20px;
}

.dono-badge {
    background-color: rgba(0, 0, 0, 0.33);
    padding: 10px;
    border-radius: 12px;

    font-family: var(--balsamiq);
    font-size: 17px;
    color: white;
}

.dono-text {
    font-family: var(--outfit);
    font-size: 17px;
    color: white;
}

@media screen and (max-width: 1400px) {
    #main-boxes {
        width: 80% !important;
    }
}

@media screen and (max-width: 1200px) {
    #main-boxes {
        width: 95% !important;
    }
}

@media screen and (max-width: 1000px) {
    main {
        
    }
}

@media screen and (max-width: 768px) {
    .dono-header {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .box-contents {
        gap: 15px !important;
    }
}

#painters-logo {
    filter: invert(1);
}

#total-raised {
    font-family: 'Balsamiq Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 80px;
    line-height: 96px;

    color: #FFFFFF;

    text-shadow: 0px 0px 50px rgba(255, 255, 255, 0.33);

    transition: 0.5s ease;
}

#main-horizontal-logo {
    margin-top: 2%;
    margin-bottom: 2%;
    transition: 0.5s;
    cursor: pointer;
}

#main-horizontal-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.sponsor {
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor a img {
    width: 100%;
    max-width: 400px;
}

@media screen and (max-width: 768px) {
    .main-logo-container {
        margin-top: 100px;
        margin-bottom: 50px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    .box-contents.rundown {
        padding: 20px;
    }

    .box-contents.rundown p {
        max-width: 100%;
    }

    #main-boxes {
        gap: 50px;
        width: 90%;
    }

    footer {
        flex-direction: column;
        gap: 25px;
    }

    footer img {
        width: 200px;
        margin-left: 0;
    }

    #main-horizontal-logo {
        margin-top: 8%;
        margin-bottom: 8%;
    }

    .countdown-entry-list {
        display: flex;
        gap: 15% !important;
        padding-left: 10% !important;
    }
}

/* COUNTDOWNS */
.countdown-entry-list {
    display: flex;
    gap: 5%;
}

#scuff-starts-already {
    margin-left: 3%;
}

.countdown-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-entry b {
    font-family: var(--balsamiq);
    font-size: 60px;
    color: white;
    margin-bottom: 10px;

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.33));
}

.countdown-entry p {
    font-family: var(--balsamiq);
    font-size: 20px;
    color: white;
    margin-bottom: 10px;

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.33));
}

/* UTILS */
@media screen and (max-width: 768px) {
    .no-mobile {
        display: none;
    }
}

/* BUTTONS */
.btn {
    padding: 15px 75px 15px;
    border-radius: 20px;
    font-family: var(--balsamiq);
    font-size: 25px;
    color: white;
    background-color: var(--bruple);
    cursor: pointer;
    transition: 0.2s ease;
    border: none;
    margin: auto;
    box-shadow: 0px 0px 29.8px rgba(190, 124, 216, 0.803922);    
}

.btn:hover {
    box-shadow: 0px 0px 60px rgba(190, 124, 216, 0.803922);
    transform: scale(1.05);
}

/* EVENTS */
#events {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
    margin-top: 50px;
}

.event {
    display: flex;
    flex-direction: column;
    width: 45%;
    background-color: var(--primary-red);
    padding: 20px;
    border-radius: 12px;
    text-align: start;
    gap: 10px;
}

#events .event {
    margin-bottom: 5%;
}
.schedule-date {
    margin-bottom: 5%;
}

.event h2 a {
    text-decoration: none !important;
    color: white;
}

.event .badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.event .badges .badge {
    background-color: rgba(0, 0, 0, 0.33);
    padding: 7px 15px 7px;
    border-radius: 12px;

    font-family: var(--balsamiq);
    font-size: 17px;
    color: white;
}

.event .description {
    text-align: start;
}
.badge p {
    margin-top: 0px !important;
}

.event .header,
.event .sub-header {
    color: white;
}

.event .header {
    font-family: var(--balsamiq);
}

.event .sub-header {
    font-family: var(--outfit);
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .event {
        width: 90%;
    }

    .schedule-date {
        margin-bottom: 10%;
    }
}

@media screen and (min-width: 1500px) {
    .event {
        width: 25%;
    }
}

#schedule {
    margin-bottom: 10%;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.33);
    width: fit-content;
    border-radius: 12px;
}

.search-bar input {
    background-color: transparent;
    border: none;
    color: white;
    font-family: var(--outfit);
    font-size: 20px;
}

.search-bar input::placeholder {
    color: white;
}

#creators-section {
    margin-left: 7%;
    margin-right: 7%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#creators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.creator {
    display: flex;
    align-items: start;
    gap: 40px;
    padding: 25px;
    background-color: var(--primary-red);
    width: fit-content;
    border-radius: 12px;
    width: 30%;
    min-width: 400px;
    margin: 0 !important;
}

.creator h2 {
    font-family: var(--outfit);
    color: white;
}

.creator p {
    font-family: var(--outfit);
    color: white;
}

.creator .creator-logo {
    max-width: 100px;
    max-height: 100px;
    min-width: 100px;
    min-height: 100px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.creator .icon {
    width: 25px;
    height: 25px;
}

.creator .creator-titles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.creator-socials {
    display: flex;
    gap: 10px;
}

.creator-contents {
    display: flex; 
    flex-direction: column; 
    gap: 10px;
}

@media screen and (max-width: 1400px) {
    .creator {
        width: 45%;
        margin: auto;
    }
}

@media screen and (max-width: 900px) {
    .creator {
        width: 90%;
        margin: auto;
    }

    #creators {
        gap: 10px;
    }
}

@media screen and (max-width: 600px) {
    #creators {
        flex-direction: column;
        gap: 20px;
    }
    
    .creator {
        width: 100%;
        margin: auto;
        min-width: 100px !important;
        gap: 25px;
    }

    .creator .creator-logo {
        max-width: 90px;
        max-height: 90px;
        min-width: 90px;
        min-height: 90px;
    }

    .creator-contents {
        gap: 5px !important;
    }

    #creators-section {
        margin-left: 5%;
        margin-right: 5%;
    }
}

.donation-entry {
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.33);
    padding: 10px 30px 10px;
    border-radius: 12px;
    color: white;
    font-family: var(--outfit);
    text-shadow: 0px 0px 50px rgba(255, 255, 255, 0.33);
}

#top-donors {
    max-height: 216px;
    overflow-y: scroll;
}

#total-raised-counter {
    max-height: 600px;
}

.donation-entry h3 {
    max-width: 50%;
}

@media screen and (max-width: 768px) {
    #top-donors {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}