#top {
    position: fixed;
    z-index: 21;
}

#header {
    position: sticky;
    top: 39px;
    z-index: 20;
}

#mini-header {
    background: black;
    width: 100vw;
    color: white;
    display: flex;
    align-items: center;
}

.contacto {
    display: flex;
    align-items: center;
    justify-content: center;
}

#mini-header a {
    color: white;
    display: block;
    width: 100%;
    text-decoration: none;
    text-align: center;
    position: relative;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.contacto p {
    background: green;
    top: -150px;
    position: absolute;
    display: block;
    width: 100%;
    left: 0;
    padding: 5px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#mini-header .fas {
    font-size: 1.2em;
    width: 100%;
    padding: 10px;
    display: block;
    color: white;
}

#mini-header .fab {
    font-size: 1.2em;
    width: 100%;
    padding: 10px;
    display: block;
}

#mini-header p {
    font-size: .77em;
}

#mini-header a:hover>p {
    top: 5px;
    left: 0;
    ç right: 0;
}


/* MENU NAV*/

.navbar-brand img {
    width: 150px;
}

#logo_trasladia {
    margin-left:
}

.navbar-nav li>a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px;
    text-align: center;
}

.navbar-nav li>a:hover {
    background: green;
    color: white;
}

.dropdown-menu button {
    padding: 0;
}

.dropdown-item>a {
    display: block;
    color: green;
    text-decoration: none;
    line-height: .9em;
    padding: 10px 20px;
    text-align: center;
}

.dropdown-item>a:hover {
    color: rgb(9, 63, 13);
    text-decoration: none;
    background: white;
    width: 100%;
}


/* IMAGEN DE PORTADA */

#imagen-portada {
    background: url('../img/ferrari.jpg');
    height: 45vh;
    background-size: cover;
    background-position: ;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

#imagen-portada h1 {
    margin-left: 100px;
    margin-bottom: 50px;
}

#titulo_seccion {
    padding: 20px;
    color: green;
}


/* CONTENIDO */

#contenido {
    width: 100vw;
    padding: 20px;
}

#texto {
    font-size: 1.2em;
}

#imagen-venta {
    background: url('../img/motor-auto.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
}

#imagen-pintura {
    background: url('../img/hombre-pinta.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
}

#imagen-taller {
    background: url('../img/taller.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
}

#boton a {
    color: white;
    text-decoration: none;
    padding: 12px;
    background: green;
    text-align: center;
    font-size: 18px;
    border-radius: 7px;
}

#footer_negro {
    width: 100vw;
    height: auto;
    background: black;
}

#footer_negro div {
    padding: 15px;
}

#footer_negro h5 {
    color: white;
    text-align: center;
}

#footer_negro p {
    font-size: 14px;
    line-height: 20px;
}

#cuarto_cuadro p {
    text-align: center;
    color: rgb(0, 206, 75);
    padding: 0;
}


/* FOOTER FINAL VERDE */

#final_footer {
    background: green;
    color: white;
    width: 101.1vw;
    text-align: center;
    display: flex;
    align-items: center;
}

#final_footer a {
    text-decoration: none;
    color: white;
}

#final_footer p {
    font-size: 15.2px;
}

.fab {
    font-size: 40px;
}


/* FORMULARIO */

#form-orver {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 200;
    color: gray;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#form-second {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 200;
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.formulario {
    margin-left: 300px;
    margin-top: 100px;
}

#form-boton a {
    background: rgba(101, 102, 102, 0.9);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    margin-left: 250px;
}

#close-form {
    color: green;
    position: relative;
    font-size: 30px;
    left: 900px;
    top: -90px;
}

#close-form-s {
    color: green;
    position: relative;
    font-size: 30px;
    left: 900px;
    top: -90px;
}

.escribir {
    background: rgba(101, 102, 102, 0.9);
    width: 350px;
    padding: 10px 30px;
    color: white;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    transition: all .3s ease-in-out;
}

#form-orver label {
    position: absolute;
    color: white;
    left: 310px;
    margin-top: 10px;
    transition: all .3s ease-in-out;
}

