/* ----------------------------------
----------Landingsgedeelte-----------
------------------------------------- */


body {
    min-height: 100vh;
    overflow: scroll;
    overflow-x: hidden;
    cursor: none;
}

main {
    overflow: scroll;
    overflow-x: hidden;
    height: 100vh;
    scroll-snap-points-y: repeat(100vh);
    scroll-snap-type: y mandatory;
}

main section{
    height: 100vh;
    scroll-snap-align: start;
}

main section:first-of-type {
    /* height: calc(100vh - 2rem); */
    width: 100vw;
    position: relative;
}

header>a {
    opacity: 0;
}

#scene {
    height: 87vh;
    /* width: 100vw; */


    display: flex;
    margin: 2rem 0 0 0;

    transition: all 1s ease-out;
}

#scene>div:first-of-type {
    margin: auto 4rem;
    padding: 1rem;
}

#scene>div:nth-of-type(2) {
    width: 100vw;
    bottom: 0;
    position: relative;
}

#scene h1 {
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 80%;
}

#scene h1 span {
    display: block;
    font-size: 5.3rem;
}

#scene>div p {
    font-size: 1.5rem;
}

#scene img {
    width: 40rem;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* ----------------------------------
----------Scrolling tekst------------
------------------------------------- */

#scene .TextLoop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -10;

    min-width: 100vw;

    font-size: 7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--FontScrollText);
    white-space: nowrap;
}

#scene .TextLoop div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

#scene .TextLoop div p {
    display: flex;
    /* gap: 2rem; */
    min-width: 100vw;
    width: max-content;
    animation-name: RightToLeft;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

#scene .TextLoop div p span {
    margin-right: 2rem;
}

#scene .TextLoop div p:nth-of-type(1) {
    animation-duration: 26s;
}

#scene .TextLoop div p:nth-of-type(2) {
    animation-duration: 29s;
}

#scene .TextLoop div p:nth-of-type(3) {
    animation-duration: 24s;
    font-size: 5rem;
}

#scene .TextLoop div p:nth-of-type(4) {
    animation-duration: 40s;
}

#scene .TextLoop div p:nth-of-type(5) {
    animation-duration: 36s;
}

#scene .TextLoop div :nth-of-type(6) {
    animation-duration: 33s;
}

