@charset "UTF-8";

:root {
    --background-color: 245, 245, 245;
    --primary-color: 235, 227, 196;
    --primary-border-color: 119, 119, 119;
}

body {
    background-color: rgb(var(--background-color));
}

.loginForm {
    position: relative;
}

.loginForm form, .loginForm .qrcodeContainer, .verticalScreenCenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.loginForm h3 {
    font-family: Roboto, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 43px;
    letter-spacing: 0;
    text-align: center;
    color: black;
}

.loginForm a {
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    color: #5A89EE;
    text-decoration: none;
}

.titleLegend {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-size: larger;
    line-height: 43px;
    text-align: center;
    color: gray;
}

.resetPasswd {
    font-size: 13px !important;
}

#loginImg {
    background-size: cover;
}

@media screen and (max-width: 768px) {
    #loginImg {
        background-image: none !important;
        height: 0;
    }

    .loginForm {
        position: unset;
    }
}

#loginBtn {
    box-sizing: border-box;
    width: 40%;
    background: rgb(var(--primary-color));
    color: black;
    font-style: normal;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    border: 1px solid rgb(var(--primary-border-color));
}

#logoutBtn {
    box-sizing: border-box;
    background: rgb(var(--primary-color));
    color: black;
    font-style: normal;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.loginForm label {
    font-style: normal;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 2px !important;
    font-weight: bold;
}

.loginFields div {
    text-align: center;
}

.loginForm input {
    width: 50%;
    height: calc(1.5em + 1.3rem + 2px);
    margin: 0 auto;
}

.navbar {
    background-color: #333333 !important;
}

.navbar a {
    text-decoration: none !important;
}


.navName {
    color: rgb(var(--primary-color));
    font-weight: lighter;
}

.HScroll {
    width: 90%;
    height: 300px;
    margin: 0 auto;
    position: relative;
    overflow-y: hidden;
    max-height: 300px;
}


.HScroll::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    box-shadow: 0 0 10px 15px rgb(var(--background-color));
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.HScroll::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    box-shadow: 0 0 10px 15px rgb(var(--background-color));
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}


.HScroll .items-container {
    white-space: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 100%;
}

.HScroll .item {
    display: inline-grid;
    grid-auto-columns: 200px;
    grid-template-rows: 1fr 1fr;
    width: 200px;
    height: 200px;
    margin: 10px;
}

.HScroll .item p {
    text-align: center;
    font-weight: bold;
}

.HScroll .item a {
    text-decoration: none;
    color: black;
}

.itemImage {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}


.scrollLeft {
    position: absolute;
    top: 22%;
    padding: 30px;
    z-index: 4;
    cursor: pointer;
}

.scrollRight {
    position: absolute;
    top: 23.5%;
    right: 0;
    padding: 30px;
    transform: rotate(180deg);
    z-index: 4;
    cursor: pointer;
}

@media  screen and (max-width: 768px) {
    .HScroll .item {
        grid-auto-columns: 150px;
        width: 150px;
        height: 150px;
    }

    .itemImage {
        width: 150px;
        height: 150px;
    }
    .scrollLeft {
        top: 15%;
    }
    .scrollRight {
        top: 16.5%;
    }
}

.ratingPageTitle, .choosePage {
    text-align: center;
    margin-bottom: 10%;
    margin-top: 5%;
    z-index: 4;
    position: relative;
}

.screenCenter {
    position: absolute;
    top: 60%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.rateForm {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 50px;
    margin: 10px 0;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    max-width: 100vw;
    width: 90%;
}

.rateImage {
    display: inline;
    margin: 0 5px;
}

.imageFilter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

nav {
    z-index: 5;
}

.nav {
    margin-top: 20px;
    border-bottom: #1a202c 1px solid;
}

.nav a {
    color: #1a202c;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.nav a.active {
    color: rgb(var(--primary-border-color));
}

.nav a:hover {
    color: rgb(var(--primary-border-color));
}

.nav a:focus {
    color: rgb(var(--primary-color));
}


.navBtn {
    box-sizing: border-box;
    background: rgb(var(--primary-color));
    color: black;
    font-style: normal;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
    outline: 0;
    border: 0;
    width: 100%;
    margin: 6px 0;
}

.dropdown-menu{
    z-index: 9;
}

.noSubjects{
    text-align: center;
    margin-top: 10%;
}

.logoutRightBtn {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 60px;
    z-index: 5;
}
