/*general styling*/
:root{
    /*colors*/
    --black: #2b162f;
    --purple1: #aa8fb0;
    --purple2: #663b6e;
    --white: #f8eedf;
    --red1: #c41d1d;
    --red2:#8E1616;
    --red3:#521818;
    --red4: #eb8f8f;
    
    /*sizing*/
    --sm: 8px;
    --md: 16px;
    --lg: 20px;
    --xl: 30px;
    --xxl: 40px;
    --xxxl: 90px;

    /*fonts*/
    --google: "Google Sans Code";
    --cascadia: "Cascadia Code";
    --trebuchet: "Trebuchet MS";
}
*{
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    font-family: var(--cascadia);
}
body{
    background-color: var(--white);
    font-weight: bold;
    color: var(--black);
    overflow-x: hidden;
}
p{
    font-weight: normal;
    font-family: var(--trebuchet);
}
h1{
    font-size: 75px;
}

/*navbar styling*/
.curlyLink{
    font-family: var(--trebuchet);
    color: var(--red1);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.curlyLink:hover{
    color: var(--red1);
    text-decoration-line: underline;
    text-decoration-style: wavy;
}
#navBarContainer{  
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: var(--red1);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
}
#navBar{
    background-color: var(--red1);
    list-style-type: none;
    padding: var(--lg);
    display: flex;
    gap: var(--lg);
    justify-content: right;
    text-align: center;
    align-items: center;
}
.navLink{
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    opacity: 80%;
    font-size: var(--lg);
    font-family: var(--trebuchet);
}
.navLink::after{
    content: "";
    position:absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--white);
    background-size: 2px 2px;
    background-repeat: repeat-x;
    transition: width 0.3s ease, opacity 0.3s ease;
}
.navLink:hover::after{
    width: 100%;
}
.navLink:hover{
    opacity: 100%;
}
#navLogo{
    height: var(--xxl);
    opacity: 80%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: var(--md);
    z-index: 11; 
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
}

#navLogo:hover{
    cursor: pointer;
    opacity: 100%;
    transform: translateY(calc(-50% - 2px)) scale(1.03);
}
#navMenu{
    display: none;
}
#navMenu:hover{
    cursor: pointer;
    opacity: 100%;
    transform: translateY(calc(-50% - 2px)) scale(1.03);
}
@media screen and (max-width: 720px){
    #navMenu{
        display: block;
        height: var(--xxl);
        opacity: 80%;
        position: absolute;
        top: 50%;
        right: var(--md);
        z-index: 11; 
        transform: translateY(-50%);
        transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease;
    }
    #navBar {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        background-color: var(--red1);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    #navBar.active {
        max-height: 500px;
        padding: var(--lg) 0;
    }
    .navLink{
        visibility: visible;
    }
    .navLink.active{
        display: inline-block;
    }
    .navLink {
        padding: var(--md);
        display: block;
        visibility: visible;
    }
    #navBarContainer{  
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
        padding-top: 63px;
        background-color: var(--red1);
        box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
    }
}

/*home page*/
#homeContainer{
    display: flex;
    position: relative;
    max-height: calc(100vh - 63px);
    margin-top: 63px;
    overflow-x: hidden;
    overflow-y: hidden;
    justify-content: center;
    align-items: center;
}
#background{
    opacity: 30%;
    height: 100%;
    object-fit: cover;
}
#home{
    position: absolute;
    z-index: 1;
    text-align: center;
    padding: 0 var(--md);
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80%;
}
#home h1{
    font-size: clamp(3rem, 6vw, 75px);
    line-height: 1.2;
    margin-bottom: clamp(8px, 1.5vw, var(--md));
    margin-left: auto;
    margin-right: auto;
    max-width: clamp(60%, 60%, 100%);
}
#panther{
    color: var(--red1);
}
#hacks{
    color: var(--purple2);
}
#home p{
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    margin: 0 auto clamp(12px, 2vw, var(--lg));
    line-height: 1.6;
    width: 90%;
    font-weight: bold;
}
#homeButtons{
    padding: var(--md);
}
#register{
    display: inline-block;
    text-decoration: none;
    margin-top: clamp(8px, 1.5vw, var(--md));
    border: none;
    border-radius: var(--sm);
    padding: clamp(12px, 1.8vw, var(--lg));
    background-color: var(--red1);
    border-color: var(--red1);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 0 0 0 0 var(--red1);
    color: var(--white);
    font-size: clamp(0.9rem, 1.5vw, var(--md));
    font-weight: bold;
    font-family: var(--trebuchet);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.3s ease;
}
#register:hover{
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 165px 0 0 0 var(--red4);
    color: var(--red3);
    border-color: var(--red4);
    transform: translateY(var(--fade-y, 0px)) translateY(-5px);
}
#donate{
    display: inline-block;
    text-decoration: none;
    margin-top: clamp(8px, 1.5vw, var(--md));
    border: none;
    border-radius: var(--sm);
    padding: clamp(12px, 1.8vw, var(--lg));
    background-color: var(--purple2);
    border-color: var(--purple2);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 0 0 0 0 var(--purple1);
    color: var(--white);
    font-size: clamp(0.9rem, 1.5vw, var(--md));
    font-weight: bold;
    font-family: var(--trebuchet);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.3s ease;
}
#donate:hover{
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 165px 0 0 0 var(--purple1);
    color: var(--black);
    border-color: var(--purple1);
    transform: translateY(var(--fade-y, 0px)) translateY(-5px);
}
#downArrow{
    display: flex;
    position: relative;
    width: clamp(50px, 80px, 80px);
    height: auto;
    text-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#downArrow:hover{
    cursor: pointer;
    transform: translateY(var(--fade-y, 0px)) translateY(5px);
}

