html {
    box-sizing: border-box;
    font-size: 62.5%
}

*,
:after,
:before {
    box-sizing: inherit
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 2
}

.contenedor {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto
}

.swal2-popup {
    font-size: 1.5rem!important
}

#btnUp {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: 0;
    background-color: #2d3436;
    background-image: linear-gradient(315deg, #2d3436 0, #000 74%);
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    transition: all 3s
}

h1,
h2,
h3,
h4 {
    font-family: 'PT Sans', sans-serif
}

h1 {
    font-size: 4.8rem
}

h2.karenFont {
    font-family: Yellowtail, cursive;
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    color: #424242
}

h2 {
    font-size: 4rem;
    line-height: 1.2
}

h3 {
    font-size: 3.2rem
}

h4 {
    font-size: 2.8rem
}

img {
    max-width: 100%
}

.centrar-texto {
    text-align: center
}

.no-margin {
    margin: 0
}

@media (min-width:768px) {
    .grid {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap
    }
    .centrar-columnas {
        justify-content: center
    }
    .columnas-4 {
        flex: 0 0 calc(33.3% - 1rem)
    }
    .columnas-6 {
        flex: 0 0 calc(50% - 1rem)
    }
    .columnas-8 {
        flex: 0 0 calc(66.6% - 1rem)
    }
    .columnas-10 {
        flex: 0 0 calc(83.3% - 1rem)
    }
    .columnas-12 {
        flex: 0 0 100%
    }
}

.btn,
.btn-libros {
    display: block;
    text-align: center;
    padding: 1rem 3rem;
    margin: 2rem 0;
    color: #fff;
    text-decoration: none;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
    flex: 0 0 100%;
    border-radius: 5px;
    color: #000;
    transition: all 1s;
    margin: 10px 15px
}

@media (min-width:768px) {
    .btn .btn-libros {
        display: inline-block;
        flex: 0 0 auto;
        margin: 10px 0
    }
}

.btn-primario {
    background-color: #000
}

.btn-secundario {
    background-color: #bdbdbd
}

@media (min-width:768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center
    }
}

.site-header {
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 125vh
}

@media (min-width:768px) {
    .site-header {
        height: 100vh
    }
}

.site-header a {
    color: #fff;
    text-decoration: none
}

.site-header h1 {
    text-align: center;
    font-weight: 400
}

.site-header h1 span {
    font-weight: 700;
    color: #bdbdbd
}

.conoceme,
.contacto,
.lastBooks {
    border-bottom: 2px solid #000
}

.navegacion {
    display: none
}

.navegacion a {
    text-align: center;
    display: block;
    font-size: 1.8rem;
    background-color: rgba(189, 189, 189, .5);
    margin-bottom: .5rem
}

@media (min-width:768px) {
    .navegacion {
        display: block
    }
    .navegacion a {
        display: inline;
        margin-bottom: 0;
        margin-right: 2rem;
        background-color: transparent;
        padding: 1rem
    }
    .navegacion a:last-of-type {
        margin: 0
    }
    .nav1 a:hover {
        background-color: #6e6e6e;
        border-radius: 5px
    }
}

.rotated {
    transform: rotate(90deg);
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s
}

.mobile-menu {
    text-align: center
}

.mobile-menu img {
    width: 5rem
}

@media (min-width:768px) {
    .mobile-menu {
        display: none
    }
}

.texto-header {
    color: #fff;
    text-align: center;
    margin-top: 5rem
}

@media (min-width:768px) {
    .texto-header {
        margin-top: 15rem
    }
}

.texto-header p {
    font-size: 2.2rem
}

div.contenido-programa {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%
}

.contenido-proximo-libro {
    text-align: center;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 5px;
    width: 95%;
    color: #bdbdbd
}

@media (min-width:768px) {
    .contenido-proximo-libro {
        width: 43%
    }
}

.imagen-proximo-libro {
    background-image: url(../img/read.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60rem;
    display: flex;
    align-items: center
}

@media (min-width:768px) {
    .imagen-proximo-libro {
        height: 40rem
    }
}

h2.titleSections::after {
    content: '';
    margin: 0 auto;
    border-bottom: 1px solid #fff;
    height: 10px;
    width: 200px;
    display: block;
    color: #bdbdbd;
    box-shadow: 0 4px 2px -1px gray
}

@media (max-width:320px) {
    h2.titleSections::after {
        width: 200px
    }
}

@media (min-width:769px) {
    h2.titleSections::after {
        width: 400px
    }
}

.lastBooks {
    background-color: #000;
    background-image: linear-gradient(147deg, #000 0, #434343 74%)
}

.lastBooks h2 {
    text-align: center;
    margin: 0;
    color: #bdbdbd
}

.flexLibros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 10rem;
    flex-wrap: wrap
}

.libros {
    -webkit-transition: all .5s ease-in-out;
    background-color: #2d3436;
    background-image: linear-gradient(315deg, #2d3436 0, #d3d3d3 74%);
    margin-bottom: 25px
}

@media (min-width:768px) {
    .flexLibros {
        flex-wrap: wrap
    }
}

@media (min-width:769px) {
    .libros {
        flex: 0 0 calc(33.3% - 1.5rem)
    }
    .libros img {
        height: 35rem;
        width: 100%
    }
    .libros:hover {
        -webkit-transform: scale(1.1);
        -webkit-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75);
        -moz-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75);
        box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75)
    }
}

