@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

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

li {
    list-style: none;
}

main p,
ul {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

body {
    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-image: url("/static/image/bg.jpg");
    background-size: cover;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0 1rem;
}

header ul {
    display: flex;

}

header a {
    text-decoration: none;
    color: #2f4858;
    font-weight: 700;
    display: block;
    padding: 1rem 0;
}

header ul li {

    margin-right: 2rem;
    font-size: 1rem;
    letter-spacing: 2px;
    border-bottom: #2f4858 3px solid;
}

main {
    margin: 2rem 0;
}

main h2 {
    margin-bottom: 1rem;
}

footer {
    color: #d8e1e9;
    margin-top: auto;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 0.5rem 0;
}

.demo {
    border: 2px solid #7392b7;
    border-radius: 0.5rem;
    max-width: 400px;
    overflow: hidden;
    margin-right: 2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}


.demo-header {
    display: flex;
    align-items: center;
    background-color: #7392b7;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    color: #2f4858;
}

.rel-skills {
    display: flex;
    align-items: baseline;
    padding: 0.5rem 1rem 0;
    background-color: #b3c5d7;
}

.demo-skill-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0.5rem;
}

.demo-skill-list li {
    font-size: 0.7rem;
    font-weight: bolder;
    letter-spacing: 1px;
    border: 1px #2f4858 solid;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.demo-content {
    padding: 0.5rem 1rem;
    background-color: #edf1f4;
}

.demo-content:last-child {
    margin-bottom: 0;
}

.demo-link-btn {
    color: #d8e1e9;
    padding: 0.25rem 0.5rem;
    border: #d8e1e9 2px solid;
    border-radius: 0.5rem;
    font-weight: bolder;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-list {
    display: flex;
    flex-wrap: wrap;
}

.blog-list,
.single-page {
    background-color: #dadee3;
    border: #dadee3 solid 2px;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    opacity: 1;
}

.single-page h2 {
    color: #2f4858;
    border-bottom: 1px #2f4858 solid;
    padding-bottom: 0.5rem;
}

.single-page h3,
h4,
h5 {
    color: #2f4858;
    margin-bottom: 0.5rem;
}

.blog-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.blog-item:last-child {
    margin-bottom: 0;
}

.blog-item-title {
    font-size: 1rem;
}

.blog-item-title a {
    text-decoration: none;
    color: #2f4858;
}

.blog-item-date {
    font-size: 1rem;
    margin-left: 1rem;
}

main li {
    list-style: disc;
    margin-left: 2em;
}

@media screen and (min-width: 600px) {
    .container {
        display: flex;
        flex-direction: column;
        height: 100vh;
        margin: 0 10%;
    }
}