html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: whitesmoke
}

.github-btn {
    background: transparent;
    border: none;
    padding: 0;
}

.github-img {
    width: 32px;
    height: 32px;
}

.github-btn:hover .github-img {
    content: url('../images/github-black.svg');
    transition: all 1.3s ease;
}

.icon-btn {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Optional effect */
}

    /* Default icons based on data attributes */
    .icon-btn[data-icon="github"] {
        background-image: url('/images/github-white.svg');
    }

    .icon-btn[data-icon="youtube"] {
        background-image: url('/images/youtube-red.svg');
    }

    .icon-btn[data-icon="linkedin"] {
        background-image: url('/images/linkedin-blue.svg');
    }

    /* Hover effect: change the icon */
    .icon-btn[data-icon="github"]:hover {
        background-image: url('/images/github-black.svg');
    }

    .icon-btn[data-icon="youtube"]:hover {
        background-image: url('/images/youtube-inv.svg');
    }

    .icon-btn[data-icon="linkedin"]:hover {
        background-image: url('/images/linkedin-black.svg');
    }

article {
    display: block;
}

img {
    width: 100%;
}

    img.flag {
        width: 24px;
        height: 16px;
    }


p.aside {
    margin-top: -14px;
    margin-bottom: 24px;
}

h4.aside {
    border-bottom: 2px dotted #DDD;
    margin-bottom: 20px;
}

/*[ post ]*/

.post {
    background: #FFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 4%;
    margin-bottom: 10px;
    border: 1px solid #E2E2E2;
}

    .post.post-single {
        padding-bottom: 4%;
    }

    .post .post-title {
        margin: 0 0 7px;
    }

        .post .post-title a {
            font-size: 24px;
        }

    .post .post-info {
        color: #999;
        margin-bottom: 20px;
        font-size: 13px;
        padding-bottom: 10px;
        border-bottom: 1px dotted #DDD;
    }

        .post .post-info a {
            color: #999;
        }

.separator {
    background: #AAA;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    height: 5px;
    width: 5px;
    display: inline-block;
    margin: 0 1px;
    position: relative;
    top: -2px;
}

.post .post-footer {
    font-size: 13px;
    border-top: 1px dotted #EEE;
    margin-top: 15px;
    padding-top: 20px;
}

/*[ post ]*/


.scrollup {
    width: 48px;
    height: 48px;
    border: 2px solid #ececec;
    padding: 10px;
    border-radius: 128px;
    cursor: pointer;
    z-index: 250;
    margin-top: -40px;
}

.no-display {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
