* {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-size: clamp(1.2rem, 2vw, 2rem);
    background-color: #23272a;
    color: #ffffff;
}

header {
    padding-top: .5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    
    display: flex;
    gap: 0rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;

    list-style-type: none;
}

header a {
    text-decoration: none;
    color: #ffffff;
    border-radius: .5rem;

    padding: .1rem 1rem .3rem 1rem;
    margin-bottom: -.3rem;

    border: #ffffff00 2px solid;
    margin-left: -2px;
    margin-right: -2px;
    transition-duration: .2s;
}

header a:hover {
    border: #ffffff 2px solid;
    background-color: transparent;
}

header li {
    display: inline-block;
    /* margin-left: .5rem;
    margin-right: .5rem; */

    font-weight: bold;

    margin-top: 0.5rem;
}

nav {
    margin-top: 1rem;
}

button img {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
    cursor: pointer;
}
  
button:hover img {
    filter: none;
}
  
button:active img {
    filter: grayscale(100%) brightness(0.7);
}

main {
    margin-top: 2rem;
    padding-top: 1rem;

    display: flex;
    gap: 0rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;

    position: relative;
}

main .post {
    margin-top: 2rem;
}

select {
    all: unset;
    font-size: .8rem;
}

option {
    all: unset;
    
    border: none;
    background-color: #3a3a3a;
    font-size: .6rem;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.6rem;
    margin-bottom: 1rem;
}
footer a {
    color: #cd58fe;
}

.active {
    background-color: #cd58fe;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.post {
    display: flex;
    gap: 0rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: end;
    flex-wrap: wrap;
    
    width: 40%;
    height: 10rem;

    background-color: #3a3a3a;

    /* margin-top: 4.5rem; */
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;

    border-radius: 1rem;
    border: #3a3a3a .3rem solid;

    position: relative;

    box-shadow:  10px 10px 20px #191b1d,
             -10px -10px 20px #2e3337;
}

.post-header {
    background-color: #3a3a3a;
    width: 100%;
    height: 2rem;
    border-radius: 1rem 1rem 0rem 0rem;

    color: #cecece;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .2rem;
    box-sizing: border-box;

    display: flex;
    gap: 0rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.post-textarea {
    all: unset; 
    box-sizing: border-box;
    width: 100%; 
    height: auto;
    flex-grow: 1;
    border-radius: 0rem 0rem 1rem 1rem;

    background-color: #2e2f33;

    word-break: normal;
    overflow-x: hidden;

    padding: .5rem;
    padding-bottom: 1.8rem;
    font-size: .8rem;

    /* scrollbar-width: thin; lub auto / none */
    scrollbar-color: #888 #f0f0f000;
    border: #2e2f33 .3rem solid;
}

.post-btns{
    position: absolute;
    bottom: .0rem;
    right: 1rem;
    background-color: #3a3a3a;
    border-radius: 1rem 1rem 0rem 0rem;
    padding-top: .2rem;
    padding-left: .4rem;
    padding-right: .4rem;
}

.post-btns button {
    all: unset;
    margin: .1rem;
    margin-bottom: 0rem;
    margin-top: .2rem;
}

/* .post-btns img {
    width: 1rem;
    height: 1rem;
} */

.post-btns img {
    width: 1rem;
    height: 1rem;
}

/* .post-report img {
    filter: none;
} */

.post-btns-activ img {
    filter: none;
}

#logo-icon {
    display: none;
}

#logo-banner {
    display: block;
}

#logo-link {
    border: none;
    
    display: flex;
    gap: 1rem;
    flex-direction: row;
    justify-content: flex-start;
    align-items: end;
    flex-wrap: wrap;
}

#post-tag {
    margin-bottom: .2rem;
    color: #58fef6;
}

#filter-tag {
    position: absolute;
    right: 4rem;
    top: 0;

    background-color: #3a3a3a;
    padding-top: .1rem;
    padding-bottom: .2rem;
    padding-right: .7rem;
    padding-left: .7rem;
    border-radius: .4rem;

    box-shadow:  10px 10px 20px #191b1d,
        -10px -10px 20px #2e3337;
}

#welcomer {
    text-align: center;
    margin-top: 2rem;

    background: linear-gradient(to right, #fcef44 0%, #58fef6 25%, #d080f3 50%, #58fef6 75%, #fcef44 100%);
    background-size: 200% auto;
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: shine 5s linear infinite;
}

#ver {
    font-weight: bold;
    font-style: italic;
    opacity: .6;
}

@keyframes shine {
    to {
      background-position: -200% center;
    }
}

@media (max-width: 768px) {
    #logo-icon {
        display: block;
    }
    #logo-banner {
        display: none;
    }
    .post {
        width: 80%;
    }
    .post:not(main .post) {
        height: 14rem;
    }
    #post-placeholder {
        width: 60%;
        height: 16rem;
    }
}

@media (max-width: 620px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    header a 
    {
        align-self: flex-start;
        font-size: .8rem;
        margin-left: -0.3rem;
        margin-right: -0.3rem;
    }
    nav {
        margin-left: -2rem;
        margin-right: -2rem;
    }
    header li {
        padding: .1rem -.4rem .3rem -.4rem;
    }

    #logo-icon {
        display: none;
    }
    #logo-banner {
        display: block;
    }
}