body {
    background-color: rgb(255, 255, 255);
}
.slidebar {
    width: 0px;
    height: auto;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: width 0.3s ease;
}

/* .slidebar:hover {
    width: 350px;
    background-color: rgb(255, 255, 255);
} */
.active {
    width: 350px;
    background-color: rgb(255, 255, 255);
}

.slidebar p {
    font-family: monospace;
    font-size: 14px;
    line-height: 25px;
    transition: 0.3s;
    white-space: nowrap;
    margin: 20px;
}

.slidebar a {
    text-decoration: none;
    color: black;
    background-color: rgb(0, 255, 0);
}
.slidebar a:hover {
    background-color: yellow;
}
.slidebar h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin: 20px;
}
.portfolio {
    line-height: 10px;
}
.portfolio,
.header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: lighter;
    margin: 0px;
    padding: 0px;
}
.portfolio,
.text {
    font-family: monospace;
    font-size: 12px;
    margin: 0;
    padding: 0;
    line-height: 18px;
}
.project6 {
    border-top-style: solid;
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.project2 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.project3 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.project4 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.project5 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.project7 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.casestudy{
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 40em;
}
.project1 {
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: repeat(2, auto); /* 2 rows */
    column-gap: 10px; /* Space between columns */
    row-gap: 10px; /* Space between rows */
    margin: 50px;
}
.grid-item,
.item1,
.item3 {
    text-align: center;
    /* grid-column: span 1;
    grid-row: span 1; */
}
.item1 img {
    width: 65%;
    height: auto;
}
.item2 img,
.item3 img,
.item4 img,
.item5 img,
.item6 img,
.item7 img{
    width: 80%;
    height: auto;
}

.item1 {
    margin: 50px 0px 50px 0px;
}
.arrow {
    display: block;
    width: 15px;
    position: fixed;
    top: 3em;
    left: 1.5em;
    z-index: 0;
}

.arrow > div {
    background-color: black;
    height: 2px; /* Each line is 10px high with a 16px margin above and below */
    width: 20px;
    margin: 8px 0;
    border-radius: 2px;
}


/* .arrow > div:nth-child(1) { 
    transform: rotate(45deg); 
}

.arrow > div:nth-child(2) {
    transform: rotate(-45deg); 
} */

.item1 p {
    text-align: left;
    width: 600px;
    height: auto;
    margin-left: 16em;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    padding-top: 10px;
}

@media (max-width: 480px)  {
.active {
    width: 250px;
    background-color: rgb(255, 255, 255);
}
.slidebar p {
    font-family: monospace;
    font-size: 12px;
    line-height: 20px;
    transition: 0.3s;
    white-space: nowrap;
    margin: 20px;
}
.slidebar h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
    font-weight: bold;
    margin: 18px;
}
.portfolio,
.header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: lighter;
    margin: 0px;
    padding: 0px;
}
.portfolio,
.text {
    font-family: monospace;
    font-size: 8px;
    margin: 0;
    padding: 0;
    line-height: 12px;
}
.project6 {
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project2 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project3 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project4 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project5 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.project7 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.casestudy{
    border-bottom-style: solid;
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 40em;
}
.project1 {
    border-bottom-style: solid;
    border-width: thin;
    padding: 10px;
    margin-left: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    column-gap: 0px;
    margin: 30px;
}
.item2 img,
.item3 img,
.item4 img,
.item5 img,
.item6 img,
.item7 img{
    width: 80%;
    height: auto;
}
.item1 {
    margin: 50px 0px 50px 50px;
}
.item1 p {
    text-align: left;
    width: 300px;
    height: auto;
    margin-left: 10px;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    line-height: 1.1;
    padding-top: 10px;
}
}