*{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #313233;
}
#loading{
    position:absolute;
    display: none;
    background: url(assets/img/rahulspatil.gif) no-repeat center center;
    width:240px;
    height:320px;
    margin:0 auto;
    z-index:2299;
    margin: 50px 0px 0px 36%;
}
#name {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    letter-spacing: 2px;
    background: #fff;
    height: 23px;
    padding: 8px;
    z-index: 9999;
}
h1 {
    display: block;
    font-size: 2em;
    margin-top: 0em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}
input:hover, input:focus, button:hover, button:focus, textarea:hover, textarea:focus {
    outline: none;
}
input, textarea, button{
    border-radius: 4px;
}
#form input, #form textarea{
    width:200px;
    height:20px;
    border:2px solid #ddd;
    padding:2px 4px;
}
#form button{
    width:100px;
    height:28px;
    outline:none;
    border:none;
    background:#313233;
    color:#fff;
    box-shadow:0px 6px 20px rgba(0,0,0, 0.4);
    cursor: pointer;
}
a, a:visited {
    text-decoration:none;
}
a:hover, aside .submenu a:hover {
    color: #000;
}
hr{
    height:1px;
    border:none;
    color:#eee;
    background-color:#eee;
}
.fade-in {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInTop 0.2s ease-out forwards;
}
@keyframes fadeInTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#message {
    cursor: pointer;
    padding:2px 8px;
    width: fit-content;
    min-width:196px;
    border-radius: 3px;
    background: #ffce44;
    display: none;
}
.code{
    display: inline-block !important;
    background-color: #eee !important;
    width: fit-content !important;
    min-width:0px !important;
}
pre{
    margin:6px 20px;
}
.terminal {
    background: black;
    color: lightgrey;
    overflow: hidden;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: scroll;
    padding: 6px;
    margin-top: 10px;
    display: block;
    font-style: normal;
    height: 3ch;
    max-width: 70vw;
}
.captions{
    font-size: 11px;
    color: #aaa;
    margin: 0 auto;
    display: block;
}
.links{
    color: #4c8bf5;
}
.comment {
    max-width: 100%;
    color:#616263;
    position:relative;
    cursor:pointer;
}
.success {
    color:#fff;
    background: #1aa260 !important;
}
.error {
    color:#fff;
    background: #de5246 !important;
}
.input-error{
    border: 2px solid #de5246 !important;
}

article {
    grid-area: content;
    /* background-color: #ffd; */
    padding: 20px;
    border-left: 1px solid #eee;
}
article table tbody tr:nth-child(even) td{
    padding-bottom:20px;
}

aside {
    grid-area: sidebar;
}
aside ul{
    padding: 20px;
    list-style:none;
    position: fixed;
}
aside ul li{
    list-style:none;
    padding: 2px 20px 2px 10px;
}
aside ul li a.pages{
    font-weight:bold;
    color: #919293;
}
aside ul li a.active{
    color: #000;
}
aside ul li:hover .pages{
    color: #000;
}
aside ul li:hover .submenu{
    display: block;
}
aside .submenu{
    position: absolute;
    margin-left: 120px;
    margin-top: -20px;
    padding:2px;
    display: none;
    border-left: 1px solid #eee;
}
aside .submenu a, aside .submenu a strike{
    color: #919293;
}

.wrapper {
    display: grid;
    grid-gap: 20px;
    margin: 60px;
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
      "sidebar content"
      "footer  footer";
}
footer {
    grid-area: footer;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #fff;
    position: fixed;
    border-top: 1px solid #eee;
}
#newsletter_form{
    display:inline-block;
    float:right;
    margin-right:40px;
    margin-top:-4px;
}
/*#newsletter_form input{
    margin-left: -6px;
    width: 120px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 2px 4px;
    background: #ffd;
    border: 1px solid #ffce44;
}*/
#newsletter_form button{
    /* border: 2px solid #ffce44; */
    /* background: #ffce44; */
    /* margin-right:-4px; */
    /* padding:1px 6px; */
    z-index: 1000;
}
#mobileMenu {
    --x: 0;
    --y: 0;
    --z: 0;
    display: block;
    width: -webkit-fill-available;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0px -9px 50px -30px black;
    position: absolute;
    bottom: 0;
    z-index: 2000;
    transform: translate3d(var(--x), var(--y), var(--z));
    transition: all 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
#mobileMenu[hidden] {
    --y: 150%;
}
#mobileMenu li {
    list-style: none;
    display: block;
    padding: 6px;
}
#mobileMenu li a{
    color:#fff;
    font-size: 6vw;
}
#mobileMenu li li a{
    color:darkgrey;
}
#mobileMenu li li a:before {
    content: "⁃";
    margin-right: 6px;
}

#mobileMenu #closeMobileMenuBtn{
    float: right;
    background: dimgrey;
    color: lightgray;
    border: none;
    font-size: 30px;
    border-radius: 50%;
    width: 38px;
}
#mobileMenuBtn {
    position: relative;
    display: flex;
    cursor: pointer;
    border-radius: 50%;
    background: transparent;
    border: none !important;
    margin-top: -4px;
}
#mobileMenuBtn .hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
}
#mobileMenuBtn .hamburger span {
    display: block;
    height: 6px;
    width: 100%;
    margin: 3px 0;
    border-radius: 2px;
    opacity: 1;
    transform: rotate(0deg);
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%) !important;
}

@media (max-width: 1222px) {
    table tbody tr td img, table tbody tr td iframe {
        width: 100%;
    }
    table tbody tr td a img, table tbody tr td p img {
        width: auto;
    }
    #menu {
        display: none !important;
    }
    #mobileMenu, #mobileMenuBtn {
        display: block !important;
    }
    .wrapper {
        grid-template-columns: 4fr;
        grid-gap: 0;
        margin: 40px 12px !important;
    }
    article{
        border-left: none;
    }
    #loading{
        margin: 0 12%;
    }
}
@media (max-width: 700px) {
    #name {
        display: none;
    }
}
@media (min-width: 1221px) {
    #menu {
        display: block !important;
    }
    #mobileMenu, #mobileMenuBtn {
        display: none !important;
    }
}

/* Photos Layout */
.masonry {
    column-count: 4;
    column-gap: 16px;
    padding: 16px;
}
.item {
    break-inside: avoid;
    margin-bottom: 16px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.skeleton {
    width: 100%;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.item img {
    width: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}
.item.loaded img {
    opacity: 1;
    position: relative;
}
.item.loaded .skeleton {
    display: none;
}
@media (max-width: 768px) {
    .masonry {
      column-count: 2;
    }
}
@media (max-width: 480px) {
    .masonry {
      column-count: 1;
    }
}