body{
    background-image: url(carbono.png);
    background-attachment: fixed;
    background-repeat: repeat-x;
    /*background-size: cover;*/
    background-size: 700px 1000px;
}
.barra {
    font-family: 'Audiowide', sans-serif;
    display: flex;
    align-items: center;
    text-justify: center;
    justify-content: space-between;
    width: 97%;
    height: 80px; 
    padding: 2px 20px;
    margin: 10px;
}

.barra img {
    height: 70px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.884);
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    display: block;
}

.submenu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    min-width: 180px;
    padding: 0;
    border-radius: 5px;
}

.submenu-content li {
    display: block;
    padding: 10px;
}

.submenu-content li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.submenu:hover .submenu-content {
    display: block;
}

/* Hasta aqui es todo la barra de debajo del encabezado*/

.degradado {
    background: linear-gradient(to right, #ffd035e7 0%, orange 5%, rgb(255, 0, 0) 30%);
    background-color: rgb(139, 12, 12);
    color: rgba(59, 59, 255, 0.884);
    text-align: center;
}
.degradado p {
    font-family: 'Audiowide', sans-serif;
    color: white;
}
.degradado img{
    margin: 3px;
    border-radius: 5px;
}
/*Esto es el color degradado de amarillo a rojo*/


/*color: rgba(59, 59, 255, 0.884); el azul*/
.fotoCab{
    background-position: center;
    background-repeat: no-repeat;  
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("fotoCab.png");
}
.fotosEst{
    float: flex;
    max-height: 450px;
    max-width: 450px;
    border-radius: 8px;
}
.cabeza {
    position: relative;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
}

.cabeza h1 {
    font-size: 3rem;
    font-family: 'Audiowide', sans-serif;
    margin: 0 0 20px;
    /*color: rgba(59, 59, 255, 0.884);*/
    color: white;
}

.cabeza h4 {
    font-size: 1.5rem; 
    font-style: italic;
    color: white;
    margin-top: 0;
}
.cabeza img {
    filter: brightness(50%);
}
/*Hasta aqui el enbacezado*/

.copy{
    color: white;
    text-align: center;
    margin: 5px;
    font-family: 'Audiowide', sans-serif;
    font-size: 0.7rem; 
}
/*La barra de copyright*/

.contenedor {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }

.preitvSec section{
    margin: 10px;
    padding: 10px;
    background-color: rgb(0, 0, 0, 0.2);
    color: black;
    background-color: rgba(255, 255, 255, 0.8); 
}
div section {
  background-color: rgba(249, 249, 249); 
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}
.fotos {
  float: left;
  width: 36%;
  height:150px;
  margin: 15px;
  border-radius: 10px;
}

section p {
  font-size: 1.2rem;
  font-family: 'Audiowide', sans-serif;
  line-height: 1.8;
}
#mercLimInt{
  float: right;
  width: 40%;
  height: 130px;
  margin: 15px;
  border-radius: 10px;
}
#preitvft{
  float: right;
  width: 20%;
  height: 125px;
  margin: 15px;
  border-radius: 10px;
}
#chapasFt, #techoFuera, #supMot{
  float: right;
  width: 40%;
  height: 150px;
  margin: 15px;
  border-radius: 10px;
}
#lamboChapas , .bmwmoq{
  max-width: 80%;
  max-height: 80%;
  margin-top: 15px;
  border-radius: 10px;
}
#estandartFt{
  float: left;
  width: 30%;
  height: 150px;
  margin: 15px;
  border-radius: 10px;
}
#maleteroFt{
  float: left;
  width: 50%;
  height: 150px;
  margin: 15px;
  border-radius: 10px;
}
#ibizaFt{
  float: left;
  width: 250px;
  height: 250px;
  margin: 15px;
  border-radius: 10px;
}
@media (min-width: 1100px) {
    body{
        background-image: url(carbono.png);
        background-attachment: fixed;
        background-repeat: repeat;
        background-size: 700px 1000px;
    }
}
  @media (max-width: 800px) {
    body{
        background-image: url(carbono.png);
        background-attachment: fixed;
        background-repeat: repeat;
    }
    #estandartFt{
        float: none;
        display: block;
        width: 65%;
        margin: 0 auto;
    }
    #mercLimInt, #chapasFt, .fotos{
        float: none;
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    #ibizaFt{
        float: left;
        width: 45%;
        height: 250px;
        margin: 15px;
        border-radius: 10px;

    }
    #preitvft{
        float: none;
        display: block;
        width: 40%;
        margin: 0 auto;
    }
    .fotosEst {
        float: none;
        display: block;
        width: 80%;
        margin: 0 auto;
        max-height: 40%;
      }
    .fotoCab{
        background-position: center;
        background-repeat: no-repeat;  
        background-size: 400px 250px; 
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("fotoCab.png");
    }
    .contenedor {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contenedor section {
        width: 90%;
    }
    

    section img {
      float: none;
      display: block;
      margin: 0 auto 15px auto;
      width: 100%;
    }
    .contenedor-sobre-nosotros {
        flex-direction: column;
        text-align: center;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .video {
        order: -1;
    }

    video {
        width: 90%;
    }
    .barra {
        margin-bottom: 25px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .barra img {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 0;
    }

    .submenu-content {
        position: relative;
        text-align: center;
        width: 100%;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px;
    }
    .degradado{
    width: 100%;
    height: 28vh;
    }
    .contacto {
        flex-direction: column;
        align-items: center;
    }

    .contacto .col {
        width: 100%;
        text-align: center;
    }

    .contacto p {
        justify-content: center;
    }
    .footerAbajo{
        position: relative !important;
    }
    .reserva {
        background: none !important;
        background-color: white !important;
        width: 86vw !important;
    }
    form{
        max-width: 90% !important;
    }
    .galeria {
        flex-direction: column; 
        align-items: center;
    }

    .galeria img {
        width: 90%;
        max-width: 300px;
    }
}
  
/*Hasta aqui es el contenedor de la pagina servicios*/

.oferta {
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Audiowide', sans-serif;
    max-width: 445px;
    margin-left: auto;
    transition: transform 0.2s, box-shadow 0.3s;
}
#aOferta {
    display: block;
    text-decoration: none;
    color: white;
}
.oferta:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}
.oferta h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.oferta p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.resaltado {
    font-weight: bold;
    color: #002fff;
}
/*Hasta aqui la Cajita de oferta*/
.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