/*about section*/
#about{
    scroll-margin-top: 120px;
    width: 100;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: var(--xl);
}
#aboutItemContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--md);
    margin: 0 auto;
    max-width: 100%;
    background-image: linear-gradient(to bottom,
        var(--red4) 0%,
        var(--red4) 25%,
        var(--red1) 25%,
        var(--red1) 50%,
        var(--red2) 50%,
        var(--red2) 75%, 
        var(--red3) 75%,
        var(--red3) 100%
    );
    padding: var(--md);
}
#aboutTitle{
    color: var(--black);
    display: flex;
    justify-content: center;
    font-size: clamp(1rem, 40px, 40px);
    margin-bottom: var(--xl);
}
.aboutItem{
    display: flex;
    flex-direction: column;
    border-radius: var(--sm);
    max-width: 25%;
    height: auto;
    padding: var(--md);
    background-color: var(--white);
    justify-content: center;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.aboutItem:hover{
    transform: translateY(var(--fade-y, 0px)) translateY(-6px);
}
.aboutImage{
    display: block;
    margin: 0 auto;
    width: clamp(50px, 75px, 75px);
}
.aboutDescription{
    display: flex;
    text-align: center;
    color: var(--black);
    opacity: 80%;
    font-size: clamp(8px, 16px, 16px);
    max-width: 100%;
    font-weight: bold;
}
.aboutItemTitle{
    display: flex;
    justify-content: center;
    color: var(--black);
    padding: var(--sm);
}
@media screen and (max-width: 550px){
    #aboutItemContainer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .aboutItem{
        width: 100%;
        max-width: 75%;
    }
}

/*logistics section*/
#logistics{
    background-color: var(--red3);
    scroll-margin-top: 75px;
    width: 100%;
    padding-top: var(--xl);
}
#logisticsContainer{
    max-width: 75%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
#logisticsTitle{
    color: var(--white);
    display: flex;
    justify-content: center;
    font-size: clamp(1rem, 40px, 40px);
}
#schedule{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: var(--sm);
}
.scheduleItem{
    border-radius: var(--sm);
    border-color: var(--red1);
    padding: var(--md);
    margin: var(--md);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background-color: var(--white);
}
.scheduleItem:hover{
    transform: translateY(var(--fade-y, 0px)) translateY(-6px);
}
.time{
    color: var(--purple2);
    font-family: var(--trebuchet);
}
.scheduleEvent{
    font-size: var(--lg);
    font-family: var(--trebuchet);
}
.paw{
    margin: 0 auto;
    width: clamp(10px, 20px, 20px);
    height: auto;
    text-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    opacity: 50%
}

/*team*/
#team{
    display: flex;
    flex-direction: column;
    background-color: var(--red3);
    scroll-margin: 75px;
}
#teamTitle{
    color: var(--white);
    display: flex;
    justify-content: center;
    font-size: clamp(1rem, 40px, 40px);
    margin: var(--md);
}
#teamContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-image: linear-gradient(to top,
        var(--red4) 0%,
        var(--red4) 25%,
        var(--red1) 25%,
        var(--red1) 50%,
        var(--red2) 50%,
        var(--red2) 75%, 
        var(--red3) 75%,
        var(--red3) 100%
    );
    gap: var(--md);
    padding: var(--md);
}
.profileContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 20vw;
    text-align: center;
    background-color: var(--white);
    border-radius: var(--sm);
    padding: var(--md);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.profileContainer:hover{
    transform: translateY(var(--fade-y, 0px)) translateY(-6px);
}
@media screen and (max-width: 850px){
    #teamContainer{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .profileContainer{
        width:30vw;
        max-width: 75%;
    }
}
.name{
    display: flex;
    justify-content: center;
    color: var(--black);
    font-size: clamp(1rem, 2vw, var(--xl));
    text-decoration: none;
}
.name:hover{
    color: var(--red1);
    text-decoration: underline;
    text-decoration-style: wavy;
}
.role{
    display: flex;
    justify-content: center;
    color: var(--purple2);
    font-size: clamp(0.875rem, 1.5vw, var(--md));
}

