@import url("base.css");
@import url("achievements.css");
@import url("cv.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-y: scroll;
    background-color: var(--color-body);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 0em;
}

/* navigation */
nav {
    width: 800px;
    margin: 45px auto 0;
    display: flex;
    justify-content: space-between;
}

nav ol {
    height: 41px;
    display: flex;
    gap: 10px;
}

nav ol li {
    list-style: none;
    height: 100%;
    aspect-ratio: 1/1;
}

nav ol li a {
    border-radius: 7px;
    display: block;
    height: 100%;
    width: 100%;
    padding: 10px;
    transition: 0.3s;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

nav ol li a:hover {
    background-color: var(--color-box-title);
    box-shadow: none;
}

nav ol li a svg {
    height: 100%;
    width: 100%;
    z-index: 100000;
    position: relative;
}

nav ol li a svg path {
    transition: 0.5s;
    fill: var(--color-text);
}

nav ol li a:hover svg path {
    fill: var(--color-bg);
}

nav ul {
    display: flex;
    justify-content: start;
    list-style-type: none;
    height: 100%;
    width: fit-content;
    border-radius: 12px;
    gap: 10px;
}

nav ul li {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    font-size: 16px;
    font-family: "Lato", sans-serif;
    padding: 10px 15px;
    border-radius: 7px;
    transition: 0.3s;
    border: solid 1px var(--color-border);
    background: var(--color-bg);
}

nav ul li.active,
nav ul li:hover {
    color: var(--color-bg);
    background-color: var(--color-box-title);
    box-shadow: none;
    cursor: pointer;
}

/* animation at start */
nav ul li:nth-child(1) {
    opacity: 0;
    animation: fallFromTopClose 0.3s 1.2s ease forwards,
        fadeUp 0.7s 1.2s ease-out forwards;
}

nav ul li:nth-child(2) {
    opacity: 0;
    animation: fallFromTopClose 0.3s 1.3s ease forwards,
        fadeUp 0.7s 1.3s ease-out forwards;
}

nav ul li:nth-child(3) {
    opacity: 0;
    animation: fallFromTopClose 0.3s 1.4s ease forwards,
        fadeUp 0.7s 1.4s ease-out forwards;
}

nav ol li:nth-child(1) {
    opacity: 0;
    animation: fallFromTopClose 0.3s 1.5s ease forwards,
        fadeUp 0.7s 1.5s ease-out forwards;
}

nav ol li:nth-child(2) {
    opacity: 0;
    animation: fallFromTopClose 0.3s 1.6s ease forwards,
        fadeUp 0.7s 1.6s ease-out forwards;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* home page */
#home-page {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 10px;
    width: 800px;
    height: 670px;
    margin: 20px auto;
}

/* Placement des cases */
#home-page>div:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
}

#home-page>div:nth-child(1)>div {
    background-color: var(--color-bg);
    border-radius: 12px;
}

#home-page>div:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
}

#home-page>div:nth-child(2)>div:nth-child(1) {
    height: 50%;
    overflow: hidden;
}

#home-page>div:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
}

#home-page>div:nth-child(3)>div {
    border-radius: 12px;
    background-color: var(--color-bg);
}

#home-page>div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

#home-page>div:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 3;
}

/* Style des cases */
#about-me,
#technology,
#contact,
#download {
    padding: 20px;
}

#about-me h2,
#technology h2,
#contact h2 {
    /* text-shadow: var(--shadow-box-title); */
    text-shadow: 0px 0px 1px rgb(0, 0, 0);
    font-family: "Designer", sans-serif;
    font-weight: normal;
    font-size: 22px;
    color: var(--color-box-title);
    text-align: start;
    letter-spacing: 0px;
    text-transform: lowercase;
}

#about-me p,
#technology p,
#contact p {
    font-size: 15px;
    color: var(--color-text);
    text-align: justify;
    font-family: "Lato", sans-serif;
    font-weight: 300;
}

#about-me {
    position: relative;
    height: 134px;
}

