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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#background {
  background-image: linear-gradient(to top, rgb(142, 236, 255), rgb(0, 64, 136));
	height: 1300px;
}

#underline {
    color: white;
}

#title {
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    color: white;
    text-align: center;
    padding: 50px;
    padding-top: 70px;
    font-size: 60px;
    padding-bottom: 20px;
    letter-spacing: 0.5em;
}

#subtitle {
    font-family: Helvetica;
    font-style: italic;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 8px;
    font-size: 20px;
    letter-spacing: 0.2em;
    padding-bottom: 10px;
    font-weight: 300;
}

#subtitle-2 {
    font-family: Helvetica;
    font-style: italic;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 8px;
    font-size: 20px;
    letter-spacing: 0.2em;
    padding-bottom: 8px;
    font-weight: 300;
}

#subtitle-3 {
    font-family: Helvetica;
    font-style: italic;
    color: white;
    text-align: center;
    padding: 20px;
    padding-top: 8px;
    font-size: 14px;
    letter-spacing: 0.2em;
    padding-bottom: 60px;
    font-weight: 300;
    max-width: 800px; 
    margin: auto;
}

.message {
  margin: 0.5rem 0.5rem; 
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 100px;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
}

#portal {
  background-color: #113;
  height: 93vh;              
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 70%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

#viewport {
  height: 80vh;            /* fixed height */
  overflow-y: auto;        /* scroll when content overflows */
  display: flex;
  flex-direction: column;  /* stack messages vertically */
  gap: 0.5rem;             /* optional spacing between messages */
  padding: 1rem;
  border: 1px solid #ccc;
}

#textport {
  display: flex;
  gap: 1rem;
  border: 1px solid #ccc;
  padding: 1rem;
}

#textbox {
    font-size: 18px;
    width: 650px;
}

#sendbutton {
    background-color: #add;
    font-size: 28px;
}

#auth {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center;
    margin-top: 20px; /* Adds some space above the button */
}

/* Optional: Add a subtle shadow or border to the button's container */
#login {
	border-color: white;
    border-radius: 10px;
    padding: 5px; /* Adjust padding as needed */
	background-color: #fff;
	color: rgb(0, 74, 109);
	font-size: 20px;
	font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

#logout {
    border-color: white;
    border-radius: 10px;
    padding: 5px; /* Adjust padding as needed */
	background-color: #fff;
	color: rgb(0, 74, 109);
	font-size: 20px;
	font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

@media (max-width: 600px) {
  #portal {
    width: 90%;
  }
  #title {
    font-size: 40px;
  }
}
