body{
    padding:50px;
    background-color:#EEE4DB;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:30px;
    font-family: "Jost", Helvetica, sans-serif;
}

a:link {
    color: rgb(255, 255, 255);
    text-decoration: none;
  }
  
  a:visited {
    color: rgb(255, 255, 255);
    text-decoration: none;
  }
  
  
  a:hover {
    color: rgb(255, 239, 207);
    text-decoration: none;
  }
  
  a:active {
    color: rgb(255, 255, 255);
    text-decoration: none;
  }



header{
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

#logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap:0.5vw;
}

#logoText{
    color: #4E453A;
    font-family: Jost;
    font-size: 26px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 3px;
 }

#logo img{
    min-width: 50px;
    height:auto;
}

#logo img:hover{
        animation-name: coffeeMove;
        animation-duration: 0.2s;
        animation-iteration-count: 2;
}


/*Index*/
#container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

header{
    justify-content: space-between;
    align-items: center;
}

#recipeListBackGround{
    display: flex;
    padding:50px;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    min-width: auto;
}

#recipeNav{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap:20px;
    width: 500px;
    max-width: 1200px;
    min-width: auto;
}

.navlist{
    display:flex;
    flex-direction: row;
    gap:20px;
    list-style-type: none;
    align-items: center;
    color: #736c64;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    flex-wrap: wrap;
}

.navlist li a {
    color: #4E453A;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition:0.5s;
}

.navlist li a:hover {
    color: #8c7b66;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition:0.5s;
}

#noneSection{
    display: flex;
    flex-direction: column;
    padding: 50px;
    align-items: center;
    border-radius: 35px;
    background: #CCC2BA;
    padding: 50px;
}

#noneSection img{
    min-width:25%;
    max-width:30%;
    height: auto;
}

#noneSection img:hover{
    animation-name: coffeeMove;
    animation-duration: 0.2s;
    animation-iteration-count: 2;
}


.addRecipeBtn {
    border-radius: 50px;
    background: #6D5747;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition:0.5s;
    border:none;
    font-family: "Jost";
    font-size: 18px;
}

.addRecipeBtn:hover{
    background: #221b16;
    transition: 0.3s;
    color: rgb(255, 255, 255);
    transition:0.5s;
}

#clearData{
    border-radius: 50px;
    border:none;
    background: #804551;
    color: white;
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition:0.5s;
    font-family: "Jost";
}


#clearData:hover{
    background: #af5f6f;
    transition:0.5s;
}

#espressoRecipesBtn{
    border-radius: 12px;
    background: #332A2A;
    color: white;
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: "Jost";
    font-size:18px;
    font-weight: 400;
}


.recipeList {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 35px 10px 35px;
    gap: 20px;
    border-radius: 20px;
    background: #443939;
    color: white;
    flex-basis: 0;
    justify-content: space-between;
    max-width: 1000px;
}

#recipeSection{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
}

.recipeTitle {
    text-align: left;
    font-family: "Jost";
    font-style: normal;
    font-weight: 600;
    font-size:24px;
    font-style: normal;
    margin: 0;
    max-width: 350px;
}

.listRight{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    justify-content: flex-end;
}

.brewNowBtn{
    border-radius: 50px;
    background: #6D5747;
    color: white;
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition:0.5s;
    font-family: "Jost";
    font-size: 18px;
}

.brewNowBtn:hover{
    background: #5e463e;
    transition: 0.3s;
    color: rgb(255, 255, 255);
    transition:0.5s;
    padding: 10px 20px;
}


/*Add Recipe*/

#formBackground{
    border-radius: 35px;
    background: #CCC2BA;
    padding: 20px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
    gap:10px;
    max-width: 800px;
}

.addRecipe{
    display: flex;
    flex-direction: column;
    align-items: left;
    gap:10px;
    width: auto;
}

#addEspressoRecipe input[type="text"],
#addEspressoRecipe input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 35px;
    box-sizing: border-box; 
}

.addRecipeTitle{
    color: #1a1414;
    font-family: "Jost";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    margin:0;
}
#navButtons{
    display: flex;
    flex-direction: row;
    gap:10px;
    margin:0;
}

#deleteRecipe{
    box-sizing: border-box;
    border-radius: 50px;
    border:none;
    background: #804551;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    transition:0.5s;
    border:none;
    font-family: "Jost";
    font-size: 18px;
    margin:0;
    align-self: flex-end;
}

