﻿body {
    color: black;
    background: #ffc65575;
    font-family: 'Roboto', sans-serif;
    cursor: default;
}

#main {
    opacity: 1;
    transition: opacity 0.4s;
}

    #main.hidden {
        opacity: 0;
        transition: opacity 0.4s;
    }

/*
* Navbar 
(Navigation bar that is invisible and has buttons for the interface)

"A navbar that is transparent that has a very user friendly type of access to pages like: 
    ->Home (Can be the Cooking logo or Text) 
    ->Account (Can be the user's profile picture or Text)
    -> Search (Can be a search bar or Text) 
    -> Settings (Can be a gear icon next to the Account or inside the account) The App is about cooking and recipes."
*/
.my-navbar {
    display: flex;
    justify-content: space-between;
    max-width: 1120px;
    align-self: center;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
}

.nav-left {
    display: flex;
    justify-content: left;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.nav-right {
    display: flex;
    justify-content: right;
    margin-top: 50px;
    margin-right: 50px;
}

.nav-logo {
    font-weight: bold;
    margin-left: 50px;
    font-size: 25px;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo h1 {
    color: #0000008a;
    scale: 1;
    text-decoration: underline #00000000;
    text-decoration-thickness: 3px;
    transition: text-decoration 0.5s, color 0.5s, scale 0.5s;
}

    .nav-logo h1:hover {
        color: #000000;
        scale: 1.1;
        text-decoration: underline #000000;
        transition: text-decoration 0.5s, color 0.5s, scale 0.5s;
        text-decoration-thickness: 3px;
        cursor: pointer;
    }

    .nav-logo h1:active {
        color: #000000;
        scale: 1.075;
        transition: text-decoration 0.5s, color 0.5s, scale 0.3s;
        text-decoration: underline #000000;
        text-decoration-thickness: 3px;
    }

.nav-item {
    color: #1f1f1f;
    padding-left: 50px;
}
/*
    * Footer
    ( A footer will be the element that stays at the bottom of the page with some useful information and links to other pages like help and contacts )
*/

.footer, footer {
    margin-left: 50px;
    margin-right: 50px;
    padding-left: 50px;
    padding-right: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
}

.center {
    margin-left: auto;
    margin-right: auto;
    align-content: center;
}

.footer-div {
    justify-content: center;
    align-content: center;
    display: flex;
}

    .footer-div div {
        padding-left: 1000px;
        border-color: #00000050;
        height: 0px;
        border-width: 1px;
        border-style: solid;
    }

.footer-body {
    width: 1000px;
    border-radius: 25px;
    background-color: #fdd65533;
    box-shadow: 0px 0px 10px 0px #ffffff00;
    color: #494949;
    height: 100px;
    scale: 1;
    transition: scale 0.5s, background-color 0.5s, box-shadow 0.5s;
    cursor: pointer;
}

    .footer-body:hover {
        scale: 1.05;
        background-color: #ffdb6780;
        box-shadow: 0px 0px 20px 0px #ffffff6e;
    }

.spacer {
    height: 100px;
}
.search {
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: center;
}

.search-bar {
    position: relative;
    width: 1000px;
    font-size: 16px;
    border-radius: 50px;
    background-color: #6e6e6e10;
    outline: none;
    border: none;
    border-bottom: 2px solid #1f1f1f54;
    scale: 1;
    transition: border-bottom 0.5s, background-color 1s, scale 0.75s, box-shadow 1s;
    padding-left: 20px;
    padding-top: 15px;
    padding-bottom: 12px;
    margin-bottom: 50px;
    overflow: hidden;
}

    .search-bar:hover {
        scale: 1.025;
        background-color: #6e6e6e41;
        border-bottom: 2px solid #00000067;
        /* Reveal the gradient background on hover */
    }

    .search-bar:focus {
        scale: 1.05;
        /* Reveal the gradient background on focus */
        box-shadow: 0px 0px 50px 0px #fdf5d0;
    }

.search-img {
    width: 40px;
    height: 50px;
    padding-right: 35px;
}

.settings {
    color: #0000007e;
    /*Image of a gear icon size to 50px*/
    transform: scale(1) rotate(0deg);
    transition: transform 1s, color 2s;
    cursor: pointer;
}

    .settings:hover {
        /*Image of a gear icon size to 50px*/
        transform: scale(1.35) rotate(180deg);
        transition: transform 1s, color 0.5s;
        color: #000000;
    }

    .settings:active {
        /*Image of a gear icon size to 50px*/
        transform: scale(1.2) rotate(90deg);
        transition: transform 0.5s, color 0.5s;
        color: #000000;
    }

.profile {
    scale: 1;
    transition: scale 0.45s, color 0.5s;
    cursor: pointer;
    color: #0000007e;
}

    .profile:hover {
        scale: 1.3;
        color: #000000;
    }

    .profile:active {
        scale: 1.2;
        color: #000000;
    }


.img {
    width: 40px;
    height: 40px;
}


.card-actions {
    /* Vertical alignment */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.action {
    width: 30px;
    height: 30px;
    padding: 20px;
    overflow: hidden;
    color: black;
    transition: all 0.25s;
}

    .action:hover {
        scale: 1.2;
        cursor: pointer;
    }

    .action:active {
        scale: 1.05;
    }

    .action.like:hover {
        color: #ff0000;
    }

    .action.share:hover {
        color: #00ff00;
    }

.card {
    display: flex;
    justify-content: center
}

.card-main {
    background-color: #ffffff4f;
    border-radius: 25px;
    box-shadow: 0px 0px 20px 0px #0000001a;
    padding: 10px;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 1000px;
    display: flex;
    justify-content: space-between;
    scale: 1;
    transition: scale 0.5s, box-shadow 0.5s;
}

    .card-main:hover {
        scale: 1.025;
        cursor: pointer;
        box-shadow: 0px 0px 20px 0px #ffffff88;
    }

    .card-main:active {
        scale: 1.015;
        box-shadow: 0px 0px 50px 0px #ffffff;
    }

.card-img {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    margin-right: 20px;
    object-fit: cover;
}

.card-content {
    display: flex;
    justify-content: left;
    align-items: left;
}

.card-info {
    display: flex;
    flex-direction: column;
    width: 55%;
}

.card-title {
    font-size: 26px;
    font-weight: bold;
    color: #000000;
    padding-top: 0px;
    padding-bottom: 0px;
}

.card-description {
    font-size: 16px;
    color: #000000;
    padding-top: 0px;
    padding-bottom: 0px;
}

.card-details {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.card-other {
    display: flex;
}

    .card-other div {
        padding-left: 25px;
    }

.section {
    margin: 50px;
}

.section-title {
    text-align: center;
    max-width: max-content;
    left: 50%;
    right: 50%;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    color: #313131;
    padding-top: 0px;
    padding-bottom: 0px;
    text-decoration: underline #00000000;
    text-decoration-thickness: 1px;
    transition: text-decoration 0.5s, color 0.5s;
    cursor: default;
}

    .section-title:hover {
        color: #000000;
        text-decoration: underline #000000;
        text-decoration-thickness: 1px;
    }

.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    height: 2px;
    border-radius: 5000px;
    overflow: hidden;
    background-color: #00000093;
    border: #1f1f1f75;
}

.profile-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}


.info-start {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #00000090;
}
.info-help {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: max-content;
}
.info-help h2 {
    font-size: 25px;
    color: #00000099;
    margin: 25px;
    text-decoration: underline #00000000;
    scale: 1;
    transition: scale 0.5s, color 0.5s, text-decoration 0.5s;
    cursor: pointer;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

    .info-help h2:hover {
        color: #000000;
        scale: 1.2;
        text-decoration: underline #000000;
    }

    .info-help h2:active {
        color: #000000;
        scale: 1.15;
        text-decoration: underline #000000;
    }

.info-help a {
    color: #00000090;
    text-decoration: underline #00000030;
    transition: color 0.5s, text-decoration 0.5s;
}

    .info-help a:hover {
        color: #000000;
        text-decoration: underline #000000;
        cursor: pointer;
    }

    .info-help a:active {
        color: #000000;
        text-decoration: underline #000000;
    }

.username {
    text-align: center;
    margin-top: 9px;
    scale: 1;
    justify-content: center;
    display: flex;
    transition: scale 0.5s;
}

.username:hover {
    scale: 1.1;
}
.heyuser {
    text-align: center;
    font-size: 20px;
    color: #00000090;
    text-decoration: underline #00000000;
    transition: color 0.5s, text-decoration 0.5s;
}

.heyuser:hover {
    color: #000000;
    text-decoration: underline #000000;
    cursor: pointer;
}

.heyuser:active {
    color: #000000;
    text-decoration: underline #000000;
}

.admin {
    text-align: center;
    color: #00000090;
    transition: scale 0.5s, color 0.5s, text-decoration 0.5s;
    text-decoration: underline #00000000;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    scale: 1;
}

    .admin a {
        font-size: 26px;
        color: inherit;
        text-decoration: inherit;
        cursor: pointer;
    }

    .admin:hover {
        color: #000000;
        scale: 1.1;
        text-decoration: underline #000000;
    }

    .admin:active {
        color: #000000;
        scale: 1.075;
        text-decoration: underline #000000;
    }


.niceLink {
    text-align: center;
    color: #00000090;
    transition: scale 0.5s, color 0.5s, text-decoration 0.5s;
    text-decoration: underline #00000000;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    scale: 1;
}

    .niceLink.small a {
        font-size: 18px;
    }

    .niceLink a {
        font-size: 26px;
        color: inherit;
        text-decoration: inherit;
        cursor: pointer;
    }

    .niceLink:hover {
        color: #000000;
        scale: 1.1;
        text-decoration: underline #000000;
    }

    .niceLink:active {
        color: #000000;
        scale: 1.075;
        text-decoration: underline #000000;
    }

.div-200px {
    width: 250px;
    border-color: #00000050;
    border-width: 1px;
}

hr {
    border-color: #00000070;
}


/*Login Form*/
.form {
    text-align: center;
    margin: auto;
    max-width: max-content;
}

.form #title {
    font-size: 35px;
    font-weight: bold;
    color: #00000090;
    transition: all 0.5s;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

    .form #title:hover {
        color: #000000;
        scale: 1.1;
    }

.form #subtitle {
    font-size: 20px;
    color: #00000090;
    transition: all 0.5s;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

    .form #subtitle:hover {
        color: #000000;
        scale: 1.1;
    }

.text-danger {
    color: red;
    font-weight: bold;
}

.input-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 500px;
}

