/*----------------------------------Recipes css-----------------------------------*/
#recipes{
    width: 100%;
    margin-bottom: 5%;
    background-color: #FFFFFF;
}

.titleRecipes{
        font-family: 'Galada', cursive;
        font-weight: 200;
        font-size: 8em;
        color: #FF7000;
        margin-left: 5%;
        margin-bottom: 1%;
    }

.cardRecipe, .imageRecipe{
    opacity: 0;
    transition: 1s ease-in-out;
    display: none;
}

.imageRecipeContainer{
        width: 1%;
        height: 1vh;
        overflow: hidden;
        border-radius: 5em;
        opacity: 0;
        transition: 1s ease-in-out;
}

.borderRecipe{
    width: 90%;
    height: 10vh;
    margin-left: 5%;
    transition: 0.5s ease-in-out;
    border-radius: 5.5em;
    margin-bottom: 1%;
    overflow: hidden;
}

#recipe1{
    background: url(../images/recipes/moqueca.png) no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

#recipe2{
    background: url(../images/recipes/farofaDeOvo.png) no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

#recipe3{
    background: url(../images/recipes/ovoPoche.png) no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

#recipe4{
    background: url(../images/recipes/fiosDeOvos.png) no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

.titlePreHover{
    font-family: 'Galada', cursive;
    font-size: 3em;
    font-weight: 200;
    color: #FFFFFF;
    margin-top: 0.5%;
    margin-left: 2%;
    transition: 0.5s ease-in-out;
}

/*------------------------------------Animações recipes css--------------------------------------*/

@media (min-width: 1500px){
    .borderRecipe:hover{
        transform: scale(1.02);
    }
}

/*----------------------------------PreDisplay for recipes css-----------------------------------*/

/*----------------------------------PosDisplay for recipes css-----------------------------------*/

.borderRecipe.expanded{
    padding: 0.7%;
    border-radius: 5.5em;
    margin-bottom: 3%;
    background-image: linear-gradient(-200deg,#FF7000, #000dc498);
    width: 90%;
    height: auto;
    margin-left: 3%;
    transition: 0.5s ease-in-out;

    .titlePreHover{
        opacity: 0;
        transition: 0.5s ease-in-out;;
        font-size: 0.01em;
        display: none;
    }

    .titleRecipe{
        font-family: 'Galada', cursive;
        font-weight: 200;
        font-size: 4em;
        color: #FF7000;
        margin-top: -3%;
        margin-bottom: -1%;
        opacity: 1;
        transition: 0.5s ease-in-out;
        display: inline;
    }

    .cardsRecipes{
        z-index: 2;
        opacity: 1;
        transition: 0.5s ease-in-out;
    }

    .cardRecipe{
        border-radius: 5em;
        align-items: center;
        display: flex;
        padding: 3%;
        background-color: #FFFFFF;
        opacity: 1;
        transition: 0.5s ease-in-out;
    }

    .imageRecipeContainer{
        width: 40%;
        height: 50vh;
        overflow: hidden;
        border-radius: 5em;
        opacity: 1;
        transition: 0.5s ease-in-out;
    }

    #conteinerFiosDeOvos{
        height: 80vh;
        opacity: 1;
        transition: 0.5s ease-in-out;
    }

    .imageRecipe{
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        transition: 0.5s ease-in-out;
        display: inline;
    }

    .textRecipe{
        width: 50%;
        margin-left: 5%;
        opacity: 1;
        transition: 0.5s ease-in-out;
    }

    .descriptionRecipe{
        display: flex;
        font-family: 'Fira Sans', sans-serif;
        font-weight: bolder;
        font-size: 1.1em;
        color: #582d09;
        opacity: 1;
        transition: 0.5s ease-in-out;
        .rightRecipe{
            width: 60%;
        }
        .leftRecipe{
            width: 50%;
        }
        n{
            font-family: 'Galada', cursive;
            font-weight: 200;
            font-size: 2em;
            color: #fd8427;
        };
        ul{
            margin-top: -1%;
            margin-left: -10%;
        };
    }
}

/*----------------------------------Responsivity for recipes css-----------------------------------*/

@media(max-width: 1800px){
    .titleRecipes{
        font-size: 5em;
    }

    .cardRecipe{
        flex-direction: column;
    }

    .borderRecipe{
        height: 5vh;
    }

    .titlePreHover{
        font-size: 2em;
    }

    .borderRecipe.expanded{
        border-radius: 5em;
        margin-top: 3%;
        padding: 2%;
        .imageRecipeContainer{
            width: 90%;
            font-size: 1em;
        }
        .textRecipe{
            width: 90%;
            font-size: 0.7em;
        }

        .titleRecipe{
            font-size: 3em;
        }

        .imageRecipeContainer{
            height: 30vh;
        }

        .descriptionRecipe{
            flex-direction: column;
            margin-bottom: 2%;
            .rightRecipe, .leftRecipe{
                width: 80%;
            }
            ul{
                margin-left: -5%;
            }
        }
        #conteinerFiosDeOvos{
            height: 30vh;
        }
    }
}