/*
*{
    padding: 0; margin: 0; list-style: none; color: black; text-decoration: none; box-sizing: border-box; font-size: 1rem; font-weight: normal;
}*/

body {
    margin: 0 auto;
    background: #f3efef;
    font-family: Arial, Helvetica, sans-serif;
    color: #3a3636;
}

html {
    scroll-behavior: smooth;
    cursor: url(/assets/cursor.svg?v=2) 16 16, auto;
    /*
    cursor: url(assets/cursor.svg), auto; */
}

h1 {
    font-size: 3rem;
    width: 100%;
    animation-name: title;
    animation-duration: .6s;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    margin-bottom: 2vh;
}

ul {
    margin: 0;
    padding: 0;
}

ul a {
    padding: 1rem 0;
}

.animtext {
    overflow: hidden;
}

/*

@keyframes title {
    from {
        margin-left: -30rem;
        opacity: 0%;
    } 
    to {
        margin-left: 0;
        opacity: 100%;
    }
} */

.vidcontainer {
    columns: 3;
    width: 100%;
    column-gap: 0;
    margin: 0 auto;
    animation-name: vidcontent;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    overflow: hidden;
}

@keyframes vidcontent {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 100;
        transform: translateY(0);
    }
}

video {
    width: 100%;
    height: auto;
}

.schoolworkcontainer {
    margin: 0 auto;
    width: 80vw;
}

.schoolworkcontent {
    width: 75vw;
    margin: 0 auto;
}

/* index */

#index p {
    opacity: 0%;
    width: 100%;
    animation-name: presentation;
    animation-duration: 1.4s;
    margin: 0;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
}

#index .links {
    width: max-content;
    margin: auto;
    text-align: center;
}

#index .links li {
    margin: 1rem;
}

.presentation {
    overflow: hidden;
}

@keyframes presentation {
    from {
        margin-bottom: -7rem;
        opacity: 0%;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
    }
}

header a,
footer a,
button,
li :hover {
    cursor: url(assets/cursor_hover.svg) 16 16, pointer;
}

.licontent {
    cursor: url(assets/cursor.svg) 16 16, pointer;
}

.leftpart .svglink svg {
    width: 100%;
}

.left img {
    width: auto;
    height: inherit;
}

input,
textarea {
    cursor: url(assets/cursor.svg), text;
}

img {
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
}

/* header */

header {
    display: flex;
    max-width: 100vw;
    justify-content: space-between;
    margin: 2vw 5vw;
    border-bottom: solid 1px rgba(0, 0, 0, 0.225);
    align-items: center;
    position: relative;
    margin-bottom: 7vh;
}

#index header::before {
    content: '';
    position: absolute;
    bottom: -0.2rem;
    right: 0;
    width: 0.4rem;
    height: 0.4rem;
    background-color: #3a3636;
    border-radius: 50%;
    opacity: 100%;
}

#index header {
    display: flex;
    max-width: 100vw;
    justify-content: space-between;
    margin: 2vw 5vw;
    border-bottom: solid 0px rgba(0, 0, 0, 0.225);
    align-items: center;
    position: relative;
}

#index header::before {
    content: '';
    position: absolute;
    bottom: -0.2rem;
    right: 0;
    width: 0.4rem;
    height: 0.4rem;
    background-color: #3a3636;
    border-radius: 50%;
    opacity: 0;
    animation: dotappear 0.3s ease-in-out 1s forwards;
    animation-delay: 1.5s;
}

#index header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.225);
    animation: borderanim 1.3s cubic-bezier(.46, -0.01, .21, 1) forwards;
    animation-delay: .3s;
}

/* page school work */

.video {
    border-bottom: solid 1px #3a363640;
    margin-bottom: 0.7rem;
    width: min-content;
    padding-bottom: 0.3rem;
    break-inside: avoid;
}

/* page personal work */

/* page about */

#about main {
    width: 80vw;
    margin: auto;
}

#about .left {
    width: 45%;
    margin: 0rem 2rem;
}

#about .left h3 {
    animation-name: name;
    animation-duration: .6s;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    overflow: hidden;
}

@keyframes name {
    from {
        margin-left: -5rem;
        opacity: 0%;
    }

    to {
        margin-left: 0;
        opacity: 100%;
    }
}

#about .left p {
    animation-name: aboutme;
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    overflow: hidden;
    opacity: 0;
    animation-fill-mode: forwards;
    width: 100%;
}

