html,
body {
    font-family: "Poppins", sans-serif;
    height: 100%;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}

a {
    /* color: #92badd; */
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

#logo {
    position: relative;
    font-size: 15px;
    margin-top: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .1rem !important;
}

#mainDiv {
    background-color: #0071bb;
    background-image: url("../images/hm-decor-4.svg"), linear-gradient(#0071bb, #44c7f4);
    background-repeat: repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100vh;
}

#header {
    height: 78px;
}

#UserNameCode {
    font-size: 1rem;
    white-space: normal;
    word-wrap: break-word;
    width: 69%;
    text-align: center;
}


/* flags */

#flags {
    width: fit-content;
    display: inline-block;
}


/* loader */


/* Center the loader */

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Add animation to "page content" */

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}


/* Small devices (landscape phones, 576px ) */

@media (max-width: 576px) {
    #logo {
        display: none;
    }
    #BookInfoColumn1 {
        width: 100% !important;
        float: left;
    }
    #BookInfoColumn2 {
        width: 100% !important;
        float: left;
    }
}


/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) {
    #logo {
        display: none;
    }
    #BookInfoColumn1 {
        width: auto !important;
        float: left;
    }
    #BookInfoColumn2 {
        width: auto !important;
        float: left;
    }
}


/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
    #logo {
        display: block;
    }
    .container {
        margin-top: 30px;
    }
    #BookInfoColumn1 {
        width: 60% !important;
        float: left;
    }
    #BookInfoColumn2 {
        width: 40% !important;
        float: left;
    }
}


/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    #logo {
        display: block;
    }
    #BookInfoColumn1 {
        width: 60% !important;
        float: left;
    }
    #BookInfoColumn2 {
        width: 40% !important;
        float: left;
    }
}


/* X-Large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    #logo {
        display: block;
    }
    #BookInfoColumn1 {
        width: 60% !important;
        float: left;
    }
    #BookInfoColumn2 {
        width: 40% !important;
        float: left;
    }
}

.container {
    padding-right: 24px;
}

#teacherLogin,
#studentLogin {
    text-align: center;
    cursor: pointer;
}

#teacherLogin {
    background-color: #a2d2ff;
    /* color: #ffffff; */
}

#studentLogin {
    background-color: #bde0fe;
}

#teacherLogin:hover,
#studentLogin:hover {
    filter: brightness(95%);
}

#BookTitle {
    font-size: 1em;
}

#TeacherButton,
#StudentButton {
    font-size: 1em;
}

#BookInfo {
    height: fit-content;
    margin-bottom: 20px;
    border-bottom: 1px dotted darkgray;
}

#BookInfoColumn1 {
    height: fit-content;
    text-align: center;
}

#BookInfoTitle {
    font-size: smaller;
}

#WarningPopover {
    color: #25B7D3;
}

#TeacherButton,
#StudentButton {
    width: auto;
}

#studentLogin {
    cursor: not-allowed;
    background-color: lightgray;
    color: slategray;
}

#BookDetails {
    height: fit-content;
    margin-bottom: 20px;
}

#BookTitle,
#BookContains {
    word-break: break-word;
}