/*Reset default margins and padding (?????)*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:link {
    text-decoration: underline;
    color: #e4e80d;
}

a:visited {
    color: hsl(182, 50%, 55%);
}


a:hover {
    color: hsl(182, 100%, 55%);
}

/*Font setting*/
body {
    font-family: 'JetBrains Mono', Arial, Verdana, sans-serif;
    line-height: 1.6;
    height: 100%;
}

/*Header styling*/
header {
    background-color: #292A1D;
    box-shadow: 0px 5px hsl(71, 89%, 44%);
    color: #E87D0D;
    padding: 1rem;
    position: sticky;
    min-width: 100%;
    top: 0;
    font-size: 28px;
}

/*Nav styling*/
nav {
    background-color: hsl(65, 18%, 9%);
    padding: 1rem;
    border-radius: 28px;
    font-size: 16px;
    max-width: 700px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    justify-content: left;
}

nav a {
    color: hsl(31, 89%, 40%);
    text-decoration: underline overline;
}

/*Main container*/
.container {
    padding: 2.6rem;
    min-height: 300px;
}

/*Main content area*/
main {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Recent Posts section */
.recent-posts {
    flex: 2;
    /*Takes up 2/3rds of the space*/
    background-color: #292A1D;
    color: hsl(71, 89%, 44%);
    padding: 1.2rem;
    border-radius: 14px;
    box-shadow: 3px 5px hsl(71, 89%, 44%);
}

/*Styling for singular posts*/
.post {
    margin-bottom: 2rem;
    color: #E87D0D;
}

.post .date {
    color: hsl(51, 89%, 41%);
    font-size: 0.8em;
}

/*Container on right side for info, maybe future nav shit ?*/
.rightbar {
    flex: 1;
    /*Takes up 1/3rd of the space*/
    background-color: #292A1D;
    color: hsl(71, 89%, 44%);
    padding: 1rem;
    border-radius: 14px;
    box-shadow: 3px 5px hsl(71, 89%, 44%);
    max-height: 430px;
    /* Fixed maximum height */
}

/*feet*/
footer {
    background-color: #292A1D;
    color: #E87D0D;
    padding: 1rem;
    text-align: center;
}