@import url(main-image.css);

html {
    overflow-x: hidden;
}

body {
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* Imágen principal */
#image {
    background-image: url(../img/distribuidores/main.webp);
}
/* -------------------Distribuidores asociados ----------------*/

#first-container {
    margin-top: 80px;   
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: 300px;
    font-size: calc(2.5vw);
    border-bottom: 3px solid rgb(43, 42, 42);
    color: black;
    font-weight: 1000;
}


/*------------------------------------- BLOQUE 1------------------------------------------------------------- */

/* Mostrador de fotos */

#photos-carousel {
    width: 60vw;
}

.photos {
    height: 75vh;
    width: 100%;
}

/* Estadisticas contadores */

.conteiner,
.column,
.fila {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
    max-width: none;
}

#title-stats {
    display: flex;
    justify-content: center;
}

#count-container {
    width: 100%;
    height: 75vh;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 8px;
    padding-left: 20px;
    margin-top: 0px;
    color: black;
}

#img-stats {
    width: 2.4vw;
    height: 2.4vw;
    margin-right: 10px;
    transition: .5s;
    cursor: pointer;
}

#img-stats:hover {
    transform: translateY(-6px);
}

#title-s {
    font-size: calc(2.2vw);
    transition: .5s;
    cursor: pointer;
}

#title-s:hover {
    transform: translateY(-6px);
}

#count {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5vh;
}

.number {
    font-size: calc(4vw);
    font-weight: 900;
    transition: .5s;
    cursor: pointer;
    margin-right: 20px;
}

.number:hover {
    transform: translateY(-6px);
}

.text-number {
    font-size: calc(1.3vw);
    color: rgb(14, 14, 14);
    font-weight: 800;
    opacity: 0;
    line-height: 20px;
}

.text-number > b{
    color: green;
    font-size: calc(5vw);
    font-family: 'Courier New', Courier, monospace;
}

/*------------------------------------- BLOQUE 2------------------------------------------------------------- */

#dinamic-image-back {
    background-image: url(../img/distribuidores/back3c.webp);
    height: 65vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    margin-top: 5vh;
    margin-bottom: 10vh;
}

/* Pasador de logos */

#bg-logo-carousel{
    height: 100%;
    background-color: rgb(230, 230, 230)
}

.title-logo-carousel {
    font-size: calc(1.6vw);
    margin-bottom: 35px;
    margin-left: 20px;
}

.title-logo-carousel>b{
    color:green;
    font-weight:1000;
    font-size:calc(2vw);
}

#container-distributor-logos{
    display: flex;
    flex-wrap: wrap;
    padding-left: 17vw;
    height: 100%;
    width: 100%;
}

#carousel-logos{
    margin-top: 40px;
}

.logo-image {
    width: 6.7vw;
    height: 6.7vw;
    position: relative;
    margin-right: 6.2vw;
    margin-bottom: 5.5vh;
    padding: 10px;
    transition: .5s;
    filter: drop-shadow(5px 5px 8px rgba(128, 128, 128, 0.5));
}

.logo-image:hover {
    transform: translateY(-10px);
    cursor: pointer;
}

.carousel-control-next{
    border: none;
    background-color: rgb(167, 167, 167);
    width: 10%;
}


/*------------------------------------- BLOQUE 3------------------------------------------------------------- */

#map {
    width: 65vw;
    height: 85vh;
}

#text-map {
    height: 85vh;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#view-map {
    text-align: right;
    margin-right: 70px;
    margin-top: 15vh;
    line-height: 12vh;
    font-size: calc(1.6vw);
}

#view-map>span {
    color: green;
}

/*------------------------------------- BLOQUE 4------------------------------------------------------------- */

/* Oferta de trabajo */

#offer {
    background-color: rgba(224, 226, 224, 0.63);
    margin-top: 100px;
    padding: 8vh 5vw 8vh 3vw;
    margin-bottom: 80px;
    filter: drop-shadow(7px 7px 9px rgb(168, 167, 167));
    opacity: 0;
}

#hands {
    width: 2.5vw;
    height: 2.5vw;
}

#title2 {
    margin-bottom: 30px;
    font-size: calc(1.8vw);
}

#text {
    font-size: calc(1.3vw);
    color: black;
    line-height: 5.1vh;
}

#text>p {
    margin: 0px;
}

#text>p>b {
    font-weight: 900;
}

#link-prov {
    display: inline-block;
    margin-top: 30px;
    margin-left: 2px;
    text-decoration: none;
}

.btn-consulta {
    background-image: linear-gradient(to right, #1aaa78 0%, #75a887 51%, #1aa574 100%);
    padding: 2px;
    font-size: calc(1.2vw);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 5px;
    display: block;
}

.btn-consulta:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}


