html {
    font-size: 14px;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
}
/*body {
    position: relative
}
*/

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* bottom margin required for absolute positioning of footer */
    /*margin-bottom: 3rem;*/
}

footer {
    background-color: #3b3b3b !important;
    /*bottom: 0;
    height: 3rem;
    position: absolute;*/
    padding-bottom: 0.8em;
    padding-top: 0.8em;
    width: 100%;
}

ul.checklist {
    list-style: none;
    padding-left: 0;
}
ul.checklist li i {
    margin-right: 0.4em;
}


/*    ul.checklist li:before {
        content: "\2713\0020";
    }
*/

.container-img-profile {
    width: 12rem;
    height: 12rem;
    margin: -1.5em auto -2em auto;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

    .container-img-profile img {
        display: inline;
        margin: 0 auto;
        width: 100%;
        object-fit: cover;
        width: auto;
    }

        .container-img-profile img.rotate {
            transform: rotate(3deg);
        }


img.hero.rotate {
    transform: rotate(5deg);
}

.reading-width {
    max-width: 50em;
}

div.row.equation-row  {
    text-align: center;
}
    div.row.equation-row div {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
    div.row.equation-row div h4 {
        margin-bottom: 0;
        font-size: 1.5rem;
        font-weight: bold;
    }
    div.row.equation-row div > i:first-child {
        color: rgb(255, 192, 0);
        font-size: 3.0rem;
    }
    div.row.equation-row i {
        color: rgb(190, 190, 190);
        display: block;
        font-size: 1.5rem;
        margin-top: 0.2em;
    }


i.highlight-circle {
    background-color: rgb(218, 85, 39);
    border-radius: 50%;
    color: white;

    display: inline-block;
    margin-right: 0.8em;
    position: relative;
    top: 0.5em;
    overflow: hidden;
    text-align: center;
    
    height: 1.6em;
    width: 1.6em;
}

ul.legend-list {
    margin-left: 1em;
}

ul.legend-list li {
    margin-bottom: 0.4em;
}