#n-position {}

#mail-position {
    margin-left: 0px;
}

#tel-position {
    margin-left: 360px;
}

#orig-position {
    margin-left: 0px;
}

#dest-position {
    margin-left: 360px;
}

#form-nombre {
    width: 700px;
}

#form-coche {
    width: 700px;
}

#form-mensaje {
    width: 700px;
    max-height: 150px;
}

.escribir::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 1);
}


/* SEGUNDO FORMULARIO*/

#nombre {
    width: 700px;
}

#coche {
    width: 700px;
}

#mensaje {
    width: 700px;
    max-height: 150px;
}

#correo {
    width: 347px;
}

#tel {
    width: 347px;
}


/* RESPONSIVE */

@media screen and (max-width:1600px) {
    .formulario {
        margin-left: 27%;
        margin-top: 10%;
    }
}

@media screen and (max-width:1450px) {
    .formulario {
        margin-left: 24%;
        margin-top: 10%;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 700px;
    }
    #coche {
        width: 700px;
    }
    #mensaje {
        width: 700px;
        max-height: 150px;
    }
}

@media screen and (max-width:1250px) {
    .formulario {
        margin-left: 22%;
        margin-top: 10%;
    }
}

@media screen and (max-width:1199.99px) {
    .formulario {
        margin-left: 19%;
        margin-top: 10%;
    }
    #close-form {
        left: 800px;
        top: -90px;
    }
    #close-form-s {
        left: 800px;
        top: -90px;
    }
}

@media screen and (max-width:1080px) {
    #mini-header .fas {
        font-size: 1.1em;
    }
    #mini-header .fab {
        font-size: 1.1em;
    }
    #mini-header p {
        font-size: .66em;
        margin-left: 7px;
        margin-top: 14px;
    }
    #mini-header a:hover>p {
        top: -9px;
        left: 0;
        right: 0;
    }
    /* NAV */
    .navbar-brand img {
        width: 6em;
    }
    .navbar-nav li a {
        font-size: .99em;
    }
    .dropdown-menu button {
        font-size: .98em;
    }
    #titulo_seccion {
        margin-left: 6.5vw;
    }
    .formulario {
        margin-left: 145px;
        margin-top: 100px;
    }
    #close-form-s {
        position: relative;
        font-size: 30px;
        left: 750px;
        top: -50px;
    }
    #close-form {
        position: relative;
        font-size: 30px;
        left: 750px;
        top: -50px;
    }
}

