:root {
    --red: #e7473c;
    --grey: #8f8f8f;
    --green: #2aa54a;
}
/* font-family: ui-monospace; */
/* @font-face {
    font-family: 'Pacifico';
    font-style: normal;
    font-weight: 400;
    src: local('Pacifico Regular'), local('Pacifico-Regular'),
      url(https://fonts.gstatic.com/s/pacifico/v12/FwZY7-Qmy14u9lezJ-6H6MmBp0u-.woff2)
        format('woff2');
    font-display: swap;
  } */

@font-face {
    font-family: 'Butler-thin';
    src: url('../fonts/Butler-Light.woff2') format('woff2'),
        url('../fonts/Butler-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('../fonts/Butler.woff2') format('woff2'),
        url('../fonts/Butler.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler-bold';
    src: url('../fonts/Butler-Bold.woff2') format('woff2'),
        url('../fonts/Butler-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Butler';
    font-weight: 300;

}

.row{
    max-width: 100%;
    margin: 0 !important;
}

.container-fluid{
    padding: 0 35px;

}

/*Navbar*/
.navbar{
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    height: 97px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.navbar .top{
    background-color: var(--red);
    width: 100%;
    padding: 15px;
    display: flex;
}

.navbar .top a{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav{
    width: 100%;
    justify-content: space-between;
}

.navbar-collapse{
    max-width: 550px;
}

.navbar .top img{
    max-width: 85px;
}

.navbar-toggler{
    padding: 0;
}

.navbar-bottom{
    padding: 0 60px;
    width: 100%;
}

.navbar-toggler-icon {
    display: flex;
    align-items: center;
}

.navbar-toggler-icon i{
    color: #def81d;
    width: calc(100% - 550px);
}

.navbar .navbar-brand.marquee{
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    border-right: solid 1px #000000;
    padding-right: 10px;
    width: 60%;
    text-align: end;
    position: relative;
    overflow: hidden;
}

.marquee .wrapper {
    position: absolute;
    overflow: visible;
    width: 200%;
    animation: marquee 40s linear infinite;
}

.marquee .wrapper div {
    float: left;
    width: 85%;
    padding-left: 30px;
}

.marquee .wrapper:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
      left: 0;
    }
    100% {
      left: -250%;
    }
  }

.navbar .nav-link{
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    transition: all ease .2s;
    line-height: 30px;
    padding-bottom: 0;
    padding-top: 0;
    text-transform: uppercase;
    font-family: 'butler-bold';
}

.navbar .nav-item:hover .nav-link,
.navbar .nav-item.active .nav-link,
.navbar .nav-item:focus .nav-link{
    color: var(--red);
}

.navbar .line-menu{
    color: #ffffff;
    font-size: 25px;
    font-weight: 300;
    line-height: 40px;
    pointer-events: none;
}

/*End Navbar*/

/*Footer*/
footer{
    background-color: #ffffff;
    margin-bottom: 0;
    padding: 35px 0;
    position: relative;
    /* border-top: solid 1px #000000; */
}

footer .container-fluid{
    display: flex;
    align-items: center;
}

footer img{
    max-width: 75px;
    margin-right: 25px;
}


footer p{
    color: var(--grey);
    line-height: 125%;
    font-size: 12px;
    margin-bottom: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

footer span{
    color: #000000;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 500;

}

footer .right{
    display: flex;
    align-items: center;
}

footer .right a{
    height: 32px;
    width: 75px;
    margin-right: 20px;
    display: flex;
}

footer .left{
    text-align: right;
}

footer .left a{
    color: var(--red);
    font-size: 14px;
}


/*End Footer*/

section{
    background-color: #f8f8f8;
    padding: 94px 0 0 0;
    border-top: solid 1px #000000;
    min-height: calc(100vh - 103px);
}

/*Home*/

.row-custom-s{
    height: 450px !important;
}

.cuadro{
    /* border: solid 1px #000000; */
    padding: 35px 50px;
    max-width: 100% !important;
    max-height: 100% !important;
}

.backImg{
    background-color: var(--red);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-height: 100% !important;
    transition: all ease .4s;
    max-width: 700px;
    margin: 0 auto;
}

.backImg img{
    max-width: 100% !important;
    max-height: 100% !important;
}

.center{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.txtTop{
    color: var(--red);
    font-family: 'Butler-bold';
    font-size: 16px;
    margin-bottom: 5px;
}

.titleXl{
    color: #000000;
    font-family: 'Butler-bold';
    line-height: 130%;
    font-size: 35px;
    margin-bottom: 15px;
}

.titleXl span{
    color: var(--red);
    font-family: 'Butler-bold';
}

.by, .by span{
    text-transform: uppercase;
    font-size: 15px;
    font-family: 'Butler-bold';
    color: var(--grey);
}

.max-w7{
    max-width: 700px;
}

.max-w5{
    max-width: 500px;
}

.max-w14{
    max-width: 1400px;
}

.txt {
    color: var(--grey);
    font-size: 16px;
}

.row-custom-l .txtTop{
    margin-bottom: 10px;
    height: 24px;
}

.row-custom-l .backImg{
    margin-bottom: 30px;
    height: 400px;
    transition: all ease .4s;
    max-width: 340px;
}

.card-link:hover .backImg{
    scale: 1.05;
}

.card-link:hover .title,
.link-home:hover .titleXl,
.link-home:hover{
    color: var(--red) !important;
    text-decoration: none;
}

.title{
    transition: all ease .3s;
    color: #000000;
    font-family: 'Butler-bold';
    line-height: 125%;
    font-size: 24px;
    margin-bottom: 15px;
}

.row-custom-l .txt{
    font-size: 15px;
    color: #000000;
}

.card-link{
    transition: all ease .3s;
    max-height: 100%;
    max-width: 100%;
}

#home .col-lg-5{
    padding-bottom: 0;
}

.card-link p{
    text-decoration: none;
}

/*About*/

#about .txt{
    max-width: 550px;
    font-family: 'Butler-bold';
}

/* #about .carousel {
    position: relative;
    width: 80%;
    margin: auto;
} */

#about .carousel {
    margin-bottom: 20px
}

#about .carousel-indicators li {
    width: 9px;
    height: 9px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 1;
    transition: opacity .6s ease;
    border: solid 4px var(--green);
    border-radius: 50%;
}

#about .carousel-indicators {
    bottom: -75px !important;
    left: -15.5%;
    margin-bottom: 60px;
    right: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;}

