@font-face {
    font-family: 'Material Symbols Sharp';
    font-style: normal;
    font-weight: 100 700;
    src: url(./public/fonts/material/icons-sharp.woff2) format('woff2');
}

.material-symbols-sharp {
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Montserrat';
    src: url(./public/fonts/Montserrat.ttf);
}

@font-face {
    font-family: 'Exo';
    src: url(./public/fonts/Exo.ttf);
}

@keyframes loader {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-size: 14px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--grey--darker);
}

li {
    list-style: none;
}

html {
    max-width: 1920px;
    margin: 0 auto;
    color: var(--grey--darker);
    background-color: var(--white--dark);
}

:root {
    --grey--darkest: #181818;
    --grey--darker: #272727;
    --grey--dark: #353535;
    --grey--mid: #454545;
    --grey--light: #666666;
    --grey--lighter: #959595;
    --grey--lightest: #e5e5e5;

    --white--dark: #EEF1F5;
    --white--mid: #fcfcfc;

    --yellow--darkest: #B49D0C;
    --yellow--darker: #c7ad03;
    --yellow--dark: #d9bd0c;
    --yellow--mid: #E3CA26;
    --yellow--light: #FFEE65;
    --yellow--lighter: #FFF08E;
    --yellow--lightest: #FFF8C3;

    --blue--dark: #3479D7;
    --blue--mid: #4790f3;
    --blue--lighter: #8EC7F0;
    --blue--lightest: #C2E7FF;

    --green--dark: #14A065;
    --green--mid: #16B471;
    --green--light: #6DDBAB;
    --green--lighter: #8FF5C8;
    --green--lightest: #AAFBD8;

    --red--dark: #D90B0B;
    --red--mid: #F63C3C;
    --red--light: #FE5050;
    --red--lighter: #FB7272;
    --red--lightest: #F69494;

    --delirest--dark: #2D5034;
    --delirest--mid: #436C4B;
    --delirest--light: #738A77;
    --delirest--lighter: #A3B9A7;
    --delirest--lightest: #C5D6C8;
}

/* main */
.wrapper-main {
    display: flex;
    width: 100%;
}

.wrapper-main .navbar {
    width: 350px;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.wrapper-main .wrapper-content {
    width: 100%;
    background-color: var(--white--mid);
    border-radius: 15px;
    margin: 25px;
    padding: 15px;
}

.navbar-category p {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    line-height: normal;
    margin: 5px 0;
    text-transform: uppercase;
    color: var(--delirest--light);
    font-weight: bold;
    letter-spacing: .7px;
}

.navbar-category p::before,
.navbar-category p::after {
    content: "";
    margin: 0 5px;
    position: relative;
    height: 2px;
    background-color: var(--delirest--light);
    display: block;
}

.navbar-category p::before {
    width: 10%;
}

.navbar-category p::after {
    width: 90%;
}

.navbar-link {
    font-weight: normal;
    display: flex;
    align-items: center;
    padding: 5px;
    width: 100%;
    margin: 2px 0;
    border: 3px solid transparent;
    color: var(--grey--light);
}

.navbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.navbar-link span {
    margin-right: 5px;
}

.navbar-row:hover {
    background-color: var(--delirest--lighter);
    color: var(--grey--light);
    border-radius: 7px;
    cursor: pointer;
}

.navbar-row:hover .navbar-link,
.navbar-row:hover span {
    color: var(--white--mid);
}

.navbar-loggedin {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.active {
    background-color: var(--delirest--mid);
    color: var(--white--mid);
    border-radius: 7px;
}

.active a {
    color: var(--white--mid);
}

/* LOADER */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grey--lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#loader:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid #fff;
    border-color: #738A77 transparent var(--grey--lighter) transparent;
    animation: loader 1.2s infinite;
}

.alert {
    color: #fcfcfc;
    width: 100%;
    padding: 10px;
    text-align: center;
}

#alert-container {
    position: fixed;
    color: var(--white--mid);
    top: 0;
    right: 0;
    width: 350px;
    flex-wrap: wrap;
    padding: 15px;
    margin: 15px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: none;
    /* Initially hidden */
    z-index: 99999;
}

#popupWindow {
    width: 40%;
    position: absolute;
    top: 10%;
    margin: auto;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: var(--white--mid);
}
/* From Uiverse.io by Yaya12085 */ 
.card {
    border-width: 1px;
    border-color: rgba(219, 234, 254, 1);
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 1);
    padding: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

  }
  
  .header {
    display: flex;
    align-items: center;
    grid-gap: 1rem;
    gap: 1rem;
  }
  
  .icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: var(--delirest--mid);
    padding: 0.5rem;
    color: rgba(255, 255, 255, 1);
  }
  
  .icon svg {
    height: 1rem;
    width: 1rem;
  }
  
  .alert {
    font-weight: 600;
    color: rgba(107, 114, 128, 1);
  }
  
  .message {
    margin-top: 1rem;
    color: rgba(107, 114, 128, 1);
  }
  
  .actions {
    margin-top: 1.5rem;
  }
  
  .actions a {
    text-decoration: none;
  }
  
  .mark-as-read, .read {
    display: inline-block;
    border-radius: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
  }
  
  .read {
    background-color: var(--delirest--mid);
    color: rgba(255, 255, 255, 1);
  }
  .read:hover {
    background-color: var(--delirest--dark);
  }
  
  .mark-as-read {
    margin-top: 0.5rem;
    background-color: rgba(249, 250, 251, 1);
    color: rgba(107, 114, 128, 1);
  }
  
  .mark-as-read:hover {
    background-color: rgb(230, 231, 233);
  }