/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Aldrich", sans-serif;
  line-height: 1.6;
  color: black;
  overflow-x: hidden;
  background:
    linear-gradient(to right, rgb(218, 218, 218) 1px, white 1px),
    linear-gradient(to bottom, rgb(218, 218, 218) 1px, white 1px);
  background-size: 3px 3px;
}

h1 {
  font-size: 3rem;
}

h2 {
  color: black;
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header a {
  text-decoration: none;
  color: #000;
}

.container {
  width: 90%;
  max-width: 1200px;
  height: 10px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 25px;
  font-family: monospace;
  letter-spacing: 10px;
  display: block;
  margin: 0 auto;
}

.triumph {
  color: #ffbb00;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  position: absolute;
  right: 15px;
  top: 8px;
}

.nav-links a {
  text-decoration: none;
  background: black;
  color: white;
  padding: 14px;
  margin-right: 25px;
  font-weight: 500;
}

.nav-links a:hover {
  background: #333;
}

.hero {
  height: 100vh;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  max-width: 1200px;
  width: 85%;
}

.hero-cta {
  flex: 2;
  /* margin-right: 10%; */
  align-items: anchor-center;
  background: white;
}

.hero-image {
  flex: 1;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image img {
  width: 40vw;
  max-width: 425px;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: -5px 5px 19px rgba(0, 0, 0, 0.2)
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  padding: 0 40px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero a {
  background: white;
  color: black;
  box-shadow: -5px 5px 19px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  border: 3px solid #ffbb00;
}


.btn {
  background: black;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  width: 100%;
}

.footer a {
  color: #5FF2F0;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}
 
#chat-container {
  background: #fff;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin: auto;
  margin-top: 42px;
  height: calc(100dvh - 42px);
}

#chat-box {
  flex: 2;
  padding: 10px;
  padding-bottom: 125px;
  overflow-y: auto;
  background-image:
    linear-gradient(to right, rgb(218, 218, 218) 1px, white 1px),
    linear-gradient(to bottom, rgb(218, 218, 218) 1px, white 1px);
  background-size: 3px 3px;
  border-left: none;
  display: flex;
  flex-direction: column;
}

#chat-box .message {
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
}

#chat-box .user {
  background: #fff;
  align-self: flex-end;
  border: 3px solid black;
}

#chat-box .bot {
  background: #000;
  color: #fff;
  align-self: flex-start;
  max-width: 1200px;
}

#input-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #696969;
  gap: 10px;
}

#input-container input {
  width: 100%;
  padding: 10px;
  border: 3px solid #000;
  border-radius: 4px;
}

button {
  padding: 10px 20px;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  font-family: "Aldrich", sans-serif;
}

button:hover {
  background: #333;
}

#input-form {
  margin-top: 10px;
  margin-bottom: 8px;
  height: 361px;
  padding: 10px;
}

#input-form input {
  margin-bottom: 25px;
}

.auth-container {
  display: flex;
  gap: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.auth-form {
  background: #e2e2e2;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: -15px 15px 20px rgba(0, 0, 0, 0.2);
  width: 350px;
}

.auth-form h2 {
  margin-bottom: 2rem;
}

.auth-form input {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Aldrich", sans-serif;
}

.auth-form select {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Aldrich", sans-serif;
}

.auth-form button {
  background: black;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1.5rem;
  float: right;
  font-family: "Aldrich", sans-serif;
}

.auth-container a {
  background: black;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-family: "Aldrich", sans-serif;
  font-size: 12px;
}

.have-account {
  position: absolute;
  top: 500px;
}

.have-account h4 {
  margin-bottom: 10px;
}

.dont-have-account {
  position: absolute;
  top: 350px;
}

.dont-have-account h4 {
  margin-bottom: 10px;
}

#logout-button {
  cursor: pointer;
}

#cancel-button {
  float: left !important;
}

#back-arrow-image {
  transform: rotate(180deg);
  width: 50px;
  height: auto;
  position: absolute;
  top: -4px;
  left: 50px;
}

#profile-dropdown {
  position: absolute;
  right: 21px;
  top: 42px;
  background: black;
  color: white;
  padding: 10px 20px;
  text-align: center;
  display: none;
}

#profile-dropdown a {
  color: white;
}

#profile-button {
  margin-top: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}

#settings-button {
  margin-bottom: 10px;
  cursor: pointer;
}

#logout-button {
  cursor: pointer;
}

#chat-history {
  height: 100vh;
  width: 20vw;
  display: flex;
  flex-direction: column;
  background: #696969;
  gap: 5px;
  overflow-y: auto;
  display: none;
}

