*,
*::after,
*::before {
  box-sizing: border-box;
}

body{
    margin: 0;
}

:root {
    --bar-width: 30px;
    --bar-height: 4px;
    --hamburger-gap: 6px;
    --foreground: #333;
    --background: #fff;
    --gradient: linear-gradient(to right, var(--foreground) 0%,var(--darkgreen) 100%);
    --hamburger-margin: 1em;
    --animation-timing: 200ms ease-in-out;
    --hamburger-height: calc(var(--bar-height) * 3  + var(--hamburger-gap) * 2);
    --green: #9ecb2d;
    --darkgreen: #384811;
    --darkgrey: #2d2d2d;
    --lightgrey: #999898;
}

.green{
    color: var(--green);
}

h1, h2, h3{
    margin: 0.5em 0;
}

h1, h2.h1{
    text-shadow: 1px 1px 0 var(--foreground), 2px 2px 0 var(--green);
}

h2, h3{
    /* color: #388e3c; */
    text-shadow: 1px 1px 0 var(--background), 2px 2px 0 var(--green);
    position: relative;
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    opacity: 0;
    transform: translateY(-130px);
    transition: all 0.8s ease-out;
}
  
h2.visible, h3.visible {
    opacity: 1;
    transform: translateY(0);
}


a{
    color: var(--darkgreen);
    text-decoration: none;
    font-weight: bold;
}

a:hover, a:visited:hover{
    color: var(--green);
    text-decoration: underline;
}

a:visited{
    color: var(--darkgrey);
}

a:focus {
    outline: 2px solid var(--green);
    padding: 0.2em;
    border-radius: 5px;
}




#container{
    position: absolute;
    top: 250px;
    left: 0;
    /*left: calc(var(--hamburger-height) + var(--hamburger-margin) + 1em);*/
    width: 100%;
}

#footer{
    background: linear-gradient(to top, #000000, #222222);
    color: #ffffff;
    border-top: 1px var(--green) solid;
    padding: 1em;
    min-height: 250px;
    width: 100%;
}

#header{
    position: absolute;
    top: 0;
    left: 0;
    /*left: calc(var(--hamburger-height) + var(--hamburger-margin) + 1em);*/
    width: 100%;
    height: 250px;
    background-image: url("../images/logo.jpg");
    background-size: cover;
    background-position: center;
    padding: 1em;
    border-bottom: 1px var(--darkgreen) solid;
}

.small_menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    float: right;
    margin-right: 1em;
    color: white;
}

#footer .small_menu {
    float: left;
    margin-bottom: 1em;
}

#footer a{
    color: var(--green);
    text-decoration: none;
}

#footer a:hover, #footer a:visited:hover {
    color: var(--green);
    text-decoration: underline;
}

.small_menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.3em; /* space between icon and text */
    color: white;
    text-decoration: none;
}

.small_menu a:hover, .small_menu a:visited:hover {
    color: var(--darkgreen);
    text-decoration: underline;
}

.small_menu .material-symbols-outlined {
    font-size: 1em;
    vertical-align: middle;
}

#social img{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.copyright{
    float: none;
    clear: both;
    margin-bottom: 1em;
}

.sub_content{
    margin: auto;
    padding: 1em;
    background-image: url("../images/eco.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: lighten;
    color: #333333;
    min-height: 600px;
    width: 60%;
    max-width: 600px;
}


.content_wrapper {
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 2em 1em;
    flex-wrap: wrap;
}

.sub_content {
    flex: 1 1 60%;
    max-width: 600px;
}

.right_panel {
    flex: 0 0 250px;
    background-color: #f5f5f5;
    padding: 1em;
    border-left: 3px solid var(--green);
    color: #333;
}

.right_panel h3 {
    margin-top: 0;
    color: var(--darkgreen);
}

.right_panel ul {
    padding-left: 1em;
    list-style-type: square;
}

.right_panel a {
    color: var(--darkgreen);
    font-weight: normal;
}

.right_panel a:hover {
    text-decoration: underline;
    color: var(--green);
}

#commentContainer{
    flex: 1 1 60%;
    max-width: 600px;
    padding: 1em;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.feed{
    margin-bottom: 2em;
}

.item{
    background: #f4f4f4; 
    padding: 20px;
    margin-bottom: 1em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .content_wrapper {
        flex-direction: column;
    }

    .right_panel {
        border-left: none;
        border-top: 3px solid var(--green);
        margin-top: 2em;
    }

    .sub_content{
        width: 100%;
    }
}