@media screen and (max-width:980px) {
    #mini-header a {
        color: white;
        display: block;
        width: 100%;
        text-decoration: none;
        text-align: center;
        position: relative;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    #mini-header a:hover {}
    .contacto p {
        background: green;
        top: -150px;
        position: absolute;
        display: block;
        width: 100%;
        left: 0;
        padding: 5px;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }
    #mini-header .fas {
        font-size: 1.2em;
        width: 100%;
        padding: 10px;
        display: block;
    }
    #mini-header .fab {
        font-size: 1.2em;
        width: 100%;
        padding: 10px;
        display: block;
    }
    #mini-header p {
        font-size: .6em;
    }
    #mini-header a:hover>p {
        top: -9px;
        left: 0;
        right: 0;
    }
    /* NAV */
    .navbar-brand img {
        width: 150px;
    }
    .navbar-nav li a {
        padding: 9px;
        font-size: 1em;
    }
    .dropdoen-menu button {
        font-size: .9em;
    }
    /* PORTADA */
    #imagen-portada h1 {
        margin-right: 100px;
        margin-bottom: 50px;
        font-size: 2.2em;
    }
    /* CONTENIDO */
    #titulo_seccion h3 {
        font-size: 1.6em;
        text-align: center;
    }
    #titulo_seccion {
        margin-left: 0;
    }
    #texto p {
        font-size: 1em;
        text-align: center;
    }
    #boton a {
        font-size: 1em;
    }
    #boton {
        text-align: center;
    }
    /* FOOTER FONDO NEGRO */
    #footer_negro {
        width: 101.5vw;
    }
    #footer_negro h5 {
        font-size: 1em;
    }
    #footer_negro p {
        font-size: .7em;
        line-height: 13.5px;
    }
    #tercer_cuadro .fas {
        font-size: 2.2em;
    }
    /* FOOTER FINAL VERDE */
    #final_footer {
        background: green;
        color: white;
        width: 103vw;
        display: flex;
        align-items: center;
    }
    #final_footer p {
        font-size: .7em;
    }
    .fab {
        font-size: 2em;
    }
    /* FORMULARIOS */
    .formulario {
        margin-left: 10.5em;
        margin-top: 100px;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 650px;
        top: -50px;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 650px;
        top: -50px;
    }
    #form-boton a {
        padding: 10px 30px;
        margin-left: 13em;
    }
    .escribir {
        padding: 10px 30px;
        margin-bottom: 20px;
    }
    #form-nombre {
        width: 600px;
    }
    #form-coche {
        width: 600px;
    }
    #form-mensaje {
        width: 600px;
        max-height: 110px;
    }
    #form-nombre {
        width: 600px;
    }
    #form-coche {
        width: 600px;
    }
    #form-mensaje {
        width: 600px;
        max-height: 150px;
    }
    #form-mail {
        margin-left: 0px;
        width: 600px;
    }
    #form-tel {
        margin-left: 0;
        width: 600px;
    }
    #form-origen {
        margin-left: 0px;
        width: 300px;
    }
    #form-destino {
        margin-left: 0px;
        width: 300px;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 600px;
    }
    #coche {
        width: 600px;
    }
    #mensaje {
        width: 600px;
        max-height: 150px;
    }
    #correo {
        width: 298px;
    }
    #tel {
        width: 298px;
    }
}

@media screen and (max-width:880px) {
    .formulario {
        margin-left: 13.5%;
        margin-top: 10%;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 630px;
        top: -50px;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 630px;
        top: -50px;
    }
}

@media screen and (max-width:768px) {
    #mini-header .fas {
        font-size: 1em;
        width: 100%;
        padding: 6.5px;
        display: block;
    }
    #mini-header .fab {
        font-size: 1em;
        width: 100%;
        padding: 6.5px;
        display: block;
    }
    #mini-header p {
        font-size: .46em;
    }
    #header {
        top: 59px;
    }
    #mini-header a:hover>p {
        top: -12px;
        left: 0;
        right: 0;
    }
    /* NAV */
    .navbar-brand img {
        width: 125px;
    }
    .navbar-nav li a {
        padding: 8px;
        font-size: .9em;
    }
    .dropdown-item>a {
        font-size: .7;
    }
    /* PORTADA */
    #imagen-portada h1 {
        margin-right: 70px;
        margin-bottom: 25px;
        font-size: 1.9em;
    }
    /* CONTENIDO */
    #contenido {
        width: 100%;
        margin: auto;
    }
    #titulo_seccion h3 {
        font-size: 1.4em;
        text-align: center;
    }
    #texto p {
        font-size: .95em;
    }
    #boton {
        text-align: center;
    }
    #boton>a {
        font-size: .94em;
        padding: 10px;
    }
    /* FOOTER FONDO NEGRO */
    #footer_negro {
        width: 102.5vw;
    }
    #footer_negro h5 {
        font-size: .8em;
        text-align: center;
    }
    #footer_negro p {
        font-size: .6em;
        line-height: 11px;
        text-align: center;
    }
    #tercer_cuadro .fas {
        font-size: 1.9em;
    }
    /* FOOTER FINAL VERDE */
    #final_footer {
        background: green;
        color: white;
        width: 105.5vw;
        display: flex;
        align-items: center;
    }
    #final_footer p {
        font-size: .5em;
    }
    .fab {
        font-size: 1.3em;
    }
    /* FORMULARIOS */
    .formulario {
        margin-left: 5.5em;
        margin-top: 5em;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 19.5em;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 19.5em;
    }
    #form-boton a {
        padding: .4em 1.3em;
        margin-left: 10em;
    }
    .escribir {
        padding: .5em 1.4em;
        margin-bottom: 1em;
        font-size: 1em;
    }
    #form-nombre {
        width: 500px;
    }
    #form-coche {
        width: 500px;
    }
    #form-mensaje {
        width: 500px;
        max-height: 110px;
    }
    #form-nombre {
        width: 500px;
    }
    #form-coche {
        width: 500px;
    }
    #form-mensaje {
        width: 500px;
        max-height: 100px;
    }
    #form-mail {
        margin-left: 0px;
        width: 500px;
    }
    #form-tel {
        margin-left: 0;
        width: 500px;
    }
    #form-origen {
        margin-left: 0px;
        width: 500px;
    }
    #form-destino {
        margin-left: 0px;
        width: 500px;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 500px;
    }
    #coche {
        width: 500px;
    }
    #mensaje {
        width: 500px;
        max-height: 150px;
    }
    #correo {
        width: 500px;
    }
    #tel {
        width: 500px;
    }
}

