:root {
    --pink: #453a96;
    --gray-blue: #576376;
}

@font-face {
    font-family: "Lato";
    src: url("../assets/fonts/Lato/Lato-Regular.ttf");
}

@font-face {
    font-family: "LatoBlack";
    src: url("../assets/fonts/Lato/Lato-Black.ttf");
}

@font-face {
    font-family: "LatoBold";
    src: url("../assets/fonts/Lato/Lato-Bold.ttf");
}

@font-face {
    font-family: "ProximaNovaT";
    src: url("../assets/fonts/ProximaNova/Proxima-Nova-Alt-Light.otf");
}

/*--------------------*/
/*-----  CENERAL -----*/
/*--------------------*/
* {
    transition: all .2s linear;
}
html{
    scroll-behavior: smooth;
}

h2{
    font-size: calc(30px + (50 - 30) * ((100vw - 300px) / (1600 - 300)));
    font-family: "ProximaNovaT";
}
p.text {
    font-family: "Lato";
    font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1600 - 300)));
}

hr {
    color: var(--pink);
    background-color: var(--pink);
}

.py-10{
    padding-top: calc(25px + (75 - 25) * ((100vw - 300px) / (1600 - 300)));
    padding-bottom: calc(25px + (75 - 25) * ((100vw - 300px) / (1600 - 300)));
}

/*--------------------*/
/*-----  HEADER  -----*/
/*--------------------*/
header.header {
    font-family: "Lato";
}

header.header a.nav-link {
    color: white !important;
    text-transform: uppercase !important;
}

header.header .img-responsive {
    width: calc(30px + (50 - 30) * ((100vw - 300px) / (1600 - 300)));
}

header.header .bg-glass {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px 0 rgba(69, 58, 150, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--pink);
    transition: all ease;
}

header.header .bg-glass .nav-link{
    color: var(--pink) !important;
    /*font-weight: 600;*/
}

.navbar-toggler-icon {
    background-image: url(../img/icons/toggler-icon-pink.svg);
}

/*--------------------*/
/*----- CAROUSEL -----*/
/*--------------------*/
#carousel h2{
    text-transform: uppercase;
    font-size: calc(20px + (50 - 20) * ((100vw - 300px) / (1600 - 300)));
}

/*--------------------*/
/*----- SERVICIO -----*/
/*--------------------*/
#servicio {
    background-color: var(--gray-blue);
    text-align: center;
    color: white;
}

#servicio h2 {
    font-family: "ProximaNovaT";
}

#servicio p {
    font-family: "Lato";
}

/*--------------------*/
/*----- LIBERTAD -----*/
/*--------------------*/
#libertad {
    background-image: url("../img/libertad2.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto;
}

#libertad h2 {
    color: var(--pink);
}

#libertad.border-bottom {
    border-bottom: 2px solid var(--gray-blue) !important;
}

/*--------------------*/
/*---- DESARROLLO ----*/
/*--------------------*/
#desarrollo h2 {
    color: var(--pink);
}

/*--------------------*/
/*---- CAMBIEMOS  ----*/
/*--------------------*/
#cambiemos {
    background-image: url("../img/cambiemos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    text-align: center;
}

#cambiemos h2 {
    color: var(--pink);
    text-transform: uppercase;
    font-family: "LatoBlack";
}

#cambiemos h2>span {
    font-family: "ProximaNovaT";
}

/*--------------------*/
/*----   FAMILIA  ----*/
/*--------------------*/
#familia h2,
#familia small{
    color: var(--pink);
}
#familia h2{
    font-weight: 600;
}
#familia small{
    font-weight: 600;
    font-size: calc(13px + (15 - 13) * ((100vw - 300px) / (1600 - 300)));
}
#familia .border-top {
    border-top: 4px solid var(--gray-blue) !important;
}

#familia .half-dotted-vertical-border {
    position: relative;
}

#familia .half-dotted-vertical-border::before {
    content: "";
    position: absolute;
    height: 50%;
    left: 0;
    top: 0;
    border-left: 4px dotted var(--gray-blue) !important;
}

#familia .fml{
    position: relative;
}
#familia .fml .img-fml{
    position: absolute;
    max-width: 50%;
    height: auto;
    right: 0;
    bottom: 10px;
}