.chat {
  background: #fff;
  margin-top: 16px;
  margin-left: 16px;
  padding: 5px;
  box-shadow: -5px 5px 0 #c8c8c8;
}

.chatLink {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.situation {
  color: #5FF2F0;
}

.goal {
  color: #A3ED5D;
}

.challenge {
  color: #ED5D5D;
}

#dot-situation {
  font-size: 40px;
  display: inline-block;
  margin-top: 7px;
  margin-left: 10px;
  margin-right: 5px;
}

#dot-goal {
  font-size: 40px;
  display: inline-block;
  margin-top: 7px;
  margin-right: 5px;
}

#dot-challenge {
  font-size: 40px;
  display: inline-block;
  margin-top: 7px;
}

#instructions {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: 20vh;
  width: 70vw;
  max-width: 500px;
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 10px;
}

#input-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  text-align: center;
  width: 85vw;
  max-width: 500px;
  height: 40px;
  top: 85vh;
  margin: 0 auto;
  border-radius: 8px;
  border: 3px solid #5FF2F0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1;
} 

#input-form {
  height: 20px;
  width: 100%;
  max-width: 450px;
  background: inherit;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: "Aldrich", sans-serif;
  display: inline-block;
  vertical-align: middle;
}

#arrow-image {
  width: 45px;
  margin-top: 10px;
  cursor: pointer;
}

#play-button img {
  width: 50px;
  height: auto;
  cursor: pointer;
}

#site-hamburger-image {
  display: none;
  position: absolute;
  top: -8px;
  width: 60px;
  height: auto;
  cursor: pointer;
  left: 36px;
}

#site-name {
  position: absolute;
  left: 85px;
  top: 1px;
  font-size: 28px;
}

#site-logo-image {
  width: 40px;
  height: auto;
  position: absolute;
  top: 1px;
  left: 36px;
}

#logo-image {
  width: 40px;
  height: auto;
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
}

#profile-icon {
    display: inline;
    position: absolute;
    top: 4px;
    right: 60px;
    width: 35px;
    height: auto;
    cursor: pointer;
}

#profile {
  height: 100vh;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#profile-content {
  display: inline;
  background-color: #e2e2e2;
  border-radius: 8px;
  box-shadow: -15px 15px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 1200px;
  width: 85%;
  padding: 1.5rem;
  height: 75vh;
  align-content: space-around;
}

#profile-content input {
  height: fit-content;
}

#profile-content p {
  margin-bottom: 12px;
}

#hamburger-menu-image {
  display: inline;
  position: absolute;
  top: -8px;
  width: 60px;
  height: auto;
  cursor: pointer;
  left: 36px;
}

.hamburger-nav {
  display: none;
}

.bot img {
  width: 80%;
  height: auto;
  border-radius: 8px;
  margin-top: 8px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  margin-top: 8px;
  max-width: 500px;
}

.bot p {
  font-size: 16px;
  color: white;
  margin-top: 4px;
}

@media (max-width: 889px) {
  .hero {
    height: 112vh;
  }

  .hero-content {
    width: 100%;
    display: inline;
    padding: 0;
    position: absolute;
    top: 65px;
  }

  .hero-cta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 10px;
  }

  .hero a {
    font-size: 16px;
    max-width: 80%;
    display: block;
  }

  .hero-image {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image img {
    width: 80vw;
    display: block;
  }

  #site-hamburger-image {
    display: inline;
    left: 20px;
    cursor: pointer;
  }

  #nav-about {
    display: none;
  }

  #nav-contact {
    display: none;
  }

  #site-name {
    display: none;
  }

  #site-hamburger-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 210px;
    z-index: 2;
    background: #696969;
    gap: 5px;
  }

  .hamburger-nav div {
    z-index: 3;
    position: relative;
  }

  .hamburger-nav a {
    text-decoration: none;
    color: black;
  }

  #nav-tint {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: none;
    height: 137vh;
    width: 100%;
    z-index: 1;
  }

  #site-logo-image {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo {
    display: none;
  }

  #input-bar {
    top: 80vh;
  }

  #chat-history {
    display: none;
    position: absolute;
    width: 50%;
    height: calc(100dvh - 42px);
    z-index: 3;
  }

  #tint {
    display: none;
    position: absolute;
    flex: 2;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 3px 3px;
    border-left: none;
    flex-direction: column;
    left: 50%;
    width: 50%;
    height: calc(100dvh - 42px);
    z-index: 2;
  }
}

@media (max-height: 700px) {
  .hero {
    height: 130vh;
  }
}