#deleteRecipe:hover{
    background: #b74747;
    transition: 0.3s;
    color: rgb(255, 255, 255);
    transition:0.5s;
}

#beanGrind{
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 35px;
    box-sizing: border-box; 
}

/*Brew page*/

#recipeNav,
#brewInfo,
#preparation,
#timeDisplay,
#timerBtnNav {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}


#brewBackground{
    border-radius: 35px;
    background: #CCC2BA;
    padding: 20px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
    gap:10px;
}

#recipeNav{
    justify-content:space-between;
    padding: 0;
}

#brewInfo{
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content:left;
}

#waterML{
    border-radius: 50px;
    background: #6D5747;
    padding: 10px 30px;
    gap: 10px;
    color:white;
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-size:16px;
    font-style: normal;
}

#pourTime{
    border-radius: 50px;
    background: #677266;
    padding: 10px 30px;
    gap: 10px;
    color:white;
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-size:16px;
    font-style: normal;
}

#preparation{
    border-radius: 30px;
    background: #443939;
    width:500px;
    padding:10px 50px 30px 50px;
    color: white;
}



#timeDisplay{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 10px solid #6D5747;
    background: #EEE6E0;
    width:500px;
    padding:50px;
}

.timerText{
    color: #443939;
    text-align: center;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: "Oxygen Mono", monospace;
}

#timerBtnNav{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#startTimer{
    border-radius: 50px;
    border:none;
    background: #677266;
    color:white;
    padding: 10px 50px;
    transition: 0.5s;
    font-family: "Jost";
    font-size:18px;
    font-weight: 400;
}

#startTimer:hover{
    border-radius: 50px;
    border:none;
    background: #44674c;
    color:white;
    padding: 10px 60px;
    transition: 0.5s;
}

#pauseTimer{
    border-radius: 50px;
    border:none;
    background: #797776;
    color:white;
    padding: 10px 50px;
    transition: 0.5s;
    font-family: "Jost";
    font-size:18px;
    font-weight: 400;
}

#pauseTimer:hover{
    border-radius: 50px;
    border:none;
    background: #696461;
    color:white;
    padding: 10px 60px;
    transition: 0.5s;
}


#brewAgain{
    border-radius: 50px;
    border:none;
    background: #815641;
    color:white;
    padding: 10px 30px;
    transition: 0.5s;
    font-family: "Jost";
    font-size:18px;
    font-weight: 400;
}
#brewAgain:hover{
    border-radius: 50px;
    border:none;
    background: #8e6550;
    color:white;
    padding: 10px 50px;
    transition: 0.5s;
}

.prepTitle{
    color: #FFF;
    font-family: "Jost";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

#recipeBrewTitle {
    text-align: left;
    font-family: "Jost";
    font-style: normal;
    font-weight: 600;
    font-size:30px;
    font-style: normal;
}

/*Animation*/

@keyframes coffeeMove {
    0% {
        transform: rotate(0deg)
    }
  
    50% {
        transform: rotate(-5deg)
    }

    100%{
        transform: rotate(0deg)
    }
  }

  /*Mobile reponsive layout for the app*/

  @media (max-width: 600px) {

    /*Index*/
    #container{
        flex-direction: column;
    }
    header{
        flex-direction: column;
    }
    #recipeListBackGround{
        max-width:320px;
        margin-top: 0px;
        padding:10px;
    }
    #recipeNav{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:20px;
        max-width:  320px;
    }
    .recipeList{
        flex-direction: column;
        justify-content: left;
    }
    .brewNowBtn{
        padding: 5px 5px;
        width:100px;
        font-size:14px;
    }
    
    /*BrewNow*/

    #brewInfo,
    #preparation,
    #timeDisplay,
    #timerBtnNav {
        max-width: 320px;
    }
    #recipeNav{
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap:25px;
        width: 320px;
    }
    
    #brewInfo{
        gap:10px;
    }
    
    #preparation{
        width:300px;
        padding:25px;
    }
        
    #timeDisplay{
        width:300px;
        padding:25px;
    }
    
    #timeBtnNav{
        width:300px;
        gap:10px;
        flex-wrap: wrap;
    }
    
    #startTimer,
    #pauseTimer,
    #brewAgain {
        padding: 10px 20px;
    }

    #noneSection h3{
        text-align: center;
    }
    #noneSection img{
        max-width:50%;
        height: auto;
    }
  }