*{
margin: 0;
}

body{ 
  background-color: rgb(239, 239, 239);
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.contenedor{
    padding: 0px 15%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

header{
    background-color: rgb(239, 239, 239);
    margin-top: 26px;
    padding: 22px 0px;
    border-top: 2px solid rgb(69, 100, 44);
    width: 100%;
    /*position: fixed;*/
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.menu{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 24px;
    text-decoration: none;
}
.menu li a{
    padding: 8px 12px;
    border: 2px solid rgb(239, 239, 239);
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}
.menu li a:hover{
  border: 2px solid rgb(69, 100, 44);
  border-radius: 20px;
  color: rgb(69, 100, 44);
}
h4{
    font-weight: 400;
    font-size: 14px;
}
p{
    text-align: justify;
}
.destacados{
    border-radius: 20px;
    background-color: rgb(201, 201, 201);;
    padding: 26px;
    display: flex;
    flex-direction: row;
    gap: 42px;
    text-align: center;
    align-items: center;
}
.galeria{
    gap: 16px;
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    /*REVISA ESTO*/
}
.card{
    transition: transform 0.2s ease;
    width: 231px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 4px;
}
.card:hover{
    transform: scale(1.03);
}
.compra{
    margin-top: 8px;
    border-top: 2px solid black;
    padding-top: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: auto;
}
.linea-botones{
    display: flex;
    gap: 16px;
}
.boton{
    flex: 1;
    width: auto;
    font-weight: bold;
    font-size: 14px;
}
.boton a{
    border-radius: 20px;
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    text-decoration: none;
}
.boton a:link,
.boton a:visited{
    color: rgb(69, 100, 44);
    border: 2px solid rgb(69, 100, 44);
 
}
.boton a:hover{
    background-color: rgb(69, 100, 44);
    color: white;
    border: 2px solid rgb(69, 100, 44);
}
footer{
    border-radius: 20px 20px 0px 0px;
    gap: 16px;
    margin-top: 30px;
    padding: 26px 15%;
    background-color: rgb(69, 100, 44);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.columna-texto{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.libro-info .columna-texto{
    width: 60%;
    text-align: left;
    gap: 12px;
}
footer .columna-texto{
    padding-left: 12px;
    gap: 6px;
    border-left: 1px solid rgb(255, 255, 255);
}
.libro-info{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 26px;
}

.libro-info img{
    height: auto;
    width: 100%;
    max-width: 420px;
    min-width: 90px;
    object-fit: contain;
}

.campo-relleno{
    color: rgb(183, 183, 183);
    border: 2px solid rgb(200, 200, 200);
    border-radius: 20px;
    padding: 12px;
    font-weight: 700;
}
.newsletter{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.newsletter .boton{
    max-width: 247px;
}