:root {
  --blue: #147dad;
  --accent-1: var(--blue);
  --accent-2: #FEAC1A;
  --accent-1-dark: #0b628d;
  --accent-2-dark: #db8e09;
/*    --nav-bg: rgba(59, 166, 219,0.2);*/
    --nav-bg: #f0f0f0;
}

*{
    font-family: "Quicksand"!important;
}

.text-accent-1{
    color:var(--accent-1);
}

.text-accent-2{
    color:var(--accent-2);
}

.btn-accent-1{
    color:white;
    background-color: var(--accent-1);
    border-color: var(--accent-1-dark);
}

.btn-accent-1:hover, .btn-accent-1:focus, .btn-accent-1:active{
    background-color: var(--accent-1-dark)!important;
    color:white;
}

.btn-outline-accent-1{
    background-color: white;
    border-color: var(--accent-1-dark);
    color:var(--accent-1);
}

.btn-outline-accent-1:hover, .btn-outline-accent-1:focus, .btn-outline-accent-1:active{
    background-color: var(--accent-1)!important;
    color:white;
}

/* Keep the established blue only on homepage action buttons. */
.homepage .btn-accent-1{
    background-color: #3ba5db;
    border-color: #2388ba;
}

.homepage .btn-accent-1:hover, .homepage .btn-accent-1:focus, .homepage .btn-accent-1:active{
    background-color: #2388ba!important;
}

.homepage .btn-outline-accent-1{
    border-color: #2388ba;
    color: #3ba5db;
}

.homepage .btn-outline-accent-1:hover, .homepage .btn-outline-accent-1:focus, .homepage .btn-outline-accent-1:active{
    background-color: #3ba5db!important;
}

.homepage .login-empresa-btn{
    background-color: #3ba5db;
}

.homepage .login-empresa-btn:hover, .homepage .login-empresa-btn:focus, .homepage .login-empresa-btn:active{
    background-color: #2388ba!important;
}

/* Login action retains the established lighter blue. */
#signin-button{
    background-color: #3ba5db;
    border-color: #2388ba;
}

#signin-button:hover, #signin-button:focus, #signin-button:active{
    background-color: #2388ba!important;
    border-color: #2388ba!important;
}

.btn-accent-2{
    background-color: var(--accent-2);
    border-color: var(--accent-2-dark);
}

.btn-accent-2:hover, .btn-accent-2:focus, .btn-accent-2:active{
    background-color: var(--accent-2-dark)!important;
}

.btn-outline-accent-2{
    background-color: white;
    border-color: var(--accent-2-dark);
    color:var(--accent-2);
}

.btn-outline-accent-2:hover, .btn-outline-accent-2:focus, .btn-outline-accent-2:active{
    background-color: var(--accent-2)!important;
    color:white;
}

body{
    max-width: 100vw;
    overflow-x: hidden;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none!important;
}

.navbar-brand img{
    max-width: 3rem;
}

.nav-link, .nav-item .btn{
    font-size: 0.9rem;
}

.signin-btn{
    min-width: 12rem;
}

.login-nav-btn{
    background-color: var(--accent-2);
    border-color: var(--accent-2-dark);
    padding-left: 2.3rem!important;
    min-width: 12rem;
}

.login-nav-btn:hover, .login-nav-btn:focus, .login-nav-btn:active{
    background-color: var(--accent-2-dark)!important;
}

.login-nav-btn::after{
    position: absolute;
    margin-left: 0.3rem;
    bottom: 0.55em;
    opacity: 0.7;
    content: "⌄";
    font-family: "Sans"!important;
    font-size: 1rem;
}

.login-nav{
    position: relative;
}

.login-dropdown{
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translate(-50%, 0);
    width: 18rem;
    background-color: #8261D0;
    border: 0.5px solid #cccccc;
    opacity: 0;
    display: none;
    transition: all 0.5s;
    z-index: 3;
    background-color: white;
}

.show{
    opacity: 1;
    display: block;
}

