html, body {
  width: 100%;
  min-width: fit-content; 
}
html{
    min-width: 300px;
}

nav{
    --MinHeight: 6em;

    background-color: black;
    height: auto;
    min-height: var(--MinHeight);
    padding: var(--padding);

    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    color: white;


}

.divNav {
    font-weight: bold;
    margin-left: 0.5em;
    margin-right: 0.5em;
    font-size: 1.2em;
    height: 100%;
    align-items: center;
    color: white;
    

}

.divLogo{
    margin-left: 0.5em;
    margin-right: 0.5em;
    height: 100%;
    background-image: url(/Imagenes/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12em;
    height: 6em;
    background-position: center;
    background-color: black;
}






.divLogoMovil{
    height: 100%;
    background-image: url(/Imagenes/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12em;
    height: 6em;
    background-position: center;
    background-color: black;
    color: white;
}
.divNavMovil{
    font-weight: bold;
    margin-left: 0.15em;
    margin-right: 0.15em;
    font-size: 1.2em;
    height: 100%;
    align-items: center;
}



.selectDiv {
    width: 180px;
    background-color: rgb(78, 56, 56);
    font-size: 0.9em;
    font-weight: bold;    
    border-style: solid;
    border-radius: 1.3em;
    border-color: rgb(78, 56, 56);

}

.currentSelector {
    padding: 10px;
    cursor: pointer;

    border-style: solid;
    border: 6px;
    border-radius: 1em;
    background-color: rgb(78, 56, 56);
    text-align: center;


    
}

.options {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 180px;

    border: 1px solid black;
    background-color: rgb(78, 56, 56);
    font-size: 1.2em;
    font-weight: bold;
}

.option {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid black;
    text-align: center;

    
}

.option:hover {
    transition: 0.2s;
    color: orange;
}




.navMovil {
    display: none;
}

.navPc {
    display: block;
}

@media (max-width: 1389px) {
    .navMovil {
        display: block;
    }

    .navPc {
        display: none;
    }

}

.vr {
    margin-left: 0.5em;
    margin-right: 0.5em;
    background-color: rgb(255, 187, 0);
    width: 3px;
    height: calc(var(--MinHeight));
}

.vr_NavMovil {
    margin-right: 0.5em;
    background-color: rgb(255, 187, 0);
    width: 3px;
    height: calc(var(--MinHeight));
}



.currentPage {
    color: rgb(255, 238, 0);
}

red {
    color: rgb(255, 238, 0);
}

a{
    text-decoration: none;
    color: black;
    transition: 0.3s;
}
.navA{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

a:hover{
    color: rgb(241, 150, 14);
}





body {
    margin: 0;
    width: 100%;
    font-family: textoCuerpo;
    font-size: 20px;
}
body::before{
    content: "";
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    inset: 0;
    pointer-events:none;
}

@font-face  {
    font-family: textoLogo;
    src: url("Fuentes/Logo/Bailey\ MF\ Regular.ttf");
}
@font-face  {
    font-family: textoCuerpo;
    src: url("Fuentes/Cuerpo/Avenir\ Light.ttf");
}



/* Fondo que permanece quieto */
.fondo {
    position: fixed;
    inset: 0;
    background-image: url("Imagenes/Chevrolet-Camaro-Bumblebee-Transformers-4-1.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-color: black;
}
.barraSuperior{
    position: fixed;
    top: 50px;
    z-index: 1000;
    width: 100%;

    min-height: 5em;
    display: flex;
    flex-direction: row;
    background-color: black;
    color: white;

    display:flex;
    flex-wrap:wrap;
    height:auto;
    min-height: 5em;
}


.barraSuperiorMovil{
    display: none;
}
.barraSuperior{
    display: none;
}

@media (max-width: 965px) {

    .barraSuperiorMovil {
        display:flex;
        flex-wrap:wrap;
        height:auto;
        min-height: 5em;
        display: block;
    }

    .divsBarraSuperiorMovil {
        font-size:1rem;
        min-height: 5em;
    }


    .logoMovil {
        background-image: url("Imagenes/logo.png");
        background-position: bottom center;
        
        background-size: contain;
        background-repeat: no-repeat;
        font-family: textoLogo;

        max-width: 8em;
        min-height: 5em;
        flex-shrink:0;
    }

    

    .topBarTextMovil {
        font-size:5px;
    }


    .divsInfoMovilMovil {
        padding:5px;
    }

    .telefonoMovil,
    .whatsAppMovil {
        width: 4em;
        flex: 1;
    }





    .barraSuperior {
        display:flex;
        flex-wrap:wrap;
        height:auto;
        min-height: 5em;
        display: none;
    }

    .divsBarraSuperior {
        font-size:1rem;
        min-height: 5em;
    }


    .logo {
        background-image: url("Imagenes/logo2.jpg");
        background-position: bottom center;
        
        background-size: contain;
        background-repeat: no-repeat;
        font-family: textoLogo;

        max-width: 8em;
        min-height: 5em;
        flex-shrink:0;
    }

    

    .topBarText {
        font-size:5px;
    }


    .divsInfo {
        padding:5px;
    }

    .telefono,
    .whatsApp {
        width: 4em;
        flex: 1;
    }   

    .cajaTextoBlanca{
        background-color: white;
        padding: 1em;
    }

    .extraPadding{
        padding: 2em;
    }
    .leftText{
        margin-left: 0.2em;
        text-align: left;
    }

    .cajaInfoInicio{
        margin-top: 9em;
        background-color: white;
        text-align: center;
    }

    .botonPresupuesto{
        margin: auto;
        width: 2em;
        height: 0.3em;
        background-color: brown;
        color: white
    }

    .textoPresupuesto{
        margin-top: 0.2em;
    }

    .imagenesServicios{
        height: 3em;
        margin: auto;
        display: flex;
        justify-content: center;
        flex-direction: column;
        flex-flow: wrap;
    }

    .cajasServicios{
        border-style:solid;
        width: 3em;
        height: 3em;
        background-color: white;
        margin: 0.2em;
    }

    .infoBarraInferior{
        background-color: black;
        color: white;
        text-align: center;
        padding: 0.4em;
    }
    .divsInfo{
        padding: 0.4em;
    }
    .divColocadorInfo{
        display: flex;
        justify-content: center;
        flex-direction: row;
        height: 1.8em;
    }
    .sectorBarraMarron{
        background-color:rgb(127, 75, 8);
        height: 3em;
    }
    .barraNegra{
        background-color: black;
        height: 1.3em;
    }

    .carrusel {
        position: relative;
        width: 4em;
        height: 3em;
        padding: 0.4em;
    }

}


.logo {
    background-image: url("Imagenes/logo2.jpg");
    background-position: bottom center;
        
    background-size: contain;
    background-repeat: no-repeat;
    width: 14em;
    font-family: textoLogo;

    max-width: 8em;
    min-height: 5em;
    flex-shrink:0;
    }


.divsBarraSuperior{
    padding: 0.9em;
}
.telefono{
    width: 11em;
    height: 3.0em;
    background-image: url("Imagenes/telefono.png");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    text-align: center right;
}
.whatsApp{
    width: 11em;
    height: 3.0em;
    background-image: url("Imagenes/whatsapp-logo-1.png");
    background-position: left center ;
    background-repeat: no-repeat;
    background-size: contain;
    
}
.phonesTextVerticalCenter{
    padding-top: 8%;
}





/* Página que se mueve encima */
.contenido {
    position: relative;
    
    margin-top: 0px;
}
.cajaTextoBlanca{
    background-color: white;
    padding: 4em;
}
.extraPadding{
    padding: 10em;
}

.cajaHorizontalNegra{
    background-color: black;
}
.centeredText{
    text-align: center;
}

.centeredImage{
    margin: auto;
    display: flex;
}
.noMarginP{
    margin-top: 0px;
    margin-bottom: 0px;
}
.leftText{
    text-align: left;
    margin-left: 1em;
}

.justifiedLeft{
    text-align: justify;
}
.yellowText{
    color: rgb(236, 236, 57);
}
.whiteText{
    color: white;
}
.brownText{
    color:rgb(152, 70, 18);
}
.brownerText{
    color:rgb(69, 31, 8);
}
.orangeText{
    color: rgb(255, 167, 4);
}
.greyText{
    color: rgb(154, 153, 153);
}
.reflectedText{
  text-shadow: 
    1px 1px 0px #f3f1f1,
    2px 2px 0px #a7a3a3,
    5px 5px 10px rgba(0, 0, 0, 0.5);
}

.cajaInfoInicio{
    margin-top: 15em;
    background-color: white;
    text-align: center;
}

.botonPresupuesto{
    margin: auto;
    width: 10em;
    height: 1.5em;
    background-color: brown;
    color: white
}
.textoPresupuesto{
    margin-top: 1em;
}

.nuestrosServicios{
    text-align: center;
    background-color: rgb(232, 232, 196);
    
}
.noBoldH{
    font-weight: normal;
}

.imagenesServicios{
    height: 12em;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.cajaServicios1{
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("Imagenes/coche\ sustitucion.png");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;    
}
.cajaServicios2{
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("Imagenes/googlemaps_main_1499324335628.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.cajaServicios3{
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("Imagenes/mecanica.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.cajasServicios{
    border-style:solid;
    width: 12em;
    height: 12em;
    background-color: white;
    margin: 1em;
}
.trabajamosConTodasLasMarcas{
    background-color:white;
    
}
.rellenoTodasLasMarcas{
    margin: auto;
    width: 70%;
    text-align: left;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.infoBarraInferior{
    background-color: black;
    color: white;
    text-align: center;
}
.divsInfo{
    padding: 2em;
    padding-left: 6em;
    padding-right: 6em;
}
.divColocadorInfo{
    display: flex;
    justify-content: center;
    flex-direction: row;
    height: 11em;
}
.sectorBarraMarron{
    background-color:rgb(127, 75, 8);
    height: 15em;
}
.barraNegra{
    background-color: black;
    height: 6em;
}




.noBRtext{
    display: inline;
}
.noJumpText{
    margin: 0;
    padding: 0;
    display: inline;
    line-height: 1;
}
.smallP{
    font-size: 15px;
}
hr{
    width: 0.05em;
    background-color: yellow;
    border-color: yellow;
    border-width: 0.1px;
}
.hrVacio{
    width: 0.05em;
    background-color: transparent;
    border-color: transparent;
    border-width: 0.1px;
}

.flexDiv{
    display: flex;
    flex-direction: row;
}
.mitadFlexDiv{
    min-width: 0;
    flex: 1;
}

.botonVerMapa {
    background-color: rgb(198, 117, 35);
    color: white;
    border: 1px solid rgb(139, 84, 28);
    border-radius: 5px;
    padding: 0.5em 1em;
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.fotosTrabajos{
    padding: 0.6em;
    background-color: white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
}



.foto1 {
    transform: rotate(-3deg);
}

.foto2 {
    transform: rotate(5deg);
}

.foto3 {
    transform: rotate(-2deg);
}
.foto4 {
    transform: rotate(-3deg);
}

.foto5 {
    transform: rotate(5deg);
}

.foto6 {
    transform: rotate(-2deg);
}
.foto7 {
    transform: rotate(-3deg);
}

.foto8 {
    transform: rotate(5deg);
}

.foto9 {
    transform: rotate(-2deg);
}
.foto10 {
    transform: rotate(-3deg);
}

.foto11 {
    transform: rotate(5deg);
}

.foto12 {
    transform: rotate(-2deg);
}
.foto13{
    transform: rotate(-2deg);
}










.carrusel {
    position: relative;
    width: 20em;
    height: 12em;
    padding: 2em;
}

.carrusel img {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;

    opacity: 0;
    animation: pasarFotos 12s infinite;
}

.carrusel img:nth-child(1) {
    animation-delay: 0s;
}

.carrusel img:nth-child(2) {
    animation-delay: 3s;
}

.carrusel img:nth-child(3) {
    animation-delay: 6s;
}

.carrusel img:nth-child(4) {
    animation-delay: 9s;
}

@keyframes pasarFotos {

    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}

