@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

:root {
    --primary: #F9DF7B;
    --secondary: #A9C45D;
    --tertiary: #e2683b; 
    --quaternary: #F8AB06;
    --quinary: #67932F;
}

h1, h2, h3, h4 {
    font-family: "Merriweather", serif;   
    font-weight: bold; 
}

p{
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: "Montserrat", sans-serif;
    text-align: justify;
}

/*--- Navigation custom CSS---*/

.navbar {
    background-color: var(--primary);
}

.nav-link {
    text-decoration: none; 
    font-family: "Montserrat", sans-serif; 
    font-size: 16px;
    font-weight: 700;
}

.nav-link:hover {
    color: var(--tertiary);
}

/*--- Header custom CSS---*/

#hero {
    background-color: var(--secondary);
}

.badge {
    background-color: var(--quaternary);
}

.texto-destacado {
    color: var(--tertiary);
}

.btn-hero {
    background-color: var(--quaternary);
    border: none;
}

.btn-hero {
    transition-duration: 0.4s;
}

.btn-hero:hover {
    background-color: var(--tertiary);
    color: white;
}

.img-hero {
    border-radius: 50%;
}

.display-4 {
    font-family: "Merriweather", serif;   
    font-weight: bold; 
}
/*--- About section custom CSS---*/

.img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/food_pattern.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.img-about {
    border-radius: 10%;
    width: 100%;
    height: auto;
    box-shadow: 2px 2px 4px 0 rgba(20, 20, 20, 0.3);
}

.texto-destacado-p {
    font-weight: bold;
}

.icono-nutriaccion {
    width: 2rem;
}

.card-about {
    background-color: #ffffe6;
    border-width: 2px;
    border-color: #eb987a;
    position: relative;
    transition: opacity 0.3s ease, box-shadow 0.3s ease; /* Transición suave para opacidad y sombra */
}

.card-about:hover {
    opacity: 0.8; /* Disminuye la opacidad */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Agrega sombra al hacer hover */
}

.card-img {
    width: 8rem;
    padding: 1rem;
    margin: auto;
}

.certificaciones {
    list-style-type: none;
    padding: 0;
}

.certificaciones li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1rem 0;
    font-family: "Montserrat", sans-serif;
}

.icon-img {
    width: 1.8rem;
}
/*--- Mis consultas custom CSS---*/

#mis-consultas {
    background-color: var(--primary);
}

.card-container {
    justify-content: space-between;
}

.card-container-2 {
    margin-top: 1.5rem;
}

.card-consulta {
    margin-top: 1rem;
    background-color: var(--secondary);
    border-width: 2px;
    border-color: var(--quinary);
    position: relative;
    transition: opacity 0.3s ease, box-shadow 0.3s ease; /* Transición para opacidad y sombra */
}

.card-consulta:hover {
    opacity: 0.9; /* Disminuye un poco la opacidad */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Sombra más grande */
}


/*--- Contacto custom CSS---*/

.social-icon {
    width: 2.5rem;
}

.social-icon-container{
    margin-top: 1rem;
}

.icon-text {
    margin: 0 0 0 10px;
}

.img-contact {
    border-radius: 10%;
    width: 100%;
    height: auto;
}

.icon-link{
    text-decoration: none;
}

/*--- Footer custom CSS ---*/

footer {
    background-color: var(--tertiary);
    text-align: center; 
    font-size: 14px; 
    color: #FFFFFF;
    padding: 20px 0;
}

.footer-links a {
    color: #FFFFFF; 
    text-decoration: none; 
    margin: 0 10px; 
}

.footer-links a:hover {
    color: var(--quaternary);
}

.footer-copyright {
    margin-top: 1rem;
    font-size: 14px;
    color: #FFFFFF;
}

/*--- Media queries ---*/

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 0.8rem;
    }
    .btn-hero {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 1200px) {
    .card-about {
        margin-top: 1rem;
    }

    .card-container-2 {
        margin-top: 0.1rem;
    }
}

@media only screen and (max-width: 1400px) {
    h1 {
        font-size: 2.2rem;
    }
    h4 {
        font-size: 1.3rem;
    }

    .img-box {
        justify-content: center;  
    }

    .card-container {
        justify-content: center;
    }

    .card-about {
        margin-top: 1rem;
        margin-left: 1rem;
    }

    .contact-container {
        margin-bottom: 2rem;
    }

    .card-consulta {
        margin-left: 1rem;
    }

    .social-icon-container{
        margin-top: 4rem;
    }

    .img-contact-box {
        margin-top: 1rem;
    }

}

@media only screen and (max-width: 1400px) and (min-width: 768px) {
    .img-about {
        width: 45%;
        height: auto;
    }

    .img-contact-box {
        display: flex;
        justify-content: center;
    }

    .img-contact {
        width: 45%;
        height: auto;
    }

}