.login-dropdown-arrow{
    border: 12px solid transparent;
    border-top: 0;
    border-right-color: transparent;
    border-bottom-color: var(--accent-2);
    border-left-color: transparent;
    display: block;
    margin: -12px auto 0 auto;
    width: 12px;
}

.login-header{
    background-color: var(--accent-2);
}

.login-header svg{
    width: 2rem;
    height: 2rem;
}

.login-btn{
    font-weight: 900;
    min-width: 100%;
}

.login-empresa-btn{
    background-color: #3ba5db;
}

.login-empresa-btn:hover, .login-empresa-btn:focus,.login-empresa-btn:active{
    background-color: #2388ba!important;
}

.portada-container{
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar-toggler {
    padding: 0;
    font-size: 1rem;
    line-height: 0.25rem;
    border: none;
}

.login-lang{
    color:#333333;
    font-family: OpenSans-Semi;
    font-size: 0.7vw;
    margin: 0;
}

.offcanvas-header{
    padding-right: 0.25rem;
}

.offcanvas-header .btn-close{
    font-size: 0.8rem;
    margin-right: 0;
    margin-left: auto;
}

.cards{
    background-color: black;
    position: relative;
    overflow: hidden;
    padding-top: 2rem!important;
    padding-bottom: 5rem!important;
}

/*.cards::before{
    content:"";
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background-image: url("/img/BG-colors.jpg");
    background-size: cover;
    background-position: center top;
    opacity: 0.8;
}*/

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0; /* Behind content */
}

.fasttyping-img-counter{
    width:22rem;
}

.card{
    max-width: 30%;
}

.card-title{
    letter-spacing: 0.07rem;
}

.card-icon{
    display:block;
    width: 120px;
    height: auto;
    margin: 5px auto;    
}

.card-bg{
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%,-50%);
    width: 95vw;
    height: 95vw;
    opacity: 0.07!important;
    z-index: 0;
}

.card-text{
    min-height: 80px;
    padding:0 15px;
}

.text-purple{
    color: #8261D0;
}

.divider{
    height: 1px;
    width: 30rem;
}

.h1-div{
    margin:0 auto 2rem auto;
    width: 40rem;
}

.h2-div{
    margin-top: 5rem!important;
    width: 40rem;
}

.dash{
    list-style-position: outside;
}

.dash li{
    list-style: none;
}

.dash li::before{
    content: "-";
    padding-right: 0.9rem;
    margin-left: -1.25rem;
}

.sales-div p, .sales-div li{
    line-height: 2.25rem;
    font-size: 1.1rem;
}

.sales-div p span, .sales-div li span{
    font-weight: 900!important;
    font-size: 1.2rem;
    color: var(--blue);
}

.sales-div img{
    min-height: 21vw;
}

.logos{
    width: 6vw;
    margin: 0 3rem;
    height: 100%;
}

.counter-div{
    max-width:1920px;
    padding: 0 8rem;
}

.counter-text p{
    width: fit-content;
}

.counter-object img{
    width: 4rem;
    height: 100%;
}

#sales-div{
    max-width: 1920px;
    margin: 0 auto;
}

.carousel-inner {
    max-width: 70%;
    margin: 0 auto;
}

.carousel-item img{
    width: 20rem;
}

.carousel-text{
    flex-grow: 1;
}

.carousel-control-next{
    justify-content: flex-end!important;
    right: 1rem;
}

.carousel-control-prev{
    justify-content: flex-start!important;
    left: 1rem;
}

.vid-div{
    background-color: rgba(204, 204, 204,0.15);
    padding: 5rem 0!important;
}

#vid{
    width: 35rem;
}

#testimonials-carousel{
    position: relative;
    background-color: var(--blue);
    margin-top: 7rem;
}

#testimonials-carousel::before{
    content: url('../img/Wavy_top.svg');
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -5vw;
    z-index: 1;
}

