/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html,
body {
    height: 100%;
    max-width: 1000px;
    margin: 0px auto;
}

/* Global */

html {
    font-size: 100%;
    /* --primary-bg-color: #3c3c3c; */
    --primary-bg-color: #ffffffc3;
    --secondary-bg-color: #444343;
    --accent-bg-color: #4b5054;
    --text-color: #424242;
    --accent-color: #000000;
    --default-border-radius: 15px;
    scroll-behavior: smooth;
}

body {
    font: 300 1rem/1.8 "Poppins", sans-serif;
    background-color: var(--primary-bg-color);
    color: var(--text-color);
    letter-spacing: 0.0125rem;
    /* for the overlay */
    position: relative;
}

h1,
h2,
h3,
h4,
section h2 + p {
    letter-spacing: 0.025rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.6;
}

h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent-color);
    text-transform: uppercase;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    font-weight: 300;
}

header a {
    color: inherit;
    text-decoration: none;
}

.contained {
    max-width: 90rem;
    margin: 0 auto;
    width: 90%;
}

.profile-img {
    width: 350px;
    border-radius: 10px;
    margin: 0px 10px;
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.logo {
    font-size: 1.7rem;
    cursor: pointer;
}

.links a {
    margin: 0 4px;
}

.header-seperator {
    border: none;
    height: 1px;
    background-color: #333;
    width: 90%;
    margin: 10px auto;
}

.blog-hr-seperator {
    border: none;
    height: 1px;
    background-color: #333;
    width: 90%;
    margin: 30px auto;
}

.blog-posts-homepage {
    margin: 20px 120px;
    display: flex;
    flex-direction: column;
}

.blog-post-card {
    margin: 10px;
}

.title {
    font-size: x-large;
}

.project-title {
    font-size: larger;
}

.homepage-content {
    margin: 20px 0px;
    display: flex;
}

.homepage-content p {
    margin: 10px 0px;
}

.section-header {
    margin: 10px 80px;
}

.Highlighted-projects {
    display: flex;
    flex-direction: column;
    max-width: 90%;
}

.project-field {
    display: flex;
    border-radius: 10px;
    flex-direction: column;
    padding: 5px 0px;
}

.project-field p {
    margin: 5px 0px;
    /* text-align: center; */
}

.project-links {
    display: flex;
}

.project-links p {
    margin-right: 10px;
}

.blog-post {
    max-width: 85%;
    margin: 0px auto;
    padding-bottom: 25px;
}

.blog-post img {
    max-width: 100%;
}

.blog-post figure {
    display: flex;
        justify-content: center;
        /* Center items horizontally */
        gap: 10px;
        /* Optional spacing between images */
        flex-wrap: wrap;
        /* Allow images to wrap to the next line if needed */
}

.blog-title {
    padding: 0px 10px;
}

.small-img {
    max-width: 45% !important;
}

table td,
table th {
    padding: 0 10px;
    /* Adds 10px horizontal padding */
}

.blog-post p {
    margin: 15px 0px;
}

.blog-post h1 {
    margin: 25px 0px;
}

.conspiracy-container {
    margin: 50px 40px;
}

.conspiracy-container p {
    margin: 20px auto;
}
.facts-container {
    display: flex;
    flex-direction: column;
}

.facts-container p {
    margin: 20px auto;
    font-style: italic;
    text-align: center;
}

@media (max-width: 70rem) {
    .homepage-content {
        display: block;
        margin: 20px 40px;
    }

    .Highlighted-projects {
        margin: 20px 40px;
    }

    .profile-img {
        width: 100%;
        max-width: 400px;
        border-radius: 10px;
        margin: 10px 0px;
    }
}