.input-group div {
    margin: 5px;
    display: flex;
    justify-content: center;
}

.input-field {
    width: 300px;
    height: 12.5px;
    border-radius: 50px;
    border: 1px solid #00000050;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    background-color: #ffffff90;
    transition: all 0.5s;
}

    .input-field:hover {
        scale: 1.05;
        border: 1px solid #000000;
        transition: all 0.5s;
    }

    .input-field:focus {
        scale: 1.075;
        border: 0px solid #000000;
        transition: all 0.5s;
    }

.input-field.password {
    text-align: left;
}

.input-label {
    font-size: 20px;
    color: #00000090;
    transition: all 0.5s;
}

    .input-label:hover {
        color: #000000;
        scale: 1.1;
    }


.btn {
    width: max-content;
    padding: 5px 20px;
    border-radius: 25px;
    background-color: #00000000;
    border: none;
    color: black;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.5s;
    cursor: pointer;
}

    .btn:hover {
        scale: 1.1;
        background-color: #00000020;
        box-shadow: 0px 0px 10px 1px #00000020;
        transition: all 0.5s;
    }

    .btn:active {
        scale: 1.05;
        background-color: #00000010;
        transition: all 0.5s;
    }


.title, .subtitle {
    text-align: center;
    margin: auto;
    max-width: max-content;
}

