/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Proxima Nova', sans-serif;
    line-height: 1.6;
    background-color: #E8E5E3;
    color: #25303D;
    padding: 1em 5%;
}

/* Main Header */
.main-header {
    text-align: left;
    margin-bottom: 1em;
    margin-top: 2em;
    width: 36rem; /* Adjust this value to control the width of the portfolio section */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.main-header h1 {
    font-size: 2em;
    margin-bottom: 0.1em;
    text-align: left;
    color: #25303D;
    font-size: 2em;
}

.main-header p {
    font-size: 0.9em;
    color: #43525B;
    text-align: left;
}

.main-header img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

/* Content Layout */
.content-layout {
    margin-top: 1em;
    margin-bottom: 4em;
    width: 36rem; /* Adjust this value to control the width of the portfolio section */
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9em;
    text-align: left;
}

/* Content Section */
.content {
    text-align: left; /* Take up more space compared to the sidebar */
    max-width: 36rem; /* Prevent content from stretching too wide */
}

.content img {
    width: 100%; /* Ensure the image takes full width */
    max-height: 18rem;
    margin-top: 1rem;
    object-fit: cover;
    object-position: top;
}

.content figcaption {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-style: italic;
    text-align: center;
}

.content ul, ol {
    list-style-position: outside;
    padding-left: 1rem;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.content li {
    padding-top: 0.5rem;
}

/* Portfolio Description */
.portfolio-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
    
}

.portfolio-description-details td {
    vertical-align: top;
    
}

.details {
    padding-left: 0.5rem;
}

.back:hover {
    cursor: pointer;
    color: #43525B;
}

/* Footer */
.main-footer {
    text-align: left;
    width: 36rem; 
    margin-top: 1em;
    margin-bottom: 4em;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9em;
}

/* Hyperlink */
a {
    color: #43525B;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: 1px solid #43525B; /* Optional border for clarity */
    transition: background-color 0.2s ease;
    border-radius: 5px;
    text-decoration: none;
    /* text-decoration: underlined;
    text-decoration-style: dotted; */
}

a:hover {
    color: #E3B5A1;
    border: none;
    background-color: #3e4f72;
}


/* Responsive Design */
@media (max-width:36rem) {
    body {
        padding: 1em;
    }

    .main-header {
        width: 100%;
        text-align: left;
    }

    .main-header h1 {
        font-size: 2em;
    }

    .content-layout {
        width: 100%;
        text-align: left;
    }

    .portfolio-description {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .portfolio-header img {
        width: 72px;
        height: 72px; 
        object-fit: cover;
    }

    .main-footer {
        width: 100%;
        text-align: left;
        margin-bottom: 2em;
    }
}
