/* main */
.main {
    background-color: var(--colorPrincipal);
    padding: 0 0 5rem 0;
}

.titulo-seccion {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0;
    padding: 5rem 2rem;
    color: var(--colorBlanco);
    text-transform: uppercase;
}


.sub-seccion {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0;
    padding: 2rem;
    color: var(--colorBlanco);
    text-transform: uppercase;
}

.grid-destacados {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 0 0 2rem 0
}

@media (min-width: 768px){ 
    .grid-destacados {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .grid-destacados {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fa-heart:hover{
    color:red;
}

.fa-whatsapp:hover{
    color:green
}

.options:hover{
    color:burlywood;
}

.btn-edit{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid orange;
    border-radius: 5px;
    color: orange;
    transition: .3s;
}

.btn-edit:hover{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    background-color: orange;
}

.btn-success{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid green;
    border-radius: 5px;
    color: green;
    transition: .3s;
}
.btn-success:hover{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    background-color: green;
}

.btn-error{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid red;
    border-radius: 5px;
    color: red;
    transition: .3s;
    background-color: transparent;
}
.btn-error:hover{
    display: inline-flex;
    padding: .5rem;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    background-color: red;
}

.radio-success{
    color:green;
    font-size: .5rem;
    transition: .3s;
    cursor: pointer;
}

.radio-success:hover{
    scale: 1.1;
}

.radio-error{
    color:red;
    font-size: .5rem;
    transition: .3s;
}

.radio-error:hover{
    scale: 1.1;
}

#code_search{
    all:unset;
    background-color: white;
    border:none;
    padding-left: 1rem;
}

.boton-busqueda{
    background-color: white;
    border:none;
    cursor: pointer;
    transition: .3s;
}

.boton-busqueda:hover{
    background-color: #222;
    color:white;
}

pre{
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Arial, Helvetica, sans-serif;
}

/* Estilos del botón flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
