*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    --mainColor:green;
    --mainpg:#f5ffe0
}
.page{
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    width: 430px;
    padding: 10px;
    height: 930px;
    background-color: #0080000f;

}
nav{
    display: flex;
    justify-content: space-between;
    color: var(--mainColor);
    align-items: center;
    height: 40px;
    padding: 0 13px;
    font-size: 22px;
    font-weight: bold;

}
nav .pages div{
    display: inline;
    margin-right: 10px;
    cursor: pointer;
}
.partOne{
    padding: 10px;
    position: relative;
    height: 50%;
    background-image: url(img/pic0.jpg);
    background-size: cover;
    width: 100%;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.img::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.16);
    position: absolute;
    border-radius: 30px;

}
.new-qoute {
    width: 235px;
    position: absolute;
    background-color: #fff;
    padding: 15px;
    border-radius: 25px;
    color: var(--mainColor);
    font-weight: bold;
}
.new-qoute:hover{
    filter: drop-shadow(2px 4px 6px black);

}
.new-qoute p{
    text-align: center;
    color: #000;
    padding: 4px;

}
.new-qoute .btn {
    background-color: var(--mainColor);
    border-radius: 20px;
    padding: 12px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    border: none;
    display: block;
    margin: 8px 20% 0 0;
    font-weight: bold;
    animation: anima 4s   0.5s infinite backwards ;

}
.new-qoute .btn:hover {
    background-image: linear-gradient(201deg, #d2e6aaad, green);
}
.partTwo{
    margin-top: 20px;
    padding: 10px;
    height: 40% ;
    display: flex;
    justify-content: space-between;
}
.favorite{
    width: 70%;
    background-color: #fff;
    padding: 0 10px;
    border-radius: 14px;
    text-align: center;
    overflow-y: auto;
    max-height: 100%;
    border: 9px solid #fff;
    position: relative;
}
.favorite header{
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    padding: 4px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
    color: var(--mainColor);
    font-size: 10px;
    width: 100%;

}

.tools{
    display: flex;
    justify-content: space-evenly;
    margin: 15px
}
.tools i {
    color: gray;
    cursor: pointer;
}
.tools i:hover{
    color: var(--mainColor);
    background-color: var(--mainpg);
}
.tools i.click {
    color: var(--mainColor);
    background-color: var(--mainpg);

}
.tools i.click.fa-heart,.tools i.click.fa-star{
    color: red;
    background-color: var(--mainpg);

}
.fav-div {
    margin: 15px 0;
    background-color: #eeeeeeb8;
    border-radius: 7px;
    padding: 10px;
    text-align: right;
}
.container-fav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    
}

.container-fav span {
    font-size: 12px;
    font-family: cursive;
}
.fav-div i {
    margin: 5px;
    color: grey;
    cursor: pointer;
}
.fav-div i:hover {
    color: red;
}
.contact{
    align-self: center;
    width: 21%;
    animation: anima2 4s   0.5s infinite backwards ;
}
.contact a{
    color: var(--mainColor);
    font-weight: bold;
    font-family: cursive;
    text-decoration: none;
    border: 1px solid;
    padding: 10px;
    border-radius: 40px;
    background-color: #fafff1ad;
}
.contact a:hover {
    background-image: linear-gradient(320deg, #d2e6aaad, green);
    color: #fff;

}
.footer{
    background: #0080000f;
    color: #020202;
    font-family: cursive;
    padding: 2px;
    text-align: center;
    font-size: 10px;

}
@keyframes anima {
    to{
    filter: hue-rotate(200deg);
    }
}
@keyframes anima2 {
    to{
    transform: scale(.89);
    filter: hue-rotate(200deg);
    }
}
/* responsive */
@media (min-width:500px){
    .container{
        width: 800px;
        height: 100vh;
    }
    nav {
    font-size: 26px;

    }
    
}