.title {
    font-size: 40px;
    font-weight: bold;
    color: #00000080;
    transition: all 0.5s;
}

.title:hover {
    scale: 1.05;
    color: #000000;
}

.subtitle {
    font-size: 20px;
    color: #00000080;
    transition: all 0.5s;
}

.subtitle:hover {
    scale: 1.05;
    color: #000000;
}
.margin50 {
    margin-left: 50px;
    margin-right: 50px;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.element {
    width: 350px;
}

.element h4 {
    font-size: 22px;
    color: #00000090;
    text-align: center;
    transition: all 0.5s;
}
   
    .element h4:hover {
        color: #000000;
        scale: 1.1;
    }

p.text-info {
    color: #00000090;
    font-size: 18px;
    text-align: center;
    margin: auto;
    max-width: max-content;
    transition: all 0.5s;
}

    p.text-info:hover {
        color: #000000;
        scale: 1.1;
    }

.text-info-lnk {
    color: #00000090;
    font-size: 18px;
    text-align: center;
    margin: auto;
    max-width: max-content;
    text-decoration: underline #00000000;
    transition: all 0.5s;
    cursor: pointer;
}

    .text-info-lnk:hover {
        color: #000000;
        scale: 1.1;
        text-decoration: underline #000000;
    }

.disabled {
    text-decoration: line-through;
    color: #00000050;
}

.disabled a {
    text-decoration: line-through;
    color: #00000050;
    pointer-events: none;
}

.logoff {
    /*Rotate 180 degrees*/
    transform: rotate(180deg);
}