#gradient-about-me {
    position: absolute;
    top: 24px;
    left: 10px;
    width: 250px;
    height: 20px;
    border-radius: 999px;
    background: var(--gradient-box);
}

#about-me-content {
    padding: 20px;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(50px);
}

#about-me p strong {
    color: var(--color-text-secondary);
}

/* title work */
#title-work {
    flex-grow: 1;
    position: relative;
}

#gradient-title-work {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 20%;
    background: var(--gradient-box);
    border-radius: 12px;
}

#title-work-content {
    position: absolute;
    top: 50%;
    left: 50%;
    top: 0;
    left: 0;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    width: 100%;
    height: 100%;
    align-content: center;
    text-align: center;
    backdrop-filter: blur(50px);
}

#title-work h2 {
    font-size: 24px;
    font-weight: normal;
    font-family: "Designer", sans-serif;
    text-transform: lowercase;
    color: var(--color-text-secondary);
}

/* name */
#name {
    overflow: hidden;
}

#name-content {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    align-content: center;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    overflow: hidden;
}

#name h1 {
    font-family: "Designer", sans-serif;
    font-style: italic;
    text-shadow: 2px 4px 0px rgb(77, 68, 54);
    font-size: 34px;
    color: var(--color-text-secondary);
}

/* nothing */
#nothings {
    height: 50%;
    position: relative;
    overflow: hidden;
}

#gradient-nothings {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 65px;
    height: 30px;
    background-color: var(--gradient-box);
}

#nothings-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(60px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

/* see realisations */
#see-realisations {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background-color: var(--color-bg);
}

#see-realisations>div:last-child {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 20px;
    top: 0;
    background: #1e1e1e;
    background: linear-gradient(0deg,
            rgba(30, 30, 30, 0) 0%,
            rgba(30, 30, 30, 1) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

#see-realisations>div:last-child h2 {
    font-family: "Designer", sans-serif;
    font-style: italic;
    font-size: 22px;
    text-shadow: var(--shadow-box-title);
    color: var(--color-box-title);
    text-align: start;
    /* display: none; */
}

#see-realisations div:last-child>#additionnal-link {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    padding: 5px 15px;
    box-shadow: var(--shadow1);
    border-radius: 7px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: 0.3s ease;
}

#see-realisations div:last-child>#additionnal-link:hover {
    background-color: var(--color-box-title);
}

#see-realisations div:last-child>div>p {
    font-family: "Lato", sans-serif;
    color: var(--color-text);
    font-size: 14px;
    transition: 0.3s ease;
    z-index: 6;
}

#see-realisations div:last-child>#additionnal-link:hover>p {
    color: var(--color-bg);
    transition: color 0.3s ease;
}

#gradient-additionnal-link {
    position: absolute;
    top: 15%;
    left: 70%;
    width: 10px;
    height: 10px;
    background: var(--gradient-box);
}

#additionnal-link-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    border-radius: 7px;
    z-index: 5;
}

.carousel-images {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 2s ease-in-out;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    width: fit-content;
    gap: 10px;
}

.carousel-controls button {
    cursor: pointer;
    border-radius: 7px;
    width: 29px;
    height: 29px;
    position: relative;
    transition: 0.3s ease;
    box-shadow: var(--shadow1);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.carousel-controls button:hover {
    background: var(--color-box-title);
    box-shadow: 0 0 5px rgba(82, 82, 82, 0.5);
}

.carousel-controls button svg path {
    fill: var(--color-text);
    transition: 0.3s ease;
}

.carousel-controls button:hover svg path {
    fill: var(--color-bg);
    transition: fill 0.3s ease;
}

.carousel-controls button svg {
    position: absolute;
    width: 65%;
    height: 65%;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
}

.carousel-controls button:last-child svg {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
}

/* download */
#download {
    flex-grow: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(50px);
    border-radius: 12px;
    background-color: transparent !important;
}

