/*
Theme Name: PersonalWebsiteTheme
Text Domain: PersonalWebsiteTheme
Version:1.0
Description: Personal Website Theme by Jiani Liu
Author: Jiani Liu
*/
hmlt {
    font-size: 16px;
}
:root {
    --san-serif: 'Encode Sans', sans-serif;
    --serif: 'Playfair Display', serif;
    --black: #0D1D16;
    --white: #FFFEFE;
    --theme-light: #FAFCF6;
    --theme-green: #CAD2C5;
    --theme-darkgreen: #617256;
    --theme-dark: #3F4E4A;
}

/* Share HTML */
h1,
h2,
h3,
h4,
h5 {
    color: var(--black);
    font-family: var(--serif);
    font-weight: 400;
    transition: ease all .5s;
}
.text-justify {
    text-align: justify;
    hyphens: auto;
}
a {
    color: var(--black);
    transition: ease all .5s;
    text-decoration: none !important;
}
footer .navbar-nav .nav-link{
	font-family: var(--san-serif);
}
.text-decoration-underline{
    text-decoration: underline!important;
}

.text-decoration-underline a {
    font-size: 0.9rem;
    display: inline-block;
}

.text-decoration-underline a::after {
    content: "";
    display: block;
    border-bottom: 0.8px solid var(--black);
}

.page-title-container{
    transition: ease all .5s;
}
.fa-brands{
    font-size: 1.3rem;
}
.large-fa {
    font-size: 2.5rem;
}
a:hover {
    color: var(--theme-darkgreen);
}

.line-button {
    color: var(--black);
}

.line-button:hover {
    color: var(--theme-darkgreen);
}

p {
    color: var(--black);
    transition: ease all .5s;
}

ul li {
    color: var(--black);
    transition: ease all .5s;
}

h1 {
    font-size: 3.9rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1rems;
}

.san-serif {
    font-family: var(--san-serif) !important;
}

.serif {
    font-family: var(--serif) !important;
}

.main-logo {
    max-height: 30px;
    margin: 0 !important;
    padding-left: 2.8rem;
    transition: ease all .5s;
}

.line-button {
    border: 1px solid var(--black);
    border-radius: 41px;
    background-color: transparent;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 300;
    transition: ease all .5s;
}

.line-button:hover {
    border: 1px solid var(--theme-darkgreen);
}

.page-title {
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: all .2s;
}

nav {
    z-index: 10;
}

.navbar {
    background-color: rgba(252, 255, 254, 0.9) !important;
}

#navbarMdContent {
    padding-left: 50%;
}

#navbarMdContent ul {
    transform: translateX(-50%);
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#portfolio-img {
    background-image: url("assets/images/photo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 70%;
    margin: 0 auto;
}
/* Share HTML */
/* Index.html */
#homePictureTop {
    position: relative;
    flex-grow: 1;
    background: linear-gradient(to right, var(--theme-green) 33%, transparent 80%);
}

.homeText {
    z-index: 1;
    width: 60%;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    top: 35%;
    left: 0%;
    background: rgba(250, 252, 246, 0.7);
    box-shadow: 0px 12px 40px rgba(93, 95, 72, 0.4);
    animation: fade-in-left-1000 2s ease-in-out forwards;
}

.homeText h3 {
    font-family: var(--san-serif);
    font-size: 1.3rem;
    font-weight: 300;
    transition: ease all .5s;
}

.homeText::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -18px;
    width: 9px;
    height: 100%;
    background-color: rgba(250, 252, 246, 0.7);
}

#homePictureTop::after {
    filter: drop-shadow(0px 12px 40px rgba(93, 95, 72, 0.4));
    width: 92%;
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    height: 100%;
    border-bottom-right-radius: 400px;
    animation: fade-in-left-50 1s ease-in-out forwards;
    background-image: url("http://www.liujiani.net/personal_website/wp-content/uploads/2023/05/main-background-resized.png");
    background-size: cover;
    background-repeat: no-repeat;
}

@keyframes fade-in-left-50 {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fade-in-top-100 {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fade-in-left-1000 {
    0% {
        opacity: 0;
        transform: translateX(-1000px);
    }

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

/* Index.html */
/* contact.html */
.contact-background {
    z-index: -1;
    position: absolute;
    height: 100%;
    width: 35%;
    right: 0;
    top: 0;
    background-image: url("http://www.liujiani.net/personal_website/wp-content/uploads/2023/05/main-background-resized.png");
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    transition: ease all .5s;
}
#contact-form input {
    border-color: transparent;
    background: #FFFEFE;
}
#contact-form textarea {
    border-color: transparent;
    background: #FFFEFE;
    border-radius: 0px 0px 40px 0px;
}
#contact-form button {
    float:right;
    border-radius: 41px;
    background-color: var(--theme-light);
    color: var(--black);
    font-family: var(--serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    box-shadow: none!important;
}

#contact-form {
    margin: 0 auto;
    text-align: center;
    padding: 0 5rem 0px 5rem;
    background-color: var(--theme-green);
}

/* contact.html */
/* page.html */
.page-title-container {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
    text-align: center;

    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url("http://www.liujiani.net/personal_website/wp-content/uploads/2023/05/main-background-resized.png");
    filter: drop-shadow(0px 12px 40px rgba(93, 95, 72, 0.4));
}

.first-title {
    border-bottom-right-radius: 200px;
}

