body {
    background-image: url('fondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100%; /* Añadido para asegurar que la página ocupe toda la altura del viewport */
}

.logo {
    position: absolute;
    top: 50px;
    left: 100px;
    max-width: 30%;
    height: auto;
}

.info {
    position: absolute;
    top: 50px;
    left: 83%;
    max-width: 17%;
    height: auto;
}

.car {
    position: absolute;
    right: 8%; 
    top: 3.5cm; 
    max-width: 31vw;
    height: auto;
}



.titulo {
    position: absolute;
    top:10vh; /* Ajusta según tu diseño */
    left: 7vw; /* Ajusta según tu diseño */
    color: rgb(252, 252, 252);
    font-size: 7vw; 
    font-family: 'League Spartan', sans-serif;
    font-weight: bold; 
}

.texto_inicio {
    position: absolute;
    top: 65vh;
    left: 7vw; 
    color: rgb(252, 252, 252);
    font-size: 2vw; 
    font-family: 'Poppins', sans-serif;
}

/* ------------------- Seccion de medio ------------------------- */

.texto_medio {
    position: absolute;
    top: 76vh;
    left: 18vw; 
    color: rgb(252, 252, 252);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 3vw;
    font-weight: bold;
    line-height: 0.9;
    text-indent: 0.5em;
    margin-top: 20vh; /* Mueve el contenido hacia abajo */
}

/* Estilos para los banners */

#mantenme {
    position: absolute; /* Posición absoluta para ajustar la posición */
    top: 143%; /* 50% desde arriba */
    left: 31%; /* 50% desde la izquierda */
    transform: translate(-50%, -50%); /* Centra el elemento */
    width: 19%; /* 50% del ancho del contenedor padre */
    height: auto; /* Altura automática para mantener la proporción */
}

#motorhub {
    position: absolute; 
    top: 143%; 
    left: 52%; 
    transform: translate(-50%, -50%); 
    width: 19%; 
    height: auto; 
}

#llantacity {
    position: absolute; 
    top: 143%; 
    left: 73%; 
    transform: translate(-50%, -50%); 
    width: 19%; 
    height: auto; 
}

#liveroad {
    position: absolute; 
    top: 183%; 
    left: 40%; 
    transform: translate(-50%, -50%); 
    width: 19%; 
    height: auto; 
}

#preowned {
    position: absolute; 
    top: 183%; 
    left: 63%; 
    transform: translate(-50%, -50%);
    width: 19%; 
    height: auto; 
}

/*-----------------------------SECCION FINAL---------------------------------------------*/
.texto_final {
    position: absolute;
    top: 200vh;
    left: 7vw; 
    color: rgb(252, 252, 252);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 4vw;
    font-weight: bold; 
    line-height: 0.9;
    text-indent: 0.5em;
    transform: skew(-18deg);
}

.contacto { 
    position: absolute;
    top: 215vh;
    left: 35%; 
    color: rgb(252, 252, 252);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2vw;
    font-weight: bold; 
    line-height: 1;
    margin-top: 150px;
}

.boton {
    background-color: #b6c4c7; 
    border: none; 
    color: rgb(0, 0, 0); 
    padding: 15px 32px; /* Añadir relleno alrededor del texto */
    display: inline-block;
    font-size: 1.5vw; 
    cursor: pointer; /* Cambiar cursor al pasar el ratón */
    border-radius: 10px; 
}

.cinta {
    position: absolute;
    top: 250vh;       
    max-width: 100%; 
    margin-top: 230px; 
    display: block; /* Asegura que la imagen ocupe todo el ancho disponible */
    margin-left: auto; /* Centra la imagen horizontalmente */
    margin-right: auto; /* Centra la imagen horizontalmente */
}


        