@font-face {
    font-family: "Comic Sans MS";
    src: url("/assets/comic.ttf"), url("/assets/comicbd.ttf"), url("/assets/comici.ttf"), url("/assets/comicz.ttf");
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet, red);
    background-size: 1400% 1400%;
    animation: rainbowBackground 120s linear infinite;
    font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
    font-weight: 700;
    transition: cursor 0s;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 16px;
}

body::-webkit-scrollbar-track {
    background-color: rgb(217, 217, 217);
}

body::-webkit-scrollbar-thumb {
    background-color: gray;
}


@keyframes rainbowBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

a {
    outline: none;
    text-decoration: none;
}

section {
    padding: 8vh 8vw;
}

img{
    image-rendering: pixelated;
}

h1 span {
    font-size: .8em;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px cyan;
    animation: wave 1.5s infinite ease-in-out;
}

#wavy-text span {
    display: inline-block;
    animation: wave 1.5s infinite ease-in-out;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.body__background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -100;
}

h2 {
    font-size: 2em;
    text-transform: uppercase;
}

h3 {
    color: greenyellow;
    text-shadow: 2px 2px purple;
}

nav {
    width: 96vw;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px;
    z-index: 500;
}

.body__background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -100;
}

.nav__logo {
    width: 2em;
}

.nav__2025 {
    outline: none;
    border: 0px;
    font-size: .8em;
    padding: 8px 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, #37E7FF 0%, #0047FF 50%, #46DEFF 100%);
    color: #fff;
    position: relative;
    text-shadow: 0px -.5px 0px rgba(0, 0, 0, .8), 0px .5px 0px rgba(255, 255, 255, .4);
}

.section__hero {
    height: 60vh;
    padding: 0;
}

.section-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40vh;
    vertical-align: middle;
}

.section--hero__gif-bienvenue {
    width: 60vw;
}

.section--hero__p {
    color: white;
    font-style: italic;
    font-size: 1em;
    text-align: center;
}

#hero__gif-cow {
    position: absolute;
    top: 20vh;
    left: 10vw;
    width: 40vw;
    rotate: -20deg;
}

#hero__gif-burger {
    position: absolute;
    top: 25vh;
    right: 10vw;
    width: 22vw;
    rotate: 20deg;
}

#hero__gif-dolphins {
    position: absolute;
    bottom: 20vh;
    left: 40vw;
    width: 20vw;
    z-index: 0;
}

#hero__gif-fire {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 15vh;
    z-index: 100;
}

#hero__gif-disco {
    position: absolute;
    top: 8vh;
    left: 42vw;
    right: 42vw;
    width: 20vw;
}

.section__intro {
    height: 120vh;
    position: relative;
    background-image: url("/media/starsblack.gif");
}

.section--intro__title {
    display: flex;
    flex-direction: column;
    animation: wave 1.5s infinite ease-in-out;
    align-items: start;
}

.section--intro__gif-wink {
    width: 24%;
    height: 24%;
}

.section--intro__title-h2 {
    color: magenta;
    text-shadow: 2px 2px greenyellow;
}

.section--intro__p {
    font-size: 1.4em;
    background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 400% auto;
    animation: rainbowBackgroundText 10s linear infinite;
    color: white;
}

@keyframes rainbowBackgroundText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section--intro__a-contact {
    animation: clignote 1s steps(1, end) infinite;
    -webkit-text-fill-color: magenta;
    text-decoration: underline;
    font-size: 1.8em;
}

@keyframes clignote {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#intro__gif-rocket {
    position: absolute;
    rotate: -25deg;
    right: 8vw;
    bottom: 30vh;
}

#intro__gif-planetpurple {
    position: absolute;
    right: 2vw;
    top: 0vh;
}

#intro__gif-marvin {
    position: absolute;
    rotate: -25deg;
    left: 8vw;
    bottom: 5vh;
    width: 40vw;
}

#intro__gif-planetsaturne {
    position: absolute;
    right: 0;
    bottom: 20vh;
    width: 8em;
}

#intro__gif-planetmars {
    position: absolute;
    right: 30vw;
    bottom: 5vh;
    width: 4em;
}

#intro__gif-planeturanus {
    position: absolute;
    left: 38vw;
    bottom: 25vh;
    width: 5em;
}

.separateur {
    position: absolute;
    width: 100%;
    margin-top: -1em;
    z-index: 1000;
}

.section__projets {
    position: relative;
    background-image: url("/media/background-landscape.gif");
    background-repeat: no-repeat;
    background-size: cover;
}

.section--projets__h2 {
    color: white;
    text-shadow: 2px 2px magenta;
}

.section--projets__grid {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4vh;
    column-gap: 5vw;

}

.section--projets__grid-a:hover {
    animation: wizz .2s steps(1, end) infinite;
}

@keyframes wizz {
    0% {
        rotate: 25deg;
    }

    50% {
        rotate: -25deg;
    }

    100% {
        rotate: 25deg;
    }
}

