html {
    font-size: 100%;
}

body {
    background-color: white;
}

p {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Roboto', sans-serif;
}

#logo {
    width: 151px;
    height: 41px;
}

/* Icons */
i {
    color: green;
}

/* Landing page */
.hero-image {
    width: 100%;
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://res.cloudinary.com/ddaqqsr3r/image/upload/v1634119937/Food/rsz_pexels-adonyi-g%C3%A1bor-1414651_o6hnmk.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0;
    position: relative;
}

.hero-overlay {
    align-content: center;
}

.hero-text {
    margin-top: 10px;
}

.hero-text h1 {
    color: white;
    text-align: center;
}

.hero-text p {
    color: white;
    text-align: center;
}

.hero-text btn {
    text-align: center;
}

.ldg-header {
    padding-top: 10px;
    font-size: 2rem;
}

/* Recipe images styling */

.home-cd {
    padding: 5px;
    border: 5px;
}

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

.card {
    background-color: #f5f5f5;
    margin-bottom: 15px;
}

.card-title {
    text-align: center;
    margin: 10px;
}

.card-text p {
    text-align: justify;
}

.recipe-footer {
    font-style: italic;
    font-size: smaller;
}

.image-container {
    position: relative;
}

.image-banner {
    position: absolute;
    bottom: 0;
    min-width: 30%;
    left: -2px;
    color: white;
    background-color: rgba(0, 128, 0, 0.7);
    padding: 3px;
}

.card-img-overlay {
    min-width: 30%;
    display: flex;
    align-items: flex-start;
}

.card-img-overlay p {
    color: white;
    background-color: rgba(0, 128, 0, 0.7);
    box-sizing: border-box;
    padding: 3px;
}

.hm-pg-img-bnr {
    width: 30%;
}

.update {
    font-size: small;
}

/* Links */
a {
    text-decoration: none;
    color: green;
}

h2.card-title {
    color: #3a3a3a;
}

/* Account forms */
.account-form {
    width: 75%;
    margin: auto;
}

/* Cursor */
a:hover {
    background-color: #ccc;
    cursor: pointer;
}

a.nav-link.active {
    color: rgba(0, 0, 0, .7);
    background-color: #ccc;
}

a.page-link {
    color: green;
}

.navbar-nav a:active {
    background-color: green;
}

.btn-fave {
    border: none;
    font-size: 1.5rem;
    margin: 10px;
}

/* button styling */

.grn-btn {
    color: white;
    background-color: green;
    border: none;
}

.btn-success {
    background-color: green;
    color: white;
}

.grn-btn i {
    color: white;
}

/* search bar */
.search-bar {
    padding: 0;
}

/* My Recipes page */
.my-recipes-list {
    width: 75%;
    margin: auto;
}

.btn-add {
    padding-bottom: 10px;
}

.btn-add a {
    background-color: green;
    color: white;
    padding: 5px;
    border-radius: 8px;
}

.vw-btn {
    padding: 5px;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

table {
    border: 2px solid #808080;
}

.recipe-search {
    padding: 1rem;
}

/* About Page */

.about-text h3 {
    padding-top: 10px;
    text-align: center;
}

.about-text {
    text-align: justify;
}

.about-image-container {
    padding-top: 10px;
}

.button-cntnr {
    padding-top: 2rem;
}

/* Recipe detail page */

.recipe-title {
    text-align: center;
    padding: 10px;
    background-color: white;
    color: #3a3a3a;
}

.favourite-icon {
    text-align: center;
}

.recipe-image-banner {
    position: absolute;
    bottom: 0;
    min-width: 30%;
    background-color: white;
}

.recipe-form {
    width: 75%;
    margin: auto;
}

.info {
    font-style: italic;
    font-size: smaller;
}
