@font-face {
    font-family: "montserrat";
    src: url(../fuentes/Montserrat-Medium.otf);
}

html, body {
    height: 100%;
    margin: 20px;
    display: flex;
    flex-direction: column;
    font-family: "montserrat";
    max-width: 1440px;
}

.banner {
    text-align: center;
    margin: 20px 0 40px 0;
}

.banner-img {
    width: 100%;
    max-height: 300px;
    object-fit:contain;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, #ffffff, #9d9d9d);
    color: white;
    border-radius: 50px;
}

.logo {
    width: 100px;
    height: auto;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.menu ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000000;
    transform: scale(1.1);
}


.menu ul li:hover ul {
    display: block;
}

.menu ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #004e92;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.menu ul li ul li {
    margin: 0;
}

.menu ul li ul li a {
    padding: 8px 12px;
    font-size: 14px;
}

.form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto;
}

textarea {
    flex: 1;
}

.comentarios {
    border-radius: 8px;
}

.button {
    border-radius: 10px;
    background-color: darkcyan;
    color: azure;
    width: 100px;
    height: 25px;
    border: none;
    margin-left: 15px;

}

#contacto{
    margin-top: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

fieldset {
    border: 2px solid #4694e8;
    padding: 15px;
    border-radius: 5px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

label {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}
input[type="text"], input[type="email"], select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.logos-container{
    margin-bottom: 20px;
}

.li {
    list-style-type: none;
    text-decoration: none;
    text-align: center;
    color: white;
    border: 1px solid;
    border-radius: 15px;
    padding: 5px 10px;
    margin-left: 4px;
    background-color: black;
}

.marcas {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    margin-bottom: 50px;
}

.img-box {
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    cursor: pointer;
}

.text_img {
    text-align: center;
    font-weight: 800;
}

.table{
    border: 2px solid black;
    border-radius: 5px;
}

.tr {
    border: 2px solid black;
}

.fb-button{
    width: 20px;
    margin-left: 15px;
}

.twitter-button{
    width: 20px;
    margin-left: 15px;
}

.insta-button{
    width: 20px;
    margin-left: 15px;
}



.logos {
    height: 105px;
}

#video{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    margin: 40px 20px;
}

.dia {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dia label {
    font-weight: bold;
    margin-right: 10px;
}

.mensaje {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.closed {
    color: #d9534f;
    font-weight: bold;
}
.mensaje {
    background-color: #f4f4f9;
    padding: 10px;
    font-size: 0.9em;
    color: #666666;
}

.social{
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px;
}

footer {
    margin-top: 25px;
    font-size: 12px;
    line-height: 1;
    margin-top: auto; 
    padding: 10px 20px;
}


.categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.categoria {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}

.categoria img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.img-moto{
    width: 500px;
    margin: 0 auto;
}

.modelos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ficha{
    align-items: center;
    border-collapse: collapse;
    margin-bottom: 10px;
}
table {
    width: 500px;
}
table th, table td {
    border: 1px solid;
    padding: 8px;
}

.moto-title{
    font-size: 30px;
    margin-bottom: 15px;
}

.validador-cc{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}