/*
Theme Name: JosephAmBlog
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0

*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}


@font-face {
    font-family: Roboto;
    font-display: auto;
    src: url(robotofont/RobotoMono-VariableFont_wght.ttf);
}

html, body {
    font-family: Roboto;
    height: 100vh;
    max-height: 100vh;
}
body {
    background-image: url(https://josepham.me/wp-content/uploads/2023/05/AdobeStock_85142566.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
img {
    max-width: 100%;
    height: auto;
}
.main-holder {
    display: flex;
    height: 100vh;
}
.side-container {
    height: calc(100vh - 16px);
    /* background: rgba(255,255,255,0.1); */
    box-shadow: 0px 0px 20px rgba(0,0,0,0.08);
    width: 280px;
    min-width: 280px;
    /* backdrop-filter: blur(5px); */
    position: relative;
    background-color: #fff !important;
}
.side-container-inner-holder {
    width: 100%;
    height: 100%;
    background-color: #fff !important;
    position: relative;
    z-index: 2;
}
.side-container-inner-inner-holder {
    padding: 15px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
}
.newsletter-form {
    display: flex;
    margin-top: 15px;
}
.main-content {
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    width: 100%;
    padding-bottom: 130px !important;
}
.wrapper {
    height: 100%;
}
#footer {
    height: 19px;
    background-color: #333;
    color: #fff;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.cards-holder {
    display: flex;
    flex-wrap: wrap;
}
.post-card {
    word-break: break-word;
    flex: 0 0 calc(33.33% - 20px);
    width: 33.33%;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
    border-radius: 5px;
    margin: 10px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(10px);
    -x-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 10px;
    overflow: hidden;
    transform: scale(1);
    transition: width 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.post-card:hover {
    transform: scale(1.02);
}
.post-main-title {
    font-size: 42px;
}
.thumbnail-holder {
    height: 200px;
    width: calc(100% + 30px);
    position: relative;
    margin: -15px;
    margin-bottom: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center
}
.thumbnail-holder img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    transform: translate(-50%, -50%);
}
.post-card a {
    color: #fff;
    text-decoration: none;
    padding: 15px;
    display: block;
    width: 100%;
    height: 100%;
}
.post-holder {
    padding: 5px;
    border-radius: 5px;
    overflow-x: auto;
    backdrop-filter: blur(15px);
    -x-backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-bottom: 100px;
    max-width: 1020px;
    margin: 0 auto;
}
.post-holder ul {
    list-style: initial;
    padding-left: 20px;
}
.post-holder p, .post-holder li {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: 'Ubuntu';
    line-height: 1.5;
}
.wp-block-image .aligncenter {
    text-align: center;
}
.post-holder h1,
.post-holder h2,
.post-holder h3,
.post-holder h4,
.post-holder h5,
.post-holder h6 {
    font-size: 32px;
    margin-top: 50px;
    font-weight: bold;
}
.size-full {
    width: 100%
}
.social-links {
    list-style: initial;
    padding-left: 20px;
}
.social-links li {
    margin-bottom: 5px;
}

.post-holder a {
    color: yellow;
}

input[type="submit"], button {
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    color: #fff;
    background: #1a6588;
    cursor: pointer;
}
form label {
    min-width: 90px;
    display: inline-block;
}
input, textarea {
    border-radius: 5px !important;
    border: 2px solid #333;
    padding: 3px;
}
.post-body {
    color: #fff;
    padding: 10px;
    margin-bottom: 30px;
}
span.fa.fa-bars.burger {
    background: #fff;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: -24px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

#commentform p, #comments h3, #comments-list ul, .comments-title {
    color: #fff;
    margin-bottom: 5px;
}

#comments a {
    color: red;
}

#comments > * {
    margin-bottom: 20px;
}
.comment-body {
    margin-bottom: 10px;
}
#comments ul {
    padding-left: 30px;
}

.nav-links a {
    color: yellow !important;
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
}

@media screen and (max-width: 992px) {
    .side-container {
        position: fixed;
        left: -275px;
        transition: left 0.2s ease-in-out;
        z-index: 1;
    }
    .side-container.active {
        left: 0;
    }
    .main-content {
        padding: 25px
    }
    #footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        display: inline-block;
    }
    .post-card {
        flex: 0 0 calc(50% - 20px);
    }

    span.fa.fa-bars.burger {
        display: block;
    }

    .side-container.active .black-overlay {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.9);
        z-index: 1;
        top: 0;
        left: 0;
    }
    
}
@media screen and (max-width: 786px) {
    .cards-holder {
        display: flex;
        flex-direction: column;
    }
    .post-card {
        width: 100%;
    }
}