/* General Styles */

* {
    margin: 0;
    padding: 0;
}

  

/* HEADER */

.title h1 {
    padding: 20px 0;
    text-align: right;
    font-size: 2.9em;
    text-transform: uppercase;
}

/* CONTAINER */

.container {
    /*    width: 90%;*/
    max-width: 1000px;
  /*   margin: 1.6em auto;*/
    display: grid;
    gap: 1.6em;
    /* grid-template-columns: repeat(4, 1fr) 3%; */
    grid-template-columns: repeat(5, 1fr);
}

.container>.header  h1{
  text-align: right;
}
.container>.header, .container>.content, .container>.sidebare, .container>.footer, .container>div {
    background: #fff;
    padding: 5px;
    border: 1px solid #000000;
}

.container>.header, .container>.footer {
    grid-column: 1/-1;
    background-color: #1e272e;
    color: #ffffff;
}

.container>.content {
 background-color: #44718e;

   grid-column: span 3;
    grid-row: span 4;
}

.content>.article {
    background: #808e9b;
    padding: 20px;
    margin-top: 5px;
    color: #dfe6e9
}

.content .article h1,
.content .article p {
    padding: 10px;
}

.container>.sidebare {
    grid-column: span 2;
    grid-row: span 4;
    background: #485460;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container .sidebare img {
    display: block;
    width: 100%;
    margin-top: 5px;
}

.container>.related-post {
    background: #2d3436;
    color: #ffffff;
    height: 150px;
    ;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.container>.related-post:hover {
    cursor: pointer;
    color: #000000;
    background: #ffffff;
}

/* MEDIA QUERIES */

@media screen and (max-width: 768px) {
    .header {
        text-align: center;
    }
    .container .content {
        grid-column: 1 / -1;
    }
    .container .sidebare {
      /*  grid-column: 1 / 6;*/
		display: none;
    }

    .container .related-post {
      /*     grid-column: 1/-1;*/
		display: none;
    }
}