body , html{
    width: 100vw;
    height: 100vh;
    background-color: var(--bgColor);
    transition: all 0.3s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#themeImg{
    user-select: none;
    pointer-events: none;
    width: 2rem;
    height: 2rem;
}

#themeButton{
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: fit-content;
    height: fit-content;
    padding: 0.5rem;
}

:root {
    --shadowColor : rgba(50, 50, 50, 0.478);
    --bgColor : white;
    --textColor: black;
}

:root.dark {
    --shadowColor : rgba(0, 0, 0, 0.603);
    --bgColor : rgb(31, 31, 31);
    --textColor: white;

}

#imgInput{
    display: flex;
    align-items: center;
    justify-content: center;
}

#title{
    font-weight: 700;
    background-clip: text;
    font-size: 2.5rem;
    background-image: linear-gradient(10deg ,  red , orange);
    color: transparent;
}

.colorInput{
    border-radius: 0.2rem;
    border: 0;
    background-color: var(--bgColor);
    box-shadow: 0 0 12px var(--shadowColor);
}

#select{
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colorLabel{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#colorselect{
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

#clearInput{
    width: 5rem;
    height: 2rem;
    font-size: 1rem;
    color: red;
    font-weight: 700;
}

input[type="file"] , button{
    width: fit-content;
    height: fit-content;
    background-color: var(--bgColor);
    padding: 0.2rem 1rem;
    border: 0;
    box-shadow: 0 0 12px var(--shadowColor);
    margin: 0.5rem;
    border-radius: 1rem;
}




h1 , h2 , h3 ,h4 ,h5 ,h6 , label{
    margin: 0.5rem;
    font-weight: 500;
    color: var(--textColor);
    user-select: none;
}

#mainCard{
    width: 50rem;
    height: fit-content;
    padding: 1rem;
}

.inputDiv{
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatField {
    max-width: 40rem;
    max-height: 17rem;
    border-radius: 0.5rem;
    border: transparent 2px solid;
    background-image: linear-gradient(10deg ,  red , orange);;
    box-shadow: 0 0 12px var(--shadowColor);
}

#url{
    width: 30rem;
    font-size: larger;
    margin-top: 1rem;
    text-align: center;
    border-radius: 1rem;
    border: 0;
    outline: 0;
    border: 1px transparent solid;
    box-shadow: 0 0 12px var(--shadowColor);
    height: 2rem;
}

#url:hover{
    border: 1px rgb(255, 113, 62) solid;
}

input::selection{
    background-color: rgb(255, 113, 62);
}



#genButton{
    width: fit-content;
    height: fit-content;
    padding: 0.2rem 2rem;
    margin-top: 1rem;

    background-image: linear-gradient(25deg , red , orange);
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 0 12px var(--shadowColor);
    font-size: 1.6rem;
    
}

#output{
    margin-top: 1rem;
    width:  14rem;
    height: 14rem;
    display: none;
    box-shadow: 0 0 12px rgba(24, 24, 24, 0.651);
    border-radius: 1rem;
}

#output img{
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

button:hover{
    cursor: pointer;
}

label{
    font-weight: 400;
    font-size: 1.3rem;
}




input , button{
    transition: all 0.3s ease;
}

#requestCard{
    display: flex;
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card{
    transition: all 0.3s ease;
    background-color: var(--bgColor);
    box-shadow: 0 0 12px var(--shadowColor);
    min-width: 1rem;
    border-radius: 1rem;
    min-height: 1rem;
}

.flex{
    display: flex;
}

.center{

    justify-content: center;
}

.gcenter{
    align-items: center;

}

.column{
    flex-direction: column;
}