:root {
    --bg-color: #F2F0DF;
    --text-color: #1E1E1E;
    --highlight-color: #ff0000;
    --dark-gray: #E8E7D2;
    --black: #DBDACA;
    --separator: #E8E7D2;
    font-family: "Barlow", Arial, Helvetica, sans-serif;
    font-weight: 400;
  }

  html{
    scroll-behavior: smooth;
    scroll-padding-top: 130px; 
  }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    margin:0;
    padding: 0; 
    box-sizing: border-box;
}

.center {
    max-width: 1800px;
    margin: 0 auto;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 0 55px;
}


header {
    display: block;
    background-color: var(--bg-color);
    border-bottom: 20px solid var(--dark-gray);
    position:fixed;
    box-sizing: border-box;
    z-index: 99999;
    width: 100%;
    top:0;
    filter: drop-shadow(0px 6px 3px #a7a578);
}




header .socials_bar {
    background-color: var(--black);
    height: 45px;
    box-sizing: border-box;
    position: relative;
}

header .socials_bar a {
    color: var(--text-color);
    text-decoration: none;
    font-style: normal;
    display: inline-block;
    cursor: pointer;
    width:22px;
    height: 22px;    
    margin-right: 2px;

}

header .socials_bar a img {
    width:22px;
    height: 22px;
    margin-top: 4px;
}

header .socials_bar a:hover {
    opacity: 0.7;
}

header .socials_bar a.privacy {
    width: 120px;
    padding-top:10px;
}

header .socials_bar .socials {
    border-left: 1px solid var(--separator);
    height: 45px;    
    box-sizing: border-box;
    width: 108px;
    padding: 10px;
    position: absolute;
    top: 0;
    right:55px;
}
.header {
    height: 80px;    
    position: relative;
}
.header .logo {
    height: 70px;
    position: relative;
}   

.header .logo img {
    height: 70px;
    box-sizing: border-box;
    position: absolute;
    top: 20px;
    left: 0;
}

.header nav {
    position: absolute;
    right: 55px;
    top: 24px;
}

.header nav li {
    display: inline-block;
}

a.active, .header nav li a:hover  {
    border-bottom: 3px solid var(--highlight-color);
}

.header nav li a {
    display: inline-block;
    font-weight: 500;
    font-size: 20px;
    
    padding: 4px 15px;
    box-sizing: border-box;
    cursor: pointer;
}

.home-bar {
    height: 143px;
    width: 100%;
    position: relative;
    top:0;
}


.carrousel {
    background: url('../images/book-promo-tea.jpg') center center no-repeat;
    height: 426px;
    color: #DBDACA;
}



.work-title .center {
    padding-top: 0;
}

.center {
    position: relative;
}

.book-promo {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    height: 300px;
    top: 70px;
}

.carrousel .book-promo {
    width: 55%;
}


.carrousel .book-promo img.cover {
    width: 25%;
    max-width: 200px;
}


.book-promo .button-outline img, .socials a {
    filter: invert(1);
}

.book-promo .cover {
    float: left;
    width: 30%;
    max-width: 200px;
}

.book-promo div {
    float: left;
    width:70%;
    padding-left: 25px;
    box-sizing: border-box;
}

.book-promo div h2 {
    font-weight: 400;
    font-size: 36px;
}

.book-promo div span b {
    margin-right: 25px;
}

.carrousel .book-promo a.button-outline {
    padding: 5px 45px 5px 15px;
}

a.button-outline {
    border-radius: 6px;
    border: 2px solid var(--highlight-color);
    padding: 5px 45px 7px 15px;
    position: relative;
}

a.button-outline.disabled {
    cursor: default;    
    border: 2px solid var(--bg-color);
    color: var(--bg-color);
}


a.button-outline:hover {
    background-color: var(--highlight-color);
}


a.button-outline.disabled:hover {
    cursor: default;    
    border: 2px solid var(--bg-color);
    background-color: transparent; 
}

a.button-outline img{
    position: absolute;
    top: 7px;
    right: 15px;
}

.work-title .book-promo {
    margin: 0 auto;
    display: block;
    position: relative;
    top:0;
    width: 600px;
    height: 200px;
    padding: 25px 0;
}

.work-title .book-promo img, .work-title .book-promo div  {
    float:  left;
}

.work-title .book-promo img {
    width: 30%;
}

.work-title .book-promo div h4 {
    color: var(--highlight-color);
    margin: 15px 0;
  }

.work-title .book-promo div h2 {
    font-size: 45px;
    text-transform: uppercase;
    margin: 35px 0;
}

.content .book-navigation {
    position: fixed;
    top: 180px;
    left:0;
    width: 350px;
    min-height: 185px;
    z-index: 9999;
    background-color:var(--dark-gray);
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
    filter: drop-shadow(3px 6px 3px #a7a578);
}

.content .book-navigation ul {
    margin-left:120px;
}

.content .book-navigation ul li {
    margin-bottom:10px;
}

.content .book-navigation ul li a:hover, .content .book-navigation ul li a.active {
    color: var(--highlight-color);
}

.content .book-navigation h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin-left: 90px;
    margin-top: 30px;
}

.content .center {
    width: 1100px;
    background-color: var(--dark-gray);
    margin-top: 37px;
    padding: 0;
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
}

.content .center .chapter-title {
    background-color: var(--black);
    height: 180px;
    text-align: center;
}

.content .center .chapter-title h2 {
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
    padding-top: 55px;
    padding-bottom: 15px;
}

.content .center .chapter-title .separator {
    width: 123px;
    border-bottom: 1px solid  var(--text-color);
    display: block;
    margin:0 auto;
}

.scene-separator {
    background: url(../images/separator-light.svg) no-repeat center center;
    height: 50px;
    margin: 25px auto;
}

.content .center .chapter-title h3 {
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    color:  var(--text-color);
    letter-spacing: 11.5%;
}

.content .center .chapter-content {
    padding: 40px 100px;
    line-height: 170%;
    font-weight: 300;
    color:  var(--text-color);
    text-align: justify;
    font-size: 15px;
}

.content .center .chapter-content p {
    text-indent: 25px;
    margin: 8px auto;
}

article.book-promo {
    background-color: var(--black);
    padding: 20px;
    border-radius: 24px;
    height: 320px;
    margin: 0 auto;
    margin-bottom: 25px;
    display: block;
}

.works .book-promo {
    width: 845px;
}

article.book-promo h4 {
    color: var(--highlight-color);
}

article.book-promo h2 {
    margin: 0;
    margin-bottom: 25px;
}

article.book-promo p {
    margin-bottom: 5px;
    margin-top:0;
    text-indent: 0px;
    text-align: justify;
}
article.book-promo .button-outline {
    margin-top: 20px;
    display: inline-block;
}

.works h1 {
    text-align: center;
}

h1 {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 60px 0 30px 0;
}

.carrousel .book-promo, .newsletter-box {
    position: absolute;
}
.side-panel {
    display: none;
}

.newsletter-box {
    display: inline-block;
    width: 30%;
    right: 55px;
    top: 100px;
    max-width: 700px;
    min-height: 200px;
    background-color: var(--black);
    border-radius: 24px;
    box-sizing: border-box;
    padding: 5px 45px 20px 45px;
}

.newsletter-box.mailerlite{
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

.newsletter-box h3 {
    font-size: 23px;
    font-weight: 300;
}

.newsletter-box div {
    background-color: var(--bg-color);
    border-radius: 24px;
    height: 44px;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
}

.newsletter-box div input {
    background: none;
    border:none;
    font-style: italic;
    color: #4a4a4a;
    font-size: 16px;
    width: 400px;
    outline: none;
}

.newsletter-box div a.button {
    background-color: var(--highlight-color);
    border-radius: 24px;
    text-align: center;
    width:128px;
    height: 33px;
    box-sizing: border-box;
    padding: 5px 0px;
    position: absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
}

.newsletter-box div a.button:hover {
    opacity: 0.7;
}

.double-column {
    display: flex;
    flex-direction: row;
}

.double-column article, .text-left, .text-right {
    flex: 1;
}


.text-left{
    width:30%;
  }

.text-right a:hover{
    color: var(--highlight-color);
}

.about {
    padding-right: 50px;
    box-sizing: border-box;
}

blockquote {
    font-size: 22px;
    padding-left: 60px;
    margin-left: 0;
    width: 450px;
    position: relative;
}

blockquote .quote {
    background: url('../images/quote.png') top left no-repeat;
    height: 50px;
    width: 50px;
    display: inline-block;
    position:absolute; 
    left:0;
    top: 5px;
}

.flip-card {
    background-color: transparent;
    width: 534px;
    height: 254px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background: url('../images/card-back-light.png') top left no-repeat;
  }
  
  .flip-card-back {
    background: url('../images/card-front-light.png') top left no-repeat;
    text-align: left;
    transform: rotateY(180deg);
  }

  .flip-card-back .double-column {
    width: 300px;
    height: 100px;
    position: relative;
    top: 120px;
    left: 60px;
    font-weight: 200;
  }

h1, h2, h3, h4, blockquote, .book-promo span b, a.button, a.button-outline, .socials_bar, nav, footer {  
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
}

footer {
    height: 325px;
    background-color: var(--dark-gray);
    margin-top: 50px;
    text-align: center;
}

footer .logo {
    padding-top: 50px;
    width: 500px;
  margin: 0 auto;
  border-bottom: 1px solid var(--separator);
 }

footer nav {
    width: 500px;
    margin: 0 auto;
    border-bottom: 1px solid var(--separator);
    margin-bottom: 25px;
    padding: 25px;
    box-sizing: border-box;
}


footer nav a {
    padding: 0 15px;
    opacity: 0.6;
}

footer nav a:hover {
    opacity: 1;
}

/* Mailerlite Override*/

.ml-form-align-center {
    text-align: unset !important;
}

.ml-embedded {
    display: inline-block !important;
    position: absolute;
    right: 95px;
    top: 90px;
    width: 30%;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4, #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4,
#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p, #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p
{
color: var(--text-color) !important;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
    color: var(--dark-gray) !important;
    background-color: var(--bg-color) !important;
}
#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
    background-color: var(--black) !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    padding: 5px 45px 20px 45px !important;
    max-width: 501px;
    min-height: 200px;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4, #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 {
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif !important;
    font-size: 23px !important;
    font-weight: 300 !important;
    margin: 23px 0 23px 0;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent.horozintalForm, #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal {
    padding: 0 !important;
}
#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p:last-child, #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p:last-child {
    font-family: "Barlow", Arial, Helvetica, sans-serif;
    font-size: 16px;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow {
    background-color: var(--bg-color);
    border-radius: 24px;
    height: 44px;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
  }

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
    background: none;
    border: none;
    font-style: italic;
    color: #4a4a4a;
    font-size: 16px;
    width: 400px;
    outline: none;
    padding: 0;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
    background-color: var(--highlight-color);
    border-radius: 24px;
    text-align: center;
    width: 128px;
    height: 33px;
    box-sizing: border-box;
    padding: 5px 0px !important;
    cursor: pointer;
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif !important;
    
    font-size: 16px !important;
}

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
        max-width: 350px;
        padding: 25px !important;
    }

#mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p:last-child a {
    color: var(--highlight-color);
}


@media (max-width: 1500px) {

    .carrousel .book-promo, .ml-embedded {
        width: 45%;
    }

    .carrousel .book-promo a.button-outline {
        display: inline-block;
        margin-top: 15px;
    }
}


@media (max-width: 1333px) {

    header {
        min-width: 800px;
    }

    .carrousel .book-promo {
        width: 700px;
        position: relative;
        margin: 0 auto;
        display: block;
    }

    .content .center {
        width: 700px;
    }

    .content .center .chapter-content {
        padding: 40px;
    }

    .content .book-navigation {
        top: 435px;
        display: none;
    }

    .carrousel {
        height: 700px;
    }

    .ml-embedded {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto;
        width: 100%;
        display: block !important;
        margin-top: 90px;
    }

    .center.double-column {
        display: block;
    }

    .about h1, .contact h1 {
        text-align: center;
    }
    .works .book-promo, .about {
        width: 700px;
    }

    article.book-promo .button-outline {
        margin-top: 10px;
    }

    .about, .flip-card {
        margin: 0 auto;
    }

    .about {
        padding-right: 0px;
    }

}

@media (max-width: 800px) {

    .header .logo img {
        height: 35px;
    }

    header {
        min-width: 300px;
        max-width: 100vh;
        position: relative;
    }

    .home-bar {
        display: none;
    }

    .header {
        height: 105px;
    }

    .header .logo {
        width: 100%;
        height: 65px;
    }
    

     .header .logo img {
        margin: 0 auto;
        display: block;
      position: relative;
    }

    .header .navigation {
        position: relative; 
        top:0;
        text-align: center;
    }

    .header nav li a {
        font-size: 15px;
        padding: 0px 8px;
    }

    .header nav, header .socials_bar .socials {
        right: 0;
    }

    .center {
        padding: 0 15px;
    }

    .carrousel .book-promo ,.works .book-promo, .about, .work-title .book-promo  {
      width: 100%;
    }

    .works .book-promo {
        height: 380px;
    }

    .carrousel .book-promo, .work-title .book-promo {
        height: 360px;
        top: 50px;
    }

    .work-title .book-promo div h2 {
        font-size: 36px;
        text-transform: uppercase;
        margin: 0 0;
    }

    .content .center {
        margin-top: 0;
        width: auto;
    }

    .book-promo div h2 {
        margin: 0 0 15px 0;
        font-size: 25px;
    }

    .book-promo div h4 {
        margin: 0 0 10px 0;
    }

    .book-promo p {
        font-size: 15px;
    }

    article.book-promo {
        height: 280px;
    }
    
    .ml-embedded {
        margin-top: 15px;
        left: 0px;
    }

    #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
        position: relative;
        top: auto;
        right: auto;
    }

    blockquote {
        width: 80%;
    }

    #mlb2-35436177.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
        max-width: 350px;
        padding: 25px !important;
    }

    footer .logo {
        width: 250px;
    }
    
    footer .logo img{
        width: 100%;
    }

    footer nav {
        width: 80%;
    }

    .flip-card {
        width: 350px;
        height: 165px;
    }

    .flip-card-front, .flip-card-back {
        background-size: 100%;
    }

    .flip-card-back .double-column {
        width: 254px;
        top: 65px;
        left: 26px;
    }
}