#download a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    color: var(--color-text);
    text-transform: capitalize;
    flex-grow: 1;
    padding: 10px;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

#download a:hover {
    box-shadow: 0 0 5px rgba(82, 82, 82, 0.5);
    color: var(--color-bg);
    transition: 0.3s ease;
}

#download a span {
    z-index: 2000000;
}

#download a svg {
    height: 20px;
    width: 20px;
    z-index: 2000000;
}

#download a svg path {
    fill: var(--color-text);
    transition: fill 0.3s ease;
}

#download a:hover svg path {
    transition: fill 0.3s ease;
    fill: var(--color-bg);
}

#download a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-box-title);
    transition: width 0.5s ease;
    z-index: 0;
}

#download a:hover::before {
    width: 100%;
}

/* contact */
#contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

#gradient-contact {
    position: absolute;
    top: 15px;
    left: 10px;
    width: 130px;
    height: 35px;
    border-radius: 999px;
    background: var(--gradient-box);
}

#contact-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(50px);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

#contact h2 {
    z-index: 6;
}

#contact>div.hover {
    cursor: pointer;
}

#contact>div>div,
#contact>div>a>div {
    border-radius: 7px;
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: start;
    align-items: center;
    transition: 0.3s;
    position: relative;
}

#contact>div>div::after,
#contact>div>a>div::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    border-radius: 7px;
    background: var(--color-text-secondary);
    transition: width 0.5s ease;
}

#contact>div:hover>div::after,
#contact>div:hover>a>div::after {
    width: 100%;
}

#contact>div>div>p,
#contact>div>a>div>p {
    font-size: 16px;
    transition: 0.3s;
}

#contact>div>div>div,
#contact>div>a>div>div {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--gradient-border);
    box-shadow: var(--shadow1);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

#contact>div>div>div:before,
#contact>div>a>div>div::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: inherit;
    background-color: var(--color-bg);
}

#contact>div>div>div>img,
#contact>div>a>div>div>img {
    height: 17px;
    z-index: 2;
}

#contact a {
    text-decoration: none;
    color: var(--color-text);
}

/* Mail copy conatct */
.copy-container {
    position: relative;
}

.copy-message {
    bottom: -130%;
    left: 15px;
    position: absolute;
    opacity: 0;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 14px;
    font-family: "Lato", sans-serif;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(6px);
}

/* Affichage contrôlé par JS */
.copy-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.message-copy {
    background: rgb(37, 38, 48);
    background: linear-gradient(180deg,
            rgb(28, 28, 36) 0%,
            rgba(17, 17, 17, 1) 100%);
    box-shadow: var(--shadow1);
    color: var(--color-box-title) !important;
}

.message-success {
    background: rgb(37, 38, 48);
    background: linear-gradient(180deg,
            rgb(28, 28, 36) 0%,
            rgba(17, 17, 17, 1) 100%);
    box-shadow: var(--shadow1);
    color: var(--color-box-title) !important;
}

/* technologie */
#technology {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 260px;
    position: relative;
    padding-inline: 0px;
    background-color: var(--color-bg);
    border-radius: 12px;
}

#technology h2 {
    z-index: 6;
    padding-left: 20px;
}

#gradient-technology {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 200px;
    height: 20px;
    background: var(--gradient-box);
    border-radius: 999px;
}

#technology-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* backdrop-filter: blur(50px); */
    border-radius: 12px;
    border: 1px solid var(--color-border);
    z-index: 65;
    /* background-color: var(--color-bg); */
}

#slider-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.slider {
    height: 50%;
    max-height: 59.33px;
    position: relative;
}

.slider-tracks {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.slider-tracks-reverse {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    animation: scrollReverse 22s linear reverse infinite;
}

.slider-box {
    height: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 10px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow1);
    background: var(--gradient-border);
}

.slider-box::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: inherit;
    background-color: #202022;
}

.slider-box img {
    height: 100%;
    width: auto;
    z-index: 2;
}