.section--projets__grid-item {
    width: 39vw;
}

.section--projets__grid-item-pic-egg,
.section--projets__grid-item-pic-opium,
.section--projets__grid-item-pic-scav,
.section--projets__grid-item-pic-mto,
.section--projets__grid-item-pic-besweet,
.section--projets__grid-item-pic-kubyst,
.section--projets__grid-item-pic-squid,
.section--projets__grid-item-pic-renault {
    height: 12vh;
    display: flex;
    text-align: center;
    justify-content: center;
    background-color: orange;
    padding: 3em;
}

.section--projets__grid-item-pic-egg {
    background: linear-gradient(68deg, #ff7700, #b00404, #e7eb00);
}

.section--projets__grid-item-pic-opium {
    background: linear-gradient(45deg, #b30479, #0f010a, #320124);
}

.section--projets__grid-item-pic-scav {
    background: linear-gradient(-34deg, #02748b, #02dcca, #03262e);
}

.section--projets__grid-item-pic-mto {
    background: linear-gradient(128deg, #000304, #171717, #fffff4);
}

.section--projets__grid-item-pic-besweet {
    background: linear-gradient(200deg, #000304, #0902d9, #09600c);
}

.section--projets__grid-item-pic-squid {
    background: linear-gradient(0deg, #d6067c, #ffe9f5, #f655a3);
}

.section--projets__grid-item-pic-kubyst {
    background: linear-gradient(128deg, #580db4, #0c0606, #ea0808);
}

.section--projets__grid-item-pic-renault {
    background: linear-gradient(-45deg, #101561, #fdff9a, #ddc700);
}

#section--projects__gif-wow {
    position: absolute;
    bottom: 5vh;
}

#section--projects__gif-firework {
    position: absolute;
    bottom: 4vh;
    right: 0vw;
}

.section--skills {
    background: url("/media/background-disco.gif");
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.section--skills__h2 {
    color: magenta;
    text-shadow: 2px 2px blue;
}

.section--skills__div-skills {
    display: flex;
    flex-direction: row;
    column-gap: 4em;
    flex-wrap: wrap;
}

.section--skills__item {
    width: 80vw;
}

.section--skills__h3 {
    font-size: 1.4em;
    color: cyan;
    text-shadow: 2px 2px purple;
}

.section--skills__p {
    font-size: 1.2em;
    color: white;
}

.section--skills__p-subtitle {
    color: #c16fe7;
}

#section--skills__gif-computer {
    position: absolute;
    rotate: 20deg;
    top: 2vh;
    right: 10vw;
    width: 20vw;
}

#section--skills__gif-drink {
    position: absolute;
    rotate: 18deg;
    width: 40vw;
    bottom: 0vh;
    right: 0vw;
}

.section--about {
    position: relative;
    background: url("/media/background-sakura.gif");
    background-repeat: no-repeat;
    background-size: cover;
    height: 80%;

}

.section--about__h2 {
    color: rgb(255, 102, 153);
    text-shadow: 2px 2px greenyellow;
}

.section--about__p {
    font-size: 1.2em;
    color: white;
    text-shadow: 2px 2px rgb(31, 189, 0);
    width: 80vw;
}

#section--about__gif-palmier {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40vw;
}

#section--about__gif-ed {
    position: absolute;
    bottom: 10vh;
    left: 10vw;
    width: 15vw;
}

#section--about__gif-berserk {
    position: absolute;
    top: 2vh;
    right: 20vw;
    width: 15vw;
}

#section--about__gif-itachi {
    position: absolute;
    bottom: 0;
    right: 20vw;
    width: 20vw;
}

#section--about__gif-flag {
    position: absolute;
    bottom: 20vh;
    right: 40vw;
    width: 25vw;
}

#section--about__gif-dragon {
    position: absolute;
    bottom: 0;
    right: 40vw;
    width: 25vw;
}

footer {
    position: relative;
    background-image: url("/media/sky.gif");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8vh 10vw 1vh 10vw;
    height: 65vh;
}

.footer__h2 {
    color: white;
    text-shadow: 2px 2px red;
}

.footer__p {
    color: white;
    text-shadow: 2px 2px blue;
}

.footer__div-contact {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}

.footer__contact-a {
    display: flex;
    align-items: center;
    vertical-align: middle;
    flex-direction: column;
}

.footer__contact-a:hover {
    translate: 0 -1em;
    transition: 0s;
}

.footer__p-droits {
    text-align: center;
    font-size: .8em;
    color: white;
}

.footer__p-contact {
    color: magenta;
    font-size: 1em;
    background-color: greenyellow;
    padding: 8px 24px;
}

