HTML, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
}

.contenedor-pagina {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background-color: #232020;
  color: white;
}

main {
  flex: 1;
  padding: 20px;
  min-height: auto;
}

footer {
  background: #ff914d;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

nav {
    background: #ff914d;
    padding: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

nav a {
    color: white;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

h2 {
    color: white;
}

.contenedor-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tarjetas de productos */
.contenedor-productos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    align-items: stretch;
    flex: 1;
    min-width: 0;
}

.tarjeta {
    background-color: #ff914d;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 20px;
    min-height: 360px;
    max-height: 360px;
}

.precio {
    color: black;
    font-weight: bold;
}

.tarjeta img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #fff;
}

.tipo {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

.descripcion {
    font-weight: normal;
    text-align: justify;
    font-size: 15px;
    padding: 10px 15px;
    background-color: coral;
    color: #000;
    flex-grow: 1;
}


.contenedor-servicios {
    background-color: #e68b2e;
    width: 220px;
    min-width: 200px;
    color: black;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  color: black;
  transition: transform 0.3s, color 0.3s;
}

.icon:hover {
  transform: scale(1.1);
}

.x:hover {
  color: #1DA1F2;
}

.facebook:hover {
  color: #1877F2;
}

.youtube:hover {
  color: #FF0000;
}