.testimonial-container{
    position: relative;
    z-index: 2;
    max-width: 1920px;
    margin: 0 auto;
    min-height:350px;
}

.stars{
    display:flex;
    gap:5px;
}

.stars svg{
    width: 2.5rem;
    height: 2.5rem;
}

.testimonial-text{
    flex: 1 0;
}

.testimonial-text .text{
    font-size: 1.3rem;
}

.mid-signup{
    font-size: 1.3rem;
    max-width: 20rem;
    margin-bottom: 6rem!important;
}

.fundae-container{
    background-color: rgba(204, 204, 204,0.15);
    padding: 8rem 0;
}

.fundae-text{
    font-size: 1.8rem;
    font-weight: 600;
}

.electric{
    color: var(--blue);
    font-weight: 900;
}

.fundae-img{
    margin: 0 auto;
    max-width: 15rem;
}

.fundae-div h2 span{
    color: #b37e3b
}

.fundae-div li{
    font-size: 1.2rem;
}

.fundae-text-2{
    font-size: 1.4rem;
}

.fundae-text-3{
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--blue);
}

.accordion-button{
    font-size: 1.6rem;
    color: var(--blue);
}

.accordion-button:focus {
    border: none!important;
    outline: 0;
    box-shadow: none!important
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--blue);
    box-shadow: none!important;
}

.accordion-body{
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
    line-height: 2.5rem;
}

.accordion-body a{
    color: var(--blue);
    text-decoration: none;
}

#portada-footer{
    background-color: var(--accent-1-dark);
    padding: 2rem 2rem 0.5rem 2rem;
    margin-top: 4rem;
    max-width: 100%;
}

#portada-footer .left, #portada-footer .right{
    width: 50%;
}

.footer-icons a{
    margin-right: 1rem;
    width: 1.25rem;
}

.footer-icons a svg{
    fill: white;
    height: auto;
    width: 100%;
}

#portada-footer .right div{
    width:fit-content;
}

#portada-footer .right h4{
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}

#portada-footer .mai-img{
    margin-top: 1rem;
}

#portada-footer .footer-text{
    font-size: 0.9rem;
    color: white;
    text-decoration:none;
    font-weight: 500;
}

#portada-footer .left .footer-text{
    font-weight:700;
}

#portada-footer .footer-text a, #portada-footer .right a{
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.cookie-banner{
    background-color: #f5f5f5;
    position: fixed;
    bottom:0.25rem;
    max-width: 35rem;
    left:0.25rem;
    z-index: 999999;
}

#cookie-inner{
    border: 1px solid var(--accent-1);
}

p.cookies-intro{
    font-size: 1rem;
}

.cookies-intro a{
    font-weight: 900!important;
    font-size: 1rem;
    color: var(--blue);
    text-decoration: none;
}

p.cookie-name{
    font-size: 0.9rem;
    font-weight: 700;
}

p.cookie-des{
    font-size: 0.8rem;
}

.portada-frase{
    font-size: clamp(1.4rem, 1.7vw, 1.75rem);
    width: 100%;
    text-align: center;
}

@media (max-width: 2000px) and (orientation : landscape){
    .sales-div img{
        min-height: 27vw;
    }
}

@media (min-width: 1281px) and (max-width: 1400px) and (orientation : landscape){
    .card{
        max-width: 35%;
    }

    .counter-div{
        padding: 0 4rem;
    }

    .logos {
        margin: 0 2rem;
    }

    .fundae-container {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) and (orientation : landscape){
    .card{
        max-width: 40%;
    }

    .counter-div{
        justify-content: center!important;
        padding: 0 1rem;
    }

    .counter-object{
        margin: 0 3rem 0 3rem!important;
        width: 40%;
    }

    .counter-object:last-of-type{
        margin: 2rem 0 0 0!important;
    }

    #sales-div .row{
        flex-wrap: wrap;
        justify-content: center!important;
    }

    .sales-div{
        margin: 1rem 0!important;
        width: 60%;
    }

    .logos-div{
        justify-content: center!important;
        gap:10px;
    }

    .logos {
        width: 5rem;
    }

    .fundae-container {
        padding: 4rem 0;
    }

    #portada-footer {
        padding: 2rem 2rem 0.5rem 2rem;
    }

    #portada-footer .footer-text{
        font-size: 0.8rem;
    }

    .testimonial-container{
        min-height:450px;
    }
}

