* {
    box-sizing: border-box;
}

:root {
    --main: #1d1c1a;
    --main75: #1d1c1af5; 
    --main50: #1d1c1a8b; 
    --ntwo: #773f1a;
    --nthree: #e5e0dc;
    --nfour: #a16a46;
    --nfive: #fff;
    --nsix: #e9b28e;
    --grad1: #28251e;
    --grad2: #EDBB99;
    --nocolor: transparent;
}

body {
    background-color: var(--nocolor);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

header {
    min-height: 10vh;
}

.scrolled {
    transition: all .5s ease;
    background-color: var(--main50); 
    backdrop-filter: blur(5px);
 }

footer {
    min-height: 10vh;
    background-color: var(--main);
    color: var(--nfive);
}

footer a { 
    color: var(--nfive);
    text-decoration: none;
}

footer a:hover {
    color: var(--nfour);
}

footer ul {
    list-style-type: none;
}

footer ul li a {
    text-decoration: none;
    font-size: 1.15em;
}

svg {
    height: 20px;
    width: 20px;
    fill: var(--ntwo);
}

.author-rights {
    position: absolute;
    width: 100%;
    background-color: var(--main);
    color: var(--nfour);
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    padding-bottom: .5em;
}

#portada {
    background: linear-gradient(to left, rgba(0,0,0,.1), var(--main)),
    url(../imgs/datos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    min-height: 70vh;
    padding-top: 7em;
    color: var(--nthree);
}

h1 {
    font-family: 'Prata', serif;
    font-weight: 700;
    font-size: 3.75rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--nsix);
}

.bg-main {
    background-color: var(--main);
    color: var(--nthree);
}

.bg-main75 {
    background-color: var(--main75);
    color: var(--nthree);
}

.bg-main50 {
    background-color: var(--main50);
    color: var(--nthree);
}

.bg-n3 {
    background-color: var(--nthree);
    color: var(--main);
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-img.img1 {
    background-image: url(../imgs/profesional.jpg);
    background-position: left;
}

.bg-img.img2 {
    background-image: url(../imgs/antigua.png);
    background-position: center;
}

.bg-img.img4 {
    background-image: url(../imgs/cursos.jpg);
    background-position: center;
}

.bg-img.img3 {
    background-image: url(../imgs/filosofia.jpg);
    background-position: top;
    /*background-size: contain;*/
}

.p10em {
    padding: 10em 3em;
}

.p8em {
    padding: 8em 3em;
}

.pt7em {
    padding-top: 7em;
}

.card {
    background-color: var(--nocolor);
    border: none;
    max-width: 350px;
}

.card > img {
    height: 100%;
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    opacity: .7;
    transition: .5s ease;
}

.card > img:hover {
    opacity: 1;
    transition: .5s ease;
}

.circle {
    width: fit-content;
    background-color: var(--ntwo);
    border-radius: 50%;
    padding: 5px;
}

.quote-card {
    padding: 5em;
    background-color: var(--nthree);
    width: 85%;
    max-width: 550px;
    margin-left: 10%;
    margin-bottom: -4em;
    position: relative;
    z-index: 2;
}

.p-name {
    font-weight: 700;
}

.line {
    height: 2px;
    width: 7em;
    background-color: var(--ntwo);
    margin-top: 2em;
    margin-bottom: 2em;
}

.btn-container {
    width: fit-content;
}

.maxW700 {
    max-width: 700px;
}

form {
    width: fit-content;
    margin: 30px auto 0;
}

input {
    border: 1px #e5e0dc98 solid;
    background-color: var(--nocolor);
    color: #e5e0dc98;
    margin: 2px 5px;
    padding: 7px 12px;
}

a.btn, input[type=submit] {
    background-color: var(--ntwo);
    color: var(--nthree);
    font-weight: 700;
    border-radius: 0;
}

a.btn:hover, input[type=submit]:hover {
    border-bottom: 2px var(--ntwo) solid!important;
}

.nav-link {
    display: inline-block;
    position: relative;
    color: var(--nthree);
}

.nav-link:hover, .nav-link:focus {
    color: #e5e0dc98;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--ntwo);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-link:hover::after, .nav-link:focus::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

lord-icon {
    width:50px;
    height:50px;
}

@media screen and (max-width: 992px) {

    #header {
        background-color: var(--main50)!important;
    }
}

@media screen and (max-width: 400px) {

    .quote-card {
        padding: 1.5em;
    }
}