html {
    box-sizing: border-box;
    font-size: 16px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    height: 100vh;
    width: 100vw;
    background-color: var(--bs-primary-bg);
    overflow-y: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--font);
}

:root {
    --bs-primary-bg: #e8e8e8;
    --bs-secondary-bg: #181822;
    --bs-tertiary-bg: #21212d;
    --bs: #f6522f;
    --font: #e8e8e8;
}

.banner>a {
    display: flex;
    justify-content: center;
    height: 100%;
}

.gap {
    width: 100px;
}

.logo {
    height: 2.5rem;
    cursor: pointer;
}

.options {
    margin: auto;
    width: 15%;
    display: flex;
    justify-content: space-between;
}

.option {
    border-radius: 20%;
    margin-top: .3rem;
    width: 3rem;
    height: 4rem;
    text-align: center;
}

.option.selected {
    background-color: var(--bs-primary-bg);
}

.btn>h1 {
    font-weight: 300;
    font-size: 1rem;
}

.btn {
    background-color: var(--bs);
    border-radius: .5rem;
    padding: 4px 10px;
    cursor: pointer;
}

a {
    color: var(--font);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
	height: 50px;
    background-color: var(--bs-secondary-bg);
    width: 99%;
    margin: .5%;
    padding: 0 1%;
    border-radius: .5rem;
}

.container {
    display: flex;
    margin: .5%;
    height: 92%;
    justify-content: space-between;
    flex-direction: row;
}

.box1 {
    height: 100%;
    width: 20%;
}

.row {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.img-box {
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: var(--bs-secondary-bg);
    border-radius: .5rem;
    height: 70%;
}

.img-box::-webkit-scrollbar {
    display: none;
}

.img {
    width: 100%;
    padding: 1rem;
}

.img>img {
    width: 100%;
    padding: 5%;
    margin: .2rem 0;
    background-color: var(--bs-primary-bg);
    border-radius: .5rem;
    cursor: pointer;
}

.heading {
    font-weight: 700;
    margin: 1rem;
}

.divider-line {
    width: 100%;
    height: 0.1rem;
    background-color: var(--bs-primary-bg);
}

.chat-box {
    background-color: var(--bs-secondary-bg);
    border-radius: .5rem;
    margin-top: .5rem;
}

.text {
    display: flex;
    width: 100%;
    justify-content: center;
}

.text>textarea {
    width: 90%;
    background-color: var(--bs-tertiary-bg);
    border-radius: .5rem;
    resize: none;
    color: var(--font);
    font-size: 1.2rem;
    padding: .5rem;
}

.gen-btn {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0;
}

.down-btn {
    display: flex;
    justify-content: centder;
    margin: .5rem 1rem 1rem auto;
}

.box2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 60%;
	margin-top: 100px;
}

.editor-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.editor {
    width: 80%;
}

.thumbnail-box {
    display: flex;
    height: 20%;
    width: 100%;
    justify-content: center;
    align-items: center;
	margin-top: 50px;
}

.thumbnail {
    display: flex;
    width: 70%;
    justify-content: space-around;
}

.thumbnail>img {
    width: 30%;
    padding: 1rem;
    margin: 0 .2rem;
    background-color: var(--bs-secondary-bg);
    border-radius: .5rem;
    cursor: pointer;
}

.box3 {
    display: flex;
    height: 99%;
    width: 20%;
    flex-direction: column;
    border-radius: .5rem;
    background-color: var(--bs-secondary-bg);
}

.setting-box {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

.input {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 1rem;
    height: 2rem;
}

@media screen and (max-width: 1200px) {
    .input {
        margin-bottom: .4rem;
    }
}

input,
select {
    padding: .5rem;
    border-radius: .3rem;
    background-color: var(--bs-tertiary-bg);
    color: var(--font);
}

input[type="color"] {
    padding: 0 !important;
    height: 2.5rem;
    width: 2.5rem;
}

.alignment-icons>i {
    margin: 0 .2rem;
}

.position-inputs>input {
    width: 3.5rem;
}

label {
    font-weight: 300;
}

input[type="range"]::-webkit-slider-runnable-track {
    background-color: #add8e6;
    border-radius: 0.5rem;
    height: 0.4rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    margin-top: -5px;
    /* Centers thumb on the track */
    background-color: var(--bs-primary-bg);
    border-radius: 0.5rem;
    height: 1rem;
    width: 1rem;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 50%;
}

/* Removes default focus */
input[type="range"]:focus {
    outline: none;
}

.mobile-warning {
	font-family: Noto Sans Thai;
	margin: 0px;
	width: 100vw;
    display: none;
	font-size: 15pt;
	color: black;
}

@media (max-width: 1000px) {
    /* Show mobile warning message */
    .mobile-warning {
        display:block;
    }

    /* Hide content on phones */
    .mnas {
        display: none;
    }
}
.logo1aa {
	width: 30vw;
	margin: auto;
	border-radius: 20px;
	margin-top: 20px;
	margin-left: 33vw;
}

.c {
	margin: 15px;
}