
.navbar-container {
    justify-content: center;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

a {
    color: #ffffff;
}

p {
    margin: 0;
    padding: 0;
}

span {
    font-weight: 400;
}

.navbar-toggler-mobile,
.navbar-toggler-desktop {
    justify-content: end;
    display: grid;
}

@media (max-width: 768px) {
    .navbar-toggler-desktop {
        display: none;
    }
}

@media (min-width: 769px) {
    .navbar-toggler-mobile {
        display: none;
    }
}

.navbar {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    font-size: 20px;
    height: 130px;
    z-index: 20;
    padding: 0;
}

.navbar-row {
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    position: relative;
    z-index: 50;
}

.header-text {
    padding: 50px;
    margin: 0;
    text-align: center;
    align-content: center;
    color: #272727;
    font-weight: 700;
}

.navbar-brand {

}

.nav-link {
    letter-spacing: 0;
    font-size: 22px;
    font-weight: 500;
    padding: 0;
}

.nav-item {
    margin: 0 auto;
    padding: 4px;
}

.navbar-brand-link {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;

}


.navbar-nav {
    display: flex;
}


.navbar-toggler {
    padding: 0;
    margin: 0;
}

.navbar-toggler-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    width: 100%;
    padding: 3px;
    border: none;
    --bs-bg-opacity: 1;
    background-color: #cccccc !important;
}

.username {
    max-width: 80%;
    padding: 3px;
    line-height: 19px;
    color: black !important;
    font-size: 18px !important;
}

.bi-person-circle {
    height: 28px;
    width: 28px;
}

.navbar-nav-ul {
    border-top: 2px solid white;
    color: black;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}

.navbar-nav-ul li a::after {
    content: '';
    display: block;
    width: 100%;
    background-color: white;
    height: 2px;
    transition: all .3s;
    transform: scale(0);
}

.navbar-nav-ul li a:hover:after {
    transform: scale(1.05);
}


.register-btn, .login-btn {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    border-radius: 10px;
}

.register-btn {
    padding: 5px;
    background-color: rgba(126, 206, 0, 0.90);
}

.login-btn {
    padding: 5px;
}

/*Main modal CSS*/
.auth-cancel-btn, .auth-confirm-btn {
    border-radius: 10px;
}

.auth-confirm-btn {
    background-color: #f7f7f7 !important;
    border: solid 1px black;
    color: black;
}

.auth-cancel-btn {
    background-color: rgba(126, 206, 0, 0.90);
    color: #272727;
    border: solid 1px black;
}

@media (max-width: 600px) {
    .swal2-actions {
        flex-direction: row;
        justify-content: center;
    }

    .auth-confirm-btn, .auth-cancel-btn {
        margin: 5px 2px 5px 2px;
        padding: 10px 20px 10px 20px;
    }
}
@media (min-width: 450px) {
    .modal-profile-popup,
    .modal-parameters-popup {
        width: 450px;
    }
}

.username-span,
.email-span,
.status-span {
    font-size: 15px;
}

.modal-profile-popup,
.modal-parameters-popup,
.modal-liked-dishes-popup {
    background-color: #272727 !important;
}

.modal-title {
    color: #f1f1f1;
}

.modal-close-button {
    color: #db5d5d !important;
}

.main-body {
    width: 100% !important;
    color: white;
    justify-content: center !important;
    align-self: center !important;
    justify-items: center !important;
}

