@import url(//cdn.jsdelivr.net/font-nanum/1.0/nanumgothic/nanumgothiccoding.css);

body{
    font-family: "Nanum Gothic Coding", monospace;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    font-size: 16px;
    color: #444;

    margin:20px auto;
    max-width: 820px;

    padding: 10px;
}

h1 {
    font-size: 22px;
}

ul {
    padding-left: 20px;
    line-height: 150%;
    list-style-type: none;
    padding: 0px;
    margin: 0;
}
ul li {
    padding-left: inherit;
}

.container {
    display: grid;
    width: 100%;

    grid-template-columns: 1fr;
    grid-template-rows: 2px 180px 1fr 110px;
    grid-gap: 1rem;
}

.header {
    grid-row: 1 / 2;

    padding: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.section {
    width: 100%;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.logo {
    font-size: 20px;
    flex: 8;
}
.nav {
    text-align: right;
    flex: 2;
}

.content-top {
    grid-row: 2 / 3;
    padding: 20px;
}

.content-body {
    grid-row: 3 / 4;

    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-between;

}

.content-item {
    flex: 1 1 calc(50% - 60px);
    margin: 10px 10px 10px 0px;
    padding: 5px 14px 15px 20px;
    border-radius: 15px;
    border-bottom: 1px solid #efefef;
    background-color: #fbfbfb;

    font-size: 18px;
}
.content-item ul li {
    color: #555;
}
.content-item-fw {
    flex: 1 1 calc(100% - 60px);
}
.item-title {
    color: black;
    font-size: 18px;
    font-weight: 600;
}
.tag {
    
    font-size: 14px;
    font-weight: 200;
}

.footer {
    grid-row: 4 / 5;
}

.top-desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    color: rgba(60,60,60,.8);
}
@media(max-width: 500px){
    .container {
	display: grid;
	width: 100%;

	grid-template-columns: 1fr;
	grid-template-rows: 40px 150px 1fr 110px;
	grid-gap: 1rem;
    }

    .content-top pre {
	font-size: 10px;
    }
    .content-top h1 {
	font-size: 18px;
    }
    .top-desc {
	font-size: 16px;
    }
    .content-item{
	flex: 1 1 100%;
    }
}
