@import url(https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css);
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ccc;
    margin-top: 50px;
}
.page-header {
    background-color: #222;
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    height: 50px;
}
.page-content-wrapper {
    flex: 1;
    background: #ddd;
    display: flex;
    flex-direction: column;
}
.inner-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto; 
    flex: 1;
}
.main-menu {
    width: 100%;
}
.main-menu ul {
    display: flex;
}
.main-menu a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.main-menu li:nth-child(3) {
    margin-left: auto;
}

.page-hero {
    height: 500px;
    background: url('../uploads/hero-01.jpg') center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-hero-title {
    font-size: 80px;
    font-weight: 800;
    color: #fff; 
    -webkit-text-stroke: 1px #000;
}




.page-title{
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}
.page-content{
    padding: 50px;
}
.page-title-sub{
    font-size: 30px;
    font-weight: bold;
    margin: 40px 0 10px 0;
}

/* 
.post {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    line-height: 1.5;
    width: calc(50% - 15px);
    box-sizing: border-box;
 }
 .post-image {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
 }
 .post-author {
    text-transform: capitalize;
    font-size: 12px;
    margin-bottom:10px; 
 }
 .post-text{
    flex: 1;
    padding: 20px;
 }
 .post-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
 }
 .post-btn {
    text-decoration: none;
    display: inline-block;
    padding: 5px 20px;
    margin-top: 10px;
    font-size: 14px;
 }

 .page-homepage .post:nth-child(1) {
    width: 100%;
    display: flex;
    flex-direction: column;   
}
.page-homepage .post:nth-child(1) .post-image {
   width: 100%;
   height: 300px;
}
.page-homepage .post:nth-child(1) .post-title {
   font-size: 32px;
   font-weight: bold;
   line-height: 1.2;
}

.post{
    margin-bottom: 10px;
}
.post-image{

    background: url('../uploads/html.png') center;
    background-color: red !important;

} */
.post {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    line-height: 1.5;
    width: calc(50% - 15px);
    box-sizing: border-box;

 }
 .post-image {
    width: 50%;
    background-size: cover;
    background-position: center;
    aspect-ratio: 2/1;
 }
 .post-author {
    text-transform: capitalize;
    font-size: 12px;
    margin-bottom:10px; 
 }
 .post-text{
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    
 }
 .post-title, .posts-title{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
 }
 .post-btn {
    text-decoration: none;
    display: inline-block;
    padding: 5px 20px;
    margin-top: 10px;
    font-size: 14px;
    background-color: #222;
    color: #fff;
    width: fit-content;
    margin-top: auto;
 }
 .page-homepage .post:nth-child(1) {
    width: 100%;
    display: flex;
    flex-direction: column;   
}
.page-homepage .post:nth-child(1) .post-image {
   width: 100%;
   height: 300px;
}
.page-homepage .post:nth-child(1) .post-title {
   font-size: 32px;
   font-weight: bold;
   line-height: 1.2;
}


.posts{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

}
.page-posts .post {
    width: 100%;
    display: flex;
    flex-direction: row;
 }
 .page-posts .post-image {
    width: 200px;
    height: 100%;
    background-size: cover;
    background-position: center; 
 }


footer{
    height: 100px;
    background-color: #222;
}


.page-post .post {
    margin-top: -100px;
    width: 100%;
 }
 .page-post .post .post-title {
    font-size: 54px;
    text-align: center;
 }
 .page-post .post-author {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
 }
 .page-post .post-content {
    margin-top: 30px;
    line-height: 1.7;
    font-size: 16px;
 }
 .page-post .post-text {
    padding: 40px;
 }
 .page-post .post-image {
    width:100%;
    
 }