@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: 80vh;
    justify-content: center;
    display: flex;
}
.gradient-container {
    max-width: 90%;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;

}
.gradient-container h1 {
    font-size: 30px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-align: center;
}
.gradient-container p {
    font-size: 18px;
    margin-top: 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: 400;
}
.gradient-frame {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section1 {
    width: 1650px;
    height: auto;
    margin: 20px;
}
.section2 {
    width: 400px;
    height: auto;
    margin: 20px;
}
.gradient-box {
    width: 100%;
    height: 600px;
    margin-left: 35px;
    border-radius: 30px;
    margin-bottom: 30px;
    margin-top: 50px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.controls {
    width: 100%;
    height: auto;
    display: flex;
    margin-left: 35px;
    flex-direction: column;
    gap: 10px;
}
#gradientType {
    width: 200px;
    margin-left: 20px;
    padding: 15px 15px;
    margin-bottom: 20px;
    border-radius: 20px;
    border-width: 0px;
    font-size: 17px;
    background-color: #202124;
    color: rgb(255, 255, 255);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#angle {
    width: 200px;
    margin-left: 20px;
    padding: 15px 15px;
    margin-bottom: 20px;
    border-radius: 20px;
    border-width: 0px;
    font-size: 17px;
    background-color: #202124;
    color: rgb(255, 255, 255);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
label {
    font-weight: 700;
    color: rgb(255, 255, 255);
}
.css-output {
    width: auto;
    background: #202124;
    padding: 50px;
    margin-left: 50px;
    border-radius: 20px;
    line-height: 25px;
    font-family: monospace;
}
.colorPicker {
    width: 80px;
    height: 25px;
    border-width: 0px;
    margin-bottom: 20px;
}
.colorPosition {
    width: 100px;
    height: 40px;
    border-width: 0px;
    margin-bottom: 20px;
    background-color: #202124;
    color: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin-left: 20px;
    padding-left: 20px;
    border-radius: 10px;
}
#addColor {
    width: 150px;
    padding: 20px 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    border-width: 0px;
    background-color: #ffa500;
    color: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
span {
    color: #ffa500;
}


/* Responsive Styles */

@media (max-width: 1600px) {
    .color-blog {
        width: 80%;
        height: auto;
        padding: 10px;
        padding-bottom: 100px;
    }
    .section1 {
        width: 950px;
        height: auto;
        margin: 20px;
    }
    .section2 {
        width: 500px;
        height: auto;
        margin: 20px;
    }
}
@media (max-width: 1280px) {
    .gradient-box {
        width: 100%;
        height: 450px;
        margin-left: 35px;
        border-radius: 30px;
        margin-bottom: 30px;
        margin-top: 50px;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }
    #addColor {
        width: 150px;
        padding: 10px 20px;
        margin-bottom: 20px;
        border-radius: 20px;
        border-width: 0px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
}
@media (max-width: 1024px) {
    .gradient-container h1 {
        font-size: 23px;
        padding-left: 35px;
        font-weight: 700;
        text-align: center;
    }
    .gradient-container p {
        font-size: 14px;
        padding-left: 35px;
        margin-top: 5px;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        font-weight: 400;
    }
    .css-output {
        width: auto;
        padding: 30px;
        margin-left: 50px;
        border-radius: 20px;
        font-family: monospace;
    }
    .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;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        
    }
    .color-blog {
        padding-bottom: 50px;
    }
    #gradientType {
        width: 100px;
        margin-left: 20px;
        padding: 5px 15px;
        margin-bottom: 20px;
        border-radius: 10px;
        border-width: 0px;
        font-size: 12px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
    #angle {
        width: 100px;
        margin-left: 20px;
        padding: 5px 15px;
        margin-bottom: 20px;
        border-radius: 10px;
        border-width: 0px;
        font-size: 12px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
    .section1 {
        width: 800px;
        height: auto;
        margin: 20px;
    }
    .section2 {
        width: 500px;
        height: auto;
        margin: 20px;
    }
    .gradient-box {
        width: 100%;
        height: 300px;
        margin-left: 35px;
        border-radius: 30px;
        margin-bottom: 30px;
        margin-top: 50px;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }
    .controls {
        width: 100%;
        height: auto;
        display: flex;
        margin-left: 35px;
        flex-direction: column;
        gap: 0px;
    }
    label {
        font-weight: 700;
        font-size: 13px;
    }
    .colorPosition {
        width: 80px;
        height: 30px;
        border-width: 0px;
        margin-bottom: 20px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        margin-left: 20px;
        padding-left: 20px;
        border-radius: 10px;
        font-size: 12px;
    }
    #addColor {
        width: 110px;
        padding: 6px;
        margin-bottom: 20px;
        border-radius: 20px;
        border-width: 0px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        font-size: 12px;
    }
    
}
@media (max-width: 768px) {
    .gradient-container h1 {
        padding-left: 0px;
        font-weight: 700;
        text-align: center;
    }
    .gradient-container p {
        padding-left: 0px;
        margin-top: 15px;
        text-align: center;
        font-weight: 400;
    }
    .gradient-frame {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .section1 {
        width: 100%;
        height: auto;
        margin: 0px;
    }
    .section2 {
        width: 100%;
        height: auto;
        margin: 0px;
    }
    .gradient-box {
        width: 100%;
        margin-left: 0px;
    }
    .controls {
        width: 100%;
        height: auto;
        display: flex;
        margin-left: 0px;
        flex-direction: column;
        gap: 10px;
    }
    .css-output {
        width: auto;
        padding: 30px;
        margin-left: 0px;
        border-radius: 20px;
        font-family: monospace;
    }
}
@media (max-width: 480px) {
    .color-blog {
        width: 100%;
        height: auto;
        padding: 10px;
        padding-bottom: 100px;
    } 
}