@keyframes aboutme {
    from {
        opacity: 0%;
        margin-left: -7rem;
        width: 100%;
    }

    to {
        opacity: 100%;
        margin-left: 0;
        width: 100%;
    }
}

#about .right {
    width: 55%;
    margin: 0rem 2rem;
    animation-name: aboutright;
    animation-duration: .5s;
    animation-delay: .2s;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    overflow: hidden;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes aboutright {
    from {
        opacity: 0%;
        transform: translateX(-3rem);
    }

    to {
        opacity: 100%;
        transform: translateX(0rem);
    }
}

#about .licontent {
    overflow: hidden;
    height: max-content;
}

#about li {
    height: auto;
}

.licontent li#one {
    animation-name: lione;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-delay: .5s;
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
}

@keyframes lione {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#two {
    animation-name: litwo;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .55s;
}

@keyframes litwo {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#three {
    animation-name: lithree;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .6s;
}

@keyframes lithree {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#four {
    animation-name: lifour;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .65s;
}

@keyframes lifour {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#five {
    animation-name: lifive;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .7s;
}

@keyframes lifive {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#six {
    animation-name: lisix;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .75s;
}

@keyframes lisix {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.licontent li#seven {
    animation-name: liseven;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .5s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .8s;
}

@keyframes liseven {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

#works {
    overflow: hidden;
}

#works li {
    animation-name: liworks;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    animation-duration: .7s;
    opacity: 0;
    height: 0;
    animation-fill-mode: forwards;
    animation-delay: .9s;
}

@keyframes liworks {
    from {
        margin-bottom: -1rem;
        opacity: 0;
        height: min-content;
    }

    to {
        margin-bottom: 0;
        opacity: 100%;
        height: max-content;
    }
}

.right #abilities {
    height: max-content;
}

#about main {
    display: flex;
}

#about main .right p {
    border-bottom: 1px solid #3a363636;
}

#about li {
    line-height: 1.5rem;
    cursor: url(assets/cursor.svg), pointer;
}

#about h3 {
    font-weight: 400;
}

@keyframes borderanim {
    to {
        width: 100%;
    }
}

@keyframes dotappear {
    to {
        opacity: 1;
    }
}

.footer {
    display: flex;
    max-width: 70vw;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    margin-top: 10vh;
    padding-top: 5vh;
    border-top: solid 1px rgba(0, 0, 0, 0.225);
    padding-bottom: 10vh;
}

footer {
    margin: 0;
}

/* logo anim */

svg {
    max-width: 75px;
    width: 50%;
    height: auto;
}

.cls-1 {
    fill: none;
    stroke: #3a3636;
    stroke-linecap: round;
    stroke-linejoin: miter;
    stroke-width: 22px;
}

#path1 {
    stroke-dasharray: 500;
    stroke-dashoffset: 1500;
    animation: draw 2s ease-in-out forwards;
}

#path2 {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: draw 0.4s ease-in-out 1.9s forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
        stroke-dasharray: 1500;
        opacity: 100%;
    }
}

.leftpart {
    display: flex;
    width: 25vw;
    align-items: center;
}

.rightpart {
    display: flex;
}

/* links */

header a,
footer a {
    text-decoration: none;
    color: #3a3636;
    letter-spacing: 0.1rem;
}

li {
    margin: 0rem 1rem;
    list-style: none;
    position: relative;
    cursor: pointer;
}

header li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.225);
    transition: width 400ms ease-in-out;
}

header li:hover::after {
    width: 100%;
}

/* body */

.body-container {
    width: 65vw;
    margin: 0 auto;
}

.introductionflex {
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    height: 50vh;
    padding-top: 5vh;
    align-items: center;
}

.introductionflex .left {
    width: 20vw;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 3rem;
}

.introductionflex .right {
    width: 35vw;
    height: 35vh;
}

p {
    line-height: 1.8rem;
}

/* page index */

.previews {
    margin: 0 auto;
    padding-top: 3rem;
    animation-name: previews;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.3, 0, .27, 1);
    overflow: hidden;
}

@keyframes previews {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 100;
        transform: translateY(0);
    }
}

.row1,
.row2 {
    display: flex;
    justify-content: center;
}

