@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --color-red: hsl(1, 90%, 64%);
    --color-blue: hsl(219, 85%, 26%);
    --color-white: hsl(0, 0%, 100%);
    --color-blue-grayish-1: hsl(211, 68%, 94%);
    --color-blue-grayish-2: hsl(205, 33%, 90%);
    --color-blue-grayish: hsl(219, 14%, 63%);
    --color-blue-grayish-dark: hsl(219, 12%, 42%);
    --color-blue-grayish-light: hsl(210, 60%, 98%);
    --color-blue-dark: hsl(224, 21%, 14%);

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --fs-xl: 3rem;
    --fs-600: 1.5rem;
    --fs-500: 1.2rem;
    --fs-400: 1rem;

    --line-height: 1.4
    :root{
        --fs-xl: 3rem;
        --fs-600: 2rem;
        --fs-500: 1.5rem;
        --fs-400: 1rem
    }
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    color: var(--color-blue) !important;
}
p{
    text-align: justify;
    line-height: var(--line-height);
    color: var(--color-blue-grayish);
}
html, body{
    min-height: 100vh;
}
body{
    position: relative;
    font-size: 16px;
    background-color: var(--color-blue-grayish-light);
    font-family: var(--font-main);
    color: var(--color-blue-dark);
    width: 100%;
}
main{
    position: relative;
    display: block;
    margin: 50px auto;
    max-width: 680px;
    padding: 40px 20px;
    width: 90%;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,.1);
    border-radius: 10px;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
#header-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
#notification-counter{
    padding: 2px 10px;
    color: white;
    font-size: var(--fs-400);
    font-weight: bold;
    border-radius: 5px;
    background-color: var(--color-blue);
}
#link-mark-read{
    color: var(--color-blue-grayish);
}
section{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.template{
    display: none !important;
}
.notification-card{
    cursor: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 95%;
    padding: 20px;
    height: fit-content;
    transition: all 0.3s ;
}
.notification-avatar{
    flex-shrink: 0;
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}
a .notification-post-img{
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    height: 50px;
    width: 50px;
}
a .notification-post-img:hover{
    box-shadow: 0 0 0 3px var(--color-blue-grayish-2);
}
.notification-content{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.notification-txt{
    hyphens: auto;
    position: relative;
}
.notification-card:is(.active){
    cursor: pointer;
    border-radius: 10px;
    box-shadow: inset 0px 0px 0px 1px var(--color-blue-grayish-2);
    background-color: var(--color-blue-grayish-light);
}
.notification-card:is(.active) .notification-txt::after{
    content: "";
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-red);
}
.profile-perfil{
    color: var(--color-blue-dark);
    font-weight: bold;
}
.post-title{
    color: var(--color-blue-grayish-dark);
    font-weight: bold;
}
.private-messsage{
    cursor: text;
    margin: 5px 0;
    padding: 15px;
    border-radius: 5px;
    background-color: white;
    box-shadow: inset 0px 0px 0px 1px var(--color-blue-grayish-2);
}
.private-messsage:hover{
    background-color: var(--color-blue-grayish-2);
}
.notification-message::after,
.notification-message::before,
.profile-perfil::after,
.post-title::before
{
    content: "\a0";
}
#form-wrapper{
    opacity: 0;
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 15px;
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0,0,0,.1);
    border-radius: 10px;
    transition: all 0.3s;
}
#form-wrapper:hover{
    opacity: 1;
}
#form-wrapper:is(.active){
    opacity: 1;
}
#form-wrapper:is(.active) form{
    display: flex;
}
#open-form{
    cursor: pointer;
}
form{
    gap: 10px;
    display: none;
    flex-direction: column;
    mix-blend-mode: difference;
}
.select-wrapper{
    display: flex;
    gap: 5px;
}
.select-wrapper > :is(select, input[type="text"], textarea){
    padding: 4px;
    outline: 0px;
    border: 0px;
}
textarea{
    resize: none;
}
.right-label{
    flex-grow: 1;
}
label{
    color: white;
}
input[type="button"]{
    cursor: pointer;
    color: transparent;
    background-color: transparent;
    color: white;
    box-shadow: inset 0px 0px 0px 3px white;
    font-weight: bold;
    border: none;
    padding: 5px 8px;
    appearance: none;
    font-size: var(--fs-500);
    transition: all 0.3s;
}
input[type="button"]:hover{
    background-color: white;
    color: black;
}
@media (max-width: 600px){
    main{
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
}