@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Happy+Monkey&family=Indie+Flower&family=Jacquard+12&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Reddit+Mono:wght@200..900&family=Shadows+Into+Light&display=swap'); 

/* header section started */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Indie Flower", cursive;
}

body {
    background-color: #FFCDB2;
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFB4A2;
    padding: 15px;
}

#logo { 
    width: 80px;
}

.links {
    display: flex;
    column-gap: 30px;
    list-style-type: none;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px;
    
    a {
        text-decoration: none;
        color: #6D6875;
    }
}


.menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
}


.link2:hover {
    scale: 1.2;
    transition: all 2s;
    background-color: transparent;
}

.link2 {
    font-size: 25px;
    flex: 1;
    display: inline-block;
    text-decoration: none;
    text-shadow: 1px 1px #6D6875;
    color: #B5838D;
    text-align: center;
    padding: 10px;
}

.thinline {
    height: 2px;
    background-color: #6D6875;
}


/* header section ends */

/* content section started */

.grid {
    margin-left: 50px;
    margin-right: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #FFCDB2;

    img {
        width: 100%;
        height: 100%;
    }
}

.cards {
    position: relative;
   
}

.cards p {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;                      
    text-align: center;
    background-color: rgba(0, 0, 0, 0.322);
    color: #FFCDB2;
    font-size: 35px;
}


/* content selection ends*/


/* footer section started */ 

.third {
    display: flex;
    background-color: #FFB4A2;
    align-items: center;
    justify-content: center;

    a{
        text-decoration: none;
        color: #B5838D;
    }
}

.list3{

    font-size: 20px;
    font-weight: bolder;
    flex: 1;
    display: inline-block;
    color: #6D6875;
    text-align: center;
    padding: 10px;
    margin-top: 20px;

}

.list3:hover{
    background-color: #E5989B;
    transition: width 2s;
}


.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFB4A2;
    color: black;
    padding: 15px;
    gap: 20px;
}

footer {
    text-align: center;
    background-color: #FFB4A2;
    font-size: 20px;
    color: #6D6875;
    padding: 20px;
}

@media screen and (width <= 480px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
        font-size: 40px;
        text-align: center
    }
}

@media screen and (480px < width <= 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        font-size: 20px;
        text-align: center
    }
}


/*  style for Recipies of the month */

.container{
    width: 800px;
    margin: auto;
    padding: 50px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;

    h1 {
        font-size: 50px;
        color: #B5838D;
    }

    p {
        font-size: 25px;
        margin-bottom: 20px;
    }
}

.cookie{
    background-color: #E5989B;
    text-align: center;
    box-shadow: 0px 0px 10px #6D6875;
    padding: 0px 50px 0px 50px;
    margin-bottom: 30px;

    img{
        width: 100%;
        text-align: center;
        border-radius: 15%;
    }

    h3 {
        font-size: 30px;
        color: #6D6875;
        font-weight: bolder;
        text-shadow: 1px 1px #6D6875;
        
    }
}

.ingr{
    h3{
        font-size: 40px;
        margin-bottom: 20px;
        margin-top: 20px;
        color: #6D6875;
    }

    li{
        font-size: 20px;
        font-weight: bolder;
    }
}

.stars{
    text-align: center;
    background-color: #FFB4A2;
    font-size: 20px;
    color: #6D6875;
    padding: 20px;

    p{
        font-size: 30px;
        font-weight: bolder;
        background-color: #FFB4A2;
    }
}

.rating {
    margin-top: 20px;
    p{
        font-size: 35px;
        color: #6D6875;
}
}



/* Style About Page */

.grid2{
    width: 500px;
    height: 500px;
    padding: 50px; 
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(3,1fr);
    gap: 20px; 

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10%;
    }
}

.item1 {
    grid-column: span 2;
  }
  
  .item2 {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .item5 {
    grid-column: span 2;
  }

  .item6 {
    grid-column: span 2;
  }

  .grid-item{
    border: 1px solid gray;
    border-radius: 30%;
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.welc{
    h1{
        color: #6D6875;
        text-align: center;
    }
}

span{
    color: #792df3b4;
    font-size: 40px;
}

.welc:hover {
    scale: 1.2;
    transition: all 2s;
    background-color: transparent;
}

.text{
    margin-top: 100px;
    margin-bottom: 50px;
    margin-left: 30px;
    font-size: 25px;
    font-weight: bolder;

    h2{
        text-decoration: underline;
        font-size: 60px;
    }
}

