* {
    margin: 0px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid grey;
}

#envio {
    background-color: #703119;
    color: white;
    text-align: center;
    padding: 5px 0px;
}

#sub_header {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    justify-items: center;
    align-items: center;
    max-width: 1140px;
    border-bottom: 1.2px solid #703119;
}

#sub_header div {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    padding: 0px;
    justify-content: space-between;
    list-style: none;
    gap: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #703119;
}

nav ul li a:hover {
    padding-bottom: 6px;
    border-bottom: 2.5px solid #703119;
}

@media screen and (max-width: 600px) {
    nav {
        display: none;
    }

    #tarjetero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

#cabecera_joyas {
    flex-direction: column;
    justify-items: center;
    margin-top: 3rem;
}

#cabecera_joyas h1 {
    color: orange;
    font-size: 2em;
    font-weight: normal;
}

#cabecera_joyas ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin-top: 1.5rem;
}

#cabecera_joyas ul a {
    color: black;
}

.tarjeta {
    width: 20vw;
    height: 45vh;
    border: 1px solid black;
}

.tarjeta div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.tarjeta div img:hover {
    opacity: 0;
}

.tarjeta p {
    font-size: 0.8em;
}

.tarjeta p a {
    text-decoration: none;
    color: black;
}

.tarjeta p:last-child {
    color: gray;
}

.tarjeta div {
    background-image: url(logo/AniOleaje_Az_2.jpg);
    background-position: center;
    background-size: cover;
    height: 80%;
}


#tarjetero {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tarjeta:nth-child(1) div {
    background-image: url(logo/AniOleaje_Az_2.jpg);
}

.tarjeta:nth-child(2) div {
    background-image: url(logo/AniOleaje_Do_2.jpg);
}

.tarjeta:nth-child(3) div {
    background-image: url(logo/AniOleaje_Ne_2.jpg);
}

.tarjeta:nth-child(4) div {
    background-image: url(logo/AniOleaje_Orosa_2-1536x1536.jpg);
}

.tarjeta:nth-child(5) div {
    background-image: url(logo/CInfinitoDrago_Modelo-scaled-1-2048x2048.jpg);
}

.tarjeta:nth-child(6) div {
    background-image: url(logo/CInfinitoTeide_Modelo-scaled-1-2048x2048.jpg);
}

.tarjeta:nth-child(7) div {
    background-image: url(logo/ColOleajeGr_Az_2.jpg);
}

.tarjeta:nth-child(8) div {
    background-image: url(logo/ColOleajePe_Az_2.jpg);
}


/* pie de pagina */
footer {
    
    padding: 40px 20px;
    font-family: sans-serif;
    margin: 1rem 4rem ;
   
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
}

.footer-column {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    margin-right: 12px;
}

.footer-column .logo img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.footer-column p {
    color: #713118;
    text-align: justify;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 20px;
}

.payment-methods img {
    width: 40px;
    height: auto;
    margin: 2px;
}

.footer-column h6 {
    font-size: 1rem;
    color: #703119;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}


.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #703119;
}

.footer-column ul p {
    color: #000;
}

.informacion {
    color: #703119;
    display: flex;
    flex-direction: column;
}

.flex{
    display: flex;
    gap: 10px;
}

#ver_mas{
    display: flex;
    justify-content: center;

}
#ver_mas a{
    padding: 10px 40px;
    color: #703119;
    border: solid 2px #703119;
    margin: 30px 0px;
    text-decoration: none;
    }