body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: white;
}

body {
    margin: 0 auto;
}
section {
    padding: 20px;
}

.content{
    min-height: 100vh;
    max-width: 1000px;
    display: contents;
}

header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

h3 {
    color: white;
    margin: 0;
}

nav {
    display: flex;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    color: #960000;
    border-radius: 5px;
    text-decoration: underline;
}

.slides {
    position: relative;
    margin-top: 20px ;
    display: flex;
    justify-content: center;
    align-items: center;
}

.productos {
    text-align: center;
    padding: 20px;
}

.productos h1 {
    margin-bottom: 20px;
    color: #333;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px; /* Ajusta este valor según tus necesidades */
    margin: 0 auto; /* Centra horizontalmente el contenedor */
}

.card {
    background: #b92d2d;
    color: #fff;
    border-radius: 8px;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    flex: 0 0 200px; /* Ancho fijo de 200px para los elementos del menú */
    margin: 10px; 
}

.card:hover {
    transform: scale(1.05);
}

.card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.arrow {
    font-size: 24px;
}

footer {
    background-color: #484a49;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: small;
    margin-top: 60px;
    
}

footer .botones {
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

footer .botones img {
    width: 30px;
    height: 25px;
    transition: transform 0.3s;
    margin-right: 10px;
}

footer .botones img:hover {
    transform: scale(1.1);
}

footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

footer p:hover {
    opacity: 1;
}

.newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

#newsBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #960000;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

#newsBox:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#newsImageBox {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

#newsImageBox img {
    width: 100%;
    height: auto;
    display: block;
}

#newsTextBox {
    padding: 20px;
}

#newsTextBox p {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.clear-fix::after {
    content: "";
    display: table;
    clear: both;
}

a {
    text-decoration: none;
    color: inherit;
}
section > div > div > span {
    color: white;
    font-weight: bold;
}