body{
    background-color:#fffefd;
    color: rgb(58, 33, 1);
    font-family: sans-serif;
    font-size: 14px;
    margin: 0px;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1em;
}

.logo{
    width: 12em;
}

header nav {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

header nav a{
    color: rgb(5, 36, 63);
    text-decoration: none;
}

h1{
    color: #04331c;
    padding: 0 40px;
}

p{
    color: rgb(2, 34, 17);
}

main{
    margin:0px auto 0px auto
}

img {
    max-width: 100%;
    height: auto;
}

.centerElement {
    display: block;
    margin: 0px auto;
    border-width: 5px;
    border-style: double;
    border-color: darkorchid;    
}

.worksoverview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em;
    padding: 0 40px;
}

.workItem {
    border: 2px crimson;
}
.singleWorkWrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.singleWorkImages img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.singleWorkText {
    font-size: 16px;
    line-height: 1.6;
}

.singleWorkText h1 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
}

.singleWorkText p {
    margin-bottom: 25px;
}
.singleWorkText {
    position: sticky;
    top: 40px;
    align-self: start;
    font-size: 14px;
    line-height: 1.6;
}