.fade-in-left {
    animation: fade-in-left-50 1s ease-in-out forwards;
    display: block !important;
}

.page-content-container {
    width: 70%;
    padding-top: 6rem;
    margin: 0 auto;
}

.page-content-container h3 {
    display: inline-block;
}

.page-content-container h3::after {
    content: "";
    display: block;
    border-bottom: 1px solid var(--black);
    margin-bottom: 10px;
}

.education-card .circle-image {
    margin: 2rem 3rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: white;
}

.experience-date-information span {
    display: inline-block;
    width: 25px;
    height: 23px;
    border-bottom-right-radius: 25px;
    background-color: var(--theme-dark);
    margin-right: 1rem;
}

.experience-date-information p {
    display: inline-block;
}

.experience-date-detail-container {
    position: relative;
    display: inline-block;
    /* background-color: var(--theme-light); */
    border-radius: 20px;
    width: auto;
    padding: 1.2rem;
}

.experience-date-detail-container::before {
    content: "";
    left: -1.2rem;
    top: 0rem;
    position: absolute;
    background-color: var(--theme-green);
    width: 1px;
    height: 100%;
}

.experience-date-detail-container .company-image {
    width: auto;
    height: 45px;
}

/* page.html */
/* archive.html */
.category-filter {
    width: 70vw;
}
#project-filter {
    margin-left:1rem ;
    font-family: var(--serif);
    color: var(--theme-darkgreen);
    font-size: 1.2rem;
}
#project-filter select{
    border: none;
    background-color: transparent;
    font-weight: normal;
    padding: 5px;
    border-bottom: 0.8px solid var(--theme-darkgreen);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#project-filter select option{
    text-align: center;
}
.project-card {
    margin: 0 auto 5rem;
    max-width: 300px;
    transition: ease all .5s;

}
.project-card .project-intro{
    max-width: 300px;
    width: 100%;
    text-align: left;
}
.project-card .project-thumb {
    display: inline-block;
    max-width: 300px;
    width: 100%;
    height: 152px;
    margin: 0 auto;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px;
    border: 0.5px solid var(--theme-green);
}

.project-card .project-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.project-card .links a {
    font-size: 0.9rem;
    display: inline-block;
}

.project-card .links a::after {
    content: "";
    display: block;
    border-bottom: 0.8px solid var(--black);
}

/* archive.html */
/* Footer */
footer .container-fluid {
    background-image: url("http://www.liujiani.net/personal_website/wp-content/uploads/2023/04/footer-background.png");
    background-size: cover;
    background-repeat: no-repeat;
}

footer .container-fluid li a {
    font-family: var(--serif);
    font-weight: lighter;
    color: var(--white);
}

footer .copyright {
    background-color: var(--black);
    color: var(--white);
    font-weight: 200;
    font-size: 0.8rem;
}

footer .row div:nth-of-type(1) img {
    display: inline-block;
}

footer .row div:nth-of-type(1) h5 {
    display: inline-block;
}
.navbar-brand h5 {
    color: var(--white);
}

/* Footer */


/* Responsive Screens */
@media screen and (min-width: 992px) {
    #navbarMdContent {
        display: none;
    }
}

/* Extra large screen */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 3.3rem;
    }
}

/* Large screen */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .homeText h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    ul li {
        font-size: 0.9rem;
    }

    .main-logo {
        padding-left: 1rem;
    }
}
@media screen and (min-width: 768px) {
    .visible-at-small{
       display: none!important;
    }
}

/* Medium screen */
@media screen and (max-width: 768px) {
    #project-filter {
        margin:0 auto 2rem;
        font-size: 1rem;
    }
    .invisible-at-small{
        display: none!important;
     }
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .line-button {
        font-size: 1rem;
    }

    .line-button i {
        display: none;
    }

    .main-logo {
        padding-left: 0rem;
    }

    .education-card .circle-image {
        width: 120px;
        height: 120px;
    }

    .page-content-container .col-md-6 {
        padding-left: 0 !important;
    }
    #contact-form {
        margin-top: 2rem;
        padding-left: 4rem!important;
    }
    .experience-content {
        padding-top: 1rem !important;
    }

    .experience-date-detail-container {
        display: block !important;
    }

    .experience-date-detail-container::before {
        display: none !important;
    }

    footer .row div:nth-of-type(1) {
        display: none !important;
    }

    footer .row div:nth-of-type(3) {
        padding-top: 0 !important;
    }

    .contact-background {
        width: 20%;
    }
}

/* Small screen */
@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .main-logo {
        padding-left: 0rem;
    }
    #homePictureTop {
        background: none!important;
    }
    container {
        padding-bottom: 0!important;
    }
    #contact-form {
        padding: 0 1.5rem 0px 1.5rem!important;
    }
    .homeText {
        display: inline-block!important;
        width: 100%;
        padding-right: 1rem!important;
        padding-left: 1rem!important;
        text-align: center;
    }
    .homeText h3{
        text-align: center!important;
    }
    .homeText::after{
        display: none!important;
    }
    #homePictureTop::after {
        width: 100%;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        border-bottom-right-radius: 300px;
        border-bottom-left-radius: 300px;
        animation: fade-in-top-100 2s ease-in-out forwards;
    }
    .page-title-container{
        border-bottom-right-radius:0!important;
        background-attachment: unset;
        background-size: auto 100vh;
        background-repeat: no-repeat;
    }
}

/* Responsive Screens */