@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&display=swap');


body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5; 
}
img {
    max-width: 100%;
    display: block;
}
h3 {
    font-weight: bold;
    font-size: 22px;
    margin: 30px 0 10px 0;
}
p + p{
    margin-top: 30px;
}
a {
    color: inherit;
}
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ccc;
    margin-top: 100px;
}

.page-login .page-wrapper {
    margin-top: 50px;
}
.page-login .inner-wrapper {
    display: flex;
    flex-direction: column;
}
.page-header {
    background-color: #222;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}
.logo {
    max-height: 30px;
    aspect-ratio: 1;
}



.content {
  
    margin-top: 100px;
    padding: 2rem;
}

/* ################## MAIN MENU ################## */

.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-content-wrapper {
    flex: 1;
    background: #ddd;
    display: flex;
    flex-direction: column;
}
.inner-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto; 
    flex: 1;
    
}

/* ################## HERO ################## */

.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;
    -webkit-text-stroke: 1px #000;
}

/* ################## COLUMNS ################## */

.columns {
    width: 100%;
}

/* ################## PAGES ################## */

.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;
}


.page-posts .post {
    width: 100%;
    display: flex;
    flex-direction: row;
    
}
.page-posts .post-image {
    width: 200px;
    height: 100%;
    background-size: cover;
    background-position: center;

    
}
.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-login .page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-login form{
    background-color:#fff;
    max-width: 400px;
    width: 100%;
    padding: 30px;
}
.page-login h3 {
    margin-top: 0;
    font-size: 32px;
}

/* ################## POSTS ################## */


.posts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.posts-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.5;
    margin: 30px 0 10px 0;  
}


/* ################## POST ################## */

.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: 32px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
}
.post-resume {
    font-size: 16px;
}
.post-btn {
    text-decoration: none;
    display: inline-block;
    padding: 5px 20px;
    margin-top: 10px;
    font-size: 14px;
}

/* ################## FORM ################## */

label, input, textarea {
    font-size: 18px;
    display: block;
}
input, textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    border: solid 1px #999;
    font-family: Arial, Helvetica, sans-serif;
}
label{
    margin: 20px 0 5px 0;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    text-transform: uppercase;
    background-color: #222;
    color: #fff;
    border: none;
}
form input[type="color"] {
    height: 50px;
    width: 50px;
    background-color: #fff;
    padding: 0;
    margin: 0;
    outline: 0;
    border: none;
}
.form-row .form-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.form-row .label {
    width: 250px;
    text-align: right;
    margin: 0 20px 0 0;
}
.form-row .field {
    flex: 1;
}
.form-group-title {
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    margin: 40px 0;
    background-color: #222;
    color: #fff;

}
.page-title-02 {
    font-size: 30px;
    font-weight: bold;
    margin: 40px 0 0 0;
}

.fixed-btn {
    position: absolute;
    top: 120px;
    right: 20px;
    background-color:red;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-weight: normal;
    font-size: 16px;
}


