/*
 * Base structure
 */

body {
    background: #F6F1E9;
}

nav.menu-nav {
    position: fixed;
    top: 50%;
    right: 100px;
    float: initial;
    margin: 0;
    padding: 0;
    transform: translate(0, -50%);
}

#menu-nav ul {
    list-style: none;
    text-align: start;
}

#menu-nav a {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: #3e3e3e;
}

#menu-nav a.active {
    font-weight: bold;
    color: #8F3636;
    transition: .3s;
}

b, strong {
    font-weight: bold;
}

h1, h2, h3 {
    color: #8F3636 !important;
}

h1, h2 {
    font-family: "Libre Caslon Text", serif;
}

h1 {
    font-size: 70px;
}

h2 {
    margin-bottom: 30px;
}

h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 21px !important;
}

h5 {
    color: #3e3e3e !important;
}

main {
    margin: auto;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .3);
}

.lead {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #63471C;
}

.card a {
    color: inherit;
    text-decoration: none;
}

p.card-text {
    color: #63471C !important;
}

.desc {
    letter-spacing: 1px;
    line-height: 28px;
}

.text-small {
    font-size: 11px;
    letter-spacing: normal;
}

.tags {
    font-weight: normal;
}

.app-stores a {
    color: #8F3636;
    text-decoration: none;
    margin-right: 10px;
}


.page-prev {
    position: absolute;
    top: 50px;
    left: 50%;
    rotate: 180deg;
}

.page-next {
    position: absolute;
    bottom: 50px;
    left: 50%;
}

#btn-back-to-top {
    height: 36px;
    width: 36px;
    margin: auto;
    padding: 0;

    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: rgba(0, 0, 0, 0.08);
    color: white;
}

.subtitle {
    color: #63471C;
    font-family: "Montserrat Light", sans-serif;
    font-size: 30px;
}

.anchor-link {
    font-size: 60px;
    color: rgba(143, 54, 54, 0.3);
}

.subsection {
    max-width: 750px;
    padding: 30px;
    margin: auto;
    text-align: start;
    display: block;
}

.carousel {
    margin: auto;
}

.carousel-inner {
    width: 85% !important;
    margin: auto;
}
.carousel-control-next, .carousel-control-prev {
    width: 35px;
}
.carousel-item {
    padding: 15px;
    transition: transform .3s linear;
}
.carousel-item > div{
    background: #F6F1E9;
    border-radius: 10px;
}

.card {
    background: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.rounded-pill {
    font-weight: normal;
    letter-spacing: 1px;
}

.rounded-pill.bg-primary {
    background: #8F3636 !important;
}

.rounded-pill.bg-secondary {
    background: #cc8787 !important;
}


.border-dot {
    /* borderline... whats wrong ? */
    max-width: 8px;
    height: 8px;
    border-radius: 100px;
    background: #8F3636;
    padding: 0;
}

.border-line-v {
    /* borderline... whats wrong ? */
    max-width: 1px;
    padding: 0;
    background: #8F3636;
    opacity: .1;
}

.border-line-h {
    /* borderline... whats wrong ? */
    max-height: 1px;
    height: 1px;
    background: #8F3636;
    opacity: .1;
    padding: 0;
}

.img-tech {
    height: 70px;
    text-align: center;
    margin: 15px;
}

.app-media {
    filter: invert(0%) sepia(0%) saturate(3810%) hue-rotate(193deg) brightness(87%) contrast(51%);
}

.offcanvas {
    background: #F6F1E9 !important;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .3);
    width: 500px !important;
}

h5.offcanvas-title {
    color: #8F3636 !important;
    margin: auto;
    font-size: 30px;
    font-family: "Libre Caslon Text", serif;
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(33%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-33%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}



.bounce {
    -webkit-animation: bounce 3s infinite ease-in-out;
    -o-animation: bounce 3s infinite ease-in-out;
    -ms-animation: bounce 3s infinite ease-in-out;
    -moz-animation: bounce 3s infinite ease-in-out;
    animation: bounce 3s infinite ease-in-out;
}

@-webkit-keyframes bounce {
    0% {
        transform: translateY(-5px)
    }
    50% {
        transform: translateY(10px)
    }
    100% {
        transform: translateY(-5px)
    }
}

@keyframes bounce {
    0% {
        transform: translateY(-5px)
    }
    50% {
        transform: translateY(10px)
    }
    100% {
        transform: translateY(-5px)
    }
}
