* {
  margin: 0;
  padding: 0;
}

html {
  background-color: #f2f2f2;
}
.navbar {
  background: #131313;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

#navbar__logo {
  background-color: #ff8177;
  background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  display: flex;
  justify-content: left;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem;
  min-width: 200px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}

.navbar__item {
  height: 80px;
  min-width: 165px;
}

.navbar__links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 100%;
}

.navbar__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background: #f77062;
  color: #fff;
  cursor: pointer;
}

.button:hover {
  background: #4837ff;
  transition: all 0.3s ease;
}

.navbar__links:hover {
  color: #f77062;
  transition: all 0.3s ease;
}

/* GPT Section */
.gpt__talker {
  display: flex;
  flex-direction: center;
  justify-content: center;
  align-items: center;

  /* background: #131313; */
  margin: 10px 10px;
}

.article__container {
  display: flex;
  justify-self: right;
  flex-direction: center;
  justify-content: center;
  align-items: center;

  background: transparent;

  max-width: 37%;
  min-width: 30%;

  border-radius: 3px;
}

.article__container:hover {
  transition: all 0.3s;
}

.article__output {
  display: flex;
  background-color: white;
  flex-direction: column;
  justify-content: right;
  align-items: right;
  border-radius: 2px;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(112, 112, 112, 0.3);
  /* padding: 1rem; */
}
.article__output p {
  display: flex;
  background-color: white;
  /* padding: 1px; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  font-size: 1.2rem;
  margin: 0, auto;
  padding-top: 10px;
  padding: 10px;
}

.profile__container {
  display: flex;
  justify-self: left;
  justify-content: center;
  align-items: center;

  background: #131313;
  margin: auto 2px 0 0;
  border: 2px solid #595959;
  border-radius: 3px;

  width: 40px;
  height: 40px;

  box-shadow: 0 0 5px rgba(186, 186, 186, 0.5);
}

.profile__pic {
  color: white;
  font-size: 20px;
}

.ai__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  transition: all 0.3s ease;
  transform: all 0.3s ease-in-out;
}

.ai__button {
  width: 200px;
  padding: 10px;
  margin: 0 10px;
  position: relative;
  background-image: linear-gradient(
    to right,
    rgb(255, 124, 109) 0%,
    #fe5151 100%
  );
  border: none;
  border-radius: 5px;
  transform: all 0.3s ease-in-out;
}
.ai__button a {
  content: "";
  position: relative;
  z-index: 2;
  transition: all, 0.35s, ease;
  text-decoration: none;
}

.ai__button:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #6659f8df;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.ai__button:hover:after {
  width: 100%;
  background: #6557ffdf;
}

.ai__button:hover a {
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

.ai__button:not(:hover) a {
  transition: all 0.3s ease-in-out;
}

.popup__container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Ensure it's above other content */
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff; /* Background color of the popup */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Optional: add a shadow to the popup */
}

.popup-content {
  max-width: 400px;
}

.close {
  float: right;
  cursor: pointer;
}

.top__container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;

  padding-bottom: 10px;
}
.topic__input {
  display: flex;
  justify-content: center;
  text-align: left;
  margin: 0 auto;
  vertical-align: top;

  overflow-y: auto;

  font-size: 1.2rem;

  background-color: #f2f2f2;

  box-shadow: 0 0 20px rgba(112, 112, 112, 0.3);
  border: 1px;

  border-radius: 3px;
  height: auto;
  padding: 10px;
}

.topic__input::placeholder {
  text-align: center;
  font-size: 1.2rem;
}