/*Profile*/
.profile {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.profile-icon {
    justify-items: center;
    padding: 5px 0 5px 0;
}

.status-active {
    color: rgba(126, 206, 0, 0.90) !important;
}

.status-non-active {
    color: #ea3a3a !important;
}

.change-profile-icon {
    display: inline-grid;
    justify-items: center;
    padding-bottom: 5px;
    font-size: 12px;
    color: #5b69ff;
}

.bi-person-profile {
    width: 50px;
    height: 50px;
}

/*User parameters*/
.col-name {
    width: 100%;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    color: #f1f1f1;
    border-bottom: 2px solid #f1f1f1;
    padding: 10px;
}

.user-parameters {
    display: flex;
    justify-content: center;
    color: #f1f1f1;
}

.kpfc-info-title,
.user-parameters-title,
.bmi-info-title {
    font-weight: 500;
    font-size: 20px;
    color: #f1f1f1;
    align-content: center;
    text-align: center;
}

.kpfc-info-row {
    width: 100%;
    display: inline-flex;
}

.kpfc-info-col {
    display: inline-grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
}

.kpfc-info-p {
    color: #f1f1f1;
    align-self: center;
    padding: 5px;
}

.kpfc-info-text {
    color: black;
    font-size: 18px;
    font-weight: 600;
    padding: 0;
}

.eat-times-col {
    padding: 0;
    display: flex;
    justify-content: center;
    align-self: center;
}

.eat-times-text,
.eat-times {
    font-size: 24px;
    text-align: center;
}

.eat-times {
    font-size: 50px;
    font-weight: 600;
}

.header-circle {
    justify-content: center;
    display: grid;
    padding: 0;
    justify-items: center;
    align-content: center;
    width: 60px;
    max-width: 60px;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid #272727;
    border-radius: 50%;
}

.user-kpfc {
    justify-items: center;
    align-self: center;
    padding: 0;
}

.user-parameters-list, .user-profile-list {
    padding: 0;
    margin: 0;
    display: inline-grid;
    text-align: start;
    gap: 7px;
    font-size: 18px;
}

.bmi-info-text, .kpfc-info-text-2 {
    font-size: 19px;
}

.bmi-category, .kpfc-category {
    display: flex;
}

.bmi-bmr-desc {
    align-self: center;
    justify-items: center;
}

.desc-circle-container {
    padding: 10px 0 10px 0;
    justify-items: center;
}

.bmi-desc-circle,
.bmr-desc-circle {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #272727;
    font-size: 16px;
    margin: 0;
    padding: 0;
    text-align: center;
    box-shadow: 0 3px 3px 3px rgb(0 0 0 / 10%);
    line-height: 17px;
    font-weight: 500;
}

.arrow-right {
    color: #f1f1f1;
    padding: 3px;
    align-items: center !important;
    justify-self: center !important;;
    line-height: 26px;
    font-size: 32px;
}

.bmi-desc-p {
    display: flex;
    align-self: center;
    margin: 0;
    padding: 0;
    text-align: end;
    font-size: 14px;
    font-weight: 500;
}

.color-box {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #272727;
}

.best-kkal {
    background-color: #dedede;
}

.header-carbohydrates {
    background-color: #97b0fd;
}

.header-fats {
    background-color: #f3ffa2
}

.header-proteins {
    background-color: #acffac;
}

/*List of categories*/


.category_img {
    width: 100px;
    height: 100px;
    border: 6px solid #7ece00;
    border-radius: 50%;
}

/*Dish cards*/
.card-body {
    padding: 0;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.favorite-dishes-container {
    width: 100%;
    display: flex;
}

.dish-modal-card {
    background-color: #f1f1f1;
    border-radius: 10px;
}

@media (max-width: 460px) {
    .dish-modal-img {
        max-height: 105px !important;
    }
}

@media (min-width: 461px) {
    .dish-modal-img {
        max-height: 125px !important;
    }
}

@media (min-width: 575px) {
    .dish-modal-img {
        max-height: 110px !important;
    }
}

@media (min-width: 665px) {
    .dish-modal-img {
        max-height: 125px !important;
    }
}

.dish-modal-col {
    padding: 9px;
    margin: 0;
}

.dish-modal-img {
    padding: 0;
    width: 100%;
    border-radius: 10px;
}

.dish-modal-like {
    align-self: center;
    padding: 0;
}

.dish-modal-like-icon {
    justify-items: center;
}

.dish-modal-body {
    display: grid;
    margin: 0;
}

.dish-modal-title {
    line-height: 17px;
    padding: 3px;
    margin: 0;
    height: 120px;
    text-align: start;
    align-content: center;
    align-self: center;
}

.dish-modal-name {
    text-underline-position: from-font;
    color: #272727;
    font-size: 15px;
    line-height: 16px;
    font-weight: 600;
}

.dish-modal-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #272727;
    font-size: 16px;
    line-height: 15px;
    margin: 5px auto;
    text-align: center;
    box-shadow: 0 3px 3px 3px rgb(0 0 0 / 10%);
}


/*Buttons*/
.dish-modal-heart-icon {
    display: flex;
    width: 33px;
    height: 33px;
    fill: rgba(255, 0, 0, 0.35);
    cursor: pointer;
    transition: fill 0.3s ease;
}

.liked {
    fill: rgba(255, 0, 0, .90);
}

.buttons {
    justify-items: center;
}

.profile-button-form {
    align-content: center;
    padding: 5px;
}

.logout-btn,
.password-btn,
.calculator-btn,
.parameters-btn,
.liked-dishes-btn {
    background-color: white !important;
    font-size: 16px;
    line-height: 17px;
    font-weight: 600;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    text-decoration: none;
    color: black;
    height: 45px;
    width: 100%;
}

.password-btn,
.calculator-btn {
    background-color: #f1f1f1;
}

.logout-btn {
    background-color: #db5d5d !important;
}
