@import url("https://use.typekit.net/qmi8eck.css");

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(65, 64, 64);
    font-family: museo-sans, sans-serif;
}

.allWrapper {
    position: relative;
    top: 0px;
    left: 0px;
    height: calc(100vh + 200px);
    height: 100vh;
    background: #000;
    overflow-x: hidden;
    perspective: 100px;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    z-index: -1;
}

.sun {
    position: absolute;
    margin: auto;
    top: 10%;
    left: 10%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 234, .8);
    opacity: 0.9;
    box-shadow: 0px 0px 40px 15px white;
    transform: translateZ(-95px) scale(1.95);
    animation:
        solopgang 3s ease-in-out forwards;
}

@keyframes solopgang {
    from {
        left: 90%;
        top: 50%;
        opacity: 0;
    }

    to {
        left: 10%;
        opacity: .8;
        top: 10%;
    }
}

#test {
    position: fixed;
    top: 0px;
    left: 0px;
    color: red;
    /* transform: translateZ(-99px) scale(1.99); */
    z-index: 10000;
}

.sun .ray_box {
    position: absolute;
    margin: auto;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70px;
    -webkit-animation: ray_anim 120s linear infinite;
    animation: ray_anim 120s linear infinite;
    z-index: 101;
}

.sun .ray {
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
    margin-left: 10px;
    border-radius: 80% 80% 0 0;
    position: absolute;
    opacity: 0.2;
}

.sun .ray1 {
    height: 170px;
    width: 30px;
    -webkit-transform: rotate(180deg);
    transform: rotate(190deg);
    top: -5px;
    left: 20px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray2 {
    height: 100px;
    width: 8px;
    -webkit-transform: rotate(220deg);
    transform: rotate(220deg);
    top: -20px;
    left: 65px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray3 {
    height: 170px;
    width: 50px;
    -webkit-transform: rotate(250deg);
    transform: rotate(250deg);
    top: 36px;
    left: 10px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray4 {
    height: 120px;
    width: 14px;
    -webkit-transform: rotate(305deg);
    transform: rotate(305deg);
    top: 30px;
    left: 10px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray5 {
    height: 140px;
    width: 30px;
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
    top: 60px;
    left: 20px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray6 {
    height: 90px;
    width: 50px;
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    top: 60px;
    left: -20px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray7 {
    height: 180px;
    width: 10px;
    -webkit-transform: rotate(70deg);
    transform: rotate(70deg);
    left: -50px;
    top: 60px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray8 {
    height: 120px;
    width: 30px;
    -webkit-transform: rotate(100deg);
    transform: rotate(100deg);
    left: -40px;
    top: 30px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray9 {
    height: 80px;
    width: 10px;
    -webkit-transform: rotate(120deg);
    transform: rotate(120deg);
    top: -65px;
    left: -60px;
    left: -90px;
    height: 100vh;
    transform-origin: top;
}

.sun .ray10 {
    height: 190px;
    height: 100vh;
    width: 23px;
    -webkit-transform: rotate(160deg);
    transform: rotate(160deg);
    transform-origin: top;
    top: -185px;
    top: 0px;
}
 
@keyframes ray_anim {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.shortcut {
    position: absolute;
    top: 0px;
    color: aquamarine;
    z-index: 200;
    width: 100%;
}


.headLines {
    color: black;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.1);
}

.floatMenu,
.menuItem {
    font-stretch: ultra-expanded;
    margin: 0 1em;
    padding: 1em;
    cursor: pointer;
    font-style: italic;
    font-size: Clamp(16px, 1.5vw, 50px);
    background-position: left 2em;
    background-position: left 2lh;
    color: rgba(255, 255, 255, .7);
}

.floatMenu:hover,
.menuItem:hover {
    color: white;
}

.link {
    text-decoration: none;
    color: inherit;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1));
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: left 1.1em;
    background-position: left 1lh;
    padding-block: .24em;
    transition: background-size 500ms;
    animation: link 1s linear;
}

.link:hover,
.link:focus {
    background-size: 100% 3px;
}

@keyframes link {
    50% {
        background-size: 100% 3px;
    }
}

.back1 {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateZ(-100px) scale(2);
}

.back1a {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateZ(-80px) scale(1.8);
}

.back2 {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateZ(-50px) scale(1.5);
}

.back3 {
    position: absolute;
    top: 0px;
    transform: translateZ(-10px) scale(1.1);
}

.back1,
.back1a,
.back2,
.back3 {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#title {
    font-size: 11vw;
    width: 100%;
    white-space: nowrap;
    color: transparent;
    background-image: url("../../public/img/IMG_7945web2.jpg");
    background-image: linear-gradient(90deg, rgba(0, 157, 255, 0.2), rgba(0, 157, 255, 1));
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    z-index: -1;
    text-align: center;
    transform: translateZ(-55px) scale(1.55) translateY(-40%);
}

.back1 {
    filter: hue-rotate(150deg) saturate(10%);
    animation: hue 3s forwards;
}

@keyframes hue {
    to {
        filter: hue-rotate(0) saturate(100%);
    }
}

.title,
.back1a,
.back2,
.back3 {
    filter: brightness(10%);
    animation: brightness 3s forwards;
}

@keyframes brightness {
    50% {
        filter: brightness(10%);
    }

    100% {
        filter: brightness(100%);
    }
}

.mainWrapper {
    position: relative;
    margin-top: 0rem;
    height: fit-content;
    z-index: 1;
    background-color: #111;
}

section {
    font-size: 2rem;
    /* padding: 0rem 1rem; */
    background-color: #111;
}

.mainWrapper section>.headLines {
    display: flex;
    opacity: 1;
    width: 100%;
}

/* .mainWrapper::before {
    content: "";
    position: absolute;
    top:0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-image: url("../img/snowflake2.png");
    background-color: palevioletred;
} */

.mainWrapper section:nth-child(1) {
    background-color: var(--primary-color);
}

.mainWrapper section:nth-child(2){
    /* https: //jsfiddle.net/spacebeers/s8uLG/3/ */
    /* margin-bottom: -2000px;
    padding-bottom: 2000px; */
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 2em;
    padding-bottom: 2em;
    /* height: 100% ; */
}

/* .scroll-reveal {
    height: 100%;
} */

.scroll-reveal span {
    color: hsla(0, 0%, 100%, 0.2);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
    background-clip: text;
    background-size: 0% 100%;
    background-repeat: no-repeat;
    font-weight: 100;
    animation: scroll-reveal linear forwards;
    animation-timeline: view();
}

.scroll-reveal h1 span {
    animation-range-start: cover 20vh;
    animation-range-end: cover 30vh;
}

.scroll-reveal p span {
    animation-range-start: cover 30vh;
    animation-range-end: cover 50vh;
}

.scroll-reveal p span .link {
     font-weight: 300;
}

@keyframes scroll-reveal {
    to {
        background-size: 100% 100%;
    }
}


@media screen and(max-width:320px) {
    .back3 {
        position: absolute;
        top: 0px;
        left: 50%;
        z-index: 103;
    }

    .mainWrapper {
        margin-top: 1rem;
        padding: .5em;
        /* background-color: #000; */
        position: relative;
    }
}