/*------------------------------------- ANIMACIONES------------------------------------------------------------- */

.show {
    animation: show 1.2s;
}

.show2 {
    animation: show2 1.5s;
}

.show3 {
    animation: show3 1.5s;
}

.show4 {
    animation: show4 1.5s;
}

@keyframes show4 {
    0% {
        transform: translateX(120px);
        opacity: 0.3;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes show3 {
    0% {
        transform: translateY(120px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.7;
    }
}

@keyframes show2 {
    0% {
        transform: translateY(120px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes show {
    0% {
        transform: translateX(250px);
        opacity: 0.5;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


@media screen and (max-width:850px){

    #img-stats {
        width: 3vw;
        height: 3vw;
    }

    #title-s {
        font-size: calc(2.8vw);
    }

    .number {
        font-size: calc(4.9vw);
    }

    .text-number {
        font-size: calc(1.7vw);
    }

    .title-logo-carousel {
        font-size: calc(2vw);
    }
    
    .title-logo-carousel>b{
        font-size:calc(2.6vw);
    }

    .logo-image {
        width: 8vw;
        height: 8vw;
        margin-right: 6.2vw;
        margin-bottom: 5.5vh;
    }

    #view-map {
        margin-right: 4vw;
        font-size: calc(2vw);
    }

    #title2 {
        font-size: calc(2.1vw);
    }
    
    #text {
        font-size: calc(1.8vw);
    }

    .btn-consulta {
        font-size: calc(1.6vw);
    }

}


@media screen and (max-width:769px){

    .title{
        font-size: calc(10px + 2vw);
    }

    #photos-carousel {
        width: 100vw;
    }   
    
    .photos {
        height: 65vh;
    }

    #map-container {    
        margin-top: 15vh;
    }

    #map {
        width: 100vw;
        height: 75vh;
    }

    #text-map {
        height: 45vh;
    }

    #view-map {
        text-align: right;
        margin-right: 40px;
        margin-top: 0px;
        line-height: 10vh;
        font-size: calc(8px + 1.6vw);
    }

    /* Estadisticas contadores */

    #img-stats {
        width: 4vw;
        height: 4vw;
    }

    #title-stats{
        margin-top: 3vh;
    }

    #title-s {
        font-size: calc(4vw);
    }

    #count {
        margin-top: 8vh;
    }

    .number {
        font-size: calc(6.7vw);
    }

    .text-number {
        font-size: calc(2.4vw);
    }


    /*------------------------------------- BLOQUE 2------------------------------------------------------------- */

    #dinamic-image-back {
        height: 60vh;   
        margin-top: 5vh;
    }

    /* Pasador de logos */

    .title-logo-carousel {
        font-size: calc(2.6vw);
    }

    .title-logo-carousel>b{
        font-size:calc(3vw);
    }

    .logo-image {
        width: 8vw;
        height: 8vw;
    }

    /* Oferta de trabajo */

    #offer{
        margin-top: 20vh;
    }

    #hands {
        width: 3.2vw;
        height: 3.2vw;
    }

    #title2 {
        font-size: calc(2.8vw);
    }

    #text {
        font-size: calc(1.9vw);
    }

    .btn-consulta {
        font-size: calc(1.7vw);
    }

}

@media screen and (max-width:500px){

    .title{
        font-size: calc(10px + 2.2vw);
    }

    .photos {
        height: 55vh;
    }

    #map {
        height: 55vh;
    }

    #view-map {
        margin-right: 30px;
        font-size: calc(10px + 1.6vw);
    }

    /* Estadisticas contadores */

    #img-stats {
        width: 4vh;
        height: 4vh;
    }

    #title-stats{
        margin-top: 4vh;
    }

    #title-s {
        font-size: calc(4vh);
    }

    .number {
        font-size: calc(6.4vh);
    }

    .text-number {
        font-size: calc(2vh);
    }

    .text-number > b{
        font-size: calc(10vw);
    }

    /*------------------------------------- BLOQUE 2------------------------------------------------------------- */

    #dinamic-image-back {
        height: 55vh;   
    }

    /* Pasador de logos */

    .title-logo-carousel {
        font-size: calc(2.2vh);
    }

    .title-logo-carousel>b{
        font-size:calc(3vh);
    }

    #container-distributor-logos{
        padding-left: 4vw;
    }

    .logo-image {
        width: 12vw;
        height: 12vw;
        margin-right: 2.5vw;
    }

    /* Oferta de trabajo */

    #offer{
        margin-top: 20vh;
    }

    #hands {
        width: 3.2vh;
        height: 3.2vh;
    }

    #title2 {
        font-size: calc(3vh);
    }

    #text {
        font-size: calc(1.9vh);
    }

    .btn-consulta {
        font-size: calc(1.7vh);
    }

}

