html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: middle
}

html {
    line-height: 1
}

ol, ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle
}

q, blockquote {
    quotes: none
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none
}

a img {
    border: none
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

@font-face {
    font-family: "General Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../font/GeneralSans-Regular.otf");
    font-display: swap
}

@font-face {
    font-family: "Staatliches-Regular";
    font-style: normal;
    font-weight: 400;
    src: url("../font/Staatliches-Regular.ttf");
    font-display: swap
}

* {
    cursor: none !important
}

html, body {
    background-color: #2A6041;
    font-family: "Staatliches-Regular", serif;
    font-size: 18px;
    color: #D0D9CE
}

::-webkit-scrollbar {
    display: none
}

a {
    text-decoration: none
}

.imageAvatar {
    position: fixed;
    left: 0;
    top: 0;
    transition: .2s ease-out;
    z-index: 1;
    pointer-events: none;
    transition: .2s ease-out;
    transform: translate(-50%, -50%);
    max-width: 35vw;
    object-fit: cover;
    opacity: 0
}

.imageAvatar.show {
    opacity: 0.3
}

.imageDrag {
    position: fixed;
    left: 0;
    top: 0;
    transition: .2s ease-out;
    z-index: 1;
    pointer-events: none;
    transition: .2s ease-out;
    transform: translate(-50%, -50%);
    width: 35vw;
    max-width: 1510px;
    object-fit: contain;
    opacity: 0
}

.imageDrag.show {
    opacity: 0.3
}

.cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    border: 1px solid white;
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: .2s ease-out;
    z-index: 999;
    opacity: 0
}

.cursor2 {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: .1s ease-out;
    z-index: 999;
    opacity: 0
}

.cursor.grow {
    transform: translate(-50%, -50%) scale(1.5);
    mix-blend-mode: difference
}

.cursor2.grow {
    transform: translate(-50%, -50%) scale(6);
    mix-blend-mode: difference
}

#home {
    height: 95vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

#home a {
    font-size: clamp(2rem, 1.5vw, 1.5rem);
    font-family: 'Staatliches-Regular', serif;
    color: #D0D9CE;
    position: absolute;
    display: table-cell;
    transition: 0.7s;
    opacity: 0
}

#home a div {
    width: 0%;
    height: 2px;
    background-color: #D0D9CE;
    margin-top: 0.3em;
    transition: 0.3s
}

#home a:hover div {
    width: 100%
}

#home a.betterment {
    left: 140px;
    top: 140px;
    transition-delay: 1.5s;
    font-family: "Staatliches-Regular", serif;
}

#home a.zola {
    right: 140px;
    top: 140px;
    font-family: "Staatliches-Regular", serif;
    transition-delay: 1.6s
}

#home a.linkedin {
    right: 140px;
    bottom: 140px;
    font-family: "Staatliches-Regular", serif;
    transition-delay: 1.7s
}

#home a.alarm {
    left: 140px;
    bottom: 140px;
    font-family: "Staatliches-Regular", serif;
    transition-delay: 1.8s
}

#home h1 {
    font-family: "Staatliches-Regular", serif;
    font-size: clamp(3rem, 4vw, 7rem);
    text-align: center;
    overflow: hidden;
    z-index: 2;
    position: relative
}

#home h1 span {
    display: block;
    transform: translateY(200%);
    transition: 0.7s
}

#home h1 .title-1 {
    transition-delay: 0.8s
}

#home h1 .title-2 {
    transition-delay: 0.9s
}

#home h1 .title-3 {
    transition-delay: 1s
}

#home h1 .title-4 {
    transition-delay: 1.1s
}

#home #contact {
    width: calc(4vw + 10px);
    height: calc(4vw + 10px);
    position: absolute;
    bottom: calc(-2 * calc(2vw + 10px) / 2);
    transition: 0.8s ease-out;
}

#about {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center
}

#about p.me {
    font-family: "General Sans", sans-serif;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 2.2rem);
    line-height: 1.5;
    width: 48ch;
    margin-left: 140px;
    margin-top: 13vw;
    position: relative;
    z-index: 2
}

#about p.me span {
    display: block;
    margin-bottom: 1em
}

#projects {
    margin-top: 8vw;
    margin-bottom: 5rem
}

#projects .project__list {
    width: calc(100% - 140px * 2);
    margin: 0 auto
}

#projects .project__list .project {
    border-bottom: solid 1px #D0D9CE;
    padding-top: clamp(1.6rem, 4vw, 6rem);
    padding-bottom: clamp(1.6rem, 4vw, 6rem);
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

#projects .project__list .project .project__bg {
    position: absolute;
    background-position: center;
    background-size: cover;
    transform: scale(1.1);
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0.1s
}




#projects .project__list .project .project__title a {
    font-size: clamp(1.6rem, 4vw, 5rem);
    font-family: 'Staatliches-Regular', sans-serif;
    color: #D0D9CE;
    transition: left 0.5s;
    position: relative;
    left: 0;
    z-index: 1;
    transition: 0.5s
}

#projects .project__list .project:hover .project__bg {
    opacity: 0.15;
    transform: scale(1)
}

#projects .project__list .project:hover a {
    left: .5em
}

#projects .project__list .project .project__details {
    position: relative;
    z-index: 1;
    width: 500px;
    display: flex;
    align-items: center
}

