* {
    --primary-color: Teal;
}

head, body {
    min-height: 100%;
    margin: 0;
}

body {
    background-color: floralwhite;
    display: flex;
    flex-direction: column;
    gap: 20px;

    color: SlateGray;
}

header {
    text-align: center;
}

h1, h2, h3, h4, h5, h6,
b,
li::marker,
a {
    color: var(--primary-color);
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}



header h1 {
    transition: 0.2s linear;
}

header h1:hover {
    transform: scale(1.2);
    transition: 0.2s linear;
    text-shadow: 0px 5px 5px grey;
}


header h1:hover a {
    text-decoration: none;
}


/* *****************Main******************** */
main {
    /*background-color: floralwhite;*/

    display: grid;
    grid-template-columns: 15% 70%;
    gap: 10px;

    padding: 0 30Px;
}

/* *****************Nav bar******************** */
#navbar {
}

#navbar .container {
    position: fixed;
}

#navbar .container ul {
    list-style: none;
    padding: 0;
}

#navbar .container ul li {
    padding: 1px;
    margin: 5px;
}

#navbar .container ul li a {
    text-decoration: none;
    border: 1px solid var(--primary-color);
    padding: 3px;
    font-size: 1.2em;
}

#navbar .container ul li a:hover {
    background-color: var(--primary-color);
    color: floralwhite;
    font-weight: bold;
}


/* *****************Folders******************** */
#folders {

}

#folders:has(article:target) #default {
    display: none;
}


#default {
    display: block;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    padding: 20px;
}

#lang-separator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 25px;
}



/* *****************Articles******************** */
#folders article {
    display: none;
}

#folders article:target {
    display: contents;
}


#folders article .content{
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    padding: 20px;
}
#folders article .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px;
    align-items: center;
    justify-items: center;
    gap: 15px;
}

#folders article .container img {
    max-width: 300px;
    max-height: 300px;
}

/* *****************Image******************** */
.image {
    position:relative;
}

.image img {
    display: block;
}

.image .text-container {
    visibility: hidden;
    opacity: 0;
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  
    transition: opacity 0.2s linear;
}

.image .text-container .text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.image .text-container .text p {
    color: white;
    padding: 0 10px;
    text-align: center;
}

.image .text-container .text p::after {
    content:"(click to see the post)";
    display: block;
    color: gray;
    font-style: italic;
    padding-top: 10px;
}

.image:hover .text-container {
    visibility: visible;
    opacity: 1;
}


/* *****************Footer******************** */
footer {
    min-height: 50px;
    min-width: 50%;
    margin: 200px auto auto;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer > div {
    text-align: center;
}