@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

body {
  background-image:url(https://media.discordapp.net/attachments/1123262899859763303/1160513231991869481/3ZNjUAAAAAElFTkSuQmCC.png?ex=6534ef2b&is=65227a2b&hm=5c24d1f2937caf5f8b3cf1bd2b05bcd0bde3f19c14c85fd087714f65ab371725&=&width=1245&height=700);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-y: hidden;
}

.content {
  flex: 1;
  padding: 20px;
}

.image-result {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -20px;
}

.container {
  margin-top: -10px;
  position: relative;
  width: 35rem;
  height: 560px;
  color: #fff;
  background: rgba(60, 60, 60, 0.44);
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.container::before {
  content: "";
  position: absolute;
  background-color: #675afe;
  width: 120px;
  height: 120px;
  filter: blur(140px);
  left: -20%;
  top: 10%;
  z-index: -1000;
}

.container::after {
  content: "";
  position: absolute;
  background-color: #675afe;
  width: 120px;
  height: 120px;
  filter: blur(140px);
  right: -20%;
  bottom: -10%;
  z-index: -1000;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.4rem;
  text-align: justify;
}

.gen-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  width: 100%;
}

input {
  width: 80%;
  border-radius: 5px;
  outline: none;
  border: none;
  padding: 0 15px;
  background-color: #e8e6e6;
  color: #2b7ae2;
  border: 1px solid #999;
  transition: all 0.3s ease;
}

input:hover, input:focus {
  border-color: #2b7ae2;
}


button {
  width: 20%;
  height: 36px;
  color: #fff;
  border: 1px solid #ccc;
  background: #2b7ae2;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

button:hover {
  background: #25187c;
  border-color: transparent;
}

#loading {
  display: none;
  font-size: 12px;
  margin: 10px 0;
  color: rgb(255, 200, 0);
}

button:disabled, button[disabled] {
  border: 1px solid #999;
  background-color: #ccc;
  color: #666;
  cursor: auto;
}

.result {
  margin-top: 10px;
  width: 100%;
  padding: flex;
  align-items: center;
}

#image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0px 10px 21px 0px;
}

#image-grid img {
  max-width: 100%;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

#image-grid img:hover {
  border-color: #675afe;
}