/*

Home CSS

*/

/* Add specific colors */
:root{
    --lightBlue: #0090EC;
    --lightGreen: #2EAC8B;
}

/* Changes to all the page */
html{
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* For spans to be hidden and not misbehave */
span.anchor {
    margin-top: -54px; /* height of nav, in this case 54px */
    display: block;
    height: 75px; /* height of nav, in this case 54px */
    visibility: hidden;
    position: relative;
}

/* Buttons  */
a{
    color: black;
}
#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: var(--lightBlue);
}
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--lightBlue) !important;
}

.fa-instagram-square:hover,
.fa-facebook-square:hover,
.fa-linkedin:hover,
.fa-twitter-square:hover,
.fa-envelope:hover,
a:hover{
    color: var(--lightBlue);
}

.pd-5{
    padding: 5px;
}

/* Images and centering */
.cen{
    max-width: 100%;
    min-height: 100%;
}

.w-h{
    width: 100%;
    height: 100% !important;
}

.img-cover{
    object-fit: cover;
    image-rendering: optimizeSpeed;
}

/*Nav bar*/
nav{
    background-color: #ffffff;
}

.flags{
    max-width: 2rem;
}

.logo-nav-img, .logo-foot-img{
    float: left;
    margin-right: 0.5rem;
}

.logo-nav-title, .logo-foot-title{
    font-size: 2.2rem;
    font-weight: bolder;
}
.logo-nav-subtitle, .logo-foot-subtitle{
    font-size: 1.1rem;
    font-weight: lighter;
}

.logo-nav-subtitle .logo-nav-title:hover{
    color: var(--lightGreen);
}

/* Color */
.text-blue{
    color: var(--lightBlue);
}

.bg-blue{
    background-color: var(--lightBlue);
}

.footer-copyright{
    height: 5rem;
}

.slideshow-section, .aviso-section, .terminos-section{
    padding-top: 134px;
}

.circle{
    padding: 10px;
    height: 100%;
}

.title-icons{
    font-weight: bolder;
    margin-bottom: 0;
}

.subtitle-icons{
    font-weight: lighter;
}

/*Responsiveness*/
@media (max-width: 1200px) {
    .moveCenter{
        text-align: center !important;
    }
    .logo-nav-img, .logo-foot-img{
        width: 8rem;
    }
    .logo-nav-title, .logo-foot-title{
        padding-top: 1rem;
        font-size: 1.7rem;
        text-align:  left;
    }

    .logo-nav-subtitle, .logo-foot-subtitle{
        font-size: 0.9rem;
        text-align:  left;
    }
}

@media (max-width: 992px) {
    .slideshow-section, .aviso-section, .terminos-section{
        padding-top: 100px;
    }
    .cont-change-text{
        color: white !important;
    }

    .w-h{
        width: 100% !important;
        height: auto !important;
    }
    
    header.masthead{
        object-fit: cover;
        object-position: 100% 0;
    }

    .moveCenter{
        text-align: center !important;
        padding: 10px; 
    }
    .cen{
        max-width: 100%;
        min-height: 100%;
    }

    .logo-nav-img, .logo-foot-img{
        width: 5rem;
    }

    .logo-foot-img{
        float: none;
    }

    .logo-nav-title, .logo-foot-title{
        font-size: 1.5rem;
        padding-top: 0;
        text-align: center;
    }

    .logo-nav-subtitle, .logo-foot-subtitle{
        font-size: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 400px){
    .logo-nav-img{
        float: none;
    }
    .logo-nav-title, .logo-foot-title{
        font-size: 1.5rem;
        padding-top: 0;
        text-align: center;
    }

    .logo-nav-subtitle{
        font-size: 0.8rem;
        text-align: left;
    }
    .slideshow-section, .aviso-section, .terminos-section{
        padding-top: 159px;
    }
}

@media (max-width: 320px){
    .slideshow-section, .aviso-section, .terminos-section{
        padding-top: 200px;
    }
}