/*sponsors*/
#sponsors{
    scroll-margin-top: 100px;
    width: 100;
    flex-direction: column;
    text-align: center;
    margin-top: var(--xl);
}
#sponsorTitle{
    color: var(--black);
    display: flex;
    justify-content: center;
    font-size: clamp(1rem, 40px, 40px);
    margin-bottom: var(--xl);
}
#sponsor{
    display: inline-block;
    text-decoration: none;
    margin-top: clamp(8px, 1.5vw, var(--md));
    border: none;
    border-radius: var(--sm);
    padding: clamp(12px, 1.8vw, var(--lg));
    background-color: var(--red1);
    border-color: var(--red1);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 0 0 0 0 var(--red1);
    color: var(--white);
    font-size: clamp(0.9rem, 1.5vw, var(--md));
    font-weight: bold;
    font-family: var(--trebuchet);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#sponsor:hover{
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 165px 0 0 0 var(--red4);
    color: var(--red3);
    border-color: var(--red4);
    transform: translateY(var(--fade-y, 0px)) translateY(-5px);
}

/*faq*/
#faq{
    scroll-margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}
#faqContainer{
    display: flex;
    flex-direction: column;
    width: 75%;
    max-width: 75%;
    gap: var(--sm);
    padding: var(--md);
    text-align: center;
}
#faqTitle{
    color: var(--black);
    display: flex;
    justify-content: center;
    font-size: clamp(1rem, 40px, 40px);
    margin-bottom: var(--xl);
    text-align: center;
}
.faqItem{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: var(--md);
    margin-bottom: var(--md);
    border-radius: var(--sm);
}
.question{
    background-color: var(--purple1);
    color: var(--black);
    cursor: pointer;
    padding: var(--md);
    width: 100%;
    border: none;
    border-radius: var(--sm);
    text-align: left;
    outline: none;
    font-size: var(--lg);
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.active, .question:hover{
    background-color: var(--purple2);
    color: var(--white);
    transform: translateY(var(--fade-y, 0px)) translateY(-6px);
}
.question::after{
    content: '\002B';
    font-size: var(--lg);
    color: var(--white);
    float: right;
}
.active::after{
    content: '\2212';
}
.answer{
    padding: 0 var(--md);
    overflow: hidden;
    color: var(--black);
    background-color: var(--purple1);
    border-radius: var(--sm);
    font-style: bold;
    max-height: 0px;
    display: flex;
    justify-content: left;
    margin: 0 auto;
    margin-top: var(--sm);
    transition: max-height 0.2s ease-out;
}
.answer p{
    padding: var(--md);
    text-align: left;
}
#discord{
    display: inline-block;
    text-decoration: none;
    margin: 0 auto;
    margin-top: clamp(8px, 1.5vw, var(--md));
    border: none;
    border-radius: var(--sm);
    padding: clamp(12px, 1.8vw, var(--lg));
    background-color: var(--purple2);
    border-color: var(--purple2);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 0 0 0 0 var(--purple2);
    color: var(--white);
    font-size: clamp(0.9rem, 1.5vw, var(--md));
    font-weight: bold;
    font-family: var(--trebuchet);
    width: fit-content;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.3s ease;
}
#discord:hover{
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2), inset 170px 0 0 0 var(--purple1);
    color: var(--black);
    border-color: var(--purple1);
    transform: translateY(var(--fade-y, 0px)) translateY(-5px);
}

/*footer*/
#footer{
    background-color: var(--red1);
    height: var(--xxxl);
    padding: var(--md);
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#footerText{
    text-align: center;
    color: var(--white);
    font-weight: bold;
    font-size: var(--lg);
}
#footerLinks{
    display: flex;
    justify-content: center;
    gap: var(--md);
}
#footer a{
    color: var(--red4);
    text-decoration: none;
    font-weight: bold;
    padding-top: var(--md);
    transition: all 0.3 ease;
}
#footer a:hover{
    color: var(--white);
    text-decoration-line: underline;
    text-decoration-style: wavy;
}

/*animations*/
@keyframes fadeIn{
    0%{
        transform: translateY(25%);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
.fadeOnLoad{
    --fade-y: 10px;
    opacity: 0;
    transform: translateY(var(--fade-y)) translateY(var(--hover-y, 0px));
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
.fadeOnLoad.isVisible{
    --fade-y: 0px;
    opacity: 1;
}
.delayedFade{
    animation: 0.6s fadeIn ease;
}