
@view-transition {
    navigation: auto;
}

@font-face {
    font-family: 'handwriting';
    src: url('/Handwriting3-Regular-v2.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html {
    overflow-x: clip;
}

strong{
    font-weight: normal; /* Turn off the browser bold */
    text-shadow: 0 0 1px currentColor;
}

a {
    color: black;
    text-decoration: none;

    display: inline;
}

body {
    margin:0;
    padding:0;
    font-family: 'handwriting', serif;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.project-contents{
    font: 30px 'handwriting', cursive;
    text-align: center;

    max-width: 60%;

    margin: auto;

    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.doc-link {
    display: contents;
}

.grid-image{
    max-width: 100%;
    height: auto;
    display: block;
}

.image-grid{
    margin:0;
    display: grid;
    place-items: center;
    min-width: 0;
    width: 60%;

    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-image{
    min-width: 100%;
    max-width: 100%;
    max-height: 60%;
    display: block;
}

.image{
    width: 100%;
    height: auto;

    display: block;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.contents-video{
    height: calc(100vh - 200px);
    width: auto;
    max-width: 100%;
    display: block;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}



.back{
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;

    background-color: white;

    margin-left: 3rem;
    margin-top: 2rem;

    width: 8rem;
    height: 4rem;

    color: grey;
    border: none;

    box-shadow: 0 3px 5px 1px #737373;

    position: fixed;

    transform: rotate(-4deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    cursor: grab;
}

.back:hover{
    transform: scale(1.1) rotate(0deg);
}

.caption{
    text-align: center;
    font-size: 18px;
    max-width: 50%;
    margin: auto;
    margin-bottom: 1rem;
}

#top-line{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding:1rem;
    padding-right:3rem;
}

.wordmark{
    width:30%;
}


.wordmark-div{
    padding-left: 1%;
    text-align: right;
}

.project-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    min-width:70%;
}

.details{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.details-title{
    font-family: "Playfair Display", serif;

    font-size: 3rem;

    font-weight: 600;

    color: black;

    max-width: 60%;

    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.details-bio{
    font-family: "Playfair Display", serif;

    font-size: 1.5rem;

    font-weight: 400;

    color: black;
    text-align: center;

    max-width: 60%;

    margin: auto;

    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.top-image-div{
    display: block;
    max-width: 60%;
}

.image-div{
    display: block;
    max-width: 50%;
}

#main{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
}

my-left{
    display: block;
    max-width: 30%;
    height: 100vh;
    background-color: #EADCCC;
    float: left;
}

#left{
    view-transition-name: main-sidebar;
    display:flex;
    position: sticky;

    background-color: #EADCCC;

    top:0;

    min-width: 30%;
    max-width: 30%;

    height: 100vh;

    z-index: 100;

    flex-direction: column;
}

#qualifications{
    rotate: -1deg;
    opacity: 0;
    padding-left: 1rem;
    text-align: left;
    animation: fadeIn 2s;
    animation-fill-mode: forwards;
}

#qualifications-static{
    rotate: -1deg;
    padding-left: 1rem;
    text-align: left;
}

#bio{
    margin: 1rem;

    font-size: 1.5rem;

    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;

}


.bio-line:nth-child(1){
    animation-delay: 0.7s;
}

.bio-line:nth-child(2){
    animation-delay: 1.4s;
    rotate: 1deg;
}

.bio-line:nth-child(3){
    animation-delay: 2.1s;
    rotate: -2deg;
}

.bio-line:nth-child(4){
    animation-delay: 2.9s;
    rotate: 1deg;
}

.bio-line:nth-child(5){
    animation-delay:3.6s;
    rotate: -1deg;
}


.bio-line{
    opacity: 0;
    animation: fadeIn 2s;
    animation-fill-mode: forwards;
}

/*.bio-line-static{*/

/*}*/

/*.bio-line-static:nth-child(1){*/

/*}*/

.bio-line-static:nth-child(2){
    rotate: 1deg;
}

.bio-line-static:nth-child(3){
    rotate: -2deg;
}

.bio-line-static:nth-child(4){
    rotate: 1deg;
}

.bio-line-static:nth-child(5){
    rotate: -1deg;
}

.project-box{
    display:flex;
    flex-direction: column;
    width: 16vw;
    height: 16vw;
    background-color: #ffffff;
    box-shadow: 0 3px 5px 1px #737373;

}

.project-anchor{
    height: 18vw;
    width: 16vw;
    padding: 0;
}

.description-container{
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-top: 0.1rem;
}

.project-date{
    margin-bottom:0.2rem;
    padding:0;
    font-size:1.5rem;
}

my-left{
    display: contents;
}

#links{
    padding-top: 1rem;
    font-size: 1.5rem;
    display:flex;
    flex-direction: row;
    gap: 2rem;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.project{
    display:flex;
    flex-direction: column;
    width: 16vw;
    height: 18vw;

    /*noinspection CssUnresolvedCustomProperty*/
    transform: rotate(var(--random-rotation));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.title{
    font-family: "Playfair Display", serif;
    line-height: 1;
    font-size: 22px;
    font-weight: 800;
    padding: 0.05rem;
    margin: 0.5rem;
    color: black;
    text-align: center;
}

.site-about{
    text-align: center;
}

.stick{
    flex-grow: 0.1;
    background-color: #ececec;
    align-content: center;
    max-height: 2.5rem;
    padding: 0;
    margin: 0;
}

.project-description{
    text-align: center;
    font-size: 1.2rem;
    margin: 0.5rem;
}

#next-project{
    border: black solid 2px;
    box-shadow: none;
    width: 13vw;
    height: 13vw;
    background-color: #ffffff;
    margin: 2rem;
    transform: skew(-2deg);
}

#test{
    font-size: 1rem;
}

.project:hover{
    transform: scale(1.1) rotate(0deg);
}

.project:focus{
    transform: scale(1.1) rotate(0deg);
}

/*.project-div-2:hover{*/
/*    transform: scale(1.1);*/
/*    box-shadow: 0 5px 7px 3px #504e49;*/
/*}*/



#header-link{
    text-decoration-thickness: 0.1rem;
    color: #000000;
}

#header-link-2{
    text-decoration-thickness: 0.1rem;
    color: #000000;
}

#about-text-container{
    flex-grow: 1;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #EADCCC;

    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.about-text-div{
    padding: 2rem;
}

#about-main{
    flex-grow: 0.7;
    font-size: 2rem;
}

.placeholder-main{
    margin: 0;
    min-height: 100vh;

    display: flex;
    justify-content: center; /* Centres horizontally */
    align-items: center;     /* Centres vertically */
    background: linear-gradient(
            139deg,rgba(219, 177, 143, 1) 0%, rgba(191, 149, 115, 1) 35%, rgba(158, 118, 85, 1) 100%
    );
}

.placeholder-content-wrapper{


    font-family: 'handwriting', serif;
    font-size: 200%;
    text-align: center;
}
