@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Voltaire&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900');

:root{
    --back: #111;
    --back2: #123;
    --copy: #aaa;
    --copy2: #999;
    --highlight: #ce4;
}
select, ::picker(select){
    appearance: base-select;
}

body{
    background: var(--back);
    color: var(--copy);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "League Spartan", Futura, Jost, Lexend, sans-serif;
}

header{
    background: var(--back);
    background: linear-gradient(90deg, #333, #222);
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 24px;
    color: var(--copy);
}
#headerMiddle{
    flex: 1;
}

#topNav{
    padding: 8px;
    font-size: 1.2rem;
    border-radius: 8px;
    background: var(--back);
    color: var(--copy);
    width: 150px;
    align-items: center;
}
#topNav>option{
    background: var(--back);
    color: var(--copy);
}
#topNav>option:hover{
    /* background: linear-gradient( 90deg,
        hsl(100, 80%, 50%),
        hsl(30, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(100, 80%, 50%)
    );
    background-size: 200%;
    animation: animateLogo 8s linear infinite; */
    color: black;
    background: var(--highlight);
}
#logo{
    font-size: 2.6rem;
    font-weight: 600;
    color: transparent;
    background: linear-gradient( 90deg,
        hsl(100, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(50, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(150, 80%, 50%),
        hsl(30, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(100, 80%, 50%)
    );
    background-clip: text;
    background-size: 200%;
    animation: animateLogo 3s steps(6) infinite;
    /* animation: animateLogo 6s linear infinite; */
}
@keyframes animateLogo{
    from{
        background-position: 0;
    }
    to{
        background-position: 200%;
    }
}

nav{
    grid-column: 3/4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 1.1rem;
    text-align: center;
    transition: height .5s, padding .5s;
    padding: 0px;
    color: rgb(199, 137, 199);
    width: 200px;
}
.nav-link{
    grid-row: 1/2;
    position: relative;
    cursor: pointer;
    width: 100%;
}
nav a{
    /* color: rgb(199, 137, 199); */
    color: var(--highlight);
    text-decoration: none;
    font-weight: 300;
}
.nav-link .microix{
    opacity: 1;
    position: absolute;
    left:0;
    top: 0;
    width: 100%;
}
.nav-link:hover .microix{
    animation-name: pop;
    animation-duration: .6s;
    animation-iteration-count: 1;
}

@keyframes pop{
    from{
        top: 0;
        opacity: 1;
        scale: 1;
    }
    to{
        top: -1px;
        scale: 4;
        opacity: 0;
    }
}



main{
    flex: 1;
    background: var(--back2);
    background: linear-gradient(135deg, #345, var(--back2));
    color: var(--copy2);
    line-height: 2rem;
    font-size: 1.2rem;
}
#heroContainer{
    max-height: 50vw;
    overflow: hidden;
    position: relative;
}
#heroContainer>img{
    width: 100vw;
    margin-top: -8%;
    filter: grayscale(.75);
}
#heroOverlay{
    position: absolute;
    left: 55%;
    bottom: 10%;
    font-size: 5vw;
    color: #ddd;
    text-shadow: 0 0 10px black;
    word-wrap: balance;
    font-weight: 800;
    line-height: normal;
}




