@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
}

#project-container p{
    line-height: 150%;
}

::-webkit-scrollbar {
    width: 8px;
    position: absolute;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a {
    text-decoration: none;
    color: black;
}

#navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    height: 6em;
    padding: 2em 0em 0em;
    margin: 0em 6em;
    border-bottom: 1px solid black;
    background-color: white;
}

#nav-items {
    display: flex;
    flex-direction: row;
    list-style: none;
}

#profilepic img{
    max-width: 100%;
    margin-right: 6em;
}

#about{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 50%;
}

#about-cont{
    display: flex;
    flex-direction: row;  
    align-items: center;
    gap: 2em;
    margin: 0em auto;
    padding: 4em 6em;
    max-width: 1200px;
}

#about p{
    margin: 0;
}

.about-img-cont{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: right;
    flex-shrink: 0;
    max-width: 40%;
}

#about-cont img{
    max-width: 60%;
    height: auto;
}

.tw-port{
    display: flex;
    flex-direction: row;
}

.spaced img{
    margin-left: 2em;
}

#item {
    margin: 0em 0em 0em 2em;
    font-size: 1.5em;
}

#logo {
    width: 8em;
}

#page1 {
    margin: 2em 6em 2em;
}

h1{
    font-size: 4em;
}

.hright{
    text-align: right;
}

h2{
    font-size: 2.5em;
}

h3{
    font-size: 1.8em;
}

h3{
    font-size: 1.8em;
    margin: 0;
}

.detail{
    margin: 0;
}

h4{
    font-size: 1em;
}

.headtext{
    font-weight: 400;
    font-family: "Playfair Display", "serif";
}

.paratext {
    font-size: 1.4em;
    font-weight: 300;
    font-family: "Outfit", "sans-serif";
}

.para-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    flex-grow: 1;
    max-width: 90%;
    margin-top: auto;
}

.spaced {
    display: flex;
    justify-content: space-between;
}

.col-spaced{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    height: 100%;
    min-width: 50%;
}

#showcase-thumbnail {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}


#showcase-thumbnail a{
    max-width: 70%;
    margin-left: 1em;
}

#showcase-thumbnail img{
    display: block;
    max-width: 100%;
    filter: grayscale(100%);
}

#showcase-thumbnail img:hover{
    filter: grayscale(0%);
    transition: all 0.5s ease-in-out;
    transform: scale(1.05);
}

#showcase-container {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    justify-content: space-between;
}

.para-1 a{
    display: inline-block;
    padding: 1em 2em;
    border: 1px solid black;
    text-align: center;
    width: 50%;
}

.hsecond{
    margin-bottom: 4em;
}

.bot-border{
    padding-left: 3em;
    padding-bottom: 1em;
    border-bottom: 1px solid black;
}

#page2{
    margin: 0em 6em 6em;
    padding: 0em;
    display: flex;
    flex-direction: row;
}

#square {
    background-color: white;
    padding: 1em 2em 1em;
    border: 1px solid black;
    font-size: 1.2em;
    font-family: "Playfair Display", "serif";
}

#page3{
    margin: 0em 6em;
}

#projects {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    padding-left: 5em;
}

.mid {
    border-top: 1px solid black;
}

.parasmall {
    font-size: 1.2em;
    font-weight: 300;
    font-family: "Outfit", "sans-serif";
}

.round .headtext {
    text-align: center;
    line-height: 1em;
    margin: 0em;
    display: block;
}

.project-text {
    max-width: 16em;
    margin: 0em 1.5em;
}

#projects img{
    height: 100%;
    max-height: 6em;
}

#projects a{
    height: 100%;
    line-height: 0;
}

.project-button{
    display: flex;
}

#page4 {
    margin: 0em 6em;
}

.hw{
    max-width: 12em;
    position: absolute;
    bottom: 0;
    left:0;
}

.closure {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    margin-top: 6em;
}

#art {
    position: relative;
    width: 45%;
    margin: 0 0 0 2em;
    filter: grayscale(100%);
}

#art img {
    width: 100%;
}

#art:hover{
    filter: grayscale(0%);
    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
}

.para-last{
    display: flex;
    flex-wrap: wrap-reverse;
    text-align: right;
    align-items: end;
    justify-content: flex-end;
}

.lastpage{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin: 10em 6em;
}

.last-p-button-cont {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.last-p-button-cont a{
    border: 1px solid black;
    padding: 1em 3em;
}

footer{
    margin-top: 6em;
}

#footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0em 6em;
}

footer #logo{
    width: 5em;
}

#footer-contacts{
    border-top: 1px solid black;
    border-bottom: 1px solid black;;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

footer ul{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    list-style: none;
}

footer a{
    line-height: 0;
}

footer li{
    font-family: "Playfair Display", "serif";
    font-size: 1.5em;
    margin-left: 2em;
}

#footer-img{
    height: 4em;
}

#footer-socials{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 6em 0em;
}

#hr-right{
    width: 50vw;
}

#works-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4em;
}

#work{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid black;
    position: relative;
    margin-bottom: 4em;
    width: 80%;
}

#work-info{
    display: flex;
    flex-direction: column;
    width: 60%;
}

#work-thumbnail{
    width: 40%;
    margin: 1em 2em;
    filter: grayscale(100%);
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

#work-thumbnail:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

#work-thumbnail img{
    width: 100%;
}

#arrow{
    width: 4em;
    position: absolute;
    right: 0;
    bottom: 0;
}

#contact-container{
    margin: 4em auto;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
}

#mailbox{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.contact-info{
    margin: 2em 4em;
}

.para-1 .paratext{
    margin-bottom: 2em;
}


#project-container{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0em auto;
    width: 60%;
}

#project-main-h{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-height: 100%;
}

#project-pictures{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 2em;
}

#project-pictures img{
    width: 30%;
    height: auto;
}

#project-pictures2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 2em;
}

#project-pictures2 img{
    width: 50%;
    height: auto;
}

#project-container .centered{
    text-align: center;
}

#project-container img{
    margin: 2em 0;
}

.logo{
    display: flex;
    justify-content: center;
}

.pic-center-border{
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    width: 50%;
    margin: 2em auto;
}

#CTA-buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2em;
}

#CTA-buttons a{
    border: 1px solid black;
    padding: .5em 2em;
}

.CTA {
    border-top: 1px solid black;
}

#CTA-pic {
    margin: 2em 0;
}

details {
    position: fixed;
    border: 1px solid black;
    padding: 1em 2em;
    background-color: white;
    left: 1em;
    margin-top: 1em;
}

summary{
    list-style-type: none;
}

.centered img{
    border-top: 1px solid black;
    padding: 2em 0 0;
}

#comingsoon{
    border: 1px solid black;
    padding: 6em;
    text-align:center;
}

.project-list-pic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 40%;
    height: auto;
}

.project-list-pic img {
    width: 100%;
}

#project-list {
    display: flex;
    flex-direction: column;
}

#project-list-column {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.mp-img {
    filter: grayscale(100%);
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

.mp-img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.round-b:hover {
    transform: scale(1.05);  
    transition: all 0.5s ease-in-out;  
}

#animations-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 2em 0;
}

#animations-container img{
    width: 50%;
}

#animations-container div{
    margin-left: 2em;
}

#single-button{
    display: inline-block;
    padding: 1em 2em;
    border: 1px solid black;
    text-align: center;
    margin: auto;
}

#animations {
    margin-bottom: 0;
}

.button-aligned{
    margin-top: 2em;
    text-align: center;
}