body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
}

.top-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #293968;
  padding: 10px 30px;
  margin-top: -1.2%;
}

.connect-button {
  background-color: white;
  border-radius: 5px;
  box-shadow: #dae4ff 0px 4px 0px 0px;
  padding: 15px 10px;
  background-repeat: no-repeat;
  /* box-sizing: border-box; */
  width: 150px;
  height: 40px;
  color: #000;
  border: none;
  font-size: 15px;
  transition: all .3s ease-in-out;
  z-index: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  outline: none;
  cursor: pointer;
  margin-left: 30px;
}


.connect-button::before {
  content: "";
  background-color: #afc6f9;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: width 700ms ease-in-out;
  display: inline-block;
}

.connect-button:hover::before {
  width: 100%;
}

.logo-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.logo-center img {
  width: 12%;
}

.navbar {
  background-color: transparent;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.navbar-logo {
  font-size: 2rem;
  font-weight: bold;
  color: #293968;
  margin-left: 30px;
  text-decoration: none;
}

span {
  color: #cd476a;
}

.hero {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 500px;
  padding: 10px 0;
}

.input-container {
  width: 60%;
}

.input-container h1 {
  font-size: 40px;
  margin-left: 20px;
  color: #293968;
}

.input-container p {
  font-size: 20px;
  margin-left: 20px;
  line-height: 40px;
  color: #cd476a;
  font-weight: 500;
}

.input-div {
  margin-left: 30px;
}

.search {
  display: inline-block;
  position: relative;
  margin-top: 20px;
}

.search input[type="text"] {
  width: 400px;
  padding: 20px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin-left: 20px;
  outline: none;
  font-size: 15px;
}

.search button[type="submit"] {
  background-color: #202e5f;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 22px 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.5s ease;
}

.search button[type="submit"]:hover {
  transform: scale(1.1);
  color: rgb(255, 255, 255);
  background-color: #354787;
}

.image-container {
  width: 40%;
  background: url("./images/bg-image.jpg");
  background-size: cover;
  background-position: center;
}

.image-output {
  /* margin-left: 100px; */
  margin-bottom: 50px;
  margin-right: 20px;
  width: 100%;
  height: 400px;

}

#generatedImage {
  display: flex;
  justify-content: center;
  margin-top: 2%;
  margin-left: 5%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

}

#downloadButton {
  padding: 10px 10px;
  background-color: #202e5f;
  border: none;
  font-size: 15px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 18%;
  text-decoration: none;
}

.download {
  align-items: center;
  margin-top: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f0f0f0;
  margin-top: 20%;
}

footer a {
  text-decoration: none;
  color: rgb(4, 79, 253);

}

.policy {
  flex-grow: 1;
  /* Expands to take available space */
  margin-right: 10px;
  margin-top: 1rem;
  line-height: 1.4rem;
  font-size: 15px;
}

.copyright {
  flex-shrink: 0;
  margin-top: 1rem;
  font-weight: 600;

}

/* popup form styles */
/* Popup container styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow-y: auto;

}

/* Popup content styles */
.popup-content {
  background-color: #fff;
  margin: 1% auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 850px;
}

.close {
  position: relative;
  top: -10px;
  left: 820px;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  font-size: 30px;
}

.close:hover {
  color: #000;
}

/* Form styles (you can customize these further) */
#contactForm {
  display: grid;
  gap: 15px;
  margin-left: 50px;
  margin-top: 20px;
}

.flex {
  display: flex;
  width: 93%;
  gap: 30px;
}

#input-text,
input[type="email"] {
  width: 90%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
}

#input-text,
input[type="email"]:focus {
  outline: none;
}

input::placeholder {
  /* color: #04AA6D;  */
}

label {
  font-size: 12px;
}

select {
  height: 40px;
}

option {
  border-radius: 0px;
}

textarea {
  resize: none;
  height: 100px;
  overflow-y: auto;
  width: 91%;
  padding: 5px;
  border-radius: 5px;
}

textarea:focus {
  outline: none;
}

.form-submit-button {
  background-color: #000;
  color: #fff;
  padding: 10px 11px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 90%;
}

.form-submit-button:hover {
  background-color: rgb(37, 36, 36);
}

.container {
  display: block;
  position: relative;
  padding-left: 28px;
  padding-right: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container a {
  text-decoration: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

.container:hover input~.checkmark {
  background-color: #ccc;
}

.container input:checked~.checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked~.checkmark:after {
  display: block;
}

.container .checkmark:after {
  left: 7px;
  top: 2px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.scribble {
  margin-top: -12px;
}

/* .image-output {
    width: 100%;
    height: 200px;
    margin-left: 30%;
  text-align: center;
  transform: translate(-50%, -50%);
  background-color: aliceblue;
}
#generatedImage {
    margin-top: 20%;
  width: 50%;
  height: 30%;
  
}
#downloadButton {
  display: block;
  margin-left: 20%;
  cursor: pointer;
} */