@media screen and (max-width:670px) {
    .formulario {
        margin-left: 3.5em;
        margin-top: 5em;
    }
}

@media screen and (max-width:576px) {
    #mini-header .fas {
        font-size: .9em;
        width: 100%;
        padding: 6.5px;
        display: block;
    }
    #mini-header .fab {
        font-size: .9em;
        width: 100%;
        padding: 5.5px;
        display: block;
    }
    #mini-header p {
        font-size: .4em;
    }
    #mini-header a:hover>p {
        top: -12px;
        left: 0;
        right: 0;
    }
    /* NAV */
    .navbar-brand img {
        width: 110px;
    }
    .navbar-nav li a {
        padding: 7px;
        font-size: .8em;
    }
    .dropdown-item>a {
        font-size: .6;
    }
    /* PORTADA */
    #imagen-portada h1 {
        margin-right: ;
        margin-bottom: 25px;
        font-size: 1.4em;
        text-align: center;
    }
    /* CONTENIDO */
    #contenido {
        width: 100%;
        margin: auto;
    }
    #titulo_seccion h3 {
        font-size: 1.3em;
    }
    #texto p {
        font-size: .90em;
    }
    #boton {
        text-align: center;
    }
    #boton>a {
        font-size: .9em;
        padding: 10px;
    }
    /* FOOTER FONDO NEGRO */
    #footer_negro h5 {
        font-size: .7em;
    }
    #footer_negro p {
        font-size: .45em;
        line-height: 11px;
        margin-left: 0;
    }
    #tercer_cuadro .fas {
        font-size: 1.8em;
    }
    /* FOOTER FINAL VERDE */
    #final_footer {
        background: green;
        color: white;
        width: 106vw;
        display: flex;
        align-items: center;
    }
    #final_footer p {
        font-size: .4em;
    }
    .fab {
        font-size: 1.2em;
    }
    /* FORMULARIOS */
    .formulario {
        margin-left: 4.5em;
        margin-top: 3em;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 16em;
        top: -1.8em;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 16em;
    }
    #form-boton a {
        padding: .55em 1.4em;
        margin-left: 12.5em;
        font-size: .7em;
    }
    .escribir {
        padding: .6em 1.5em;
        margin-bottom: 1em;
        font-size: .7em;
    }
    #form-nombre {
        width: 400px;
    }
    #form-coche {
        width: 400px;
    }
    #form-mensaje {
        width: 400px;
        max-height: 110px;
    }
    #form-nombre {
        width: 400px;
    }
    #form-coche {
        width: 400px;
    }
    #form-mensaje {
        width: 400px;
        max-height: 115px;
    }
    #form-mail {
        margin-left: 0px;
        width: 400px;
    }
    #form-tel {
        margin-left: 0;
        width: 400px;
    }
    #form-origen {
        margin-left: 0px;
        width: 400px;
    }
    #form-destino {
        margin-left: 0px;
        width: 400px;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 400px;
    }
    #coche {
        width: 400px;
    }
    #mensaje {
        width: 400px;
        max-height: 150px;
    }
    #correo {
        width: 400px;
    }
    #tel {
        width: 400px;
    }
}