.cards{
    /* display: flex;
    justify-content: space-around; */
    padding: 40px 0;
    width: clamp(300px, 90vw, 1200px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;

}
.card{
    margin: 0 auto;
    border-radius: 8px;
    height: 240px;
    width: 300px;
    overflow: hidden;
    background: var(--back);
    box-shadow: 0 0 16px #468;
    /* animation: cardAnimate 4s linear infinite; */
    line-height: 1.4rem;
}
.card>.titleBar{
    background: var(--back);
    color: black;
    text-align: center;
    padding: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient( 90deg,
        hsl(100, 80%, 50%),
        hsl(30, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(100, 80%, 50%)
    );
    background-size: 200%;
    animation: animateLogo 8s linear infinite;
    /* animation: animateLogo 2s steps(3) infinite; */
}
.card:nth-of-type(2)>.titleBar{
    background: linear-gradient( 90deg,
        hsl(50, 80%, 50%),
        hsl(200, 80%, 50%),
        hsl(100, 80%, 50%),
        hsl(50, 80%, 50%)
    );
    background-size: 200%;
}
.card:nth-of-type(3)>.titleBar{
    background: linear-gradient( 90deg,
        hsl(30, 80%, 50%),
        hsl(100, 80%, 50%),
        hsl(50, 80%, 50%),
        hsl(30, 80%, 50%)
    );
    background-size: 200%;
}
.card>.textBox{
    color: var(--copy);
    padding: 16px;
}

/* 
@keyframes cardAnimate{
    0%{
        box-shadow: 0 8px 16px #357, 0 -8px 16px #753;
    }
    13%{
        box-shadow: 5px 5px 16px #357, -5px -5px 16px #753;
    }
    25%{
        box-shadow: 8px 0 16px #357, -8px 0 16px #753;
    }
    37%{
        box-shadow: 5px -5px 16px #357, -5px 5px 16px #753;
    }
    50%{
        box-shadow: 0 -8px 16px #357, 0 8px 16px #753;
    }
    43%{
        box-shadow: -5px -5px 16px #357, 65x 5px 16px #753;
    }
    75%{
        box-shadow: -8px 0px 16px #357, 8px 0 16px #753;
    }
    87%{
        box-shadow: -5px 5px 16px #357, 5px -5px 16px #753;
    }
    100%{
        box-shadow: 0 8px 16px #357, 0 -8px 16px #753;
    }
} */



.part{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #222;
}
.part>h1{
    margin: 0;
    font-size: 10vw;
    position: absolute;
    top: 4vw;
    right: 10vw;
    z-index: 0;
    opacity: 25%;
    font-style: italic;
}
.partWrapper{
    width: clamp(300px, 80vw, 1000px);
    z-index: 2;
}


section.part:nth-of-type(3){
    padding: 4vw 0;
}
section.part:nth-of-type(4){
    /* font-family: "League Spartan", Futura, Jost, Lexend, sans-serif; */
    background: #444;
    padding: 11vw 0 10vw 0;
}

.highlights{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.infoBox{
    box-shadow: 0 4px 8px #111;
    border-radius: 6px;
    overflow: hidden;
}
.infoBar{
    display: flex;
    padding: 8px;
    background: #333;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    color: #888;
}
.infoBar>h2{
    flex: 1;
    font-size: 1.8rem;
    margin: 0;
}
.infoBar-button{
    width: 28px;
    height: 28px;
    background: #222;
    border-radius: 6px;
}
.infoBar-button>div>svg{
    width: 28px;
    height: 28px;
}
.infoText{
    color: var(--copy);
    overflow: hidden;
    /* height: fit-content; */
    background: #222;
    padding: 12px 12px;
    border-radius: 0 0 6px 6px;
    line-height: 22px;
}
.infoBox>.infoText{
    /* height: fit-content; */
    padding: 12px 12px;
    transition: .3s;
}
.infoBox.collapse>.infoText{
    height: 0;
    padding: 0px 12px;
}
.infoBox>.infoBar>.infoBar-button>div:first-of-type{
    display: none;
}
.infoBox>.infoBar>.infoBar-button>div:nth-of-type(2){
    display: block;
}
.infoBox.collapse>.infoBar>.infoBar-button>div:first-of-type{
    display: block;
}
.infoBox.collapse>.infoBar>.infoBar-button>div:nth-of-type(2){
    display: none;
}
.infoTextContainer>h4{
    font-size: 1.3rem;
    margin: 8px 0;
}
.infoTextContainer>p{
    padding-left: 24px;
}
.infoTextContainer>p.lastInfoParagraph{
    padding-left: 24px;
    margin-bottom: 16px;
}
.infoTextContainer>ul{
    padding-left: 36px;
    padding-bottom: 8px;
}
.infoTextContainer>ul>li{
    margin: 4px 0;
}
.infoTextContainer>.textBlock{
    margin: 16px 0;
}



.part:nth-of-type(5){
    background: #222;
    padding: 10vw 0;
}
.part:nth-of-type(5)>.partWrapper{
    text-align: center;
}
.part:nth-of-type(5)>.partWrapper>img{
    width: 80%;
    
}


.visualizationExamples{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.vex{
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 70%;
}
.vex>img{
    max-width: 100%;
    max-height: 100%;
}


.part.contactPart{
    background: var(--back2);
    padding: 10vw 0;
    /* display: none; */
}
#contactForm{
    width: clamp(300px, 60vw, 800px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #0001;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 0 10px black;
    box-shadow: 0 0 16px #468;
}
#contactForm>input,textarea{
    font-size: 1.4rem;
    padding: 10pt;
    border-radius: 6px;
    background: #234;
    color: #ccc;
    border: none;
    font-family: "League Spartan", Futura, Jost, Lexend, sans-serif;
}
#contactForm>textarea{
    field-sizing: content;
    flex: 1;
    min-height: 5rem;
}
#contactForm>#sendButton{
    background: var(--highlight);
    background: var(--copy2);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    align-self: end;
    border-radius: 6px;
    color: var(--back);
}




footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(0deg, #aaa, #bac);
    background: var(--back);
    text-align: center;
    color: var(--copy);
}
#linkContainer{
    /* width: clamp(300px, 80%, 800px); */
    width: 100%;
    width: clamp(300px, 80vw, 1000px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    /* justify-content: space-around; */
}
.linkCollection{
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    flex: 1;
}
.linkCollection>.title{
    font-weight: bold;
}
.linkCollection>div>a{
    text-decoration: none;
    color: var(--copy);
}
.linkCollection>div>a:hover{
    color: var(--highlight);
}
#copyright{
    padding: 64px 100px;
}


@media only screen and (max-width: 1000px) {
    .cards{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .card{
        margin: 0 auto;
    }
    #linkContainer{
        display: flex;
        flex-direction: column;
        /* grid-template-columns: repeat(1, 1fr); */
        gap: 60px;
        align-items: center;
    }
    .linkCollection{
        text-align: center;
    }

    section.part:nth-of-type(4){
        padding: 15vw 0 10vw 0;
    }
    .part.contactPart{
        padding: 15vw 0;
    }
}
