@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
}
.main {
    width: 100%;
    height: auto;
    justify-content: center;
    display: flex;
}
.solid-color-container {
    width: 90%;
    height: auto;
    margin-top: 50px;
}
.solid-color-container h1 {
    font-size: 30px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
}
.solid-color-container p {
    font-size: 18px;
    margin-top: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: 400;
}
.generator-frame {
    width: 100%;
    height: auto;
    justify-content: center;
    display: flex;
}
.section1 {
    width: 1000px;
    height: 100%;
    margin-top: 70px;
}
.color-frame {
    width: 100%;
    height: 650px;
    background-color: #202124;
    border-radius: 50px;
}
.generate-btn {
    padding: 15px 465px;
    background-color: #ffa500;
    margin-left: 10px;
    border-width: 0px;
    margin-top: 25px;
    border-radius: 30px;
    cursor: pointer;
}
#generateBtn {
    text-decoration: none;
    color: white;
    font-size: 17px;
}
.generate-btn:hover {
    background: linear-gradient(45deg, #ff0000, #ffa500, #ffff00, #008000, #0000ff, #4b0082, #ee82ee);
    background-size: 400% 400%;
    animation: gradientAnimation 3s ease infinite;
    color: white;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
span {
    color: #ffa500;
}
.section2 {
    width: 620px;
    height: auto;
    margin-top: 100px;
    margin-left: 30px;
}
.section2 h2 {
    padding: 20px;
    color: rgb(255, 255, 255);
    font-weight: 700;
}
.color-data {
    width: auto;
    height: auto;
    border-radius: 30px;
}
#colorData p {
    font-size: 18px;
    padding: 30px 20px;
    margin-left: 20px;
    margin-bottom: 15px;
    background-color: #202124;
    border-radius: 40px;
    font-weight: 600;
    text-align: left;
}




/* Responsive Styles */

@media (max-width: 1600px) {
    .color-blog {
        width: 80%;
        height: auto;
        padding: 10px;
        padding-bottom: 100px;
    }
    .section1 {
        width: 700px;
        height: auto;
        margin-top: 70px;
    }
    .generate-btn {
        padding: 15px 315px;
        margin-left: 10px;
        border-width: 0px;
        margin-top: 25px;
        border-radius: 30px;
        cursor: pointer;
    }
    .section2 {
        width: 420px;
        margin-top: 50px;
        margin-left: 30px;
    }
    .color-frame {
        width: 100%;
        height: 450px;
        border-radius: 50px;
    }
    #colorData p {
        font-size: 15px;
        padding: 20px 20px;
        margin-left: 20px;
        margin-bottom: 15px;
        border-radius: 40px;
        font-weight: 600;
        text-align: left;
    }
}
@media (max-width: 1280px) {
    .section1 {
        width: 550px;
        height: auto;
        margin-top: 70px;
    }
    .generate-btn {
        padding: 15px 240px;
        margin-left: 10px;
        border-width: 0px;
        margin-top: 25px;
        border-radius: 30px;
        cursor: pointer;
    }
    .section2 {
        width: 420px;
        margin-top: 50px;
        margin-left: 30px;
    }
    .color-frame {
        width: 100%;
        height: 450px;
        border-radius: 30px;
    }
}
@media (max-width: 1024px) {
    .section1 {
        width: 350px;
        height: auto;
        margin-top: 30px;
    }
    .generate-btn {
        padding: 6px 150px;
        background-color: #ffa500;
        margin-left: 10px;
        border-width: 0px;
        margin-top: 15px;
        border-radius: 30px;
        cursor: pointer;
    }
    .section2 {
        width: 300px;
        margin-top: 20px;
        margin-left: 30px;
    }
    .color-frame {
        width: 100%;
        height: 250px;
        border-radius: 20px;
    }
    .solid-color-container h1 {
        font-size: 23px;
        padding-left: 35px;
        font-weight: 700;
        text-align: center;
    }
    .solid-color-container p {
        font-size: 14px;
        padding-left: 35px;
        margin-top: 5px;
        margin-right: 20px;
        text-align: center;
        font-weight: 400;
    }
    #colorData p {
        font-size: 12px;
        padding: 10px 10px;
        margin-left: 0px;
        margin-bottom: 15px;
        border-radius: 40px;
        font-weight: 600;
        text-align: left;
    }
    .section2 h2 {
        padding-bottom: 20px;
        font-weight: 700;
        font-size: 15px;
    }
    .color-blog {
        width: 80%;
    }
    .color-blog h2 {
        font-size: 30px;
        padding-top: 0px;
        padding-left: 20px;
        font-weight: 800;
    }
    .color-blog p {
        text-align: left;
        font-size: 14px;
        padding-top: 10px;
        padding-right: 50px;
        padding-left: 20px;
        line-height: 22px;
        font-weight: 300;
    }
    .color-blog h3 {
        text-align: left;
        font-size: 20px;
        padding-top: 20px;
        padding-left: 20px;
        font-weight: 700;
    }
    .preview img {
        width: 90%;
        height: auto;
        margin-top: 30px;
        margin-bottom: 20px;
        margin-left: 20px;
        
    }
    .color-blog {
        padding-bottom: 50px;
    }
    #generateBtn {
        text-decoration: none;
        font-size: 13px;
    }
}
@media (max-width: 768px) {
    .solid-color-container h1 {
        padding-left: 0px;
        font-weight: 700;
        text-align: center;
    }
    .solid-color-container p {
        padding-left: 0px;
        margin-top: 15px;
        text-align: center;
        font-weight: 400;
    }
    .generator-frame {
        width: 100%;
        height: auto;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .section1 {
        width: 100%;
        height: auto;
        margin-top: 30px;
    }
    .generate-btn {
        width: 100%;
        margin-left: 0px;
        border-width: 0px;
        margin-top: 15px;
        border-radius: 30px;
        cursor: pointer;
        flex-wrap: wrap;
    }
    .section2 {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .section2 h2 {
        padding-bottom: 20px;
        font-weight: 700;
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .color-blog {
        width: 100%;
    }
    .color-data {
        width: 100%;
        height: auto;
        border-radius: 30px;
    }
    .generate-btn {
        width: auto;
        margin-left: 0px;
        border-width: 0px;
        margin-top: 15px;
        border-radius: 30px;
        cursor: pointer;
    }
    .generate-btn {
        padding: 10px 10%;
        border-width: 0px;
        margin-top: 15px;
        border-radius: 30px;
        cursor: pointer;
    }
    #colorData p {
        margin-left: 0px;
        margin-bottom: 15px;
        border-radius: 40px;
        font-weight: 600;
        text-align: left;
    }
    .section2 {
        width: 100%;
        margin-top: 30px;
        margin-left: 0px;
        justify-content: left;
        display: flex;
    }
    .section2 h2 {
        padding: 0px;
    }
}