#projects .project__list .project .project__details p {
    font-size: 1.5rem;
    font-size: clamp(1rem, 1.1vw, 1.5rem);
    line-height: 1.75
}

#skills {
    margin: 17vw auto;
    width: calc(100% - 140px * 2)
}

#skills .curriculum {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6rem
}

#skills .curriculum .curriculum__title {
    width: 415px
}

#skills .curriculum .curriculum__title h2 {
    font-family: 'Staatliches-Regular', serif;
    font-size: clamp(1.3rem, 4vw, 2.5rem)
}

#skills .curriculum .curriculum__content p {
    font-size: clamp(1rem, 1.4vw, 2rem);
    text-transform: uppercase;
    line-height: 1.5
}

#footer {
    display: flex;
    margin: 0 auto 6rem auto;
    width: calc(100% - 140px * 2)
}

#footer div {
    width: calc(100% / 3)
}

#footer div.links a {
    color: #D0D9CE;
    font-size: clamp(1.2rem, 1.1vw, 1.5rem);
    display: table-cell;
    margin-bottom: 4em
}

#footer div.links a div {
    width: 0%;
    height: 2px;
    background-color: #D0D9CE;
    margin-top: 0.3em;
    transition: 0.3s
}

#footer div.links a:hover div {
    width: 100%
}

#footer div.linkedin {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right
}

#footer div.linkedin p {
    font-size: clamp(1rem, 1.3vw, 2rem);
    text-transform: uppercase
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.pace.pace-inactive .pace-progress {
    opacity: 1;
    transition: .8s;
    transition-delay: 0.3s;
    top: -100vh
}

.pace .pace-progress {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background-color: #2A6041;
    -webkit-transform: translate3d(0, 0, 0) !important;
    -ms-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important
}

.pace .pace-progress:after {
    display: block;
    position: relative;
    top: 0;
    right: .5rem;
    content: attr(data-progress-text);
    font-family: "Staatliches-Regular", serif;
    font-weight: 100;
    font-size: clamp(4rem, 6.5vw, 12rem);
    line-height: 1;
    text-align: center;
    color: #D0D9CE
}

@media screen and (max-width: 1920px) {
    #home a.betterment {
        left: 100px;
        top: 100px
    }


    #home a.zola {
        right: 100px;
        top: 100px
    }

    #home a.linkedin {
        right: 100px;
        bottom: 100px
    }

    #home a.alarm {
        left: 100px;
        bottom: 100px
    }

    #about p.me {
        margin-left: 100px
    }

    #projects .project__list {
        width: calc(100% - 100px * 2)
    }

    #projects .project__list .project .project__details {
        width: 400px
    }

    #skills {
        width: calc(100% - 100px * 2)
    }

    #footer {
        width: calc(100% - 100px * 2)
    }
}

@media screen and (max-width: 1280px) {
    #home a.betterment {
        left: 70px;
        top: 70px
    }


    #home a.zola {
        right: 70px;
        top: 70px
    }

    #home a.linkedin {
        right: 70px;
        bottom: 70px
    }

    #home a.alarm {
        left: 70px;
        bottom: 70px
    }

    #about p {
        margin-left: 70px
    }

    #projects .project__list {
        width: calc(100% - 70px * 2)
    }

    #projects .project__list .project .project__details {
        width: 250px
    }

    #skills {
        width: calc(100% - 70px * 2)
    }

    #skills .curriculum .curriculum__title {
        width: 370px
    }

    #footer {
        width: calc(100% - 70px * 2)
    }
}

@media screen and (max-width: 1080px) {
    #home a.betterment {
        left: 40px;
        top: 40px
    }


    #home a.zola {
        right: 40px;
        top: 40px
    }

    #home a.linkedin {
        right: 40px;
        bottom: 40px
    }

    #home a.alarm {
        left: 40px;
        bottom: 40px
    }

    #about p.me {
        margin-left: 40px;
        width: calc(100% - 80px);
        max-width: 48ch
    }

    #projects .project__list {
        width: calc(100% - 40px * 2);
        margin: 0 auto
    }

    #projects .project__list .project {
        flex-direction: column
    }

    #projects .project__list .project .project__title {
        margin-bottom: 1em
    }

    #skills {
        width: calc(100% - 40px * 2)
    }

    #skills .curriculum {
        flex-direction: column
    }

    #skills .curriculum .curriculum__title {
        width: 100%;
        margin-bottom: 1.5em
    }

    #skills .curriculum .curriculum__content p {
        line-height: 2
    }

    #footer {
        width: calc(100% - 40px * 2)
    }
}

@media screen and (max-width: 850px) {
    * {
        cursor: initial !important
    }

    .cursor, .cursor2, .imageDrag, .imageAvatar {
        display: none
    }

    #footer {
        display: flex;
        flex-direction: column;
        margin: 0 auto 1rem auto
    }

    #footer > div {
        width: 100%;
        margin-bottom: 3em
    }

    #footer > div.links a {
        color: #D0D9CE;
        font-size: clamp(1rem, 1.1vw, 1.5rem);
        display: table-cell;
        margin-bottom: 4em
    }

    #footer > div.links a div {
        width: 0%;
        height: 2px;
        background-color: #D0D9CE;
        margin-top: 0.3em;
        transition: 0.3s
    }

    #footer > div.links a:hover div {
        width: 100%
    }

    #footer > div.linkedin {
        justify-content: flex-start;
        text-align: left
    }
}