#about .carousel-indicators li.active {
    background-color: #000000;
}

#about .carousel button{
    display: none;
}

#about .carousel .txt{
    color: var(--grey);
    font-family: 'Butler';
}

#about .carousel-inner div{
    min-height: 208px !important;
}

#about .col-lg-7{
    padding: 0;
}

/* #about .row.bottom{
    justify-content: space-between;
} */

#about .row.bottom .col-6.cuadro{
    border-left: 0;
    border-right: 0;
}

#about .row.bottom .txt{
    font-family: 'Butler-bold';
    font-size: 22px;
    max-width: 100%;
}

#about .row.bottom .txt span{
    font-family: 'Butler-bold';
    color: var(--red);
}


/*Book*/

#book .row-custom-l .backImg {
    margin-bottom: 0;
    height: auto;
}

#book h1{
    font-size: 42px;
    margin-bottom: 15px;
    max-width: 700px;
}

#book .by{
    font-size: 18px;
    margin-bottom: 35px;
    position: relative;
    z-index: 10001;
    max-width: 70%;
}

.hidden{
    opacity: 0 ;
    pointer-events: none;
}

.show-modal{
    opacity: 1 !important;
    pointer-events: all;
}

.content-modal{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease .5s;
}

.content-modal .modal-autor{
    background-color: var(--red);
    width: 500px;
    height: auto;
    padding:30px 20px;
    align-items: center;
    position: relative;
    top: -10%;
    left: 30%;
}

.content-modal .modal-autor .book-btn-close{
    position: absolute;
    right: 10px;
    top: 3px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0;
    z-index: 10002;
    background-color: transparent;
    border: none;
    outline: none;

}

.content-modal .modal-autor .col-7,
.content-modal .modal-autor .col-5{
    display: flex;
    align-items: center;
}

