body { user-select: none; }
.max-width { max-width: 460px; margin: auto; }
.overflow-hidden { overflow: hidden; }
#login.view, #register.view, #forgot-password.view {padding:16px;}
.spinner::before {
    content: '↻';
    display: inline-block;
    margin-right: 5px;
    animation-name: rt;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rt {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg) }
}

.padding-0 { padding: 0; }
label { margin: 0; display: block; }
.hidden { display: none; }
.header-logo { width: 38px; }
.separator { margin-bottom: 54px; }
#spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}

#auth .avatar { width: 140px; height: 140px; }
#institute .image,
#institute .image img { width: 100%; max-width: 180px; margin: auto; }
#student-list .student-list { margin-bottom: 82px; }
#student img { width: 140px; height: 140px; }
.w3-padding-right { padding-right: 8px; }
.w3-padding-left { padding-left: 8px; }
form .image { display: flex; justify-content: center; }
#student input { margin-bottom: 8px; }
input { transition: all 0.5s; }
#userprofile { height: 100vh; }
#userprofile .profile-card { max-width: 320px; overflow-x: hidden; margin: auto; }
#teacher .image img, #userprofile img { width: 140px; height: 140px; }
#userprofile .profile-card img { max-width: 140px; }
#userprofile .w3-tiny { font-weight: bold; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-center-column { flex-direction: column; }
#userprofile .profile-card h3 { font-family: fantasy; }
#userprofile .profile-card img { border: 6px solid #fff; }
.w3-ul { overflow: hidden; }
.custom-modal { padding-right: 16px; padding-left: 16px; }
.subject-card td, .subject-card td:first-child { padding: 0; }
.subject-card .w3-input { display: inline-block; width: auto; border: 0; }
.subject-card .subject { width: 110px; padding: 8px 6px; }
.subject-card .full_marks,.subject-card .obtained_marks { width: 47px; padding: 8px 3px; }
.flex-filter { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 16px; }

.loader {
    height: 70px;
    width: 100%;
    --c: no-repeat linear-gradient(#6100ee 0 0);
    background: var(--c), var(--c), #d7b8fc;
    background-size: 60% 100%;
    animation: l16 3s infinite;
    position: fixed;
    top: 0;
    display: none;
}

@keyframes l16 {
    0% { background-position: -150% 0, -150% 0 }
    66% { background-position: 250% 0, -150% 0 }
    100% { background-position: 250% 0, 250% 0 }
}
@keyframes reduce-width {
    100% { width: 0%; background-color: red; }
    0% { width: 100%; background-color: blue; }
}
.toast { overflow: hidden; }
.toast .progress { height: 3px; }

.add-student, .add-new-exam, .add-btn {margin: auto; display: block;}
#header {position: sticky; top:0;z-index: 1;}
.header-menu { backdrop-filter: blur(38px); background-color: #ffffffb8; }

.bottom-selector {bottom: 86px; left:0;}
.bottom-menu--container { overflow: hidden; }
.bottom-menu p { margin: 0;}

footer { margin-bottom: 136px; }

@keyframes animatetopout {
    from { bottom: 0; opacity: 1 }
    to { bottom: -300px; opacity: 0 }
}