/* animation at start */
#name {
    opacity: 0;
    animation: fallFromBottom 0.7s ease forwards, fadeUp 0.7s ease-out forwards;
}

#name h1 {
    animation: fadeUp 0.7s 0.7s ease-out forwards;
}

#title-work {
    opacity: 0;
    animation: fallFromLeft 0.7s 0.3s ease forwards,
        fadeUp 0.7s 0.3s ease-out forwards;
}

#see-realisations {
    opacity: 0;
    animation: fallFromBottom 0.7s 0.5s ease forwards,
        fadeUp 0.7s 0.5s ease-out forwards;
}

#about-me {
    opacity: 0;
    animation: fallFromTop 0.7s 0.6s ease forwards,
        fadeUp 0.7s 0.6s ease-out forwards;
}

#download {
    opacity: 0;
    animation: fallFromBottom 0.7s 0.65s ease forwards,
        fadeUp 0.7s 0.65s ease-out forwards;
}

#technology {
    opacity: 0;
    animation: fallFromTop 0.7s 0.7s ease forwards,
        fadeUp 0.7s 0.7s ease-out forwards;
}

#contact {
    opacity: 0;
    animation: fallFromLeft 0.7s 0.8s ease forwards,
        fadeUp 0.7s 0.8s ease-out forwards;
}

#nothings {
    opacity: 0;
    animation: fallFromRight 0.7s 1s ease forwards,
        fadeUp 0.7s 1s ease-out forwards;
}




/* Media Queries for Mobile */
@media (max-width: 768px) {

    html,
    body {
        height: 100dvh;
        overflow: hidden !important;
    }

    body {
        display: block;
        margin: 0;
        padding: 0;
        background: var(--color-body);
    }

    /* Navbar fixée en bas */
    nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        z-index: 1000;
        display: block;
        background: var(--color-bg);
        overflow: visible;
    }

    nav::before {
        content: "";
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
        background: var(--color-bg);
        border-top-left-radius: 50% 100%;
        border-top-right-radius: 50% 100%;
        box-shadow: inset 0 1px 0 var(--color-primary);
        pointer-events: none;
    }

    nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 12px;
        padding: 8px 10px;
    }

    nav ul li {
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
        padding: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 100%;
        border: 1px solid var(--color-primary);
    }

    nav ul li.active {
        scale: 1.1;
    }

    nav ul li:focus {
        outline: none;
        scale: 1.1;
    }

    nav ol {
        display: none;
    }

    nav ul li .nav-icon {
        width: 28px;
        height: 28px;
        display: block;
        transition: transform 0.2s ease;
    }

    nav ul li .nav-icon path {
        fill: var(--color-text);
        stroke: var(--color-text);
        transition: fill 0.25s ease;
    } 

    nav ul li.active .nav-icon path,
    nav ul li:hover .nav-icon path {
        fill: var(--color-bg);
    } 

    nav ul li:hover .nav-icon {
        transform: scale(1.05);
    }
} 

