@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,500;1,400;1,500&family=Proza+Libre:ital,wght@0,400;1,500;1,600&display=swap');

body {
    background-color: rgb(233, 233, 233);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
	font-family: 'IBM Plex Serif', sans-serif;
	font-weight: 400;
    margin:0%;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}


header {
    background-color: rgba(0, 0, 0, 0.521);
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.blogcontent {
    margin-top: 15vh;
    margin-inline: 5%;
	width: 90%;
	padding-inline: 15px;
    display: inline-flex;
    flex-direction: column;
    height: auto;
    align-items: center;
    font-size: 20px;
}
.blogt {
    align-self: start;
    font-family: 'IBM Plex Serif', 'sans-serif';
	font-weight: 500;
    margin-bottom: .1em;
}

.blog-meta {
    font-size: 16px;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    white-space: nowrap;
    margin-bottom: 1em;
}

.publish-date {
    text-align: end;
    grid-column-start: 3;
}

.blogp{
    text-align: justify;
	text-indent: 2em;
}

.blogi {
    position: relative;
    max-width: 500px;
    width: 80%;
    left: 50%;
    transform:translate(-50%, 0);
}

.img-caption {
    font-size: 16px;
    color: rgb(126, 126, 126);
}

img.header-logo {
    box-shadow: none;
}


@supports (backdrop-filter: blur(1rem)) {
    header {
        backdrop-filter: blur(1rem);
    }
}

nav {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    text-align: right;
    top: 100%;
    right: 0%;
    width: 100%;
    transform: scale(1,0);
    transform-origin: top;
    transition: transform 600ms cubic-bezier(0.92,-0.03, 0.15, 1.05);
    z-index: 998;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    margin-right: 1.5rem;
}

nav a {
    text-decoration: none;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-family: Roboto Serif, Courier, monospace;
    opacity: 0;
    transition: opacity 300ms;
}

.toggle-dropdown {
    display: none;
}

.toggle-dropdown-label {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.toggle-dropdown-label span,
.toggle-dropdown-label span::before,
.toggle-dropdown-label span::after{
    display: block;
    height: 3px;
    width: 3rem;
    position: relative;
    border-radius: 3px;
    background-color: aliceblue;
}

.toggle-dropdown-label span::before,
.toggle-dropdown-label span::after {
    content: '';
    position: absolute;
}

.toggle-dropdown-label span::before {
    bottom: 10px;
}

.toggle-dropdown-label span::after {
    top: 10px;
}

.toggle-dropdown:checked ~ nav {
    transform: scale(1,1);
}

.toggle-dropdown:checked ~ nav a{
    opacity: 1;
}

.fade_button {
    height: 100%;
    background-color: transparent;
    transition: 700ms;
    color:rgb(226, 226, 226);
    border-color: transparent;
    align-self: center;
}

.fade_button:hover {
    background-color: rgb(226, 226, 226);
    mix-blend-mode: lighten;
    color: #0e0b16;
    text-shadow: none;
    cursor: pointer;
}

@media screen and (min-width: 800px) and (-webkit-max-device-pixel-ratio: 1){
	.toggle-dropdown-label{
        display: none;
    }

    header {
        display: grid;
        grid-template-columns: 1fr auto minmax(600px, 10fr) 1fr;
    }
    .header-logo {
        grid-column: 2 / 3;
    }

	nav {
        background: transparent;
        backdrop-filter: none;
        position: relative;
        text-align: left;
        transition: none;
        transform: scale(1,1);
        top: initial;
        left: initial;
        grid-column: 3 / 4;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    nav ul {
        display: flex;
    }
      
    nav li {
        height: 50%;
        margin-left: 3em;
        margin-bottom: 0;
        margin-top: 0;
    }
      
    nav a {
        padding: 1rem;
        opacity: 1;
        position: relative;
        line-height: 100%;
    }
    
    .blogcontent {
        width: 40%;
        margin-inline: 30%;
    }
}