/* Extra Mid Landscape styles */

@media only screen and (min-width: 200px) and (max-width: 1023px) and (orientation : landscape){
    .offcanvas{
        background-color: #e9f5fb;
        max-height: 100vh;
        overflow-y: scroll;
    }

    .nav-item{
        border: none!important;
        width: 100%;
    }

    .nav-item a{
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-link{
        color:#333333!important;
    }

    .nav-item p{
        font-size: 1rem;
    }

    .menu-or{
        font-size: 0.5rem;
    }

    .card{
        max-width: 51%;
        min-width: 51%;
    }

    .card-bg{
        width: 120vw;
        height: 120vw;
    }

    .counter-div{
        justify-content: center!important;
        padding: 0 1rem;
    }

    .counter-object{
        margin: 0 1rem 0 1rem!important;
        width: 40%;
    }

    .counter-object:last-of-type{
        margin: 2rem 0 0 0!important;
    }

    #sales-div .row{
        flex-wrap: wrap;
        justify-content: center!important;
    }

    .sales-div{
        margin: 1rem 0!important;
        width: 60%;
    }

    .h1-div{
        width: 80%;
    }

    .logos {
        margin: 0 2rem;
        width: 5rem;
    }

    .fundae-container {
        padding: 4rem 0;
    }

    .fundae-text, .fundae-div h2{
        font-size: 1.6rem;
    }

    .fundae-img {
        max-width: 15rem;
    }

    .fundae-text-2, .fundae-text-3 {
        font-size: 1.2rem;
    }

    #portada-footer {
        padding: 2rem 2rem 0.5rem 2rem;
    }

    #portada-footer .footer-text{
        font-size: 0.8rem;
    }

    .card-text{
        min-height: unset;
    }

    .testimonial-container{
        min-height:450px;
    }
}

@media only screen and (min-width: 780px) and (max-width: 1023px) and (orientation : landscape){
}

/* Extra Mid Landscape styles */

