/*
Main page stylesheet v2
It's like the last one, but worse somehow.
*/

:root{
    --bg: #eceef3;
    --darkText: #212121;
    --lighterText: #7a7a7a;
    --lightestText: #cdcdcd;
    --gradientAccent: linear-gradient(90deg, rgba(97,73,194,1) 0%, rgb(225, 0, 255) 100%);
    --gradientAccentMidway: linear-gradient(90deg, rgba(97,73,194,1) 0%, rgb(225, 0, 255) 50%, var(--darkText) 50%);
    --bgGradient: radial-gradient(circle at top right, #caffee, #cad7ff, #f5caff, #ffcaca);
    --bgGradientText: radial-gradient(circle at top right, #2c5f4f, #303c64, #5d3264, #663434);
    --bgGradientDarker: radial-gradient(circle at top right, #a38fd4, #b283d0, #db88de, #e798a9);

    --fontsize-xsm: 0.64rem;
    --fontsize-sml: 0.8rem;
    --fontsize-reg: 1rem;
    --fontsize-lrg: 1.25rem;
    --fontsize-xlg: 1.56rem;
    --fontsize-2xl: 1.95rem;
    --fontsize-3xl: 2.44rem;
    --fontsize-4xl: 3.05rem;

    --gradientTime: 20s;
    --gradientTimeAccents: 8s;

    font-size: 18px;
}

@media(orientation: portrait){
    :root{
        font-size: 16px;
    }
}

@keyframes rainbowText{
    0% {color: #ee6565
    }
    25% {color: #f3bb5b
    }
    50% {color: #7997f1
    }
    75% {color: #eb55f6
    }
    100% {color: #f15757
    }
}

@keyframes textTransition{
    0% {top:20px; opacity: 0;}
    100% {top:0; opacity: 1;}
}

@-webkit-keyframes bgAnimation {
    0%{background-position:0% 77%}
    50%{background-position:100% 24%}
    100%{background-position:0% 77%}
}
@-moz-keyframes bgAnimation {
    0%{background-position:0% 77%}
    50%{background-position:100% 24%}
    100%{background-position:0% 77%}
}
@keyframes bgAnimation {
    0%{background-position:0% 77%}
    50%{background-position:100% 24%}
    100%{background-position:0% 77%}
}


body {
    position:relative;

    margin: 0 auto;

    background-color: var(--bg);

    font-family: 'Poppins','Montserrat', 'Trebuchet MS', sans-serif;
    font-size:var(--fontsize-reg);
    color: var(--darkText);

    opacity:1;
    animation-name: textTransition;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

h1{
    font-weight: 700;
    font-size: var(--fontsize-3xl);

    line-height: 3.6rem;
}

h2{
    font-size: var(--fontsize-2xl);
    margin: 1.5rem 0 0.5rem 0;

    line-height: 2.4rem;
}

h3{
    font-size: var(--fontsize-xlg);
    margin: 1.5rem 0 0.5rem 0;
}

h4{
    font-size: var(--fontsize-lrg);
    margin: 1.5rem 0 0.5rem 0;
}

h5{
    font-size: var(--fontsize-reg);
    margin: 1.5rem 0 0.5rem 0;
}

ul{
    color: var(--darkText);
}

li{
    padding: 10px 0 10px 0;
}

strong{
    font-weight: 700;
}

#topBigSection{
    position: relative;
    height: 80vh;
    width: 100%;

    background: var(--bgGradient);
    background-size: 300% 300%;

    -webkit-animation: bgAnimation var(--gradientTime) ease infinite;
    -moz-animation: bgAnimation var(--gradientTime) ease infinite;
    animation: bgAnimation var(--gradientTime) ease infinite;
}

#topSmallSection{
    position:fixed;
    height: auto;
    width: 100%;

    padding: 2%;

    margin-bottom: 3vh;

    background-color: var(--bg);
    z-index: 999;
}

#topSmallSectionShort{
    position:fixed;
    height: auto;
    width: 100%;

    padding: 2%;

    margin-bottom: 3vh;

    z-index: 999;
}

#midSection{
    position: relative;
    height: auto;
    min-height: 50vw;
    width: 100%;

    padding-top: 5vh;

    animation-name: textTransition;
    animation-duration: 1000ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media(orientation: portrait){
    #topSmallSection{
        display: none;

        margin: 0 auto;
        width: clamp(300px, 80%, 1500px);

        padding-top: 10%;
    }

}

#introText{
    height: auto;
    width: 75%;

    color: var(--lighterText);
}

#footer{
    margin:0 auto;
    padding-bottom: 10px;

    text-align: center;
    font-family: inherit;
    font-size: 10pt;
    font-weight: bold;
    color: var(--lighterText);
}

.slimWrapper{
    height: auto;
    width: clamp(200px, 82%, 2000px);

    margin: 0 auto;
}

.textWrapper{
    height: auto;
    width: clamp(300px, 70%, 1500px);

    margin: 0 auto;
}

.textWrapperTight{
    height: auto;
    width: clamp(300px, 50%, 1500px);

    margin: 0 auto;

    padding-top: 5vh;
}

@media(orientation: portrait) {
    .textWrapperTight{
        width: clamp(300px, 80%, 1500px);
    }
}

.verticalCenter{
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.rightAlign{
    text-align: right;
}

.fancyBoldGradientText{
    font-weight: 700;
    opacity: 1;

    background:  var(--bgGradientText);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-animation: bgAnimation var(--gradientTime) ease infinite;
    -moz-animation: bgAnimation var(--gradientTime) ease infinite;
    animation: bgAnimation var(--gradientTime) ease infinite;
}

.lighterText{
    color: var(--lighterText);
}




