.search_box {
    display: flex;
    border: solid 2px rgba(128, 128, 128, 0.4);
    border-radius: 20px;
    background-color: white;
    padding: 2px 8px;
    margin-bottom: 30px;
    width: 90%;
    max-width: 400px;
}
.search_box > input {
    font-size: 0.85em;
    flex: 1;
    border: none;
    outline: none;
    padding-top: 2px;
    padding-left: 8px;
    background-color: rgba(255, 255, 255, 0);
    color: var(--main-text-color);
    text-overflow: ellipsis;
}
.search_box > span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: fit-content;
    box-sizing: border-box;
    opacity: 0.4;
    cursor: pointer;
}
.search_box > span:hover {
    opacity: 0.55;
}
.search_box > span > img {
    height: 100%;
    padding: 4px;
}

section#blog > h2 {
    margin-top: 5%;
    text-align: center;
    margin-bottom: 3%;
    font-size: 2em;
}

#article_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
}
#article_list > h3 {
    display: block;
    width: 100%;
    text-align: center;
}
#article_list > h3 > span {
    white-space: nowrap;
}
#article_list > div {
    width: 100%;
    text-align: center;
}

#article_list > a {
    margin: 0.8%;
    transition: transform 0.2s;
    max-width: 629px;
    display: flex;
    width: 100%;
    text-decoration: none;
    color: var(--main-text-color);
    padding: 10px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0px 2px 6px 1px rgba(128, 128, 128, 0.15);
}

#article_list > a:hover {
    transform: scale(1.02);
}

#article_list > a > img {
    transition: opacity 0.2s;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: solid 2px rgba(128, 128, 128, 0.1);
}

#article_list > a:hover > img {
    opacity: 0.7;
}

#article_list > a > div {
    flex: 1;
    padding-left: 2%;
    box-sizing: border-box;
    min-width: 0;
}

#article_list > a > div > * {
    margin: 0;
    font-size: 0.9em;
}
#article_list > a > div > h3 {
    width: 100%;
    font-size: 1.3em;
    word-wrap: break-word;
    line-height: 1.5em;
    /*overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
}
#article_list > a > div > p {
    color: var(--sub-text-color);
}
#article_list > a > div > div > span {
    display: inline-block;
    font-size: 0.9em;
    border: solid 1.5px rgba(128, 128, 128, 0.4);
    background-color: white;
    border-radius: 5px;
    padding: 0px 6px;
    margin: 2px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.link {
    text-decoration: none;
    color: var(--main-text-color);
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-bottom: solid 2px rgba(128, 128, 128, 0.4);
    margin-bottom: 60px;
    white-space: nowrap;
}
.link:hover {
    border-bottom: solid 2px rgba(128, 128, 128, 0.8);
}
#showMore.hide {
    display: none;
}

@media (min-width: 2400px) {
    #article_list {
        width: 1300px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 800px) {
    section#blog > h2 {
        margin-bottom: 20px;
    }
    #article_list > a {
        flex-direction: column;
        margin: 3% 0;
    }
    #article_list > a:hover {
        transform: scale(1);
    }
    #article_list > a > img {
        height: 170px;
        width: 100%;
    }
    #article_list > a:hover > img {
        opacity: 1;
    }
    #article_list > a > div {
        margin: 8px 0;
        padding-left: 0;
    }
    #article_list > a > div > p > span:last-child {
        display: none;
    }
    #article_list > a > div > div {
        margin-top: 5px;
    }
}

@media (min-width: 1920px) {
    #article_list {
        font-size: 1rem;
    }
}