/* || BACKGROUND IMAGE */

body{
    background: url("./images/homepage/test-bg1.png") no-repeat center top;
    background-size: 100%;
}

p{
    font-family: "Francois One", sans-serif;
}

sub{
    font-size: 2.5rem;
}

p, ul, li{
    font-size: 1.5rem;
}

h2{
    font-size: 3rem;
}

.heading-spacer{
    height: calc(50vw - 43rem);
}

.spacer{
    height: calc(50vw - 30rem);
}

/* || TITLE HEADING */

#STEMBuddies{
    margin-top: 4rem;
    margin-bottom: 0;
    margin-left: 0;

    color: #104180;

    font-weight: 500;
    font-size: 7rem;
}

#headline-text{
    font-size: 3rem;
    font-weight: 1000;

    margin-top: 0;
    margin-bottom: 0;
}
/*
@media (width < 38rem){
    #headline-text{
        font-size: 3rem;
    }
}*/

#sub-headline{
    margin-top: 0;
    font-size: 2rem;
}

/* || DISCORD BUTTON */

#discord-button-wrapper{
    margin-top: 6rem;
    text-align: center;
}

#discord-button-wrapper p{
    font-size: 2rem;
    margin-bottom: 0;
}

#join-discord{
    background: white;
    color: #09b7b9;

    border: solid #00A0F0 8px;
    border-radius: 50px;

    width: 48rem;
    height: 8rem;
    margin-top: 0;

    font-size: 4rem;

    display: flex;
    align-items: center;
    justify-self: center;
    justify-content: center;
    gap: 20px;

    box-shadow: 0px 6px 6px rgb(0, 0, 0, 0.3);
}

#discord-logo{
    width: 8rem;
}

/* || MISSION STATEMENT */

#mission{
    text-align: center;
    /*background-color: #8bdcdd;*/
}

#mission-heading{
    margin-bottom: 2rem;
    font-size: 4rem;
}

#mission-statement{
    padding: 0;
    margin: 0 auto;
    max-width: 60rem;
    font-size: 2rem;
}

/* || STATS */

#impact-heading{
    text-align: center;
    margin-bottom: 2rem;
}

#stats-list{
    display: flex;
    justify-content: space-around;

    border: solid #00A0F0 4px;
    border-radius: 50px;

    margin-bottom: 4rem;

    padding: 1rem;

    box-shadow: 0px 4px 4px rgb(0, 0, 0, 0.2);
}

.stat{
    display: flex;
    align-items: center;

    gap: 15px;
}

.stat h3, .stat p{
    display: inline-block;
    margin: 0;
}

.stat h3{
    font-size: 5rem;
    color: #104180;
}

.stat span{
    color: #FFE677;
}



/* || EVENT IMAGE CARDS */

.image-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: stretch;
    gap: 20px;
    
    margin-bottom: 4rem;
}

#gallery-header{
    margin-bottom: 2rem;
}

.event-card{
}

.event-card img{
    background-color: lightgray;
    width: 25vw;
    height: 12.5vw;
    object-fit: cover;
}


/* || HIGHLIGHT BANNER */
#highlight-block-bg{
    text-align: center;
    background-color: #8bdcdd;
    padding: 3rem;
}

#highlight-block-bg h2{
    margin-top: 0;
}

#highlight-block{
    display: flex;
    justify-content: center;
    gap: 5rem;
}

#highlight-text{
    display: flex;
    flex-direction: column;
    align-items: start;
}

#highlight-text ul{
    text-align: left;
}

#highlight-text ul li:nth-child(2){
    transition-delay: 200ms;
}

#highlight-text ul li:nth-child(3){
    transition-delay: 400ms;
}

#highlight-text ul li:nth-child(4){
    transition-delay: 600ms;
}

#highlight-text a{
    transition-delay: 800ms;
}

#highlight-text button{
    font-size: 1.5rem;

    border-radius: 20px;

    padding-left: 2rem;
    padding-right: 2rem;
}

#novi{
    width: 10rem;
}


/* || CONNECT WITH US */
#connect-block{
    margin-bottom: 5rem;
    max-width: 46rem;
    padding: 2rem;
    margin-top: 3rem;

    border: #00A0F0 solid 8px;
    border-radius: 40px;
    box-shadow: 5px 5px 10px rgb(223, 223, 223), -5px -5px 10px rgb(223, 223, 223), 5px -5px 10px rgb(223, 223, 223), -5px 5px 10px rgb(223, 223, 223);
}

#mailing-list-form{
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 20px;
}

#mailing-list-form>input{
    flex-grow: 1;
    padding-left: 1rem;
}

#mailing-list-form>#submit{
    flex-grow: 0;

    padding-left: 0;
    width: 8rem;

    color: white;
    background-color: #00A0F0;

    font-weight: 500;
}

#contacts{
    display: flex;
    justify-content: start;
    gap: 20px;
}

address{
    flex-grow: 1;

    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-style: normal;

    color: #104180;
}

address::before{
    display: inline-block;

    width: 2rem;
    margin-right: 1rem;
    margin-left: 0;
    transform: scale(0.5) translateY(2rem);
}

#email::before{
    content: url('/images/email.png');
}

#instagram::before{
    content: url('/images/instagram.png');
}

#phone::before{
    content: url('/images/phone.png');
}