/*--------------------*/
/*---- OPORTUNIDAD ---*/
/*--------------------*/
#oportunidad {
    background-image: url("../img/oportunidad.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

/*--------------------*/
/*----  MIEMBROS  ----*/
/*--------------------*/
#miembros .item {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

#miembros .item .desc {
    text-align: center;
    border-top: 1px solid var(--gray-blue);
    border-right: 1px solid var(--gray-blue);
    border-bottom: 1px solid var(--gray-blue);
    width: 100%;
}

#miembros .item .desc h2 {
    font-size: calc(25px + (30 - 25) * ((100vw - 300px) / (1600 - 300)));
    color: var(--pink);
    font-weight: 600;
    margin: 0;
}

#miembros .item .desc small {
    text-transform: uppercase;
    color: var(--gray-blue);
    font-weight: 600;
}

/*--------------------*/
/*------  VIELEY  ----*/
/*--------------------*/
#vieley {
    background-image: url("../img/bgvieley.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#vieley img{
    max-width: 55%;
}

#vieley p.desc{
    color: var(--gray-blue);
    font-family: "Lato";
    font-size: calc(8px + (10 - 8) * ((100vw - 300px) / (1600 - 300)));
}

#vieley h3{
    font-family: "Lato";
    color: var(--pink);
}

#vieley p.text{
    font-size: calc(14px + (18 - 12) * ((100vw - 300px) / (1600 - 300)));
}

/*--------------------*/
/*---  DESINTOXICA ---*/
/*--------------------*/
#desintoxica {
    background-image: url("../img/bgdesintox.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;

    min-height: 50vh;
}

#desintoxica p {
    color: var(--gray-blue);
    font-family: "Lato";
    font-size: calc(13px + (18 - 13) * ((100vw - 300px) / (1600 - 300)));
}

/*--------------------*/
/*-----  CONSEJO -----*/
/*--------------------*/
#consejo {
    background-color: var(--pink);
    color: white;
    text-align: center;
}

#consejo h3{
    margin: 0;
    font-family: "ProximaNovaT";
    letter-spacing: 0.15rem;
}

#consejo h3>span{
    margin: 0;
    font-family: "ProximaNovaT";
    font-size: 1rem;
}

#consejo .comilla{
    width: calc(25px + (30 - 25) * ((100vw - 300px) / (1600 - 300)));
}


.square {
    border-color: red;
    position: relative;
    width: 100%;
}

.square:after {
    content: "";
    display: block;
    padding-bottom: 50%;
}

.square_content {
    position: absolute;
    width: 100%;
    height: 100%;
}

.img-square {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/*--------------------*/
/*-----  FOOTER ------*/
/*--------------------*/
.footer {
    background-color: var(--pink);
    color: white;
}

.footer .container{
    border-top: 1px solid white;
}

.footer a {
    color: white;
}

.footer .list-inline-item:not(:last-child) {
    margin-right: 2rem;
}



/*--------------------*/
/*-- @MEDIA QUERIES --*/
/*--------------------*/
@media (min-width: 768px) {
    #libertad {
        background-position-x: 500%;
    }

    .footer .list-inline-item:not(:last-child) {
        margin-right: 3rem;
    }


    #familia .fml{
        position: relative;
    }
    #familia .fml .img-fml{
        position: absolute;
        max-width: 40%;
        height: auto;
        right: 0;
        top: 0;
    }

    #logoNav{
        width: 200px !important;
    }
}

@media (min-width: 992px) {
    #libertad {
        background-position-x: 100%;
    }
    #logoNav{
        width: 250px !important;
    }
}

@media (min-width: 1200px) {
    #desintoxica {
        min-height: 100vh;
    }
}

/****************************/
@media (max-width: 767.98px) {

    #carousel .carousel-caption{
        bottom: 0;
    }
    #carousel .carousel-caption h2{
        margin: 0;
    }

    #libertad{
        background-image: none !important;
        padding-top: 0 !important;
    }
    #libertad .libertad-img-container{
        padding: 0;
    }

    #familia .familia-img-container{
        padding: 0;
    }
}

@media screen and (min-width: 992px) {
    .logos-p{
        height: 250px;
    }
}
@media screen and (max-width: 991px) {
    .logos-p{
        min-height: 150px;
    }
}
@media screen and (max-width: 767px) {
    .logos-p{
        min-height: 150px;
    }
}
@media screen and (max-width: 500px) {
    .logos-p{
        min-height: 100px;
    }
}