@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

/*CSS Variables*/
:root {
    --color-bg-primary: #084a7a;
    --color-info: #118ef5;
    --bezier-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
    --bezier-deceleration: cubic-bezier(0.0, 0.0, 0.2, 1);
    --bezier-aceleration: cubic-bezier(0.4, 0.0, 1, 1);
    --bezier-sharp: cubic-bezier(0.4, 0.0, 0.6, 1);
    --bezier-motion: cubic-bezier(0.53, -0.01, 0.16, 0.99);
    --shadow-d1: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    --shadow-d2: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
    --shadow-d3: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.3);
    --shadow-d4: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.3);
    --shadow-d5: 0 16px 24px 2px rgba(0,0,0,0.14), 0 6px 30px 5px rgba(0,0,0,0.12), 0 8px 10px -5px rgba(0,0,0,0.3);
    --navbar-height: 4.1rem;
}

.scroll-y {
    overflow-y: scroll;
}
/*Scroll bar*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*Navbar*/
.navbar {
    background-color: var(--color-bg-primary);
    color: white;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    height: var(--navbar-height);
}

.nav-item {
    margin-right: 10px;
    margin-top: 10px;
}

/*footer*/
footer {
    background-color: darkgrey;
}

.content-main {
    margin-top: 4.1rem;
}

.freeze-scroll {
    overflow-y: hidden;
}

app-sidebar {
    width: 16rem;
    display: block;

    .sidebar-inner {
        padding: 1rem 1rem;
        position: fixed;
        top: 66px;
        bottom: 0;
        width: 16rem;
        border-right: solid 1px #e0e0e0;
        background-color: #f0f0f0;
        overflow-y: auto;
    }
}

.word-bank {
    border: solid 1px #cecece;
    border-radius: 0.2rem;
    min-height: 2rem;
}

.word-spot {
    border: solid 1px #cecece;
    min-height: 2rem;
    border-radius: 0.2rem;
    background-color: #e0e0e0;

    &.invalid {
        background-color: #ffdada;
        box-shadow: 0 0 0px 2px red;
        border: none;
    }

    &.complete {
        background-color: #c1ffd3;
        box-shadow: 0 0 0px 2px #33c067;
        border: none;
    }
}