@keyframes RightToLeft {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

/* #ColorfullBalls{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -5;
}
#ColorfullBalls div{
    height: auto;
    aspect-ratio: 1 / 1;
}

#ColorfullBalls div:nth-of-type(1){
    background: radial-gradient(circle, rgba(255,200,200,0.75) 0%, rgba(228,228,228,0) 75%);
    width: 25em;
    margin-left: 15vw;
    margin-top: 15vh;
}

#ColorfullBalls div:nth-of-type(2){
    background: radial-gradient(circle, rgb(246, 166, 166,0.75) 0%, rgba(228,228,228,0) 50%);
    width: 40em;
    margin-left: 20vw;
    margin-top: 20vh;
} */

.ScrollForMore {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 2rem;
    z-index: -1;
    opacity: 0;
    animation: 10s ease-in-out 1s 1 forwards Tooltip;
    /* margin-bottom: 2rem; */
}

.ScrollForMore p {
    text-align: center;
    color: var(--TipColor);
}

.ScrollForMore::after {
    content: "";
    width: 2px;
    height: 1.5rem;
    position: absolute;
    bottom: 0;
    right: calc(50% - 1px);
    background-color: var(--TipColor);
}

.ScrollForMore svg {
    fill: var(--TipColor);
    width: 2.5rem;
    height: auto;
    margin: auto;
}

@keyframes Tooltip {

    0%,
    25% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.SocialsTopOfPage {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    width: 95%;
    max-width: var(--MaxWidth);
    /* position: absolute;
    bottom: 0;
    left: 0; */
    margin: 1rem auto;
    z-index: 10;
}

.SocialsTopOfPage svg {
    width: 3rem;
    height: auto;
    fill: var(--FontSubColor);
    transition: all 0.5s ease-out;
    transform-origin: center;
}

.SocialsTopOfPage svg:hover {
    transform: scale(1.2);
    fill: var(--FontSubColorHover);
}

/* ----------------------------------
---------Geselecteerd werk-----------
------------------------------------- */

.SelectedWorkWrapper {
    max-width: var(--MaxWidth);
    width: 95%;
    height: 100vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.SelectedWorkWrapper ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.SelectedWorkWrapper ul li a {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    background-color: #2B2B2B;
    border-radius: 5px;
    transition: all 0.5s ease-out;
    transform-origin: center;
}

.SelectedWorkWrapper ul li a:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 10;
}

.SelectedWorkWrapper .LinkWithArrow {
    margin-left: auto;
}

.SelectedWorkWrapper .Project {
    position: relative;
}

.Project img {
    transition: all 0.5s ease-out;
}


.SelectedWorkWrapper .ProjectSleepPantzz {
    background-color: #191A23;
}

.SelectedWorkWrapper .ProjectSleepPantzz>img:nth-of-type(1),
.ProjectPoggenMDK>img:nth-of-type(1),
.ProjectEeveelutions>img:nth-of-type(1),
.ProjectWeEat>img:nth-of-type(1) {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 2;
}

.SelectedWorkWrapper .ProjectSleepPantzz>img:nth-of-type(2),
.SelectedWorkWrapper .ProjectSleepPantzz>img:nth-of-type(3),
.SelectedWorkWrapper .ProjectSleepPantzz>img:nth-of-type(4),
.ProjectPoggenMDK>img:nth-of-type(2),
.ProjectPoggenMDK>img:nth-of-type(3) {
    position: absolute;
    width: 20%;
    bottom: 10%;
    right: 1rem;
    transform: translate(0%, 0%) rotate(15deg) scale(1);
    transform-origin: bottom right;
}

.SelectedWorkWrapper .ProjectSleepPantzz>img:nth-of-type(5),
.ProjectPoggenMDK>img:nth-of-type(4) {
    position: absolute;
    width: 20%;
    bottom: 10%;
    right: 1rem;
}

.ProjectSleepPantzz:hover>img:nth-of-type(1),
.ProjectPoggenMDK:hover>img:nth-of-type(1),
.ProjectEeveelutions:hover>img:nth-of-type(1) {
    transform: translate(-70%, 60%) scale(0.75);
}

.ProjectWeEat:hover>img:nth-of-type(1) {
    transform: translate(-70%, 10%) scale(0.75);
}

.ProjectSleepPantzz:hover>img:nth-of-type(2),
.ProjectPoggenMDK:hover>img:nth-of-type(2) {
    transform: translate(-0%, 12%) rotate(0deg) scale(1.25);
}

.ProjectSleepPantzz:hover>img:nth-of-type(3),
.ProjectPoggenMDK:hover>img:nth-of-type(3) {
    transform: translate(-110%, 12%) rotate(0deg) scale(1.25);
}

.ProjectSleepPantzz:hover>img:nth-of-type(4) {
    transform: translate(-220%, 12%) rotate(0deg) scale(1.25);
}


.ProjectSleepPantzz:hover>img:nth-of-type(5) {
    transform: translate(-343%, 0%) scale(1.25);
}

/* --------------------------------------------------------------- */

.SelectedWorkWrapper .ProjectPoggenMDK {
    background-color: #181819;
}

.SelectedWorkWrapper .ProjectPoggenMDK::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    border-radius: 5px;
    background-image: url(../projecten/PoggenMetDesigner/Background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120%;
}

.ProjectPoggenMDK:hover>img:nth-of-type(4) {
    transform: translate(-233%, 0%) scale(1.25);
}

.ProjectEeveelutions {
    background-image: url(../projecten/Eeveelutions/Background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ProjectEeveelutions>img:nth-of-type(2),
.ProjectWeEat>img:nth-of-type(2) {
    position: absolute;
    width: 60%;
    bottom: 15%;
    right: 1rem;
}

.ProjectEeveelutions:hover>img:nth-of-type(2) {
    transform: translate(-30%, 0%) scale(1.25);
}

.ProjectWeEat:hover>img:nth-of-type(2) {
    transform: translate(-20%, 0%) scale(1.25);
}

.SelectedWorkWrapper .ProjectWeEat>img:nth-of-type(1) {
    width: 40%;
    left: 30%;
}

.SelectedWorkWrapper .ProjectWeEat {
    background-color: #be9e7b;
}

.SelectedWorkWrapper .ProjectWeEat::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.8;
    border-radius: 5px;
    background-image: url(../projecten/WeEat/Achtergrond.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 120%;
}

/* ----------------------------------
--------------Over mij---------------
------------------------------------- */

.AboutMeWrapper {
    max-width: var(--MaxWidth);
    width: 95%;
    height: 70vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    scroll-padding-bottom: 30vh;
}

.AboutMeWrapper h2 {
    padding: 5rem 0 2rem 0;
}

.AboutMeWrapper>div:first-of-type {
    max-width: 35rem;
}

.AboutMeWrapper ul {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.AboutMeWrapper ul li img {
    height: 2.5rem;
}

.AboutMeWrapper>div>a>img {
    width: 1rem;
}

.AboutMeParallax {
    width: 90%;
    place-self: end;
    position: relative;
}

.AboutMeParallax img {
    width: 100%;
}

.AboutMeParallax>div>div {
    width: 100%;
    height: 100%;
    position: relative;
}

.AboutMeParallax p {
    padding: 1rem;
    background: linear-gradient(45deg, rgba(255, 200, 200, 1) 0%, rgba(228, 228, 228, 1) 75%);
    opacity: 0.75;
    border-radius: 20px;
    position: absolute;
    color: var(--AboutMeFigureText);
}

.AboutMeParallax div div:nth-of-type(1) p {
    left: 0;
    bottom: 40%;
}

.AboutMeParallax div div:nth-of-type(2) p {
    left: 0;
    bottom: 65%;
}

.AboutMeParallax div div:nth-of-type(3) p {
    left: 10%;
    bottom: 85%;
}

.AboutMeParallax div div:nth-of-type(4) p {
    right: 40%;
    bottom: 105%;
}

.AboutMeParallax div div:nth-of-type(5) p {
    right: 10%;
    bottom: 85%;
}

.AboutMeParallax div div:nth-of-type(6) p {
    right: 0%;
    bottom: 65%;
}

.AboutMeParallax div div:nth-of-type(7) p {
    right: 10%;
    bottom: 40%;
}

/* ----------------------------------
------------Media Queries------------
------------------------------------- */

@media (max-width: 1115px) {
    #scene>div:first-of-type {
        margin: 15% 4rem;
    }

    #scene>div:nth-of-type(2) img {
        width: 35rem;
    }
}

@media (max-width: 1024px) {
    .AboutMeParallax p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    #scene>div:first-of-type {
        margin: 15% auto;
    }

    .AboutMeWrapper {
        grid-template-columns: 1fr;
        height: 100vh;
    }
    footer{
        height: 100vh;
        scroll-snap-align: start;
    }
    footer > div{
        height: 100%;
        align-content: center
    }
}

@media (max-width: 640px) {
    #scene>div:first-of-type h1 {
        font-size: 20vw
    }

    #scene>div:first-of-type h1 span {
        font-size: 13vw
    }

}

@media (max-width: 465px) {
    #scene>div:nth-of-type(2) img {
        left: -6rem;
    }

    .SelectedWorkWrapper {
        gap: 1rem;
    }

    .SelectedWorkWrapper h2 {
        text-align: center;
    }

    .SelectedWorkWrapper ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .SelectedWorkWrapper ul li a {
        max-height: 20vh;
        max-width: 350px;
        margin: auto;
    }

    .SelectedWorkWrapper ul li:last-of-type a {
        display: none;
    }
}