.galeria img {
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contenedor-sobre-nosotros {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}
#sobre-nosotros {
    flex: 1.5;
    padding: 20px;
    font-family: 'Audiowide', sans-serif;
    text-align: justify;
    background-color: rgba(0,0,0, 0.2);
    padding: 60px;
    line-height: 1.8;
}

#sobre-nosotros h2{
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(59, 59, 255); 
    margin-bottom: 20px;
}

#sobre-nosotros p {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 900px;
    margin: 0 auto;
}
video {
    width: 100%;
    max-width: 500px;
    border-radius: 11px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}
.video {
    flex: 1;
    display: flex;
    justify-content: center;
}
/*Hasta aqui el apartado de Sobre Nosotros*/
.contacto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.col {
    width: auto;
}

.col:first-child {
    left: 20px;
}

.col:last-child {
    right: 20px;
    text-align: right;
}

.col p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin: 10px 0;
}
footer img {
    width: 35px;
    height: 35px;
}
/*Hasta aqui todo lo que tiene que ver con contacto*/
.botTit {
    display: inline-block;
    font-family: 'Audiowide', sans-serif;
    padding: 12px 25px;
    background-image:url(carbono.png);
    background-repeat: repeat;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 10px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  .botTit:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
  }
  
  .botTit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* Hasta aquí son los botones de servicios */
  .reserva {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 75%);
    width: 96.123vw;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-family: 'Audiowide', sans-serif;
    line-height: 1.8;
  }
  .reserva a {
    text-decoration: none;
    color: #002fff;
  }

  form {
    display: block;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
    margin-top: 25px;
    box-sizing: border-box;
}

form label {
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

form input, form select, form button {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

form input:focus, form select:focus {
    border-color: black;
    background-color: #e0f7e0;
    outline: none;
}

form button {
    padding: 10px 20px;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: rgb(190, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
form button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.footerAbajo{
    position: absolute;
    width: 98.7%;
    bottom: 0;
}
#puntosPreItv{
    text-align: left;
}
#puntosPreItv h1{
    text-align: center;
    font-family: 'Audiowide', sans-serif;
}
#puntosPreItv u{
    font-weight: bolder;
    text-decoration: none;
}
#nuestrasInst{
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(59, 59, 255); 
    margin-bottom: 20px;
    font-family: 'Audiowide', sans-serif;
}
#encerado1{
    max-width: 90%;
    max-height: 450px;
    border-radius: 10px;
}
#encerado2{
    max-width: 90%;
    max-height: 450px;
    border-radius: 10px;
}
#encerado3{
    max-width: 90%;
    border-radius: 10px;
}
#encerado4{
    max-width: 90%;
    max-height: 450px;
    border-radius: 10px;
}
#encerado5{
    max-width: 90%;
    max-height: 450px;
    border-radius: 10px;
}
.bold{
    font-weight: bold;
}