
body, html {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "Newsreader", serif, Roboto, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";    
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow: scroll;
    min-width: 1400px;
}

a {
    color: white;
}








/* background */



#fixed-background {
    background-image: url("/assets/computer_monitor-dcdfc288.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    min-height: 550px;
    transform: translateZ(0);
    min-width: 1400px;
}







/* blog title */



#blog-title-container {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

#blog-title {
    border: solid black 1px;
    background-color: rgb(252, 248, 248);
    margin-bottom: 100px; 
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    min-width: 850px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#main-title {
    font-size: 70px;
    font-weight: 700;
}

#main-subtitle {
    font-size: 52px;
    margin-top: 0px;
}









/* content body */



#main-content {
    background-color: rgb(252, 248, 248);
    border: black solid 1px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
}






/*  featured post  */


#featured-post {
    border: solid black 1px;
    max-height: 950px;
    max-width: 1050px;
    justify-self: center;
    margin-top: 100px;
    position: relative;
    display: grid;
    grid-template-rows: 2fr 1fr;
    text-decoration: none;
    color: black;
    transition: transform 0.1s ease-in-out;
}

#featured-post:hover {
    box-shadow: gray 8px 8px 8px;
    transform: scale(1.02) translatey(-10px);
}

#featured-post-callout {
    border: solid black 1px;
    position: absolute;
    padding: 15px;
    padding-right: 100px;
    padding-left: 100px;
    top: -45px;
    left: -1px;
    background-color: rgb(252, 248, 248);
    font-size: 50px;
}

#featured-post-image-container {
    grid-template-rows: 1/2;
    overflow: hidden;
}

#featured-image {
    width: 100%;
    height: 100%;
    grid-template-rows: 1/2;
}

#featured-post-details {
    grid-template-rows: 2/3;
    display: flex;
    flex-direction: column;
    padding: 50px;
    padding-top: 20px;
}

#featured-post-top-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

#featured-post-subcategory {
    font-weight: bold;
}

.featured-post-title {
    font-size: 28px;
}

.featured-post-subtitle {
    font-weight: 400;
    font-size: 22px;
}




/*  Remaining Content  */


#home-page-content {
    display: grid;
    grid-template-columns: 2fr 5fr 3fr 4fr;
    grid-template-rows: 0fr .1fr 12fr;
    background-color: rgb(252, 248, 248);
    border-top: solid black 1px;
}




/*  news letter subscription  */

#news-letter-subscribe {
    grid-column: 1/5;
    grid-row: 1/2;
    border-top: solid black 1px;
    border-bottom: solid black 1px;
    display: flex;
    justify-content: space-around;
    padding: 35px;
}

#newsletter-header {
    font-size: 50px;
}

#email-call {
    font-size: 26px;
}

#home-email-subscribe {
    padding: 0px;
    width: 400px;
}




/*  recent posts section  */

#recent-posts-header {
    grid-column: 2/3;
    grid-row: 2/3;
    font-size: 50px;
    margin-left: 70px;
    margin-bottom: 50px;
    margin-top: 50px;
}

#recent-posts {
    grid-column: 2/3;
    grid-row: 3/4;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    grid-auto-rows: min-content;
    gap: 50px;
    padding: 40px;
}

.recent-post{
    border: black solid 1px;
    width: 100%;
    overflow: hidden;
    color: black;
    transition: transform 0.1s ease-in-out;
}

.recent-post:hover {
    box-shadow: gray 8px 8px 8px;
    transform: scale(1.01) translatey(-10px);
}

.recent-post-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 400px;
}

.recent-post-image-container {
    grid-column: 1/2;
    overflow: hidden;
}

.recent-post-image {
    width: 100%;
    height: 100%;
    object-position: center;
}

.recent-post-details {
    grid-column: 2/3;
    padding: 45px;
    padding-top: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.recent-post-top-details {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
}
.recent-post-subcategory {
    font-weight: bold;
}

.recent-post-title {
    font-size: 24px;
    margin-bottom: 23px;
}


.recent-post-subtitle {
    overflow-wrap: break-word;
    font-weight: normal;
    overflow: hidden;
    margin-top: 0px;
}



/* sidebar section */

#sidebar {
    grid-column: 4/5;
    grid-row: 2/4;
    height: 5000px;
    border-left: solid black 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* about me section */

#home-about-me-header {
    grid-row: 1/2;
    font-size: 50px;
    margin-bottom: 30px;
    margin-top: 50px;
}

#home-about-me-image-container {
    grid-row: 2/3;
    height: 300px;
    max-width: 300px;
    margin: 50px;
    margin-top: 60px;
    border: solid black 1px;
}

#home-about-me-image {
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px;
}

#home-about-me-details {
    margin: 60px;
    margin-top: 0px;
    min-width: 325px;
    max-width: 550px;
    font-size: 21px;
    line-height: 1.15;
}


footer {
    height: 55px;
    background-color: black;
}



@media (max-width: 3000px) {

    #blog-title {
    text-align: center;
    min-width: 500px;
    }

    #main-title {
        font-size: 45px;
    }

    #main-subtitle {
        font-size: 34px;
    }

    #featured-post {
        max-width: 620px;
        max-height: 650px;
    }

    #featured-post-callout {
        max-width: 3000px;
        max-height: 25px;
        font-size: 34px;
        top: -28px;
    }

    #recent-posts {
    grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
    }

    .recent-post-top-details {
        font-size: 16px;
    }

    .recent-post{
        font-size: 14px;
    }

    .recent-post-div {
        height: 320px;
    }
}