.row1 img,
.row1 video,
.row2 img,
.row2 video {
    padding-bottom: 0.7rem;
    border-bottom: solid 1px #3a363640;
    margin-bottom: 0.7rem;
    width: min-content;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.previews img {
    width: 25vw;
}

.previews video {
    width: 25vw;
}

figcaption {
    margin-top: 0.2rem;
}

.links {
    margin: 0 auto;
    padding: 0;
    justify-content: center;

}

.links a {
    text-decoration: none;
    color: #3a3636;
    padding-bottom: 0.2rem;
}

.links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.225);
    transition: width 400ms ease-in-out;
}

.links a:hover::after {
    width: 100%;
}

/* page school work */

.schoolwork,
.personalwork {
    margin: auto;
}

.schoolwork video {
    width: 25vw;
    margin: 0 auto;
}

.personalwork video {
    width: 27vw;
    margin: 0 auto;
}

/* page personal work */

.personalwork .vidcontainer {
    width: 85%;
    box-sizing: border-box;
}

.videocontainer {
    width: 80vw;
    margin: 0 auto;
}

.video img {
    width: 27vw;
}

.videxp {
    display: flex;
    width: 55vw;
    margin-bottom: 5vh;
}

.videxps {
    display: flex;
    width: 55vw;
}

.videxps video {
    width: 10vw;
}

.videxp p {
    width: 50vw;
    margin-left: 1rem;
    margin-top: 0;
    margin-bottom: 0;
}

.videxps p {
    width: 50vw;
    margin-left: 1rem;
    margin-top: 0;
    margin-bottom: 0;
}

.videxptext {
    display: flex;
    flex-direction: column-reverse;
    width: 70vw;
}

.videxptext h5 {
    width: 50vw;
    margin-left: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
    color: #3a363655;
    font-weight: 400;
    padding: 0%;
}

@media (max-width: 700px) {

    .index .body-container {
        display: flex;
        flex-direction: column;
        height: auto;
        width: 85vw;
    }

    .index .body-container .left img {
        width: 20vh;
    }

    .index .body-container .right {
        width: 70vw;
        height: auto;
    }

    .videxptext {
        display: flex;
        flex-direction: column-reverse;
        width: 70vw;
    }

    .videxptext h5 {
        margin-left: 0;
        margin-top: 0;
    }

    .videxp {
        width: 70vw;
        display: block;
    }

    h2 {
        margin-bottom: 0;
    }

    h4 {
        margin-top: 0;
        margin-bottom: 1rem;
    }

    h5 {
        width: 80vh;
    }

    .videxp p {
        margin-left: 0;
        width: 70vw;
    }

    .videxp video {
        margin-top: 6vh;
        margin-bottom: 3vh;
        width: inherit;
    }

    #about main {
        display: block;
    }

    #about .left,
    #about .right {
        width: 80vw;
        margin: 0;
        padding-bottom: 0.6rem;
    }

    #about .right ul {
        padding: 0;
    }

    .leftpart {
        justify-content: center;
        display: flex;
        width: auto;
    }

    .leftparta {
        display: none;
    }

    .leftpart svg {
        width: 10vw;
    }

    .rightpart {
        padding: 0;
        justify-content: space-between;
    }

    .rightpart li {
        margin: 0;
        padding: 0;
    }

    header {
        display: block;
        justify-content: center;
    }

    #index header {
        display: block;
        justify-content: center;
    }

    .vidcontainer {
        columns: 1;
        width: auto;
    }

    .personalwork video,
    .schoolwork video,
    .schoolwork img,
    .personalwork img {
        width: 70vw;
    }

    figcaption {
        line-height: 1.6rem;
        margin: 0.2rem 0;
    }

    .video {
        margin-bottom: 1.5rem;
    }

    h2 {
        padding-bottom: 2rem;
    }

    .introductionflex {
        display: block;
        height: auto;
    }

    .introductionflex .left {
        width: auto;
        justify-content: center;
    }

    .row1,
    .row2 {
        display: block;
        margin-bottom: 0;
    }

    .row1 img,
    .row1 video,
    .row2 img,
    .row2 video {
        width: 70vw;
    }

    .links {
        margin: 1rem 0;
    }

    .footer {
        margin-top: 3vh;
        padding-left: 0;
    }

    .schoolwork .vidcontainer,
    .personalwork .vidcontainer {
        width: min-content;
    }

    .personalwork .video video {
        width: 70vw;
    }
}