@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:400,500,700|Roboto+Slab:400,700|Roboto:400,500,700,900&display=swap');

:root {
    --purple: #c773f1;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Roboto mono', monospace;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    display: inline;
}

.home-body {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.grid-container {
    max-width: 980px;
    margin: auto;
    text-align: center;
}

header {
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-rows: 1fr;
}

header .header-container {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #131316;
}

header .header-container .navbar {
    width: 100%;
    margin: 0 auto;
}

header .header-container .navbar .my-blog-link {
    display: flex;
    margin: 0 auto;
    float: left;
    text-align: center;
    padding-top: 5px;
    margin-left: 15px;
}

header .header-container .navbar .my-blog-link a {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

header .about-me {
    display: flex;
    float: right;
    height: 30px;
}

header .about-me a {
    font-family: 'Roboto mono', monospace;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    text-decoration: underline;
    color: white;
    padding-right: 20px;
    padding-top: 5px;
}

header .header-container .navbar .my-blog .social-media-icon .linkedin, .github {
    display: flex;
    float: right;
    justify-content: space-between;
    background-image: url('../assets/icons/linkedin.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    filter: invert(100%) brightness(1000%);
}

header .header-container .navbar .my-blog .social-media-icon .github {
    background-image: url('../assets/icons/github.png');
}

.home-main {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    height: 100%;
    background-image: url('../assets/img/Cover.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-main section {
    display: grid;
    grid-column: 2;
    justify-items: center;
    height: 500px;
    margin-top: 80px;
}

.home-main-text {
    font-family: 'Roboto mono', monospace;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 10px;
    color: white;
    text-align: center;
    line-height: 50px;
}

.home-main-button {
    width: 110px;
    height: 50px;
    margin-top: 200px;
    text-align: center;
    color: black;
    border-radius: 20px;
    display: grid;
    align-items: center;
}

.home-main-button:hover {
    border-color: var(--purple);
    background-color: var(--purple);
}

.home-main-button a {
    font-weight: bold;
    font-size: 15px;
    color: black;
}

.blogs-main {
    display: grid;
}

.blogs-news-container {
    background-color: #e6e9ed;
    padding: 0 50px 40px;
}

.blogs-main-new {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 2fr;
    height: 95%;
    text-align: initial;
}

.blogs-news-img-container {
    grid-column: 1;
}

.blogs-news-img-container img {
    width: 85%;
}

.blogs-news-info-container {
    grid-column: 2;
}

.blogs-news-info-container p {
    margin-bottom: 10x;
}

.blogs-button {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 700;
    margin: 15px 0;
    border-color: var(--purple);
    background-color: var(--purple);
}

.blogs-button:hover {
    border-color: var(--purple);
    background-color: #e6e9ed;
}

.blogs-posts-container h3 {
    text-align: center;
    border-bottom: 1px solid #cdd2da;
    padding-bottom: 10px;
}

.blogs-posts-container .post-container {
    display: inline-block;
    padding-left: 10px;
    max-width: 30%;
    text-align: initial;
}

.blogs-posts-container .post-container p {
    margin-bottom: 35px;
}

.blogs-posts-container .post-container .blog-title {
    font-weight: bold;
}

.blogs-posts-container .post-container img {
    width: 100%;
    max-width: 195px;
    max-height: 112px;
}

footer {
    width: 100%;
    height: 80px;
    background-color: #131316;
}

footer p {
    color: #e6e9ed;
    margin: 0;
    text-align: center;
    padding-top: 35px;
}

.blogpost-img-container {
    padding: 0 50px 40px;
}

.blogpost-img-container img {
    width: 100%;
}

.blogpost-main-container {
    padding: 0 50px 40px;
}

.blogpost-main-container h3 {
    border-bottom: 1px solid #cdd2da;
    padding-bottom: 15px;
}

.blogpost-main-container h1 {
    font-size: 20px;
}

.blogpost-main-container h1, h3, p {
    text-align: initial;
}

.blogpost-main-container .blogs-button {
    display: flex;
    justify-content: end;
}

.contact-main-container {
    width: 100%;
    min-width: 250px;
    text-align: center;
    padding: 50px 0;
    background-color: #cdd2da;
}

.contact-main-container div {
    display: inline-block;
    width: 49.5%;
    height: 100%;
}

.contact-main-container div a {
    border-bottom: 1px solid black;
    padding-bottom: 5px;
}

.contact-main-container .contact-left, .contact-right {
    text-align: initial;
    margin-top: 85px;
}

.contact-main-container img {
    width: 100px;
}

.profile-main-container .profile-container {
    display: flex;
}

.profile-main-container {
    padding: 70px 40px;
    background-color: #cdd2da;
    margin-bottom: 50px;
}

.profile-main-container img {
    width: 320px;
    margin-right: 30px;
}

.profile-container h2, p {
    text-align: initial;
}

.profile-main-projects {
    padding: 0 50px 40px;
    height: 500px;
}

.profile-main-projects h3 {
    border-bottom: 1px solid #cdd2da;
    padding-bottom: 35px;
    text-align: center;
}

.projects-main-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.project-container {
    padding: 0 5px;
}
