@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", "sans-serif";
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #83a8df, #cedcf2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
}

.container h1 {
    color: #333;
    text-align: center;
    position: relative;
}

h1::after {
    content: "";
    background-color: #83badf;
    height: 3.5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50%;
    transform: translateX(-50%);
}

#generate_btn {
    padding: 0.9rem 1.8rem;
    /* margin-bottom: 2rem; */
    /* margin-top: 2rem; */
    margin: 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #667eea, #9761cd);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    /* box-shadow: 0 6px 10px rgba(102, 126, 234, 0.4); */
}

.btn:active {
    transform: translateY(0);
}

#generate_btn:active {
    background: linear-gradient(45deg, #2e33b98a, #652d9c99);
}

.colorsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.color_box {
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
}

.color_box:hover {
    transform: translateY(-2px);
}

.color {
    height: 120px;
    cursor: pointer;
}

.color_info {
    margin: .5rem;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: space-between; */
    font-size: .9rem;
    background-color: #ffffff;
}

.hex_value{
    font-weight: 600;
    letter-spacing: 0.4px;
}

.copy_button{
    color: #64748b;
}

/* FURTHER TO ADD RESPONSIVENESS TO GRID AND ANIMATION TO THE COPY BUTTON(HOVER MA COLOR CHANGE AND CHANGE TO TICK MARK) */
