
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #2C2E38;
    color: #C1CEEB;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}





header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #212746;
    border-bottom: 1px solid #484F70;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: #C1CEEB;
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #7C829B;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 10px 18px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #C1CEEB;
}



.logo img {
    width: 100px;
    height: auto;
    display: block;
}

img{
        display: block;
        width: 100px;
}





main {
    max-width: 1100px;
    margin: 0 auto;
}

.page-intro {
    padding: 80px 40px 60px;
    border-bottom: 1px solid #484F70;
}

.page-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9FAAD7;
    margin-bottom: 16px;
}

.page-intro h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    color: #C1CEEB;
    line-height: 1.1;
    margin-bottom: 24px;
}

.page-desc {
    font-size: 16px;
    font-weight: 300;
    color: #7C829B;
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 40px;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
}

.category-nav a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7C829B;
    padding: 8px 20px;
    margin-right: 12px;
    margin-bottom: 8px;
    border: 1px solid #484F70;
}

.category-nav a:hover {
    color: #C1CEEB;
    border: 1px solid #C1CEEB;
}






.portfolio-section {
    padding: 70px 40px;
    border-bottom: 1px solid #484F70;
}

.portfolio-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    color: #C1CEEB;
    font-weight: 400;
    margin-bottom: 40px;
}

.portfolio-section h2 em {
    font-style: italic;
    color: #484F70;
    font-size: 18px;
    margin-right: 12px;
}





.project-table {
    width: 100%;
    border-collapse: collapse;
}


.project-table td {
    padding: 28px 0;
    vertical-align: middle;
}

td.text-project {
    width: 280px;
    padding-right: 40px;
}

td.text-project h3 {
    font-size: 18px;
    font-weight: 500;
    color: #C1CEEB;
    margin-bottom: 10px;
}

.project-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #9FAAD7;
    margin-bottom: 6px;
}

.project-description {
    font-size: 12px;
    color: #7C829B;
}


td.content-project {
    overflow: hidden;
}

td.content-project img {
    width: 300px;
    height: auto;
    display: block;
}






footer {
    background-color: #212746;
    border-top: 1px solid #484F70;
    text-align: center;
    padding: 24px 40px;
}

footer small {
    font-size: 12px;
    color: #7C829B;
    letter-spacing: 1px;
}





@media (max-width: 640px) {

    nav {
        padding: 0 20px;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    nav ul li a {
        font-size: 11px;
        padding: 8px 10px;
    }

    .page-intro {
        padding: 50px 20px 40px;
    }

    .page-intro h1 {
        font-size: 36px;
    }

    .portfolio-section {
        padding: 40px 20px;
    }

    .project-table,
    .project-table tr,
    .project-table td {
        display: block;
        width: 100%;
    }

    td.text-project {
        padding-right: 0;
        padding-bottom: 16px;
        width: 100%;
    }

    td.content-project img {
        height: 180px;
    }

}
