:root {
    --bs-font-sans-serif: 'Barlow', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 50rem;
}

.bg-lightblue {
    background-color: rgb(247, 250, 252);
}

.bg-success {
    background-color: #6dd46d !important;
}

.ratio-9x16 {
    --aspect-ratio: calc(16 / 9 * 100%);
}

#book {
    max-width: 20rem;
    color: rgb(74, 85, 104);
    border-left: .6rem solid #000;
}

#book.rounded-end {
    border-top-right-radius: .5rem !important;
    border-bottom-right-radius: .5rem !important;
}

.text-primary,
a:hover {
    color: #114232 !important;
}

.btn {
    border-radius: .5rem !important;
}

.btn-primary:hover {
    color: white !important;
}

.bg-primary {
    background-color: #114232 !important;
}
.btn-primary,
.form-check-input:checked {
    background-color: #114232;
    border-color: #114232;
}

.btn-primary:hover {
    background-color: #144c3a;
    border-color: #144c3a;
}

.btn-primary:active {
    background-color: #0e392a;
    border-color: #0e392a;
}

.ul-checked li::before {
    display: inline-block;
    position: absolute;
    content: "";
    width: 2rem;
    height: 2rem;
    background-color: #ddd;
    border-radius: 50%;
    background-image: url("media/icons/check2.svg");
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-2.5rem, -.25rem);
}

.ul-checked li {
    padding: 1rem 0 1rem 1rem;
    list-style: none;
}

.lh-2 {
    line-height: 1.5em;
}

.bg-grey {
    background-color: #ddd
}

.img-icon {
    font-size: 0;
    padding: 1rem;
    border-radius: .4rem;
}

.img-icon img {
    height: 2rem;
    width: 2rem
}

.img-icon-sm {
    padding: .5rem;
    border-radius: .3rem;
}

.img-icon-sm img {
    height: 1rem;
    width: 1rem;
}

.alert-primary {
    background-color: rgb(237, 242, 247);
    border-color: rgb(203, 213, 224);
    color: black
}

@media (max-width: 768px) {
    .alert-primary {
        background-color: transparent;
        border-color: transparent;
    }
}

.form-control:focus {
    border-color: #8de3cb;
}

.rounded,
.alert {
    border-radius: .875rem !important;
}

.mt-max {
    margin-top: 7rem !important;
}

.mb-max {
    margin-bottom: 7rem !important;
}

.my-max {
    margin-top: 7rem !important;
    margin-bottom: 7rem !important;
}

footer a {
    color: inherit;
    text-decoration: none;
    padding: 0 !important;
}

footer a:hover {
    color: inherit;
}

footer a::after {
    margin-left: .5rem;
    margin-right: .5rem;
    display: inline-block;
    content: "|";
}

footer li:last-child a::after {
    content: "";
}

a {
    color: inherit;
    text-decoration: none;
}

#anchor {
    margin-top: -10rem;
    margin-bottom: 10rem;
    display: block;
    height: 0;
}

figure.figure img {
    max-width: 100%;
}

.thumb {
    background: var(--bg-img) no-repeat center;
    background-size: cover;
}

@media (max-width: 768px) {
    .thumb {
        height: 15rem;
    }
}

#home article {
    min-height: 25rem;
}