@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');

#contentContainer {
    display: flex;
    flex-direction: column;
    justify-self: center;
}
hr {
    border-top: 3px solid lightgray;
    width: 100%;
    margin: 15px 0px;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
header img {
    width: 160px;
    height: 160px;
}
header h1 {
    font-family: 'Amatic SC';
    font-size: 70px;
}
#searchBarContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    border: 5px solid black;
    border-radius: 15px;
}
#searchBar {
    width: 100%;
    border: none;
    margin: 0px 25px 10px 25px;
    font-size: large;
}
#magnifyingGlass {
    width: 3em;
    height: 50px;
    margin: 0px 10px 10px;
    border-left: 3px solid gray;
    padding-left: 10px;
}
#recipeContainer {
    display: flex;
    flex-direction: column;
}
#recipeContainer h2 {
    font-family: 'Amatic SC';
    color: #70beea;
    font-size: 40px;
    margin-bottom: 0px;
}
.recipe-card {
    display: flex;
    gap: 20px;
    border: 3px solid black;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.recipe-card img {
    width: 200px;
    height: auto;
}
.recipeDescription {
    flex: 1;
}
.recipeInfo {
    display: none;
}
.rating {
    margin-left: 13px;
}
.social {
    margin: 15px 0px;
}
.social img {
    width: 50px;
    height: 50px;
}
footer a {
    font-size: 30px;
}

@media (min-width: 768px) {
    #recipeContainer {
        display: flex;
        flex-direction: column;
        width: 50%;
        align-self: center;
    }
    #searchBarContainer {
        max-width: 50%;
        align-self: center;
    }
    hr {
        max-width: 50%;
        align-self: center;
    }
    #recipeContainer img {
        width: 45%;
        padding-left: 20px;
        padding-bottom: 20px;
    }
    #dessertBtn {
        max-height: 30px;
        margin-top: 20px;
    }
    #recipeDescription {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        max-width: 40%;
    }
    .recipeInfo {
        display: flex;
    }
    footer {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin: 20px 10px;
    }
}