/* Google Fonts CSS */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background: url("../media/bg.webp") no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    width: 100%;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    min-height: 100vh;

}

.opacity {
    opacity: 0.55;
}
.alert {
    background-color: #d7bbbbab;
    color: black;
    align-items: center;
    justify-content: center;
}


#intro p {
    font-weight: 200;
    font-size: 1rem;
    margin: 5px 0;
}

.logo {
    height: 7vh;
    width: 7vh;
    margin: 0 10px;
}

.menu {
    list-style: none;
    justify-content: space-evenly;
    align-self: center;
}

/* Sections list on menu page */
.list-group {
    list-style: none;
    justify-content: center;
    align-self: center;
}

.list-group a {
    color: #fff;
    padding: 0 15px;
}

.list-group a:hover {
    color: #9e9d9bf3;
    border: 0;
}

.list-group-item {
    background-color: transparent;
    border: transparent;
}

.list-group-item.active {
    z-index: 2;
    color: #9e9d9bf3;
    background-color: #ffffff00;
    border-color: #e0e4e900;
}

.scrollmenu {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* for smooth scrolling on iOS */
}

#menuMobile {
    justify-content: flex-start;
}

/* Hide scrollbar for Chrome, Safari and Opera */

.scrollmenu::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollmenu {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ingredients-text {
    font-size: 12px;
    font-style: italic;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 200;
    opacity: .7;
    line-height: 1.3;
}

.description-text {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 200;
}

.img-container {
    overflow: hidden;
}

/* Zooming images when you clicking on them */
.img-zoom {
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.img-zoom.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    max-width: 50vw;
    max-height: 50vh;
    width: auto;
    height: auto;
    z-index: 1000;
}

.price {
    font-size: .8rem;
}

.link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.link:hover {
    background-color: white;
    color: black;
}

/* Styling authorisation models */
.auth-model {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 200;
    width: 80%;
}

/* Styling buttons */
.edit_btn {
    background-color: #15734796;
    border-color: #124a30;
    padding: 0 10px;
}

.delete_btn {
    background-color: #dc354582;
    border-color: #801721;
    color: white;
    padding: 0 10px;
}

.update-btn {
    background-color: #055910cc;
    border-color: #093f10f5;
}

.update-btn:hover {
    border-color: #093f10f5;
    background-color: #0f4105e8;

}

.btn-primary:active {
    background-color: #103b27;
    border-color: #242b34;
}

.btn-signup {
    background-color: rgba(101, 98, 98, 0.567);
    color: #fff;
}

/* Styling stars-raiting on review page*/
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
}

.star-rating label:before {
    content: '★';
}

.faded {
    opacity: 0.8;
}

.modal-content {
    color: black;
}

/* Background for content */
.card {
    background-color: rgba(0, 0, 0, 0.516);
    border: none;
    border-radius: 2%;
}



@media screen and (min-width: 1024px) {

    .price {
        font-size: 1rem;
        text-align: center;
    }

    .description-text {
        font-size: 16px;
        text-align: center;
    }

    .ingredients-text {
        font-size: 14px;
    }

    .auth-model {
        width: 50%;
    }

}