*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
*::selection{
    background: #000;
    color: white;
}
.img-generator{
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:aliceblue;

}
/* .img-generator::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100;
} */
.img-generator .content{
    color:black;
    padding: 0 15px;
    max-width: 700px;
    text-align: center;
}
.home-line{
    position: absolute;
    top: 10px;
    left: 30px;
    margin: 20px;
    display: flex;
    align-items: center;
}
.home-item{
    text-decoration: none;
    color: #000;
    font-size: 20px;
    filter: brightness(0.5);
}
.home-item1{
    text-decoration: none;
    color: #000;
    font-size: 20px;
    filter: brightness(15.0);
}    
.home-arrow{
    margin: 0 5px;
    color: #000;
    font-size: 20px;
}
.img-generator img{
    width: 500px;
    position: relative;
    right: 10px;
    cursor: pointer;
}
.img-generator h1{
    font-size: 2.5rem;
    font-weight: 700;
}
.img-generator p{
    font-size: 1.35rem;
    margin-top: 12px;

}
.img-generator .generate-form{
    height: 80px;
    width:100%;
    display: flex;
    padding: 6px;
    margin: 45px 0 15px;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(160, 240, 245);
    border-radius: 40px;


}
.generate-form .prompt-input{
    width: 100%;
    height: 100%;
    font-size: 1rem;
    outline: none;
    border: none;
    background: none;
    padding: 0 17px;
}
 .generate-form .controls{
    display: flex;
    height: 100%;
    /* gap: 2%; */
}
.generate-form .img-quality{
    outline: none;
    border: none;
    background: none;
    font-size: 1rem;
}
.generate-form .generate-btn{
    font-size: 1rem;
    outline: none;
    border: none;
    color: aliceblue;
    font-weight: 600;
    padding: 0 30px;
    cursor: pointer;
    border-radius: 40px;
    background-color: black;
}
.img-galary{
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    gap: 20px;
    flex-wrap: wrap;
    background-color:aliceblue;
    padding: 0 15px;
    max-width: 1300px;
    margin: 40px auto;
    justify-content: center;

}
.img-galary .img-card{
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background: #f2f2f2;

}
.img-galary .img-card img{
    width: 100%;
    height: 100%;
    object-fit:cover;
}
.img-galary .img-card.loading img{
    width: 80px;
    height: 80px;

}
.img-galary .img-card .down-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: aliceblue;
    height: 36px;
    width: 36px;
    border-radius: 50px;
    display: none;
    align-items: center;
    justify-content: center;

}
.img-galary .img-card:not(.loading):hover .down-btn {
    display: flex;


}
.img-galary .img-card .down-btn img{
    width: 14px;
    height: 14px;


}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background-color:white ;
}
::-webkit-scrollbar-thumb{
    background-color: rgb(12, 12, 12);
}
@media screen and (max-width:760px) {
    .img-generator img{
        width: 350px;
        position: relative;
        /* right: 50px; */
        margin-left: 20px;
        cursor: pointer;
    }
    .img-generator h1{
        font-size: 1.8rem;
    }
    .img-generator p{
        font-size: 1rem;
    }
    .img-generator .generate-form{
        margin-top: 30px;
        /* margin-left: 10px; */
        height: 52px;
        display: block;
    }
    .generate-form .controls{
        height: 40px;
        margin-top: 15px;
        align-items: center;
        justify-content: flex-end;
    }
    .generate-form .img-quality {
        color: white;

    }
    .generate-form .img-quality option {
        color: #000;

    }
    .generate-form .generate-btn{
        height: 100%;
    }
    .img-galary .img-card:not(.loading) .down-btn{
        display: flex;
    }
    .img-galary{
        margin-top: 20px;

    }

    
}
@media screen and (max-width:550px) {
    .img-galary .img-card{
        width: 100%;
    }
    
}