:root {
    --background-dark: rgb(22, 22, 22);
    --darker: rgb(18, 18, 18);
    /* --title: rgb(92, 255, 146); */
    --title: white;
    --title-into: white;
    --bar: rgb(150, 255, 89);
    /* --bar: rgb(255, 0, 179); */
    /* --bar: rgb(166, 89, 255); */
    --bar: rgb(44, 107, 241);
    /* --bar: white; */
    --bar-root: rgb(224, 250, 209);
    /* --bar: white; */
    --hover: rgb(124, 124, 124);
    --text: white;
    --list: rgb(142, 178, 255);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    display: flex;
    background-color: var(--background-dark);
    justify-content: center;
    /* align-items: center; */
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

h1 {
    color: var(--title);
}

p {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

ul {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.glow {
    box-shadow: 
        0 0 5px var(--bar),
        0 0 10px var(--bar),
        0 0 20px var(--bar),
        0 0 40px var(--bar);
}

/* FONTS */

.title-regular {
  font-family: "Stalinist One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.title-bold {
  font-family: "Stalinist One", sans-serif;
  font-weight: 700;
  font-style: bold;
}

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: bold;
}

/* FONTS */


.main-cont {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    /* background-color: rgb(33,33,33); */
    gap: 5em;

    margin-top: 30vh;
    /* background-color: darkgoldenrod; */

    width: 50rem;
}

.name {
    font-size: 3em;
    animation: fadeIn 3s ease-out;
}


.under-bar {
    height: .2em;
    width: 80%;
    background-color: var(--bar);
    transform: scaleX(0);
    transform-origin: center;
    animation: expandOut 1.5s ease-out forwards;
    animation-delay: 1s;
    box-shadow: 
        0 0 5px var(--bar),
        0 0 10px var(--bar),
        0 0 20px var(--bar),
        0 0 40px var(--bar);
        /* 0 0 80px var(--bar);  */
    /* border-radius: 50%; */
    border-radius: .1em;
}

.articles-link {
    text-decoration: none;
    color: var(--title);
} 



/* ARTICLES CONTAINTERS */

.back-cont {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.back-text {
    color: var(--text);
    transition: .25s ease;
}

.back-text:hover {
    color: var(--bar);
}

.bar {
    height: 2px;
    width: 100%;
    background-color: var(--bar);
}

.page-content {
    display: flex;
    flex-direction: column;
    /* background-color: darkblue; */
    /* gap: 1em; */

    max-width: 70vw;
}

.page-text-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    max-width: 40vw;
    /* background-color: darkblue; */
}

.page-head {
    display: flex;
    flex-direction: column;
    /* background-color: darkblue; */
    gap: 1em;
}

.page-title {
    font-size: 3em;
    margin-bottom: 1em;
}

.page-link {
    color: white;
    transition: .5s ease;
}

.page-link:hover {
    color: var(--bar);
    /* letter-spacing: 5px; */
}

.page-desc {
    width: 40vw;
    max-width: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;

    transition: .2s ease;
}

.page-text {
    color: var(--text);
    /* width: ; */
}

/* .art-desc:hover {
    letter-spacing: 2px;
} */

.page-text-list {
    color: var(--text);
    padding-left: 3em;
}

/* .page-text-list-elem {
    color: var(--list);
} */

.page-text-list-elem::marker {
    color: var(--bar);
}


.page-pic-cont {
    display: flex;
    width: 200px;
    height: 200px;
    /* background-color: purple; */
    overflow: hidden;
    border-radius: 1em;
    transition: .25s ease;
    /* border: 20px solid var(--background-dark); */
}

.page-pic {
    width: 100%;
    object-fit: cover;
    border-radius: 1em;
    box-sizing: border-box;
    /* border: 3px solid var(--bar); */
    aspect-ratio: 1 / 1;

    transition: .25s ease;
    /* filter: brightness(.7); */
}

/* .page-pic:hover {
} */

/* .art-pic-cont:has(.art-pic:hover) {
    transform: translateY(-1em);
} */

.page-foot-cont {
    display: flex;
    /* background-color: darkslateblue; */
    justify-content: space-between;

    /* padding-inline: 1em; */
}

.page-date {
    color: white;
}

.page-likes {
    display: flex;
    flex-direction: row;
    gap: 1em;
    /* color: white; */
    /* background-color: darkblue; */
    align-items: center;
}

.page-count {
    color: white;
}

.page-thumb {
    color: white;
    transition: .25s ease;
}

.page-thumb:hover {
    color: rgb(241, 44, 44);
    cursor: pointer;
    transform: scale(1.5);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: white;
}



@keyframes fadeIn {
    0% {
        opacity: 0;
        color: var(--title-into);
    }
    10% {
        opacity: 0;
        transform: translateY(-1em);
    }
    50% {
        color: var(--title-into);
    }
    100% {
        opacity: 1;
    }
}

@keyframes expandOut {
    to {
        transform: scaleX(1);
    }
}


@media screen and (max-width: 600px) {
    body {
        display: flex;
        background-color: var(--background-dark);
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        word-wrap: break-word;
    }

    /* .main-cont {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
    } */

    /* .main-cont {
        transform: translateY(-10vh);
    } */

    /* .name {
        font-size: 6vw;
    } */

    .main-cont {
        /* background-color: darkblue; */
        max-width: 80vw;
        margin-top: 15vh;
        /* justify-content: center; */
        align-items: center;
    }

    .back-cont {
        align-self: start;
    }

    .page-head {
        /* gap: 1em; */
        /* background-color: darkblue; */
    }

    .page-title {
        margin-bottom: 0em;
    }

    /* .page-link {
    } */

    .page-content {
        /* background-color: darkgoldenrod; */
        max-width: 80vw;
        width: 80vw;
        justify-self: center;
    }


}