@media only screen and (min-width: 200px) and (max-width: 900px) and (orientation : portrait){
    .offcanvas{
/*        background-color: #e9f5fb;*/
        max-height: 100vh;
        overflow-y: scroll;
    }

    .nav-item{
        border: none!important;
        width: 100%;
    }

    .nav-item a{
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-link{
        color:#333333!important;
    }

    .nav-item p{
        font-size: 1rem;
    }

    .menu-or{
        font-size: 0.5rem;
    }

    .card{
        max-width: 100%;
        min-width: 95%;
    }

    .card-title{
        font-size: 1.2rem!important;
    }

    .fasttyping-img-counter{
        margin-bottom: 20px!important;
        padding-top: 0!important;
        width: 100%;
    }

    .card-bg{
        width: 150vw;
        height: 150vw;
    }

    .counter-div{
        padding: 0 3rem;
        justify-content: flex-start!important;
    }

    .counter-object img{
        margin-right:1rem;
        width: 3rem;
    }

    .counter-object{
        margin:0 0 2rem 0!important;
        width:100%;
    }

    .counter-object:last-of-type{
        margin-bottom:0;
    }

    .counter-text{
        min-width: 180px;
    }

    .h1-div{
        width: 85%;
    }

    h1{
        font-size: 2rem;
    }

    #sales-div{
        padding: 1rem 2rem!important;
    }

    .sales-div{
        margin: 1rem 0!important;
    }

    .dash li::before{
        padding-right: 0.5rem;
        margin-left: -0.95rem!important;
    }

    .carousel-text{
        width: 100%;
    }

    .carousel-text p{
        font-size: 1rem!important;
        min-height: 150px;
    }

    .carousel-item img{
        width: 100%;
    }

    #vid{
        width: 85%;
    }

    .logos {
        margin: 1rem;
        width: 5rem;
    }

    .testimonial-text .text{
        font-size: 1.1rem;
    }

    .carousel-control-next{
        right: 0;
    }

    .carousel-control-prev{
        left: 0;
    }

    .h2-div {
        max-width: 90%;
    }

    .mid-signup {
        max-width: 80%;
    }

    .fundae-container {
        padding: 4rem 0;
    }

    .fundae-text, .fundae-div h2 {
        font-size: 1.5rem;
    }

    .fundae-img {
        max-width: 50%;
    }

    .fundae-text-2, .fundae-text-3 {
        font-size: 1.2rem;
    }

    .accordion-button{
        font-size: 1.3rem;
        line-height: 2rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        justify-content: space-between;
    }

    .accordion-button::after{
        margin-left: 2rem;
    }

    .accordion-body {
        font-size: 1rem;
        line-height: 2.2rem;
    }

    #portada-footer {
        padding: 2rem 1rem 0.5rem 1rem;
    }

    #portada-footer .footer-text{
        font-size: 0.8rem;
        text-align: center;
    }

    #portada-footer .footer-icons{
        justify-content: center!important;
    }

    #portada-footer .footer-icons a{
        margin:0 0.5rem;
    }

    #portada-footer .left, #portada-footer .right{
        width: 100%;
    }

    #portada-footer .right{
        align-items: center!important;
        padding: 2rem 0 0.5rem 0;
    }

    #portada-footer .right img {
        max-width: 7rem;
    }

    .card-text{
        min-height: unset;
    }

    .testimonial-container{
        min-height:600px;
    }
}

@media only screen and (min-width: 765px) and (max-width: 900px) and (orientation : portrait){
    .card{
        max-width: 60%;
        min-width: 60%;
    }

    .card-title{
        font-size: 1.3rem!important;
    }

    .fasttyping-img-counter{
        width: 55%;
    }

    .counter-div{
        padding: 0 5rem;
        justify-content: center!important;
    }

    .counter-object img{
        margin-right:auto;
        width: 4rem;
    }

    .counter-object{
        margin:1rem 1.5rem 0 1.5rem!important;
        width:auto;
    }

    .counter-object:last-of-type{
        margin-top:2rem!important;
    }

    .counter-text{
        min-width: unset;
    }

    .h1-div{
        width: 40rem;
    }

    .carousel-item img{
        width: 80%;
    }

    #vid{
        width: 35rem;
    }

    .logos {
        margin: 1rem 2rem;
    }

    .testimonial-text .text{
        font-size: 1.3rem;
    }

    .carousel-control-next{
        right: 1rem;
    }

    .carousel-control-prev{
        left: 1rem;
    }

    .carousel-text p{
        min-height: 70px;
    }

    .mid-signup {
        max-width: 20rem;
    }

    .fundae-container {
        padding: 8rem 0;
    }

    .fundae-text, .fundae-div h2 {
        font-size: 1.8rem;
    }

    .fundae-img {
        max-width: 12rem;
    }

    .fundae-text-2, .fundae-text-3 {
        font-size: 1.4rem;
    }

    #portada-footer {
        padding: 2rem 2rem 0.5rem 2rem;
    }

    #portada-footer .footer-top .footer-text{
        font-size: 0.8rem;
        text-align: left;
    }

    #portada-footer .footer-icons{
        justify-content: flex-start!important;
    }

    #portada-footer .footer-icons a{
        margin:0 1rem 0 0!important;
    }

    #portada-footer .left, #portada-footer .right{
        width: 50%;
    }

    #portada-footer .right{
        align-items: flex-end!important;
        padding: 0;
    }

    #portada-footer .right img {
        max-width: 8rem;
    }

    .testimonial-container{
        min-height:450px;
    }
}