/* home page en mobile */
@media (max-width: 768px) {
    #home-page {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        height: calc(100dvh - 15px);
        /* height: auto; */
        margin: 15px auto 0px;
        padding: 0 10px 110px;
        overflow-y: auto;
        scroll-behavior: smooth;
    }

    #home-page>div:nth-child(1) {

        /* order: 2; */
        #title-work {
            height: auto;
            width: 100%;

            #title-work-content {
                position: relative;

                h2 {
                    font-size: 18px;
                    padding: 10px 0;
                }
            }
        }

        #about-me {
            padding: 0;
            height: auto;
            width: 100%;

            #about-me-content {
                position: relative;

                h2 {
                    font-size: 18px;
                }

                p {
                    font-size: 16px;
                }
            }
        }

        display: flex !important;
    }

    #home-page>div:nth-child(2) {
        #technology {
            padding: 0;
            height: auto;
            width: 100%;
            border: 1px solid var(--color-border);
            padding: 20px;
            max-width: none;

            h2 {
                padding-left: 0;
                font-size: 18px;
            }
        }

        #nothings,
        #technology-content {
            display: none !important;
        }

        display: flex !important;
    }

    #home-page>div:nth-child(3) {
        #download {
            display: flex;
            flex-direction: row;
            width: 100%;
            gap: 10px;
            align-items: stretch;

            a {
                flex: 1 1 0;
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 0;
                min-height: 60px;
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            a:active {
                transform: scale(0.96);
            }

            a::before {
                display: none;
            }

            a:hover {
                svg path {
                    fill: var(--color-text);
                }

                border-color: var(--color-primary);
                color: var(--color-text);
            }
        }

        #contact {
            h2 {
                font-size: 18px;
            }

            .hover {
                :active {
                    transform: scale(0.96);
                }

                padding: 5px 10px;
                border: 1px solid var(--color-border);
                border-radius: 7px;
                z-index: 2;

                ::after {
                    display: none;
                }

                a>div {
                    ::before {
                        display: none;
                    }

                    div {
                        background: transparent !important;
                        box-shadow: none !important;
                        padding: 5px;

                        img {
                            width: 100%;
                            height: 100%;
                        }

                    }
                }

                .copy-container {
                    div {
                        background: transparent !important;
                        box-shadow: none !important;
                        padding: 5px;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    div::before {
                        display: none;
                    }

                    .copy-message {
                        background: var(--color-primary) !important;
                    }

                    span {
                        z-index: 99999999999999999999999999999999999999999999;
                        color: var(--color-bg) !important;
                        bottom: auto;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 100%;
                    }
                }
            }

            p {
                font-size: 16px;
                padding: 5px 10px;
                /* background-color: red; */
            }
        }

        display: flex !important;
    }

    #home-page>div:nth-child(4) {
        #name-content {
            position: relative;
            padding: 10px;

            h1 {
                font-size: 24px;
                position: relative;
            }
        }

        order: -1;
        display: flex !important;
        overflow: visible !important;
    }

    #home-page>div:nth-child(5) {
        /* display: flex !important; */
    }

    #home-page>div {
        grid-column: unset !important;
        grid-row: unset !important;
        height: auto !important;
        display: none !important;
    }



    /* Animations d'entrée (mobile) alternées G/D) */
    /* Navbar (icônes): 1 gauche, 2 droite, 3 gauche */
    nav ul li:nth-child(1) {
        opacity: 0;
        animation: fallFromLeft 0.5s 0.20s ease forwards, fadeUp 0.5s 0.20s ease-out forwards;
    }

    nav ul li:nth-child(2) {
        opacity: 0;
        animation: fallFromRight 0.5s 0.30s ease forwards, fadeUp 0.5s 0.30s ease-out forwards;
    }

    nav ul li:nth-child(3) {
        opacity: 0;
        animation: fallFromLeft 0.5s 0.40s ease forwards, fadeUp 0.5s 0.40s ease-out forwards;
    }

    #name {
        opacity: 0;
        animation: fallFromLeft 0.6s 0.15s ease forwards, fadeUp 0.6s 0.15s ease-out forwards;
    }

    #about-me {
        opacity: 0;
        animation: fallFromRight 0.6s 0.25s ease forwards, fadeUp 0.6s 0.25s ease-out forwards;
    }

    #title-work {
        opacity: 0;
        animation: fallFromLeft 0.6s 0.35s ease forwards, fadeUp 0.6s 0.35s ease-out forwards;
    }

    #technology {
        opacity: 0;
        animation: fallFromRight 0.6s 0.45s ease forwards, fadeUp 0.6s 0.45s ease-out forwards;
    }

    #contact {
        opacity: 0;
        animation: fallFromLeft 0.6s 0.55s ease forwards, fadeUp 0.6s 0.55s ease-out forwards;
    }

    #download {
        opacity: 0;
        animation: fallFromRight 0.6s 0.65s ease forwards, fadeUp 0.6s 0.65s ease-out forwards;
    }
}