.content-modal .modal-autor img{
    max-height: 210px;
    max-width: 100%;
}

.content-modal .modal-autor p{
    color: #ffffff;
    line-height: 125%;
    font-size: 14px;
    margin-bottom: 0;
}

#book .by{
    position: relative;
}

#book .row-custom-l,
#contact .row-custom-l{
    min-height: calc(100vh - 194px);
}

#contact .row-custom-l .col-sm-12{
    display: flex;
    flex-direction: column;
}

#contact .side-note {
    justify-content: center;
}

#contact strong{
    font-family: 'Butler-bold';
    color: var(--red);
}

#book .by.line:after{
    content: "";
    width: 100%;
    background-color: var(--red);
    height: 1px;
    position: absolute;
    left: 30px;
    top: 24px;
}

#book strong{
    font-family: 'Butler-bold';
    color: var(--red);
}

#book h3{
    font-family: 'Butler-bold';
    color: var(--red);
    font-size: 18px;
}

#book .open-modal{
    color: var(--red);
    font-family: 'Butler';
    transition: all ease 0.3s;
}

#book .open-modal:hover,
#book .open-modal.bold{
    color: var(--red);
    font-family: 'Butler-bold';
    text-decoration: none;
}

#book p{
    font-size: 18px;
    color: var(--grey);
    margin-bottom: 25px;
    max-width: 700px;
}

#book ul{
    font-size: 18px;
    color: var(--grey);
    padding-left: 40px;
}

#book .btns{
    display: flex;
    align-items: center;
    margin-top: 50px;
}

#book .btns .btn-purchase{
    padding: 10px 20px;
    background-color: #000000;
    font-size: 11px;
    text-transform: uppercase;
    color: #ffffff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-right: 10px;
    transition: all ease .3s;
}

#book .btns .btn-purchase:hover{
    text-decoration: none;
    background-color: #b6b6b6;
    height: 36.50px !important;

}

#book .btns .btn{
    border: solid 1px #b6b6b6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36.50px !important;
    margin-right: 10px;
    transition: all ease .3s;
}

#book .btns .btn:focus{
    box-shadow: none;
}

#book .btns .btn svg{
    fill: #b6b6b6;
    transition: all ease .3s;
}

#book .btns .btn:hover{
    background-color: #b6b6b6;
}

#book .btns .btn:hover svg{
    fill: #ffffff;
}


/*Page 404*/
#page404{
    height: calc(100vh - 103px);
}

#page404 .container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#page404 .txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100% !important;
    justify-content: center;
}

#page404 .txt h1{
    -webkit-text-stroke: 3px var(--red);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: transparent;
    font-size: 180px;
    font-weight: 700;
}

#page404 .txt h2{
    font-size: 18px;
    text-align: center;
    color: #000;
}

@media (max-width: 600px){
    #page404 .txt h1{
        font-size: 110px;
    }

    #page404 .txt h2{
        font-size: 15px;
    }
    
    
}

/*Contact*/

#contact #form-contact{
    margin-top: 10px;
}
#contact #form-contact input{
    width: 100%;
}

#contact #form-contact div{
    display: flex;
    flex-direction: column;
    max-width: 500px;

}

#contact .title{
    margin-bottom: 0;
    margin-top: 30px;
}

#contact label {
    margin-bottom: 0;
    font-size: 15px;
}

#contact .title {
    transition: all ease .3s;
    color: #000000;
    font-size: 18px;
}

#contact .txtTop {
    font-size: 20px;
}

#contact a{
    color: var(--red);
}

#contact button{
    background-color: var(--red);
    color: #000000;
    padding: 5px 25px;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Butler-bold';
    border: solid 1px var(--red);
    outline: none;
    margin: 25px 0;
    transition: all ease .4s;
}

#contact button:hover{
    background-color: #ffffff;
    color: var(--red);
    border: solid 1px var(--red);
}

.d-custom-h767{
    display: flex;
}


/*Media Querys*/


@media (max-width: 1950px){
    .row-custom-s {
        height: auto !important;
    }

    #home .row-custom-s .backImg {
        max-height: 440px !important;
    }
}

