@font-face {
    font-family: "Consolas";
    src: url("fonts/Consolas.ttf") format("truetype");
}
@font-face {
    font-family: "Libre Baskerville";
    src: url("fonts/LibreBaskerville-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Computer Modern";
    src: url("fonts/cmunbx.ttf") format("truetype"), url("fonts/cmunbx.ttf") format("woff");
}
@font-face {
    font-family: 'Hack';
    src: url("fonts/hack-regular.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Jacques Francois';
    src: url('fonts/JacquesFrancois-Regular.woff2') format('woff2'),
         url('fonts/JacquesFrancois-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html,body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* min-height: 100%; */
    /* width: 100%; */
    /* margin: 0; */
    /* font-size: 100%; */
}
.main {
    flex: 1;
}
.hobbies{
    line-height: 12px;
    color: black;
    background-color: slategrey;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: rgb(0, 153, 255);
}
a:hover {
    color: slategrey;
}
.hobbies p {
    display: inline-block;
    padding-left: 100%;
    animation: hobbybar 10s linear infinite;
}
.footer {
    color: black;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
}
.footercontents {
    margin: auto;
    width: 80%;
    max-width: 1150px;
    font-family: "Jacques Francois";
    font-size: calc(13px + .2vw)
}
.footercontents a {
    text-decoration: none;
    color: black;
}
.footercontents a:hover {
    /* background: #ddd; */
    color: slategrey;
}
.rss {
    font-size: calc(14px + .3vw);
    padding-top: 50px;
    text-align: center;
    font-family: "Libre Baskerville";
}
.rss a {
    text-decoration: none;
    color: black;
}
.rss a:hover {
    color: slategrey;
}
@keyframes hobbybar {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
* {
    box-sizing: border-box;
}
table {
    border: 1px solid white;
    border-collapse: collapse;
    width: 100%;
}
.home td, th {
    border: 1px solid white;
    /* padding: 5px; */
    text-align: left;
}
h1 {
    margin: 0;
    padding-top: 50px;
    letter-spacing: 5px;
    font-size: 35px;
    text-align: center;
}
.navbarcontain {
    width: 80%;
    max-width: 1150px;
    display: block;
    margin: auto;
}
.navbar {
    font-size: calc(12px + .4vw);
    display: block;
    overflow: hidden;
    margin: auto;
    top: 0;
}
.navbar a.left {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.navbar a.right {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.navbarname a {
    text-decoration: none;
    color: black;
}
.navbarname {
    font-size: calc(12px + 1.7vw);
    padding-top: 8px;
    display: inline-block;
}
.navbar a:hover {
    color: slategrey;
}
header {
    /* background-color: #2f363d; */
    /* background-color: rgb(30,30,30); */
    padding-bottom: 10px;
}
.first {
    justify-content: center;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    display: flex;
}
.face h1 {
    color: black;
}
.face {
    display: flex;
    flex-direction: column;
}
img.face {
    margin-top: 5px;
    margin-bottom: 5px;
    object-fit: cover;
    height: 40vw;
    width: 40vw;
    /* min-height: 350px; */
    /* min-width: 350px; */
    max-height: 450px;
    max-width: 450px;
    padding-right: 30px;
}
.social img {
    width: 5vw;
    height: 5vw;
    min-height: 20px;
    min-width: 20px;
    max-height: 40px;
    max-width: 40px;
    display: inline-block;
    verticle-align: middle;
    margin: auto;
}
.social {
    margin: 5px;
    text-align: center;
    align: center;
}
.social a {
    position: static;
    text-decoration: none;
    overflow: hidden;
    margin: 3px;
}
.social img:hover {
    transition: .2s;
    opacity: .5;
}
.strengthflex {
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
    /* background-color: #a4b6c0; */
    /* background-color: rgb(30,30,30); */
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.entry {
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'Jacques Francois';
    font-size: calc(16px + .7vw);
    font-weight: normal;
    font-style: normal;
    color: black;
    height: auto;
    margin-top: 15px;
}
.entry:hover {
    color: slategrey;
}
.tags {
    outline: 0px;
    display: block;
    float: left;
    color: #795C9F;
    /* width: 80%; */
    /* text-align: right; */
    /* margin-top: -6px; */
}
.tags a {
    display: inline-block;
    margin: 0 4px 0;
    color: #795C9F;
    text-decoration: none;
}
.tags a:hover {
    color: slategrey;
}
.adminstuff {
    margin: auto;
    display: flex;
    width: 80%;
    max-width: 1150px;
}
.adminstuff a {
    color: black;
    font-family: "Libre Baskerville";
    font-size: calc(12px + .5vw);
    text-decoration: none;
    margin: auto;
}
.adminstuff a:hover {
    color: slategrey;
}
.blog input {
    display: block;
    margin: auto;
}
textarea {
    height: 300px;
    width: 60%;
    display: block;
    margin: auto;
}
.blogonly {
    margin: auto;
    width: 70%;
    max-width: 1150px;
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;x;
    justify-content: center;
    flex-direction: column;
}
.bloglist {
    margin: auto;
    width: 50%;
    max-width: 1200px;
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;x;
    justify-content: center;
    flex-direction: column;
}
.forwardtimeflex {
    display: flex;
    font-family: "Jacques Francois";
    font-weight: normal;
    font-size: calc(12px + .3vw);
    color: rgba(0,0,0,.7);
}
.forward {
    outline: 0px;
    font-family: "Jacques Francois";
    font-weight: normal;
    float: left;
}
.readtime {
    white-space: nowrap;
    float: right;
    display: block;
    margin-left: auto;
}
.blog {
    justify-content: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    width: 65%;
    max-width: 1100px;
    margin: auto;
}
.content {
    line-height: 2;
    outline: 0px;
    margin-top: 20px;
    font-size: calc(13px + .3vw);
    /* white-space: pre; */
    white-space: pre-wrap;      /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap;     /* Opera <7 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    word-wrap: break-word;      /* IE */
}
.content a {
    /* color: skyblue; */
    color: rgb(0, 153, 255);
    text-decoration: underline;
}
.datetagsflex {
    display: flex;
    font-family: "Jacques Francois";
    font-weight: normal;
    font-size: calc(11px + .5vw);
}
.date {
    white-space: nowrap;
    float: right;
    display: block;
    margin-top: -2px;
    margin-bottom: -2px;
    margin-left: auto;
    float: right;
    color: rgba(0,0,0,.5);
}
.blog h2 {
    font-family: "Jacques Francois";
    font-weight: normal;
    color: black;
    margin: 0;
    /* padding-top: 20px; */
    padding-left: 0;
    letter-spacing: 0;
    font-size: calc(20px + 1.2vw);
}
h3 {
    font-family: "Jacques Francois";
    font-weight: normal;
    color: black;
    margin: 0;
    letter-spacing: 0;
    font-size: calc(18px + .5vw);
}
.content {
    font-family: "Libre Baskerville";
    font-weight: normal;
    color: black;
}
h2 {
    outline: 0px;
    margin: 0;
    /* padding-top: 20px; */
    padding-left: 30px;
    font-family: "Libre Baskerville";
    letter-spacing: 3px;
    font-size: 25px;
    color: white;
}
@keyframes fadein {
    from {padding-top: 44px}
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {padding-top: 44px}
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {padding-top: 44px}
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {padding-top: 44px}
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {padding-top: 44px}
    to   { opacity: 1; }
}
@-webkit-keyframes blink {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
@keyframes blink {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}
.terminal:hover {
    background-color: rgba(30,30,30,.9);
}
.tidbit {
    background-color: #eee;
    font-family: "Consolas";
    /* font-size: 18px; */
}
.precode {
    font-family: "Consolas";
    word-wrap: break-word;
    overflow-x: auto;
    line-height: 1.1;
    background-color: #eee;
    /* border: 1px solid #999; */
    display: block;
    padding: 2px;
}
.terminal {
    margin: auto;
    width: 80%;
    padding: 10px;
    outline: solid lightblue 3px;
    display: block;
    font-size: 13px;
    color: white;
    background-color: rgba(30,30,30,.65);
    font-family: Hack, monospace;
    font-weight: normal;
    text-align: left;
    position: block;
}
.terminal::after {
    content: "";
    position: inline-block;
    top: 0;
    margin-top: 2px;
    right: -20px;
    background-color: white;
    display: inline-block;
    vertical-align: top;
    width: 6px;
    height: 12px;
    -webkit-animation: blink 1s step-end infinite;
    animation: blink 1s step-end infinite;
}
.equations {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.math-text {
    padding: 15px;
    margin: auto;
    margin-right: 25px;
    margin-left: 25px;
    display: block;
    font-size: 13px;
    font-weight: normal;
    color: white;
    background-color: rgba(30,30,30,.65);
    text-align: left;
    position: block;
}
.bio {
    font-size: 18px;
    justify-content: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    width: 70%;
    max-width: 1200px;
    margin: auto;
}
.bio h2 {
    font-family: 'Jacques Francois';
    font-weight: normal;
    font-size: 33px;
    color: #2f363a;
}
.info {
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 80%;
    text-align: center;
}
.experienceflex {
    padding: 25px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.experience img {
    height: 75px;
}
.experience h2 {
    color: #2f363a;
}
.asseen {
    position: relative;
    height: 750px;
    background-image: url("../images/meleeme.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 60%;
    /* background-color: black; */
    margin-bottom: 20px;
}
.form {
    text-align: center;
}
.colorlayer {
    background-color: rgba(0,0,0,.64);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 900px) {
    .first {
        width: 100%;
        flex-direction: column;
    }
    .blog, .bloglist, .blogonly, .navbarcontain {
        width: 85%;
    }
    .asseen {
        background-position: 75% 60%;
    }
    img.face {
        margin: auto;
    }
    /* .navbar a.right { */
    /*     padding: 7px 8px; */
    /* } */
}
@media only screen and (min-width: 900px) {
    .entry {
        font-size: 30px;
    }
}
