/* Colors */
:root {
    --primary-color: #36393f;
    --secondary-color: #fcc31c;
    --secondary-color-darker: #e0a00f;
    --terciary-color: #3c91e6;

    --info-color: #3c91e6;
    --warning-color: #fcc31c;
    --error-color: #ed4245;
    --success-color: #3ba55d;

    --black: #000000;
    --white: #ffffff;
}

/* Font */
@font-face {
    font-family: 'Super Plants';
    src: url('/fonts/Super-Plants.ttf');
}
@font-face {
    font-family: 'Hip Horay';
    src: url('/fonts/Hip-Horay.ttf');
}

body {
    font-family: 'Super Plants', sans-serif;
    font-smooth: 2em;
    color: white;
    margin: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;

    /* Disable scrolling */
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.rounded-background {
    border-radius: 999rem;
    padding: 0.3rem 2rem;
}

/* Navbar */
#title-div {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 1rem;
}

#title {
    font-size: 4rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: var(--secondary-color);
}

#title-welcome {
    text-align: center;
    margin: 0;
}

#title-hr {
    width: 30em;
    max-width: 80%;
    height: 6px;
    border-radius: 999em;
    border: none;
    margin: 0;
    background-color: var(--secondary-color);
}

#users-count-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
}

#users-count {
    font-size: 1.2rem;
    margin: 0;
    background-color: var(--secondary-color);
    padding: 0.3rem 1rem;
    text-align: center;
    margin-right: 1rem;
}

#webpages-count {
    font-size: 1.2rem;
    margin: 0;
    background-color: var(--secondary-color);
    padding: 0.3rem 1rem;
    text-align: center;
}

#notification-container {
    top: 0;
    max-width: 0;
    margin-top: 1rem;
    border-radius: 999rem;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-wrap: nowrap;
    z-index: 10;
    filter: drop-shadow(0 0 0.4em rgba(0, 0, 0, 0.2));
    -webkit-filter: drop-shadow(0 0 0.4em rgba(0, 0, 0, 0.2));

    transition: width, max-width 0.7s ease-in-out;
    visibility: hidden;
}

#notification-text {
    font-size: 2rem;
    margin: 0rem;
}

.notification-show {
    visibility: visible !important;
}

.notification-info {
    background-color: var(--info-color);
}

.notification-warning {
    background-color: var(--warning-color);
}

.notification-error {
    background-color: var(--error-color);
}

.notification-success {
    background-color: var(--success-color);
}