body {
    font-family: "Montserrat", sans-serif;
    background-color: #fff;
    color: #46674b;
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #f7f3da;
}

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .dropdown-item {
    color: #46674b !important;
    font-weight: 600;
}

.nav-link {
    margin-right: 5px;
}

.dropdown-menu {
    background-color: #f7f3da;
}

.bandera {
    width: 20px;
    height: 20px;
}

/* CONTAINER LOGO */
.container-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    gap: 20px;
    font-weight: bold;
}

#logo {
    border-radius: 5px;
    -webkit-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    -moz-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    cursor: pointer;
}

#logo:hover {
    transform: scale(1.1);
}

#logo:active {
    transform: scale(0.95);
    box-shadow: 2px 2px 2px -1px rgba(70, 103, 75, 0.67);
}

/* Paragraf introductori*/
.fade-line {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-line:nth-child(1) {
    animation-delay: 0.2s;
}
.fade-line:nth-child(2) {
    animation-delay: 0.6s;
}
.fade-line:nth-child(3) {
    animation-delay: 1s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* Titol */
h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 15px;
}

/* CARD */
.card {
    width: 80vw;
    background-color: #f7f3da;
    color: #46674b;
    border: none;
    border-right: 2px solid #46674b;
    border-bottom: 2px solid #46674b;
    font-family: "Montserrat", sans-serif;
    -webkit-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    -moz-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
    z-index: 1;
}

.card-body {
    display: flex;
    padding: 1.5rem;
}

.text-left {
    display: flex;
    flex-direction: column;

    text-align: justify;
    margin-right: 10px;
    flex-basis: 50%;
}

.card-title {
    font-weight: 700;
    font-size: 2rem;
    margin-top: -10px;
    margin-bottom: 20px;
}

.card-text {
    font-weight: normal;
    margin-top: 30px;
}

.d-flex {
    display: flex;
    align-items: center;
}

.card-img-top {
    height: 30vh;
    object-fit: contain;
    width: 100%;
}

.btn-primary {
    background-color: #46674b;
    border-color: #46674b;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #182f1b;
    border-color: #182f1b;
}

.text-right {
    display: flex;
    flex-direction: column;

    align-items: center; /* Assegurem que el text es queda a l'esquerra */
    text-align: justify;
    margin-left: 10px;
    flex-basis: 50%;
}

.card-img-left {
    height: 30vh;
    object-fit: cover;
    width: 100%;
}

/* Beneficis i Contraindicacions */

.indicacions_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80vw;
    margin: 0 auto;
    gap: 10%;
}

.box {
    background: #f7f3da;
    border-right: 1px solid #46674b;
    border-bottom: 1px solid #46674b;
    border-radius: 5px;
    -webkit-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    -moz-box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    box-shadow: 6px 5px 3px -1px rgba(70, 103, 75, 0.67);
    padding: 1rem;
    width: 35vw;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .indicacions_container {
        flex-direction: column;
        width: 90vw;
        gap: 2rem;
    }

    .box {
        width: 100%;
    }
}

.box:hover {
    transform: scale(1.1);
    z-index: 1;
}

footer {
    background-color: #f7f3da;
    color: #46674b;
    padding: 1rem 2rem;
    margin-top: auto;
}

.footer-left a {
    color: #46674b;
    font-weight: bold;
    margin-right: 1rem;
    text-decoration: none;
}

.footer-center {
    text-align: center;
}
.footer-center a {
    font-weight: bold;
    color: #46674b;
    text-decoration: none;
}
