* {
    box-sizing: border-box;
}

:root {
    /* --main50: #e28513b8;  
    --main50: #424530c6; 
    --ntwo: #E09132; 
    --main: #b2434d;
    --main: #9a373f;
    --main50: #b2434c99;
    --main: #cbb595;
    --ntwo: #c55760;
    */
    --main: #d7bab4; 
    --main50: #d7bab498;
    --ntwo: #b54b53;
    --nthree: #282826;
    --nfour: #fffafa;
    --nfive: #fff;
    --grad1: #d7bab4;
    --grad2: #a33841;
    --nocolor: transparent;
}

body {
    background-color: var(--nocolor);
    font-family: 'Raleway', sans-serif;
}

header {
    min-height: 10vh;
    transition: .3s step-end;
}

.scrolled {
    background-color: var(--main50); 
    backdrop-filter: blur(4px);
    transition: .3s ease-in-out;
 }

footer {
    min-height: 5vh;
    background-color: var(--main);
    color: var(--nfive);
}

footer a { 
    color: var(--nfive);
}

footer a:hover {
    color: var(--nfour);
}

footer ul {
    list-style-type: none;
}

footer ul li a {
    text-decoration: none;
    font-size: 1.15em;
}

svg {
    font-size: 20px;
    color: var(--ntwo);
}

svg:hover{
    color: var(--nthree);
}

section:not(.cta-section, .portada-container, .doble), main {
    margin-top: 4em;
    margin-bottom: 4em;
    padding-top: 3em;
    padding-bottom: 3em;
}

h2 {
    color: black;
    font-weight: 700;
    font-size: 2.35rem;
}

h3 {
    color: var(--ntwo);
    font-weight: 600;
}

h4, h5 {
    color: var(--ntwo);
}

.colored-back {
    background-color: var(--nfour);
}

.nav-link {
    color: var(--nthree)!important;
}

.nav-link:hover, .nav-link:focus {
    font-weight: 600;
}

.nav-link.active {
    font-weight: 700;
}

.nav-item {
    font-size: 1.1em;
}

.container-container {
    /*background-color: var(--main);*/
    background: linear-gradient(to right, rgba(0,0,0,.1), var(--main)), url(../imgs/background1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8em 0;
}

.container-doble {
    margin-left: 1.5em;
    max-width: 750px;
}

.portada-container {
    min-height: 50vh;
    max-height: 550px;
}

#portada {
    background-repeat: no-repeat;
    background-position: left;
    width: 100%;
}

#portada-text {
    background-color: var(--nocolor); 
    text-align: center;
}

#portada-text h1 {
    font-size: 7em;
    font-weight: 700;
}

.cursive {
    font-family: 'Dancing Script', cursive;
}

.container-doble h2 {
    font-size: 4em;
}

.img-portada {
    width: 100%;
    min-width: 250px;
    max-width: 450px;
}


#cta-section-container {
    max-width: 950px;
}

.cta-container {
    width: fit-content;
}

.btn-cta {
    background-color: var(--main);
    border: solid 2px var(--nocolor)!important;
    color: var(--nthree);
    font-weight: 600;
}

.btn-cta:hover {
    background-color: var(--nthree)!important;
    color: var(--main)!important;
}

.cta-section h2 {
    color: var(--nfive)!important;
}

.cta-section {
    min-height: 25vh;
    padding: 3rem 0;
    background: var(--main);
    background: linear-gradient(90deg, var(--grad2) 0%, var(--grad1) 70%);
    /*
    background: rgb(70,58,255);
    background: linear-gradient(90deg, rgba(70,58,255,1) 0%, rgba(108,99,255,1) 49%, rgba(248,164,216,1) 100%);
    background: linear-gradient(90deg, rgba(70,58,255,1) 0%, rgba(248,164,216,1) 100%);
    */
    color: var(--nfive)!important;
}

.card {
    border: none;
    padding: 1em;
}

.card-body h5 {
    padding: .5em 0 .2em 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.cita {
    font-weight: 300;
    font-style: italic;
}

.mx-750 {
    max-width: 750px;
    margin: 2em auto;
}

.input-group-text {
    background-color: var(--nthree);
    color: var(--nfive);
}

form button {
    background-color: var(--nthree);
    color: var(--nfive);
    padding: .5em 1em;
    margin: 1em 0;
    border: none;
    border-radius: 10px;
}


form button:hover {
    background-color: var(--nfour);
    transition: all .2s;
    color: var(--main)
}

main h2 {
    font-size: 3.5rem;
    font-weight: 700;
}

/*
.main-text {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
*/
.img-cover {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.card > img {
    max-height: 200px;
}

.card > .card-img-top {
    max-height: 485px;
}

.horizontal-img {
    max-height: 400px;
}

.img-doble {
    max-height: 70vh;
}


@media screen and (max-width: 750px) {

    #portada-text h1 {
        font-size: 5.5em;
    }

    .container-doble h2 { 
        font-size: 3.5em;
    }

}

    .main-container {
        background-image: url(../imgs/marmol.jpg);
        background-repeat: no-repeat;
        background-size: cover;
       /* background-attachment: fixed;*/
        padding: 3em 1em;
    }

.author-rights {
    position: absolute;
    width: 100%;
    background-color: var(--grad1);
    color: black;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    padding-bottom: .5em;
}