* {
    box-sizing: border-box;
}

:root {
    /* --main50: #e28513b8;  
    --main50: #424530c6; 
    --ntwo: #E09132; 
    --main: #b2434d;
    --main: #9a373f;
    --main50: #b2434c99;
    --main: #cbb595;
    --ntwo: #c55760;
    */
    --main: #ebe9e6; 
    --main2: #e2dbd2; 
    --main50: #e2dbd2a9;
    --ntwo: #38303b;
    --nthree: #471b6b;
    --nfour: #fffafa;
    --nfive: #fff;
    --grad1: #471b6b;
    --grad2: #38303b;
    --darker: #221b25;
    --nocolor: transparent;
}

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

h1, h2, h3 {
    font-family: 'Lora', serif;
}

.light {
    color: var(--main);
}

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(--main);
}

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


#Seccion3, #Seccion4, #Seccion5, #Seccion6 {
    margin-top: 4em;
    margin-bottom: 4em;
    padding-top: 3em;
    padding-bottom: 3em;
} 

h2 {
    font-size: 2.35rem;
}

h3 {
    font-weight: 600;
}

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

.darker-bg {
    background-color: var(--darker);
}

.nav-link {
    color: var(--grad2)!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);
    color: var(--ntwo);
    /*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;
    overflow: hidden;
}

.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); 
}

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

.NavName {
    font-family: 'Lora', serif;
    font-size: 2.25rem;
    color: var(--ntwo);
}

.circle {
    width: 45vw;
    height: 45vw;
    max-height: 500px;
    max-width: 500px;
    border-radius: 50%;
    position: absolute;
    background-color: #d3c9bb;
}

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

.img-portada {
    width: 100%;
    min-width: 250px;
    max-width: 450px;
    z-index: 1;
    rotate: -35grad;
}


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

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

.btn-cta {
    background-color: var(--nocolor);
    border: solid 2px var(--main)!important;
    border-radius: 50px;
    padding: 7px 25px;
    color: var(--main);
}

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

.btn-cta.head-btn {
    background-color: var(--nthree);
    border: solid 2px var(--nocolor)!important;
    box-shadow: 10px 10px 24px -5px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 24px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 24px -5px rgba(0,0,0,0.75);
}

.btn-cta.head-btn:hover {
    font-weight: bold;
}

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

.cta-section {
    min-height: 25vh;
    padding: 3rem 0;
    background: var(--ntwo);
    /*
    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 {
    font-family: 'Lora', serif;
    padding: .5em 0 .2em 0;
    font-size: 1.25rem;
}

.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: 50px;
    min-width: 100px;
}


form button:hover {
    background-color: var(--nfour);
    transition: all .2s;
    color: var(--nthree);
    font-weight: bold;
}

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

.img-cover {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.h-80vh {
    height: 80vh;
}

.h-80 {
    max-height: 80%;
}

.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-img {
        display: none!important;
    }

    main h2 {
        font-size: 2em;
    }

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

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

@media screen and (max-width: 991px) {
    .h-80vh {
        height: auto;
    }
}

    .main-container {
        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;
}