
* {
    box-sizing: border-box;
}

@font-face {
  font-family: 'C-Garamond';
  src: url('assets/fonts/cormorantgaramond-variablefont_wght-webfont.woff') format('woff2');
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'C-Garamond', serif;
}

.left-header {
    width:25%;
    height:100vh;
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
    border-right:1px solid #E7C9A4;
    background-color: #FDF6E4;
    position: fixed;
}

.left-header h1 {
    font-family: Futura, sans-serif;
    font-size: 24px;
    margin: 10px 0;
    text-align: center;
}

.left-header h2 {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
}

.left-header nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-family: Futura, sans-serif;
}

.left-header nav a {
    margin:10px 0;
    text-decoration:none;
    color:black;
    text-align: center;
}

.left-header nav a:hover {
    text-decoration:underline;
}

.container {
    display:flex;
    margin: 0 auto;
}

.main-content{
    width: 75%;
    padding: 20px;
    margin-left: 25%;
}

.main-content h1{
    font-family: Futura, sans-serif;
    justify-content:center;
    display:flex;
    align-items:center;
} 

.main-content-description{
    font-size:16px;
    max-width: 75%;
    margin: 0 auto;
    text-align:center;
    margin: 20px auto 20px;
    font-family: 'C-Garamond', serif;
}

.art-piece-container{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.art-piece{
    width:33%;
    height:auto;
    padding:10px;
    display:block;
    justify-content:center;
    text-align:center;
    font-family: 'C-Garamond', serif;
}

.art-piece__image{
    width:100%;
}

.art-piece__title {
    text-align:left;
    font-size:14px;
    padding:0
}

.about-me-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    text-align: left;
    width:100%;
    font-size:14px;
    line-height: initial;
    font-family: 'C-Garamond', serif;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    color: black;
    font-weight: 500;
    background-color:#E7C9A4;
    margin-bottom: 20px;
}
.resume-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
    height: auto;
    display: block;
}

.resume-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto 0;
}

.contact-info {
    font-size: 14px;
    color: black;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-evenly;
}

@media (max-width: 1024px) {
    .art-piece { 
        width: 50%; 
    }
}

@media (max-width: 768px) {  
    
    .container { 
        flex-direction: column; 
    }
    .left-header {
        position: static;
        width: 100%;
        height: auto;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid #E7C9A4;
    }
    .main-content {
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }
    .left-header nav { 
        flex-direction: row; 
        gap: 12px; 
        justify-content: center; 
    }
    .art-piece { 
        width: 50%; 
    }
    .about-me-section { 
        padding: 18px; 
        align-items: flex-start; 
        text-align: left; 
        flex-direction: column; 
    }
    .contact-info { 
        flex-direction: column; 
        gap: 12px; 
        align-items: center; 
    }
    .contact-info .button { 
        width: 100%; 
        max-width: 360px; 
    }
    .contact-info .button a { 
        display: inline-block; 
        width: 100%; 
        text-align: center; 
    }
}

@media (max-width: 480px) {
    .art-piece { 
        width: 100%; 
    }
    .left-header h1 { 
        font-size: 20px; 
    }
    .main-content h1 { 
        font-size: 20px; 
    }
    .about-me-section p { 
        font-size: 15px; 
        line-height: 1.5; 
    }
}