.footer__gif-end {
    width: 90vw;
    justify-content: center;
    position: absolute;
    left: 5vw;
    bottom: 2vh;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/

@media (min-width: 700px) {}

/*-------------------------------------------------------------------------------------------------------------------------------*/

@media (min-width: 900px) {

    nav {
        margin: 24px;
        width: 97%;
    }

    section {
        padding: 20vh 10vw;
    }

    h2 {
        font-size: 2.8em;
    }

    h1 span {
        font-size: 2.6em;
    }

    .nav__logo {
        width: 3em;
    }

    .nav__2025 {
        font-size: 1.1em;
        padding: 8px 36px;
        border-radius: 30px;
        text-shadow: 0px -1px 0px rgba(0, 0, 0, .8), 0px 1px 0px rgba(255, 255, 255, .4);
    }

    .nav__2025:hover {
        filter: brightness(1.1);
        font-size: 1.2em;
    }

    .section__hero {
        height: 75vh;
        padding: 0;
    }

    .section-hero__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25vh;
        vertical-align: middle;
    }

    .section--hero__gif-bienvenue {
        width: 40vw;
    }

    .section--hero__p {
        font-size: 1.2em;
    }

    #hero__gif-cow {
        top: 20vh;
        left: 10vw;
        width: 15vw;
    }

    #hero__gif-burger {
        top: 30vh;
        right: 10vw;
        width: 5vw;
    }

    #hero__gif-dolphins {
        bottom: 10vh;
        left: 40vw;
        width: 10vw;
    }

    #hero__gif-fire {
        bottom: 0;
        width: 100%;
    }

    #hero__gif-disco {
        top: 8vh;
        left: 48vw;
        width: 5vw;
    }

    .section__intro {
        height: 100vh;
    }

    .section--intro__title {
        flex-direction: row;
        align-items: center;
    }

    .section--intro__gif-wink {
        width: 7%;
        height: 7%;
    }

    .section--intro__title-h2 {
        padding-right: 1em;
    }

    .section--intro__p {
        font-size: 1.8em;
    }

    #intro__gif-rocket {
        rotate: -25deg;
        right: 10vw;
    }

    #intro__gif-planetpurple {
        right: 13vw;
        top: 10vh;
    }

    #intro__gif-marvin {
        left: 15vw;
        bottom: 20vh;
        width: 14em;
    }

    #intro__gif-planetsaturne {
        left: 50vw;
        bottom: 20vh;
        width: 8em;
    }

    #intro__gif-planetmars {
        right: 30vw;
        bottom: 30vh;
        width: 7em;
    }

    #intro__gif-planeturanus {
        left: 38vw;
        bottom: 35vh;
        width: 5em;
    }

    .separateur {
        margin-top: -1em;
    }

    .section--projets__grid {
        column-gap: 10vw;
        row-gap: 5vh;

    }

    .section--projets__grid-item {
        width: 18vw;
    }

    .section--projets__grid-item-pic-egg,
    .section--projets__grid-item-pic-opium,
    .section--projets__grid-item-pic-scav,
    .section--projets__grid-item-pic-mto,
    .section--projets__grid-item-pic-besweet,
    .section--projets__grid-item-pic-kubyst,
    .section--projets__grid-item-pic-squid,
    .section--projets__grid-item-pic-renault {
        height: 30vh;
        padding: 3em;
    }

    #section--projects__gif-wow {
        position: absolute;
        width: 15vw;
        bottom: 15vh;
        left: 5vw;
    }

    #section--projects__gif-firework {
        position: absolute;
        right: 5vw;
        width: 15vw;
        bottom: 30vh;
    }

    .section--skills__div-skills {
        column-gap: 4em;
    }

    .section--skills__item {
        width: 22vw;
    }

    .section--skills__h3 {
        font-size: 1.4em;
    }

    .section--skills__p {
        font-size: 1.2em;
    }

    #section--skills__gif-computer {
        top: 20vh;
        right: 20vw;
        width: 8vw;
    }

    #section--skills__gif-drink {
        bottom: 2vh;
        left: 4vw;
        width: 20vw;
    }

    .section--about{
        height: 80vh;
    }

    .section--about__p {
        font-size: 1.8em;
        width: 70%;
    }

    #section--about__gif-palmier {
        right: 10vw;
        width: 20vw;
    }

    #section--about__gif-dragon {
        right: 20vw;
        width: 16vw;
    }

    #section--about__gif-itachi {
        right: 5vw;
        bottom: 0;
        width: 10vw;
    }

    #section--about__gif-berserk {
        right: 30vw;
        top: 20vh;
        width: 5vw;
    }

    #section--about__gif-ed {
        left: 20vw;
        bottom: 10vh;
        width: 5vw;
    }

    #section--about__gif-flag {
        right: 10vw;
        top: 30vh;
        width: 15vw;
    }

    footer {
        padding: 8vh 10vw 1vh 10vw;
        height: 76vh;
    }

    .footer__p {
        font-size: 1.4em;
    }

    .footer__contact-a:hover {
        translate: 0 -1em;
        transition: 0s;
    }

    .footer__gif-contact {
        width: 4vw;
    }

    .footer__p-droits {
        text-align: center;
        font-size: .8em;
    }

    .footer__gif-end {
        width: 60vw;
        justify-content: center;
        position: absolute;
        left: 20vw;
    }

}