@media screen and (max-width: 520px) {
    #imagen-portada h1 {
        width: 90%;
        margin-top: 100px;
        margin: auto;
        padding-top: 130px;
        font-size: 1.36em;
        text-align: center;
    }
    #mini-header p {
        font-size: .4em;
    }
    #mini-header .fas {
        font-size: .88em;
        width: 100%;
        padding: 6.5px;
        display: block;
    }
    #mini-header .fab {
        font-size: .88em;
        width: 100%;
        padding: 5.5px;
        display: block;
    }
    #header {
        top: 51px;
    }
    .navbar-brand img {
        width: 110px;
    }
    #imagen-venta {
        background: url('../img/motor-auto.jpg');
        background-repeat: no-repeat;
        background-position: -55px 0vh;
        background-size: cover;
        height: 40vh;
    }
    #imagen-pintura {
        background: url('../img/hombre-pinta.jpg');
        background-repeat: no-repeat;
        background-position: -55px 0vh;
        background-size: cover;
        height: 40vh;
    }
    #imagen-taller {
        background: url('../img/taller.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        height: 40vh;
    }
    #footer_negro {
        width: 102.8vw;
    }
    #footer_negro p {
        font-size: .37em;
    }
    /* FOOTER FINAL VERDE */
    #final_footer {
        width: 105.6vw;
    }
    /* FORMULARIOS */
    .formulario {
        margin-left: 4em;
        margin-top: 2em;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 14.2em;
        top: -1em;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 11.2em;
    }
    #form-boton a {
        padding: .5em 1em;
        margin-left: 11em;
        font-size: .7em;
    }
    .escribir {
        padding: .5em 1.4em;
        margin-bottom: 1em;
        font-size: .7em;
    }
    #form-nombre {
        width: 300px;
    }
    #form-coche {
        width: 300px;
    }
    #form-mensaje {
        width: 300px;
        max-height: 110px;
    }
    #form-nombre {
        width: 300px;
    }
    #form-coche {
        width: 300px;
    }
    #form-mensaje {
        width: 300px;
        max-height: 75px;
    }
    #form-mail {
        margin-left: 0px;
        width: 300px;
    }
    #form-tel {
        margin-left: 0;
        width: 300px;
    }
    #form-origen {
        margin-left: 0px;
        width: 300px;
    }
    #form-destino {
        margin-left: 0px;
        width: 300px;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 360px;
    }
    #coche {
        width: 360px;
    }
    #mensaje {
        width: 360px;
        max-height: 150px;
    }
    #correo {
        width: 360px;
    }
    #tel {
        width: 360px;
    }
}

@media screen and (max-width: 480px) {
    /* FORMULARIOS */
    .formulario {
        margin-left: 2em;
        margin-top: 2em;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 11.2em;
        top: -.8em;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 11.2em;
        top: -.8em;
    }
    #form-boton a {
        padding: .5em 1em;
        margin-left: 8.5em;
        font-size: .7em;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 300px;
    }
    #coche {
        width: 300px;
    }
    #mensaje {
        width: 300px;
        max-height: 150px;
    }
    #correo {
        width: 300px;
    }
    #tel {
        width: 300px;
    }
}

@media screen and (max-width: 350px) {
    .formulario {
        margin-left: 2em;
        margin-top: 2em;
    }
    #close-form-s {
        position: relative;
        font-size: 25px;
        left: 10em;
        top: -.8em;
    }
    #close-form {
        position: relative;
        font-size: 25px;
        left: 10em;
        top: -.8em;
    }
    #form-boton a {
        padding: .5em 1em;
        margin-left: 6em;
        font-size: .7em;
    }
    /* SEGUNDO FORMULARIO*/
    #nombre {
        width: 250px;
    }
    #coche {
        width: 250px;
    }
    #mensaje {
        width: 250px;
        max-height: 150px;
    }
    #correo {
        width: 250px;
    }
    #tel {
        width: 250px;
    }
}