@media (max-width: 1380px){
    .content-modal .modal-autor {
        left: 300px;
    } 
    .row-custom-l .backImg {
        height: auto;
    }
}
@media (max-width: 1180px){
    .content-modal .modal-autor {
        left: 0;
        top: 119px;  
    }
}
@media (max-width: 992px){
    .navbar .navbar-brand{
        padding-left: 20px;
    }

    .navbar-nav {
        align-items: center;
        padding: 55px 0;
    }

    .navbar-toggler-icon svg{
        fill: #ffffff;
    }

    .navbar{
        height: auto;
    }
    
    .navbar .navbar-brand.marquee{
        display: none;
    }

    section {
        background-color: transparent;
        padding: 65px 0 0 0;
        min-height: calc(100vh - 131px);
    }

    #book .row-custom-l, #contact .row-custom-l {
        min-height: calc(100vh - 169px);
    }

    .navbar-toggler{
        position: absolute;
        top: 20px !important;
        right: 10px !important;
    }

    .navbar-bottom {
        padding: 0;
        width: 100%;
        position: absolute;
        background-color: transparent;
        justify-content: flex-end !important;
    }

    .navbar-collapse {
        max-width: 100%;
        position: relative;
        top: 66px;
        background-color: #ffffff;
        width: 100%;
        border-bottom: solid 1px #000000;
    }

    .content-modal .modal-autor {
        left: 0;
        top: 0;    
    }

    #book .by {
        z-index: 10;
    }

    #book .by.line:after{
        display: none;
    }

    footer .left{
        text-align: left;
        margin-top: 5px !important;
    }

    footer .right{
        flex-direction: column;
        align-items: flex-start;
    }

    footer .right img{
        margin-bottom: 5px;
    }

    .d-custom, .d-custom990{
        display: none;
    }

}

@media (max-width: 767px){
    #about .row.row-custom-l .col-lg-5{
        max-height: 300px !important;
    }

    #about .carousel-indicators {
        left: -16%;
    }

    #book .row{
        flex-direction: column-reverse;
    }

    .modal-autor .row .col-sm-12{
        display: flex;
        justify-content: center;
    }

    .content-modal .modal-autor img {
        margin-bottom: 25px;
    }

    .content-modal .modal-autor .row{
        flex-direction: column-reverse;

    }
    
    .content-modal{
        padding: 0 30px;
    }

    .content-modal .modal-autor {
        width: 100%;
    }

    .d-custom767{
        display: none;
    }

    .d-custom-h767{
        display: flex;
    }

    #contact .row-custom-l .col-lg-4{
        padding-bottom: 0;
    }

}
 
@media (max-width: 700px){
    #home .titleXl,
    #about .titleXl,
    #book .titleXl {
        font-size: 28px;
    }

    #home .title {
        font-size: 20px;
    }

    #home .row-custom-l .backImg {
        height: 315px;
    }

    #about .row.bottom .col-lg-6.cuadro{
        border: none;
        padding: 0 ;
    }

    #about .row.bottom{
        padding: 35px 50px;
    }

    #about .row.bottom .txt {
        font-size: 17px;
        margin-bottom: 0;
    }
}


@media (max-width: 500px){
    #home .titleXl,
    #about .titleXl,
    #book .titleXl {
        font-size: 22px;
    }

    #book .by{
        font-size: 15px;
    }

    #book .txt {
        font-size: 16px;
    }
}












.vline{
    height: 0;
    width: 1px;
    background-color: #000000;
    position: absolute;
    right: 0;
    top: 0;
}

.vline.show-line{
    height: 100%;
    transition: all ease 3s;
}

.hline {
    height: 1px;
    width: 0;
    background-color: #000000;
    position: absolute;
    left: 0;
    bottom: 0;
}

footer .hline {
    height: 1px;
    width: 0;
    background-color: #000000;
    position: absolute;
    left: 0;
    top: 0;
}

.hline.show-line{
    width: 100%;
    transition: all ease 3s;
}

.pr{
    position: relative
}

.hline.hidden-line{
    width: 0;
    transition: all ease 0.5s;
}

.vline.hidden-line{
    height: 0;
    transition: all ease 0.5s;
}

