html {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" fill="%23FF5100" stroke="%23FF5100" stroke-width="2"></circle></svg>'), zoom-out;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: "Syne";
    font-optical-sizing: auto;
    color: #FFFFFF;
}

/* links properties */
a {
    text-decoration: none;
    color: #FFFFFF;
}

#link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#txtlink:hover {
    text-decoration: none;
    background-color: #FFFFFF;
    color: #000000;
    padding-left: 2px;
    padding-right: 2px;
}

/* nav */
h1 {
    font-weight: 400;
    font-size: 30px;
    margin: 0;
    padding: 0;
}

.name {
    position: fixed;
    top: 10px;
    left: 2vw;
    z-index: 100;
}

.projects {
    position: fixed;
    top: 10px;
    right: 2vw;
    z-index: 100;
}

.portfolio {
    font-size: 25px;
    position: fixed;
    bottom: 15px;
    left: 2vw;
    
}

/* about screen */
.aboutscreen {
    display: flex;
    flex-direction: row;
    width: auto;
    height: 90vh;
    padding-top: 16vh;
    margin-bottom: 4vh;
    padding-right: 2vw;
    margin : 0;
    box-sizing: border-box;
}

.picblock {
    display: flex;
    flex: 3;
    margin-left: 2vw;
    padding: 0;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

.photo {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bioblock {
    display: flex;
    flex: 2;
    margin-left: 2vw;
    margin-right: 2vw;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 0;
}

p {
    font-weight: 200;
    font-size: 3vh;
    margin: 0;
    line-height: 1.4;
}

h3 {
    font-weight: 100;
    font-size: 1.8vh;
    margin: 0;
    line-height: 1.4;
    font-style: italic;
}

#linkH3 {
    text-decoration: underline;
}

.linkblock {
    font-weight: 200;
    font-size: 3.6vh;
    margin: 0;
    padding-top: 20px;
}

svg.gorightarr {
    transform: rotate(180deg);
}

/* Mobile styles */
@media only screen and (max-width: 768px) {
    .aboutscreen {
        flex-direction: column;
        margin: 0;
        padding: 0;
        margin-top: 8vh;
        align-items: flex-start;
        min-height: auto;
    }

    .picblock {
        width: 100%;
        margin-left: 4vw;
        margin-right: 4vw;
        margin-bottom: 20px;
        justify-content: flex-start;
    }

    .photo {
        width: 80vw;
        max-width: none;
    }

    .name {
        margin-left: 4vw;
    }

    .projects {
        margin-right: 4vw;
    }

    p {
        font-size: 20px;
    }

    .rightarr {
        width: 18px;
        height: 18px;
    }

    .bioblock {
        width: 80vw;
        margin-left: 4vw;
        margin-right: 4vw;
        margin-top: 0;
        height: auto;
        justify-content: flex-start;
    }

    .linkblock {
        font-weight: 200;
        font-size: 22px;
        margin: 0;
        padding: 0;
        padding-bottom: 5vh;
        margin-top: 20px;
    }

    h1 {
        font-size: 25px;
    }

    .mention {
        margin-bottom: 100px;
        
    }

    .portfolio {

     background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 70%,   /* noir opaque sur la majeure partie */
    rgba(0, 0, 0, 0) 100%   /* transparent en haut */
  );
    }
}