*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
margin-right: 50px;
margin-left: 50px;
background-color: whitesmoke;
}
.recipe{

    width: 50%;
    padding:2rem;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem;
    border-bottom: 5px double black;
}

.nav-links{
    display: flex;
    width: 100%;
    justify-content: end;
    align-items: end;
    gap: 20px;
    margin-right: 20px; 
    list-style: none;
    font-weight: bold;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  
}

.nav-links a{
    text-decoration: none;
    color: darkgoldenrod;
}
.nav-links a:hover{
    color: tomato;
    font-size: 2.2rem;
    font-weight: bold;
    background-color: gold;
    border-radius: 10px;
    font-style: italic;
    box-shadow: 5px 5px 10px rgb(133, 133, 100);
}

#logo{
    width: 5rem;
    border-radius: 10%;
}

h1{
    margin-inline: auto;
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: brown;
    font-style: oblique;
    border-bottom: 5px double teal;
    margin-top: 1.2rem;
    margin-bottom: 2.2rem;
    width: 13rem;
}
h3{
    text-align: center;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: teal;
    border-bottom: 5px double brown;
    padding-bottom: 1rem;
}
.ingredients{
    border-bottom: 5px double brown;
}
#ingrd{
    background-color: yellow;
    width: 6rem;
    font-size: 20px;
    color: tomato;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid green;
}

.ingredients li{
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    padding: .3rem;
    color: darkgreen;
}
b{
    color: rgba(255, 0, 0, 0.788);
    text-decoration: underline;
}

.recipe-container{
    position: relative;
}

#cooking-image {
   width: 50%;
   height: 90%;
   position: absolute;
   top: 50%;
   right: 0;
   transform: translate(0, -50%);
   }


.prepare{
    font-size: 1.2rem;
    margin-top: 3rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
}
.prepare p{
    margin-bottom: 1rem;
}
footer{
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.452);
    font-size: 1.2rem;
    font-weight: bold;
}
footer ul{
    display: flex;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
    font-size: 1.5rem;
}
.fa-facebook{
    color: rgba(0, 0, 255, 0.781);
}
.fa-square-instagram{
    color: brown;
}
.fa-tiktok{
    background-color: black;
    color: aliceblue;
}

@media screen and (max-width: 480px) {
    body{
        margin: 0;
    }
    #cooking-image{
        position: relative;
        width: 100%;
        height: auto;
    
    }
    .recipe{
        width: 100%;
    }
    
}
@media screen and (max-width: 780px) {
    body{
        margin: 0;
    }
    #cooking-image{
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 20rem;
    }
    .recipe{
        width: 100%;
    }
    
}