.contenido-libro {
    padding: 2rem;
    text-align: center
}

.contenido-libro h3 {
    padding-top: 2rem;
    margin: 0;
    text-align: center
}

.contenido-libro p {
    font-weight: 700
}

.glow {
    color: #fff;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate
}

.glow1 {
    color: #bdbdbd;
    text-align: center;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #2e2e2e, 0 0 40px #2e2e2e, 0 0 50px #2e2e2e, 0 0 60px #2e2e2e, 0 0 70px #2e2e2e
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #6e6e6e, 0 0 40px #6e6e6e, 0 0 50px #6e6e6e, 0 0 60px #6e6e6e, 0 0 70px #6e6e6e, 0 0 80px #6e6e6e
    }
}

.contenido-libro p {
    margin: 0
}

.bookModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, .4)
}

.modal-contenido {
    background-color: #000;
    background-image: linear-gradient(147deg, #000 0, #2c3e50 74%);
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #888;
    border-radius: 5px;
    width: 80%;
    animation-name: animatetop;
    animation-duration: .4s
}

.sinopsis {
    color: #fff
}

#modalEnlace {
    display: inline-block!important
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.conoceme {
    background-image: url(../img/black-wall.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center
}

.conoceme h2 {
    color: #bdbdbd;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 0
}

.flexConoceme {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.divconoceme {
    flex: 0 0 calc(100% - 2rem);
    text-align: center
}

@media (min-width:769px) {
    .divconoceme {
        flex: 0 0 calc(50% - 2rem)
    }
}

.divconoceme img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 15px;
    border: 2px solid #bdbdbd;
    border-radius: 5px
}

@media (min-width:769px) {
    .divconoceme img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 15px;
        border: 2px solid #bdbdbd;
        border-radius: 5px
    }
}

.divconoceme p {
    color: #bdbdbd;
    font-size: 17px
}

@media (min-width:769px) {
    .divconoceme p {
        color: #bdbdbd;
        font-size: medium
    }
}

.parallax {
    background-image: url(../img/contacto.png);
    height: 800px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

@media (max-width:769px) {
    .parallax {
        height: 1000px
    }
}

@media (min-width:769px) {
    .parallax {
        height: 700px
    }
}

.contacto h2 {
    margin: 0;
    text-align: center
}

.flexContacto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column-reverse
}

@media (max-width:768px) {
    .divcontacto {
        width: 100%
    }
}

.display-block {
    display: block!important
}

@media (min-width:769px) {
    .flexContacto {
        flex-direction: inherit
    }
}

.divcontacto h4 {
    text-align: center
}

.divcontacto nav {
    display: block;
    background-color: transparent;
    text-align: center
}

.divcontacto nav a {
    background-color: transparent
}

.divcontacto .navegacion a svg {
    color: #000;
    font-size: 6rem
}

textarea {
    resize: none
}

.btnSubmit {
    text-align: center
}

.btnSubmit input {
    margin: 15px 0;
    border: 1px solid #434343
}

.frmContacto {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 25px;
    -webkit-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75);
    -moz-box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75);
    box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, .75)
}

.frmContacto label {
    display: inline-block;
    margin-bottom: .5rem;
    font-weight: 600
}

.form-control {
    display: block;
    width: 100%;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #495057;
    border-radius: 5px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.site-footer {
    background-color: #000;
    padding: 3rem
}

.site-footer p {
    color: #fff;
    font-size: 4rem;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
    text-align: center
}

.site-footer p span {
    font-weight: 700;
    color: #bdbdbd
}

footer svg {
    color: #bdbdbd;
    size: 12px
}

footer p.copy {
    font-size: larger
}

@media(min-width:768px) {
    a.facebook svg,
    a.instagram svg,
    a.youtube svg {
        transition: all 1s
    }
    a.youtube svg:hover {
        color: #c4302b;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
    a.facebook svg:hover {
        color: #3b5998;
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
    a.instagram svg:hover {
        background: #f09433;
        background: -moz-linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        background: -webkit-linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        background: linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        border-radius: 5px
    }
}

.svg-inline--fa {
    font-size: 30px;
    margin: 0 5px 0 5px
}

.formulario-contacto {
    background-color: #fff;
    padding: 5rem
}

@media (min-width:768px) {
    .formulario-contacto {
        margin-top: -10rem
    }
}

.formulario-contacto .campo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem
}

.formulario-contacto .campo label {
    flex: 0 0 8rem
}

.formulario-contacto .campo input:not([type=submit]),
.formulario-contacto textarea {
    flex: 1;
    border: 1px solid #e1e1e1;
    padding: 1rem
}

.formulario-contacto textarea {
    height: 20rem
}

.formulario-contacto .enviar {
    display: flex;
    justify-content: flex-end
}