#header{
    display: flex;
    position: relative;
    height: 550px;
    width: 100%;
    background-image: url(imgs/intro-img.png);
    background-position: 50% 50%;
    background-size: cover;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 58px;
    border-bottom: none;
}
#header .icons{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-self: center;
    left: 0;
    margin-left: 2em;
}
#header .icons .icon{
    position: relative;
    display: inline-block;
    height: 50px;
    margin: 25px;
    box-shadow: none;
    z-index: 0;
}
#header .icons .icon::before{
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0 solid var(--overlay-color);
    border-radius: 50%;
    padding: 1em;
}
#header .icons .icon:hover::before{
    border-width: 1px;
}
/*#header .icons .icon:hover{
    --fill: 100%;
}
#header .icons .icon::before{
    content: '';
    position: absolute;
    z-index: -2;
    inset: -.6em;
    border-radius: 50%;

    background: conic-gradient(
        var(--hover-color) var(--fill),
        transparent var(--fill)
    );
    transition: --fill .4s ease-in-out;
}
@property --fill{
    syntax: '<percentage>';
    inherits: true;
    initial-value: 0%;
}*/
#header .icons .icon svg{
    width: 50px;
}
#header .card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(1000px, 80%);
    color: var(--text-color);
    padding: 2em 1em;
    background-color: var(--overlay-color);
    border-radius: var(--border-radius-big);
    backdrop-filter: blur(5px);
    margin: 2em 0;
}
#header .card > * {
    margin: 7px 0;
}
#header .card h1{
    font-size: clamp(1.5em, 4em, 4vw);
}
#header .card p{
    font-size: clamp(1em, 1.5em, 1.5vw);
    font-weight: 300;
}
#header .card button{
    margin-top: 2em;
    padding: .5em 5.5em;
    border: none;
    border: 1px solid var(--text-color);
    background: rgba(0,0,0,0);
    color: var(--text-color);
    border-radius: var(--border-radius-small);
    transition: 150ms ease;
    cursor: pointer;
}
#header .card button:hover{
    background: var(--text-color);
    color: var(--dark-text-color);
}
#header .card button *{
    margin: .25em 0;
}
#header .card button h2{
    font-size: 1.5em;
}
#header .card button p{
    font-size: 1em;
    margin-bottom: .5em;
}
#join{
    display: flex;
    flex-direction: column;
    gap: 1em;
    text-align: center;
    padding: 1em 2em;
}
#gallery{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100vw;
    height: auto;
}
#gallery .scroll-parent{
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: var(--gallery-height);
    overflow: hidden;
}
#gallery .scroll-element{
    display: flex;
    height: 100%;
    width: max-content;
    animation: gallery-scroll var(--gallery-scroll-time) linear infinite;
}
#gallery .img-wrapper{
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 100%;
}
#gallery .img-wrapper img{
    margin: 0 1em;
    height: var(--gallery-height);
    object-fit: cover;
    border-radius: var(--border-radius-big);
}
@keyframes gallery-scroll{
    to{ transform: translateX(-100%); }
}
#campaign{
    display: flex;
    flex-direction: column;
}
#campaign .wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
    padding: .5em 2em;
}
#campaign .wrapper p{
    width: 60%;
    font-size: larger;
}
#campaign .wrapper iframe{
    width: 30%;
    aspect-ratio: 16/9;
}
#links{
    display: flex;
    flex-direction: column;
    padding-left: 2%;
    padding-right: 2%;
}
#links .cards{
    display: flex;
    justify-content: center;
    flex-direction: row;
}
#links .card{
    display: flex;
    align-items: center;
    height: auto;
    flex-direction: column;
    padding: 2em 1em;
    margin: 2em 1em;
    border: 1px solid var(--hover-color);
    border-radius: var(--border-radius-medium);
    width: calc(100%/3);
}
#links .card > *{
    margin: .5em 0;
}
#links .card-img{
    width: 100px;
    height: 100px;
    object-fit: cover;
}
#links .card .required-check{
    display: flex;
    justify-content: center;
}
#links .card .required-check p{
    margin-left: .5em;
    font-weight: 600;
}
#credits{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
}
#credits .wrapper{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 2em 0;
}
#credits .wrapper .person{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(calc(200px + 2em), 80%);
    text-align: center;
    color: var(--text-color);
}
#credits .wrapper .person *{
    margin: .75em 0;
}
#credits .wrapper .person img{
    width: 200px;
    border-radius: 50%;
}
@media screen and (max-width: 1300px){
    :root{
        --gallery-height: 200px;
    }
    #header{
        margin-top: calc(40px + 2em);
        background-position: 100% 100%;
    }
    #header .icons{
        position: relative;
        flex-direction: row;
        margin-left: 0;
    }
    #header .icons .icon{
        margin: 25px 35px;
    }
    #credits .wrapper{
        flex-direction: column;
    }
    #gallery .img-wrapper img{
        border-radius: var(--border-radius-small);
    }
    #campaign .wrapper p{
        font-size: large;
    }
    #campaign .wrapper iframe{
        width: 100%;
    }
}
@media screen and (max-width: 1750px) and (min-width: 1300px){
    #campaign .wrapper iframe{
        width: 50%;
    }
}
@media screen and (max-width: 1750px){
    #campaign .wrapper{
        flex-direction: column;
    }
    #campaign .wrapper p{
        width: 90%;
    }
    #links .cards{
        flex-direction: column;
    }
    #links .card{
        align-self: center;
        width: min(700px, 90%);
    }
    #links .card p{
        text-align: center;
    }
}